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.ModuleCech.Terms |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Graded.CechVanishing |
| 3 | |
| 4 | /-! # Flat Augmentation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.FlatAugmentation.ProjectiveCech |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Eventual flatness of the augmentation term from flat projective charts. -/ |
| 11 | |
| 12 | open _root_.MvPolynomial DirectSum |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {σ : Type v} [Fintype σ] [LinearOrder σ] |
| 17 | variable (R : Type u) [CommRing R] |
| 18 | variable (M : Type (max u v)) [AddCommGroup M] [Module R M] [Module (MvPolynomial σ R) M] |
| 19 | [IsScalarTower R (MvPolynomial σ R) M] |
| 20 | variable (ℳ : ℤ → Submodule R M) |
| 21 | [SetLike.GradedSMul (WeightedFreeModules.GradedModules.polynomialIntegerGrading (σ := σ) R) ℳ] |
| 22 | |
| 23 | omit [Fintype σ] in |
| 24 | theorem moduleCechTermDifferential_exact (d : ℤ) (q : ℕ) |
| 25 | (hex : DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σ) R M ℳ d (q + 1)) : |
| 26 | Function.Exact (ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := σ) R M ℳ d q) |
| 27 | (ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := σ) R M ℳ d (q + 1)) := by |
| 28 | intro f |
| 29 | constructor |
| 30 | · intro hf |
| 31 | have hf' : ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M f.val = 0 := congrArg Subtype.val hf |
| 32 | obtain ⟨g, hg, hgcard, hgd⟩ := hex f.val f.property.1 f.property.2 hf' |
| 33 | exact ⟨⟨g, hg, hgcard⟩, Subtype.ext hgd⟩ |
| 34 | · rintro ⟨g, rfl⟩ |
| 35 | exact ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential_square R M ℳ d q g |
| 36 | |
| 37 | omit [Fintype σ] in |
| 38 | theorem moduleCechTermDifferential_injective (d : ℤ) |
| 39 | (haug : ∀ f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M, |
| 40 | ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d f → ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M 0 f → |
| 41 | ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M f = 0 → f = 0) : |
| 42 | Function.Injective (ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential (σ := σ) R M ℳ d 0) := by |
| 43 | intro f g hfg |
| 44 | apply sub_eq_zero.mp |
| 45 | apply Subtype.ext |
| 46 | apply haug (f - g).val (f - g).property.1 (f - g).property.2 |
| 47 | have hzero : ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential R M ℳ d 0 (f - g) = 0 := by |
| 48 | rw [map_sub, hfg, sub_self] |
| 49 | exact congrArg Subtype.val hzero |
| 50 | |
| 51 | theorem moduleCech_augmentation_flat (d : ℤ) |
| 52 | (hex : ∀ q, DimensionShift.ProjectiveCech.ModuleCechExactAt (σ := σ) R M ℳ d (q + 1)) |
| 53 | (haug : ∀ f : ModuleCech.Card.ProjectiveCech.ModuleCechFamily (σ := σ) R M, |
| 54 | ModuleCech.Card.ProjectiveCech.ModuleCechHomogeneous R M ℳ d f → ModuleCech.Card.ProjectiveCech.ModuleCechCardSupported R M 0 f → |
| 55 | ModuleCech.Card.ProjectiveCech.moduleCechDifferential R M f = 0 → f = 0) |
| 56 | (hflat : ∀ s : Finset σ, s.Nonempty → Module.Flat R (Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ s d)) : |
| 57 | Module.Flat R (ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d 0) := by |
| 58 | apply Presentations.Flat.BoundedComplex.flat_augmentation_of_bounded_exact R (Fintype.card σ) |
| 59 | (fun q => ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d q) (ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential R M ℳ d) |
| 60 | · exact fun q => moduleCechTermDifferential_exact R M ℳ d q (hex q) |
| 61 | · exact ModuleCech.Terms.ProjectiveCech.moduleCechTermDifferential_zero R M ℳ d (Fintype.card σ + 1) (by omega) |
| 62 | · exact moduleCechTermDifferential_injective R M ℳ d haug |
| 63 | · intro q hq _ |
| 64 | exact ModuleCech.Terms.ProjectiveCech.moduleCechTerm_flat R M ℳ d q hq hflat |
| 65 | |
| 66 | theorem moduleCech_eventual_augmentation_flat [Nonempty σ] [IsNoetherianRing R] |
| 67 | [Decomposition ℳ] [Module.Finite (MvPolynomial σ R) M] : |
| 68 | ∃ B : ℕ, ∀ d : ℤ, (B : ℤ) ≤ d → |
| 69 | (∀ s : Finset σ, s.Nonempty → Module.Flat R (Graded.ModuleRestriction.ProjectiveCech.moduleChartDegree R M ℳ s d)) → |
| 70 | Module.Flat R (ModuleCech.Terms.ProjectiveCech.moduleCechTerm (σ := σ) R M ℳ d 0) := by |
| 71 | obtain ⟨B, hB⟩ := Graded.CechVanishing.ProjectiveCech.moduleCech_eventual_exactness_explicit (σ := σ) R M ℳ |
| 72 | refine ⟨B, fun d hd hflat => ?_⟩ |
| 73 | exact moduleCech_augmentation_flat R M ℳ d (hB d hd).2 (hB d hd).1 hflat |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Cech.FlatAugmentation.ProjectiveCech |