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.SheafCohomology.Projective.GradedPieceFiniteness |
| 2 | import Mathlib.Data.Fintype.Order |
| 3 | |
| 4 | /-! # Graded Module Lower Bound -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedModuleLowerBound |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite graded polynomial modules vanish in all sufficiently negative degrees. -/ |
| 11 | |
| 12 | open DirectSum |
| 13 | universe u v |
| 14 | variable {R : Type u} [CommRing R] {σ : Type} [Fintype σ] |
| 15 | |
| 16 | theorem weightedFreeGrading_eq_bot_of_lt {ι : Type v} (w : ι → ℤ) |
| 17 | (d : ℤ) (hd : ∀ i, d < w i) : HilbertScheme.Presentations.WeightedFreeModules.GradedModules.weightedFreeGrading (σ := σ) R w d = ⊥ := by |
| 18 | apply eq_bot_iff.mpr |
| 19 | intro x hx |
| 20 | change x = 0 |
| 21 | apply Finsupp.ext |
| 22 | intro i |
| 23 | have hi := (HilbertScheme.Presentations.WeightedFreeModules.GradedModules.mem_weightedFreeGrading R w d x).mp hx i |
| 24 | rw [GradedPieceFiniteness.polynomialIntegerGrading_eq_bot_of_neg R (d - w i) (by have := hd i; omega)] at hi |
| 25 | exact hi |
| 26 | |
| 27 | theorem finiteGradedPolynomialModule_boundedBelow |
| 28 | (D : HilbertScheme.Presentations.Finite.GradedPolynomialModules.GradedModules.FiniteGradedPolynomialModule σ R) : |
| 29 | ∃ b : ℤ, ∀ d : ℤ, d < b → D.grading d = ⊥ := by |
| 30 | obtain ⟨b, hb⟩ := Finite.bddBelow_range D.cover.degree |
| 31 | refine ⟨b, fun d hd => ?_⟩ |
| 32 | have hfree : D.freeModule.grading d = ⊥ := |
| 33 | weightedFreeGrading_eq_bot_of_lt D.cover.degree d |
| 34 | (fun i => hd.trans_le (hb (Set.mem_range_self i))) |
| 35 | apply eq_bot_iff.mpr |
| 36 | intro x hx |
| 37 | change x = 0 |
| 38 | obtain ⟨y, hy⟩ := D.projection_surjective x |
| 39 | have hpre := HilbertScheme.Presentations.Graded.Exactness.GradedModules.homogeneous_preimage D.freeModule.grading D.grading |
| 40 | (D.projection.restrictScalars R) D.projection_homogeneous d x hx y hy |
| 41 | have hzero : (decompose D.freeModule.grading y d).val = 0 := by |
| 42 | exact hfree.le (decompose D.freeModule.grading y d).property |
| 43 | rw [hzero, map_zero] at hpre |
| 44 | exact hpre.symm |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.GradedModuleLowerBound |