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.Affine.PairSectionAlgebraPullback |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralAlgebra |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralBaseIso |
| 4 | |
| 5 | /-! # Base Iso -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.BaseIso.IntrinsicPadicGeometricBaseIso |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original Witt-to-p-adic de Rham coordinate isomorphism |
| 12 | commutes with actual geometric maps of integral affine sections. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | variable (p : ℕ) [Fact p.Prime] |
| 17 | {X Y : Over (Spec (CommRingCat.of ℤ_[p]))} (u : X ⟶ Y) |
| 18 | |
| 19 | local notation "W" => WittVector p (ZMod p) |
| 20 | local notation "S" => Functor.op (OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs.AffineMapPairs.source (Over.Hom.left u)) |
| 21 | local notation "T" => Functor.op (OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs.AffineMapPairs.target (Over.Hom.left u)) |
| 22 | local notation "G" => ModuleCat.restrictScalars (RingEquiv.toRingHom (WittVector.equiv p)) |
| 23 | |
| 24 | local instance coefficients : Algebra W ℤ_[p] := WittAlgebra.PadicWittAlgebra.coefficientAlgebra p |
| 25 | |
| 26 | def wittMap : T ⋙ IntegralBaseIso.IntrinsicPadicIntegralBaseIso.source p Y ⟶ S ⋙ IntegralBaseIso.IntrinsicPadicIntegralBaseIso.source p X := |
| 27 | Functor.whiskerRight (IntegralAlgebra.IntrinsicPadicGeometricIntegralAlgebra.transformation p u) (IntegralComparison.OrdinaryDeRhamFunctor.Ordinary.functor W) |
| 28 | |
| 29 | def padicMap : T ⋙ IntegralBaseIso.IntrinsicPadicIntegralBaseIso.target p Y ⟶ S ⋙ IntegralBaseIso.IntrinsicPadicIntegralBaseIso.target p X := |
| 30 | Functor.whiskerRight (Affine.PairSectionAlgebraPullback.AffinePairSectionAlgebraPullback.transformation ℤ_[p] u) |
| 31 | (IntegralComparison.OrdinaryDeRhamFunctor.Ordinary.functor ℤ_[p] ⋙ (G).mapHomologicalComplex (.up ℕ)) |
| 32 | |
| 33 | theorem component (U : (Affine.MapPairs.AffineMapPairs.Charts u.left)ᵒᵖ) : |
| 34 | (wittMap p u).app U ≫ (IntegralBaseIso.IntrinsicPadicIntegralBaseIso.iso p X).hom.app ((S).obj U) = |
| 35 | (IntegralBaseIso.IntrinsicPadicIntegralBaseIso.iso p Y).hom.app ((T).obj U) ≫ (padicMap p u).app U := by |
| 36 | let A := Γ(Y.left, U.unop.val.2.val) |
| 37 | let B := Γ(X.left, U.unop.val.1.val) |
| 38 | let : Algebra ℤ_[p] A := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra ℤ_[p] Y U.unop.val.2.val |
| 39 | let : Algebra ℤ_[p] B := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra ℤ_[p] X U.unop.val.1.val |
| 40 | let : Algebra W A := WittAlgebra.PadicWittAlgebra.algebra p A |
| 41 | let : Algebra W B := WittAlgebra.PadicWittAlgebra.algebra p B |
| 42 | let : IsScalarTower W ℤ_[p] A := IsScalarTower.of_algebraMap_eq' rfl |
| 43 | let : IsScalarTower W ℤ_[p] B := IsScalarTower.of_algebraMap_eq' rfl |
| 44 | exact SurjectiveBase.SurjectiveBaseDeRham.naturality W ℤ_[p] A (WittVector.equiv p).surjective B |
| 45 | (OpenSectionPullback.DeRham.sectionPullbackLE u U.unop.val.2.val U.unop.val.1.val U.unop.property) |
| 46 | |
| 47 | theorem naturality : wittMap p u ≫ Functor.whiskerLeft S (IntegralBaseIso.IntrinsicPadicIntegralBaseIso.iso p X).hom = |
| 48 | Functor.whiskerLeft T (IntegralBaseIso.IntrinsicPadicIntegralBaseIso.iso p Y).hom ≫ padicMap p u := by |
| 49 | apply NatTrans.ext |
| 50 | funext U |
| 51 | exact component p u U |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.BaseIso.IntrinsicPadicGeometricBaseIso |