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.FlatCohomologyBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.BaseChangeQuotientCohomology |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.FlatCohomologyBaseChange |
| 4 | |
| 5 | /-! # Flat Quotient Cohomology -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.FlatQuotientCohomology |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A line bundle whose cohomology is a positive-degree coordinate quotient |
| 12 | retains this formula after any flat affine base change. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | theorem specFlatLineBundle_cohomology_quotient |
| 17 | {S X : Scheme.{u}} [IsAffine S] [X.IsSeparated] |
| 18 | {B : Type u} [CommRing B] {P : Scheme.{u}} |
| 19 | {a : P ⟶ X} {b : P ⟶ Spec (.of B)} {f : X ⟶ S} {t : Spec (.of B) ⟶ S} |
| 20 | (H : IsPullback a b f t) (L : Line.Bundles.LineBundle X) |
| 21 | {ι : Type u} [LinearOrder ι] [Finite ι] (U : ι → X.Opens) |
| 22 | (hU : iSup U = ⊤) (ha : ∀ i, IsAffineOpen (U i)) |
| 23 | (he : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 24 | (hflat : let : Algebra Γ(S, ⊤) B := (CoefficientCechComparison.specBaseCoefficientMap t).toAlgebra; Module.Flat Γ(S, ⊤) B) |
| 25 | (g : ℕ) (hg : 0 < g) (I : Ideal Γ(S, ⊤)) |
| 26 | (hvan : ∀ q : ℕ, q ≠ g → IsZero |
| 27 | ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom q).obj L.sheaf)) |
| 28 | (etop : (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom g).obj L.sheaf ≅ |
| 29 | ModuleCat.of Γ(S, ⊤) (Γ(S, ⊤) ⧸ I)) : |
| 30 | (∀ q : ℕ, q ≠ g → IsZero |
| 31 | ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (CoefficientCechComparison.specPullbackCoefficientMap (b := b)) q).obj |
| 32 | (L.pullback a).sheaf)) ∧ |
| 33 | Nonempty (((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (CoefficientCechComparison.specPullbackCoefficientMap (b := b)) g).obj |
| 34 | (L.pullback a).sheaf) ≅ ModuleCat.of B (B ⧸ I.map (CoefficientCechComparison.specBaseCoefficientMap t))) := by |
| 35 | let : Algebra Γ(S, ⊤) B := (CoefficientCechComparison.specBaseCoefficientMap t).toAlgebra |
| 36 | let : Module.Flat Γ(S, ⊤) B := hflat |
| 37 | have : Module.Flat Γ(S, ⊤) (Affine.TensorSectionComparison.morphismGlobalAlgebra t) := |
| 38 | Module.Flat.of_linearEquiv (CoefficientCechComparison.specBaseCoefficientEquiv t).toLinearEquiv.symm |
| 39 | constructor |
| 40 | · intro q hq |
| 41 | have hz : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H L.sheaf q) := |
| 42 | ModuleCat.isZero_iff_subsingleton.mp (hvan q hq) |
| 43 | have : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (L.pullback a).sheaf q) := |
| 44 | Affine.FlatCohomologyBaseChange.affineFlatLineBundle_cohomology_vanish H L U hU ha he q hz |
| 45 | have : Subsingleton ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor |
| 46 | (CoefficientCechComparison.specPullbackCoefficientMap (b := b)) q).obj (L.pullback a).sheaf) := |
| 47 | inferInstanceAs (Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (L.pullback a).sheaf q)) |
| 48 | exact ModuleCat.isZero_of_subsingleton _ |
| 49 | · obtain ⟨n, rfl⟩ := Nat.exists_eq_succ_of_ne_zero (Nat.ne_of_gt hg) |
| 50 | exact ⟨(FlatCohomologyBaseChange.specFlatLineBundleCohomologyBaseChangeIso H L U hU ha he hflat n).symm ≪≫ |
| 51 | (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor Γ(S, ⊤) B).mapIso etop ≪≫ |
| 52 | (Algebra.TensorProduct.quotIdealMapEquivTensorQuot B I).symm.toLinearEquiv.toModuleIso⟩ |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.FlatQuotientCohomology |