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.Spec.IsomorphismCohomologyDimension |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CohomologyPullbackIso |
| 3 | |
| 4 | /-! # Cohomology Isomorphic Field Base -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Structure.CohomologyIsomorphicFieldBase |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Structure-sheaf cohomology dimensions are unchanged in an actual Cartesian square whose base map is an isomorphism of field spectra. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem structureCohomology_finrank_isomorphic_field_base |
| 15 | {K B : Type u} [Field K] [Field B] {X Y : Scheme.{u}} [Y.IsSeparated] |
| 16 | {a : X ⟶ Y} {b : X ⟶ Spec (.of B)} {p : Y ⟶ Spec (.of K)} {c : Spec (.of B) ⟶ Spec (.of K)} |
| 17 | (H : IsPullback a b p c) [IsIso c] (q : ℕ) : |
| 18 | Module.finrank K ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 19 | (Coefficient.ModulePresheaf.schemeCoefficientMap p) q).obj (Line.Bundles.structureModule Y)) = |
| 20 | Module.finrank B ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 21 | (Coefficient.ModulePresheaf.schemeCoefficientMap b) q).obj (Line.Bundles.structureModule X)) := by |
| 22 | have : IsIso a := H.isIso_fst_of_isIso |
| 23 | let eP := CohomologyPullbackIso.lineBundleCohomologyPullbackIso a p (Line.Bundles.LineBundle.trivial Y) q |
| 24 | let eS := (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (Coefficient.ModulePresheaf.schemeCoefficientMap (a ≫ p)) q).mapIso |
| 25 | (Line.Bundles.structureModulePullbackIso a) |
| 26 | have h₁ : Module.finrank K ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 27 | (Coefficient.ModulePresheaf.schemeCoefficientMap p) q).obj (Line.Bundles.structureModule Y)) = |
| 28 | Module.finrank K ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 29 | (Coefficient.ModulePresheaf.schemeCoefficientMap (a ≫ p)) q).obj (Line.Bundles.structureModule X)) := |
| 30 | eP.toLinearEquiv.finrank_eq.symm.trans eS.toLinearEquiv.finrank_eq |
| 31 | have h₂ := congrArg (fun t : X ⟶ Spec (.of K) => |
| 32 | Module.finrank K ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (Coefficient.ModulePresheaf.schemeCoefficientMap t) q).obj |
| 33 | (Line.Bundles.structureModule X))) H.w |
| 34 | exact h₁.trans (h₂.trans (HilbertConstruction.Spec.IsomorphismCohomologyDimension.coefficientCohomology_finrank_specIso c b (Line.Bundles.structureModule X) q)) |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Structure.CohomologyIsomorphicFieldBase |