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.Abelian.StructureCohomologyBound |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FaithfulFlatCohomologyVanishing |
| 3 | import Mathlib.FieldTheory.IsAlgClosed.AlgebraicClosure |
| 4 | |
| 5 | /-! # Structure Cohomology Field Bound -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The sharp structure-sheaf cohomology bound descends from an algebraic closure to every field, including finite fields, through the actual faithfully flat cohomology comparison. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | theorem PolarizationData.PolarizedAbelianWithFullLevel.structure_cohomology_vanish_above_dimension |
| 16 | {K : Type u} [Field K] {g N : ℕ} {δ : Fin g → ℕ} |
| 17 | (A : PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of K))) |
| 18 | (hN : 3 ≤ N) (hNk : (N : K) ≠ 0) (q : ℕ) (hq : g < q) : |
| 19 | IsZero ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 20 | (Coefficient.ModulePresheaf.schemeCoefficientMap A.abelian.scheme.hom) q).obj (Line.Bundles.structureModule A.abelian.scheme.left)) := by |
| 21 | have : A.abelian.scheme.left.IsSeparated := ⟨by |
| 22 | rw [← terminal.comp_from A.abelian.scheme.hom] |
| 23 | infer_instance⟩ |
| 24 | have : CompactSpace A.abelian.scheme.left := |
| 25 | QuasiCompact.compactSpace_of_compactSpace A.abelian.scheme.hom |
| 26 | let φ : CommRingCat.of K ⟶ CommRingCat.of (AlgebraicClosure K) := |
| 27 | CommRingCat.ofHom (algebraMap K (AlgebraicClosure K)) |
| 28 | let f := Spec.map φ |
| 29 | let B := A.pullback f |
| 30 | let a := pullback.fst A.abelian.scheme.hom f |
| 31 | let b := pullback.snd A.abelian.scheme.hom f |
| 32 | have H : IsPullback a b A.abelian.scheme.hom f := |
| 33 | IsPullback.of_hasPullback A.abelian.scheme.hom f |
| 34 | have hNF : (N : AlgebraicClosure K) ≠ 0 := by |
| 35 | intro hz |
| 36 | apply hNk |
| 37 | apply (algebraMap K (AlgebraicClosure K)).injective |
| 38 | simpa only [map_natCast, map_zero] using hz |
| 39 | have hB := B.structure_cohomology_vanish_above_dimension_of_infinite hN hNF q hq |
| 40 | let L := Line.Bundles.LineBundle.trivial A.abelian.scheme.left |
| 41 | have hPB : IsZero ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 42 | (Coefficient.ModulePresheaf.schemeCoefficientMap B.abelian.scheme.hom) q).obj (L.pullback a).sheaf) := |
| 43 | ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 44 | (Coefficient.ModulePresheaf.schemeCoefficientMap B.abelian.scheme.hom) q).mapIso |
| 45 | (Line.Bundles.structureModulePullbackIso a)).isZero_iff.mpr hB |
| 46 | have hsource : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (L.pullback a).sheaf q) := |
| 47 | ModuleCat.subsingleton_of_isZero hPB |
| 48 | have htarget : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H L.sheaf q) := |
| 49 | (FaithfulFlatCohomologyVanishing.fieldExtensionLineBundle_cohomology_vanish_iff H L q).mp hsource |
| 50 | have : Subsingleton ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 51 | (Coefficient.ModulePresheaf.schemeCoefficientMap A.abelian.scheme.hom) q).obj (Line.Bundles.structureModule A.abelian.scheme.left)) := htarget |
| 52 | exact ModuleCat.isZero_of_subsingleton _ |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |