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.ThreeCechScalarBicomplex |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactHomology |
| 3 | |
| 4 | /-! # Three Cech Scalar Total -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreeCechScalarTotal.IntegralFirstThreeCechScalarTotal |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Flat scalar extension commutes with the actual total Čech de Rham complex and its cohomology. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 13 | open scoped TensorProduct |
| 14 | |
| 15 | variable (R S : Type) [CommRing R] [CommRing S] [Algebra R S] |
| 16 | (X : Over (Spec (CommRingCat.of R))) (Y : Over (Spec (CommRingCat.of S))) |
| 17 | (f : Y.left ⟶ X.left) {ι : Type} [Finite ι] (U : ι → X.left.Opens) |
| 18 | |
| 19 | def complex : CochainComplex (ModuleCat.{0} R) ℤ := |
| 20 | ((IntegralAffine.CechCoordinateUnit.IntegralAffineCechCoordinateUnit.bicomplex R X U).total (.up ℕ)).extend ComplexShape.embeddingUpNat |
| 21 | |
| 22 | variable [Module.Flat R S] [IsSeparated X.hom] |
| 23 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (algebraMap R S)))) |
| 24 | (hU : ∀ i, IsAffineOpen (U i)) |
| 25 | |
| 26 | def iso : ((FlatScalar.FlatScalarExtension.moduleFunctor R S).mapHomologicalComplex (.up ℤ)).obj |
| 27 | (complex R X U) ≅ complex S Y (fun i => f ⁻¹ᵁ U i) := |
| 28 | (GeometricComparison.Finite.TotalIso.FiniteTotalExtension.iso (FlatScalar.FlatScalarExtension.moduleFunctor R S) (IntegralAffine.CechCoordinateUnit.IntegralAffineCechCoordinateUnit.bicomplex R X U)).symm ≪≫ |
| 29 | (ComplexShape.embeddingUpNat.extendFunctor (ModuleCat.{0} S)).mapIso |
| 30 | (HomologicalComplex₂.total.mapIso (ThreeCechScalarBicomplex.IntegralFirstThreeCechScalarBicomplex.iso R S X Y f U hp hU) (.up ℕ)) |
| 31 | |
| 32 | def cohomologyEquiv (n : ℤ) : S ⊗[R] (complex R X U).homology n ≃ₗ[S] |
| 33 | (complex S Y (fun i => f ⁻¹ᵁ U i)).homology n := |
| 34 | (ExactHomology.ExactHomologyComparison.iso (FlatScalar.FlatScalarExtension.moduleFunctor R S) (.up ℤ) |
| 35 | (complex R X U) (complex S Y (fun i => f ⁻¹ᵁ U i)) (iso R S X Y f U hp hU) n).toLinearEquiv |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreeCechScalarTotal.IntegralFirstThreeCechScalarTotal |