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.Field.ExtensionSectionDimension |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.SectionPolynomial |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.CoherentCohomology |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCohomology.DegreeZero |
| 6 | |
| 7 | /-! # Field Section Polynomial -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Genuine section Hilbert polynomials are preserved and reflected by |
| 14 | an arbitrary Cartesian field extension with an actual line-bundle |
| 15 | comparison. Properness supplies finite-dimensionality on both sides. -/ |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | universe u |
| 18 | |
| 19 | theorem Cartesian.FieldSectionPolynomial.properField_lineBundle_sectionModule_finite |
| 20 | {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) [IsProper p] |
| 21 | (L : Line.Bundles.LineBundle X) : Module.Finite K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj L.sheaf) := by |
| 22 | have : L.sheaf.IsQuasicoherent := L.isQuasicoherent |
| 23 | have : L.sheaf.IsFiniteType := L.isFiniteType |
| 24 | have : Module.Finite K ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 25 | (Coefficient.ModulePresheaf.schemeCoefficientMap p) 0).obj L.sheaf) := Proper.CoherentCohomology.proper_coherent_cohomologyFinite p L.sheaf 0 |
| 26 | let e := CoefficientCohomology.DegreeZero.ZariskiCohomology.coefficientCohomologyZeroSectionsEquiv (Coefficient.ModulePresheaf.schemeCoefficientMap p) L.sheaf |
| 27 | exact Module.Finite.of_surjective e.toLinearMap e.surjective |
| 28 | |
| 29 | variable {K F : Type u} [Field K] [Field F] {X Y : Scheme.{u}} |
| 30 | variable {p : X ⟶ Spec (.of K)} {q : Y ⟶ Spec (.of F)} [IsProper p] |
| 31 | variable (φ : CommRingCat.of K ⟶ CommRingCat.of F) {a : Y ⟶ X} |
| 32 | variable (H : IsPullback a q p (Spec.map φ)) (L : Line.Bundles.LineBundle X) (M : Line.Bundles.LineBundle Y) |
| 33 | variable (e : (L.pullback a).sheaf ≅ M.sheaf) |
| 34 | |
| 35 | include φ H e in |
| 36 | theorem Cartesian.FieldSectionPolynomial.cartesianFieldExtension_powerSection_finrank (m : ℕ) : |
| 37 | Module.finrank F ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor q).obj (M.tensorPower m).sheaf) = |
| 38 | Module.finrank K ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj (L.tensorPower m).sheaf) := by |
| 39 | let c := pullback.fst p (Spec.map φ) |
| 40 | let b := pullback.snd p (Spec.map φ) |
| 41 | let E : Over.mk q ≅ (Over.pullback (Spec.map φ)).obj (Over.mk p) := |
| 42 | Over.isoMk H.isoPullback H.isoPullback_hom_snd |
| 43 | let ep : ((L.pullback c).pullback E.hom.left).sheaf ≅ M.sheaf := |
| 44 | (Scheme.Modules.pullbackComp E.hom.left c).app L.sheaf ≪≫ |
| 45 | (Scheme.Modules.pullbackCongr H.isoPullback_hom_fst).app L.sheaf ≪≫ e |
| 46 | let es := (Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsIso b (L.powerBaseChangeIso c m)).trans |
| 47 | (Intrinsic.LineBundleSections.lineBundlePowerSectionsOverIso E (L.pullback c) M ep m) |
| 48 | exact es.finrank_eq.symm.trans (HilbertConstruction.Field.ExtensionSectionDimension.fieldExtension_lineBundle_sections_finrank p φ (L.tensorPower m)) |
| 49 | |
| 50 | include φ H e in |
| 51 | theorem Line.Bundles.LineBundle.hasSectionHilbertPolynomial_iff_of_cartesianFieldExtension (P : Polynomial ℚ) : |
| 52 | L.HasSectionHilbertPolynomial p P ↔ M.HasSectionHilbertPolynomial q P := by |
| 53 | have : IsProper q := MorphismProperty.of_isPullback (P := @IsProper) H inferInstance |
| 54 | constructor |
| 55 | · rintro ⟨b, hb⟩ |
| 56 | refine ⟨b, fun m hm => ⟨Cartesian.FieldSectionPolynomial.properField_lineBundle_sectionModule_finite q (M.tensorPower m), ?_⟩⟩ |
| 57 | exact (hb m hm).2.trans (congrArg (fun n : ℕ => (n : ℚ)) |
| 58 | (Cartesian.FieldSectionPolynomial.cartesianFieldExtension_powerSection_finrank φ H L M e m).symm) |
| 59 | · rintro ⟨b, hb⟩ |
| 60 | refine ⟨b, fun m hm => ⟨Cartesian.FieldSectionPolynomial.properField_lineBundle_sectionModule_finite p (L.tensorPower m), ?_⟩⟩ |
| 61 | exact (hb m hm).2.trans (congrArg (fun n : ℕ => (n : ℚ)) |
| 62 | (Cartesian.FieldSectionPolynomial.cartesianFieldExtension_powerSection_finrank φ H L M e m)) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |