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.PositiveBaseChangeLinearity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.BaseChangeHomology |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.AllDegreeComparison |
| 4 | |
| 5 | /-! # Flat Cohomology Base Change -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.FlatCohomologyBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Flat affine base change of positive line-bundle cohomology, with the |
| 12 | comparison linear over the actual new affine coordinate algebra. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | universe u |
| 15 | |
| 16 | def specFlatLineBundleCohomologyBaseChangeIso |
| 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} {g : Spec (.of B) ⟶ S} |
| 20 | (H : IsPullback a b f g) (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 g).toAlgebra; Module.Flat Γ(S, ⊤) B) |
| 25 | (n : ℕ) : |
| 26 | let : Algebra Γ(S, ⊤) B := (CoefficientCechComparison.specBaseCoefficientMap g).toAlgebra; |
| 27 | (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor Γ(S, ⊤) B).obj |
| 28 | ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom (n + 1)).obj L.sheaf) ≅ |
| 29 | (Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor (CoefficientCechComparison.specPullbackCoefficientMap (b := b)) (n + 1)).obj |
| 30 | (L.pullback a).sheaf := by |
| 31 | let : Algebra Γ(S, ⊤) B := (CoefficientCechComparison.specBaseCoefficientMap g).toAlgebra |
| 32 | let : Module.Flat Γ(S, ⊤) B := hflat |
| 33 | have : L.sheaf.IsQuasicoherent := L.isQuasicoherent |
| 34 | let C := Ordered.CoefficientCechComplex.orderedCoefficientCechComplex f.appTop.hom L.sheaf U |
| 35 | have ht (M : Type u) [AddCommGroup M] [Module Γ(S, ⊤) M] : |
| 36 | QuasiIso (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.map M (𝟙 C)) := by |
| 37 | change QuasiIso (((HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor M).mapHomologicalComplex (.up ℕ)).map (𝟙 C)) |
| 38 | rw [CategoryTheory.Functor.map_id] |
| 39 | infer_instance |
| 40 | exact (HilbertConstruction.Module.BaseChangeComplex.LocalSectionLifting.moduleBaseChangeFunctor Γ(S, ⊤) B).mapIso |
| 41 | (OrderedCech.AllDegreeComparison.orderedCechCohomologyModuleIso f.appTop.hom L.sheaf U hU ha (n + 1)).symm ≪≫ |
| 42 | HilbertConstruction.Flat.BaseChangeHomology.flatBaseChangeHomologyIso C (n + 1) ≪≫ |
| 43 | (PositiveBaseChangeLinearity.specModelPositiveCohomologyLinearEquiv H L U hU ha he (𝟙 C) ht n).toModuleIso |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Spec.FlatCohomologyBaseChange |