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.ExternalFactorCohomology |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Additive.CommonCoverDegreeZero |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCech.DegreeZeroLinearity |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.CoefficientCohomology.DegreeZero |
| 5 | |
| 6 | /-! # External Factor All Cohomology -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.ExternalFactorAllCohomology |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The native external-factor cohomology formula includes degree zero. Thus lower-degree vanishing of the proper-factor line bundle transfers to every actual open factor of the product Cech resolution. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.AlgebraicGeometry Opposite |
| 14 | universe u |
| 15 | |
| 16 | variable {S X Y P : Scheme.{u}} [IsAffine S] [X.IsSeparated] [Y.IsSeparated] [P.IsSeparated] |
| 17 | variable {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ S} {g : Y ⟶ S} |
| 18 | variable (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) (N : Line.Bundles.LineBundle Y) |
| 19 | variable (U : Y.Opens) (hU : IsAffineOpen U) |
| 20 | variable (eU : (Scheme.Modules.pullback U.ι).obj N.sheaf ≅ Line.Bundles.structureModule U.toScheme) |
| 21 | variable {ι : Type u} [Finite ι] (V : ι → X.Opens) |
| 22 | variable (hV : iSup V = ⊤) (ha : ∀ i, IsAffineOpen (V i)) |
| 23 | variable (he : ∀ i, Nonempty ((Scheme.Modules.pullback (V i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (V i).toScheme)) |
| 24 | variable [hflat : Module.Flat Γ(S, ⊤) ((Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf).obj (op U))] |
| 25 | |
| 26 | def nativeExternalFactorAllCohomologyIso (n : ℕ) : |
| 27 | (HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor ((Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf).obj (op U)) ⋙ |
| 28 | HilbertConstruction.Module.ProductForget.moduleForget Γ(S, ⊤)).obj |
| 29 | ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom n).obj L.sheaf) ≅ |
| 30 | (CategoryTheory.Sheaf.functorH (Opens.grothendieckTopology P) n).obj |
| 31 | ((IntrinsicCech.SheafComplex.cechFactorPresheaf (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (((L.pullback a).tensor (N.pullback b)).sheaf))).obj |
| 32 | (op (b ⁻¹ᵁ U))) := by |
| 33 | cases n with |
| 34 | | zero => |
| 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 : IsIso (AmbientCechTensor.nativeAmbientExternalCechTensorMap a b f.appTop.hom g.appTop.hom |
| 41 | (Affine.TensorSectionComparison.cartesianGlobalCoefficient_compatibility H).symm L.sheaf N.sheaf U V) := |
| 42 | AmbientCechTensor.nativeAmbientExternalCechTensorMap_isIso H L N.sheaf U hU eU V ha he |
| 43 | exact T.mapIso ((CoefficientCohomology.DegreeZero.ZariskiCohomology.coefficientCohomologyZeroSectionsEquiv f.appTop.hom L.sheaf).toModuleIso ≪≫ |
| 44 | CoefficientCech.DegreeZeroLinearity.coefficientCechZeroSectionsModuleIso f.appTop.hom L.sheaf V hV) ≪≫ |
| 45 | ((C.sc 0).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)) 0 ≪≫ |
| 49 | Additive.CommonCoverDegreeZero.additiveCommonCoverZeroCohomologyIso a V hV F |
| 50 | | succ n => exact ExternalFactorCohomology.nativeExternalFactorCohomologyIso H L N U hU eU V hV ha he n |
| 51 | |
| 52 | include H hU eU V hV ha he hflat in |
| 53 | theorem nativeExternalFactor_cohomology_vanish (n : ℕ) |
| 54 | (hL : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H L.sheaf n)) : |
| 55 | Subsingleton (CategoryTheory.Sheaf.H |
| 56 | ((IntrinsicCech.SheafComplex.cechFactorPresheaf (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (((L.pullback a).tensor (N.pullback b)).sheaf))).obj |
| 57 | (op (b ⁻¹ᵁ U))) n) := by |
| 58 | let : Subsingleton ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom n).obj L.sheaf) := hL |
| 59 | let T := HilbertConstruction.Module.TensorFunctor.ModuleTensorFunctor.tensor ((Coefficient.ModulePresheaf.coefficientModulePresheaf g.appTop.hom N.sheaf).obj (op U)) ⋙ |
| 60 | HilbertConstruction.Module.ProductForget.moduleForget Γ(S, ⊤) |
| 61 | have hz := T.map_isZero (ModuleCat.isZero_of_subsingleton |
| 62 | ((Zariski.CohomologyFunctor.ZariskiCohomology.coefficientCohomologyFunctor f.appTop.hom n).obj L.sheaf)) |
| 63 | exact AddCommGrpCat.subsingleton_of_isZero |
| 64 | ((nativeExternalFactorAllCohomologyIso H L N U hU eU V hV ha he n).isZero_iff.mp hz) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Intrinsic.ExternalFactorAllCohomology |