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.AbelianModuli.HilbertConstruction.LineBundle.Quasicoherence |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.SerreVanishing |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.CoherentCohomology |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CohomologyEulerCharacteristic |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.SectionPolynomial |
| 6 | |
| 7 | /-! # Euler Section Polynomial -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! For an ample line bundle on a proper scheme, an Euler polynomial is |
| 14 | the genuine eventual section Hilbert polynomial. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | universe u |
| 17 | |
| 18 | theorem Line.Bundles.LineBundle.hasSectionHilbertPolynomial_of_euler |
| 19 | {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) [IsProper p] |
| 20 | (L : Line.Bundles.LineBundle X) (hL : L.IsAmple) (P : Polynomial ℚ) |
| 21 | (hP : ∀ n : ℕ, P.eval (n : ℚ) = (CohomologyEulerCharacteristic.coefficientEulerCharacteristic p (L.tensorPower n).sheaf : ℚ)) : |
| 22 | L.HasSectionHilbertPolynomial p P := by |
| 23 | have : (Line.Bundles.structureModule X).IsFiniteType := (Line.Bundles.LineBundle.trivial X).isFiniteType |
| 24 | have : (Line.Bundles.structureModule X).IsQuasicoherent := (Line.Bundles.LineBundle.trivial X).isQuasicoherent |
| 25 | obtain ⟨B, hB⟩ := Ample.SerreVanishing.ample_tensorPowers_eventually_vanish p L hL (Line.Bundles.structureModule X) |
| 26 | refine ⟨B, fun n hn => ?_⟩ |
| 27 | let M := (L.tensorPower n).sheaf |
| 28 | have : M.IsFiniteType := (L.tensorPower n).isFiniteType |
| 29 | have : M.IsQuasicoherent := (L.tensorPower n).isQuasicoherent |
| 30 | have hzero : ∀ q : ℕ, IsZero ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 31 | (Coefficient.ModulePresheaf.schemeCoefficientMap p) (q + 1)).obj M) := by |
| 32 | intro q |
| 33 | exact (hB n hn q).of_iso |
| 34 | ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (Coefficient.ModulePresheaf.schemeCoefficientMap p) (q + 1)).mapIso |
| 35 | (Tensor.ProductSheaf.tensorModuleUnitLeftIso M)).symm |
| 36 | have : Module.Finite K ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 37 | (Coefficient.ModulePresheaf.schemeCoefficientMap p) 0).obj M) := Proper.CoherentCohomology.proper_coherent_cohomologyFinite p M 0 |
| 38 | let e := CoefficientCohomology.DegreeZero.ZariskiCohomology.coefficientCohomologyZeroSectionsEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) M |
| 39 | refine ⟨Module.Finite.of_surjective e.toLinearMap e.surjective, ?_⟩ |
| 40 | have h := congrArg (fun z : ℤ => (z : ℚ)) |
| 41 | (CohomologyEulerCharacteristic.coefficientEulerCharacteristic_eq_sections_of_positive_vanishing p M hzero) |
| 42 | exact (hP n).trans (by simpa only [Int.cast_natCast] using h) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |