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.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreeCechScalarTotal |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.DeRhamOneCech |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.BaseChangeCover |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ScalarEquivTransportNaturality |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.AffineCover |
| 6 | |
| 7 | /-! # Global One Base Change -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.GlobalOneBaseChange.IntegralGlobalHOneBaseChange |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Flat scalar extension of the original native global de Rham H-one over flat integer algebras. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | open scoped TensorProduct |
| 18 | |
| 19 | variable (R : Type) [CommRing R] [Module.Flat ℤ R] |
| 20 | (X : Over (Spec (CommRingCat.of R))) [IsSeparated X.hom] |
| 21 | {ι : Type} [Finite ι] (U : ι → X.left.Opens) |
| 22 | (hU : ∀ i, IsAffineOpen (U i)) (hcover : iSup U = ⊤) |
| 23 | |
| 24 | def coordinateEquiv : (IntegralFirst.ThreeCechScalarTotal.IntegralFirstThreeCechScalarTotal.complex R X U).homology 1 ≃ₗ[R] |
| 25 | AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology R X 1 := |
| 26 | (HomologicalComplex.homologyMapIso (IntegralAffine.CechCoordinateUnit.IntegralAffineCechCoordinateUnit.totalIso R X U hU) 1).toLinearEquiv.trans |
| 27 | (DeRhamOneCech.IntegralDeRhamHOneCech.equiv R X U hU hcover) |
| 28 | |
| 29 | variable (S : Type) [CommRing S] [Algebra R S] [Module.Flat R S] [Module.Flat ℤ S] |
| 30 | (Y : Over (Spec (CommRingCat.of S))) (f : Y.left ⟶ X.left) |
| 31 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (algebraMap R S)))) |
| 32 | |
| 33 | def equiv : S ⊗[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology R X 1 ≃ₗ[S] AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology S Y 1 := by |
| 34 | letI : IsSeparated Y.hom := Affine.BaseChangeCover.AffineBaseChangeCover.separated (algebraMap R S) X Y f hp |
| 35 | exact ScalarEquivTransportNaturality.FilteredBaseChangeTransport.equiv S (coordinateEquiv R X U hU hcover) |
| 36 | (IntegralFirst.ThreeCechScalarTotal.IntegralFirstThreeCechScalarTotal.cohomologyEquiv R S X Y f U hp hU 1) |
| 37 | (coordinateEquiv S Y (fun i => f ⁻¹ᵁ U i) |
| 38 | (fun i => Affine.BaseChangeCover.AffineBaseChangeCover.affine (algebraMap R S) X Y f hp (U i) (hU i)) |
| 39 | (Affine.BaseChangeCover.AffineBaseChangeCover.cover X Y f U hcover)) |
| 40 | |
| 41 | def quasiCompactEquiv [QuasiCompact X.hom] : |
| 42 | S ⊗[R] AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology R X 1 ≃ₗ[S] AlgebraicGeometry.Crystalline.Cohomology.DeRhamGlobalId.DeRhamGlobal.cohomology S Y 1 := |
| 43 | equiv R X (GeometricComparison.Finite.AffineCover.FiniteAffineCover.finiteAlgebraicAffineOpens R X) |
| 44 | (GeometricComparison.Finite.AffineCover.FiniteAffineCover.finiteAlgebraicAffineOpens_affine R X) |
| 45 | (GeometricComparison.Finite.AffineCover.FiniteAffineCover.finiteAlgebraicAffineOpens_cover R X) S Y f hp |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.GlobalOneBaseChange.IntegralGlobalHOneBaseChange |