Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Localized.DegreeShift |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.AugmentationDegree |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.FlatAugmentation |
| 4 | |
| 5 | /-! # Eventual Degree Flatness -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.EventualDegreeFlatness.ProjectiveCech |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | Finitely generated graded polynomial modules over noetherian rings have |
| 13 | flat homogeneous pieces in high degree when their projective chart |
| 14 | degree-zero modules are flat. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.MvPolynomial DirectSum |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Localized.DegreeShift.GradedModules |
| 20 | |
| 21 | universe u v |
| 22 | |
| 23 | variable {σ : Type v} [Fintype σ] [LinearOrder σ] |
| 24 | variable (R : Type u) [CommRing R] |
| 25 | |
| 26 | omit [Fintype σ] [LinearOrder σ] in |
| 27 | theorem inversionMonomial_singleton (i : σ) : LaurentMonomials.ProjectiveCech.inversionMonomial R {i} = X i := by |
| 28 | simp [LaurentMonomials.ProjectiveCech.inversionMonomial, LaurentExponents.ProjectiveCech.inversionExponent, X] |
| 29 | |
| 30 | omit [Fintype σ] in |
| 31 | theorem inversionMonomial_factor_variable (s : Finset σ) (i : σ) (hi : i ∈ s) : |
| 32 | LaurentMonomials.ProjectiveCech.inversionMonomial R s = X i * LaurentMonomials.ProjectiveCech.inversionMonomial R (s.erase i) := by |
| 33 | have h := LaurentRestriction.ProjectiveCech.inversionMonomial_sdiff R (Finset.singleton_subset_iff.mpr hi) |
| 34 | simpa only [inversionMonomial_singleton, Finset.sdiff_singleton_eq_erase] using h.symm |
| 35 | |
| 36 | variable (M : Type (max u v)) [AddCommGroup M] [Module R M] [Module (MvPolynomial σ R) M] |
| 37 | [IsScalarTower R (MvPolynomial σ R) M] |
| 38 | variable (ℳ : ℤ → Submodule R M) [Decomposition ℳ] |
| 39 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 40 | |
| 41 | omit [Fintype σ] in |
| 42 | theorem moduleChartDegree_flat_of_zero (s : Finset σ) (hs : s.Nonempty) (d : ℤ) (hd : 0 ≤ d) |
| 43 | [Module.Flat R (Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ s 0)] : |
| 44 | Module.Flat R (Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ s d) := by |
| 45 | obtain ⟨i, hi⟩ := hs |
| 46 | let : Module.Flat R (Localized.DegreePieces.GradedModules.localizedDegreePiece ℳ (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (s.card : ℤ) 0) := |
| 47 | inferInstanceAs (Module.Flat R (Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ s 0)) |
| 48 | have hflat := Localized.DegreeShift.GradedModules.localizedDegree_flat_of_degree_zero (WeightedFreeModules.GradedModules.polynomialIntegerGrading R) ℳ |
| 49 | (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (s.card : ℤ) (Graded.ModuleRestriction.ProjectiveCech.inversionMonomial_integer_degree R s) |
| 50 | (X i) (LaurentMonomials.ProjectiveCech.inversionMonomial R (s.erase i)) (inversionMonomial_factor_variable R s i hi) |
| 51 | (isWeightedHomogeneous_X R (fun _ : σ => (1 : ℤ)) i) d.toNat |
| 52 | let : Module.Flat R (Localized.DegreePieces.GradedModules.localizedDegreePiece ℳ (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (s.card : ℤ) (d.toNat : ℤ)) := hflat |
| 53 | exact Module.Flat.of_linearEquiv (LinearEquiv.ofEq _ _ |
| 54 | (congrArg (Localized.DegreePieces.GradedModules.localizedDegreePiece ℳ (LaurentMonomials.ProjectiveCech.inversionMonomial R s) (s.card : ℤ)) |
| 55 | (Int.toNat_of_nonneg hd)).symm) |
| 56 | |
| 57 | theorem eventual_degree_flat_of_projective_charts [Nonempty σ] [IsNoetherianRing R] |
| 58 | [Module.Finite (MvPolynomial σ R) M] |
| 59 | (hflat : ∀ s : Finset σ, s.Nonempty → Module.Flat R (Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ s 0)) : |
| 60 | ∃ B : ℕ, ∀ d : ℤ, (B : ℤ) ≤ d → Module.Flat R (ℳ d) := by |
| 61 | obtain ⟨B, hB⟩ := Cech.FlatAugmentation.ProjectiveCech.moduleCech_eventual_augmentation_flat (σ := σ) R M ℳ |
| 62 | refine ⟨B, fun d hd => ?_⟩ |
| 63 | have hd' : 0 ≤ d := (Int.natCast_nonneg B).trans hd |
| 64 | let : Module.Flat R (ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d 0) := hB d hd (fun s hs => by |
| 65 | let : Module.Flat R (Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ s 0) := hflat s hs |
| 66 | exact moduleChartDegree_flat_of_zero R M ℳ s hs d hd') |
| 67 | exact Module.Flat.of_linearEquiv (Cech.AugmentationDegree.ProjectiveCech.moduleCechAugmentationEquiv (σ := σ) R M ℳ d).symm |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.EventualDegreeFlatness.ProjectiveCech |