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.Intrinsic.AmbientCechTensor |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Additive.CommonCoverCohomology |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.ExternalFactorAcyclicity |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Flat.ModuleTensorHomology |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.ZariskiLinearity |
| 6 | |
| 7 | /-! # External Factor Cohomology -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.ExternalFactorCohomology |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Genuine positive cohomology of a native external open factor is the tensor of parameter-chart sections with genuine cohomology on the proper factor. Every factor uses the same ambient inverse-image cover and the canonical pairing into its actual native sections. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.AlgebraicGeometry Opposite |
| 15 | universe u |
| 16 | |
| 17 | variable {S X Y P : Scheme.{u}} [IsAffine S] [X.IsSeparated] [Y.IsSeparated] [P.IsSeparated] |
| 18 | variable {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 19 | variable (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) (N : Line.Bundles.LineBundle Y) |
| 20 | variable (U : Y.Opens) (hU : IsAffineOpen U) |
| 21 | variable (eU : (Scheme.Modules.pullback U.ι).obj N.sheaf ≅ Line.Bundles.structureModule U.toScheme) |
| 22 | variable {ι : Type u} [Finite ι] (V : ι → X.Opens) |
| 23 | variable (hV : iSup V = ⊤) (ha : ∀ i, IsAffineOpen (V i)) |
| 24 | variable (he : ∀ i, Nonempty ((Scheme.Modules.pullback (V i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (V i).toScheme)) |
| 25 | |
| 26 | def nativeExternalFactorCohomologyIso |
| 27 | [Module.Flat Γ(S, ⊤) ((Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf).obj (op U))] |
| 28 | (n : ℕ) : |
| 29 | (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor ((Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf).obj (op U)) ⋙ |
| 30 | HilbertConstruction.Module.ProductForget.moduleForget Γ(S, ⊤)).obj |
| 31 | ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom (n + 1)).obj L.sheaf) ≅ |
| 32 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology P) (n + 1)).obj |
| 33 | ((IntrinsicCech.SheafComplex.cechFactorPresheaf (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (((L.pullback a).tensor (N.pullback b)).sheaf))).obj |
| 34 | (op (b ⁻¹ᵁ U))) := by |
| 35 | let A := (Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf).obj (op U) |
| 36 | let T := HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor A ⋙ HilbertConstruction.Module.ProductForget.moduleForget Γ(S, ⊤) |
| 37 | let C := CoefficientCechComplex.coefficientCechComplex f.appTop.hom L.sheaf V |
| 38 | let F := (IntrinsicCech.SheafComplex.cechFactorPresheaf |
| 39 | (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (((L.pullback a).tensor (N.pullback b)).sheaf))).obj (op (b ⁻¹ᵁ U)) |
| 40 | have : L.sheaf.IsQuasicoherent := L.isQuasicoherent |
| 41 | have : IsIso (AmbientCechTensor.nativeAmbientExternalCechTensorMap a b f.appTop.hom g.appTop.hom |
| 42 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H).symm L.sheaf N.sheaf U V) := |
| 43 | AmbientCechTensor.nativeAmbientExternalCechTensorMap_isIso H L N.sheaf U hU eU V ha he |
| 44 | exact T.mapIso (CoefficientCech.ZariskiLinearity.coefficientCechZariskiModuleIso f.appTop.hom L.sheaf V hV ha n).symm ≪≫ |
| 45 | ((C.sc (n + 1)).mapHomologyIso T).symm ≪≫ |
| 46 | HomologicalComplex.homologyMapIso (asIso |
| 47 | (AmbientCechTensor.nativeAmbientExternalCechTensorMap a b f.appTop.hom g.appTop.hom |
| 48 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H).symm L.sheaf N.sheaf U V)) (n + 1) ≪≫ |
| 49 | Additive.CommonCoverCohomology.additiveCommonCoverCohomologyIso a V hV F |
| 50 | (ExternalFactorAcyclicity.nativeExternalFactor_commonCover_acyclic H L N U hU V ha) n |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.ExternalFactorCohomology |