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.IntrinsicPadic.BaseIso |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ReducedSource |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.IntegralReducedBaseIso |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ExactHomology |
| 5 | |
| 6 | /-! # Reduced Base Iso -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ReducedBaseIso.IntrinsicPadicGeometricReducedBaseIso |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Geometric pullback preserves the original Witt-to-p-adic |
| 13 | coordinate identification after every prime-power coefficient quotient. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] |
| 18 | {X Y : Over (Spec (CommRingCat.of ℤ_[p]))} (u : X ⟶ Y) (n : ℕ) |
| 19 | |
| 20 | local notation "W" => WittVector p (ZMod p) |
| 21 | local notation "IW" => (Ideal.span {(p : WittVector p (ZMod p))}) ^ (n + 1) |
| 22 | local notation "IZ" => (Ideal.span {(p : ℤ_[p])}) ^ (n + 1) |
| 23 | local notation "S" => Functor.op (OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs.AffineMapPairs.source (Over.Hom.left u)) |
| 24 | local notation "T" => Functor.op (OAI.NumberTheory.PadicHodge.GeometricComparison.Affine.MapPairs.AffineMapPairs.target (Over.Hom.left u)) |
| 25 | local notation "G" => ModuleCat.restrictScalars (RingEquiv.toRingHom (WittVector.equiv p)) |
| 26 | |
| 27 | def targetMap : T ⋙ IntegralReducedBaseIso.IntrinsicPadicIntegralReducedBaseIso.target p Y n ⟶ |
| 28 | S ⋙ IntegralReducedBaseIso.IntrinsicPadicIntegralReducedBaseIso.target p X n := |
| 29 | Functor.whiskerRight (Affine.PairSectionAlgebraPullback.AffinePairSectionAlgebraPullback.transformation ℤ_[p] u) |
| 30 | (IntegralComparison.OrdinaryDeRhamFunctor.Ordinary.functor ℤ_[p] ⋙ |
| 31 | (IntegralComparison.Module.IdealQuotient.functor ℤ_[p] IZ).mapHomologicalComplex (.up ℕ) ⋙ |
| 32 | (G).mapHomologicalComplex (.up ℕ)) |
| 33 | |
| 34 | theorem component (U : (Affine.MapPairs.AffineMapPairs.Charts u.left)ᵒᵖ) : |
| 35 | (ReducedSource.IntrinsicPadicGeometricReducedSource.transformation p u n).app U ≫ |
| 36 | (IntegralReducedBaseIso.IntrinsicPadicIntegralReducedBaseIso.iso p X n).hom.app ((S).obj U) = |
| 37 | (IntegralReducedBaseIso.IntrinsicPadicIntegralReducedBaseIso.iso p Y n).hom.app ((T).obj U) ≫ (targetMap p u n).app U := by |
| 38 | let Q := (IntegralComparison.Module.IdealQuotient.functor W IW).mapHomologicalComplex (.up ℕ) |
| 39 | let a := (BaseIso.IntrinsicPadicGeometricBaseIso.wittMap p u).app U |
| 40 | let b := (IntegralBaseIso.IntrinsicPadicIntegralBaseIso.iso p X).hom.app ((S).obj U) |
| 41 | let c := (IntegralBaseIso.IntrinsicPadicIntegralBaseIso.iso p Y).hom.app ((T).obj U) |
| 42 | let d := (BaseIso.IntrinsicPadicGeometricBaseIso.padicMap p u).app U |
| 43 | have h₁ : Q.map a ≫ Q.map b = Q.map c ≫ Q.map d := |
| 44 | (Q.map_comp a b).symm.trans |
| 45 | ((congrArg Q.map (BaseIso.IntrinsicPadicGeometricBaseIso.component p u U)).trans (Q.map_comp c d)) |
| 46 | let z := (IntegralComparison.OrdinaryDeRhamFunctor.Ordinary.functor ℤ_[p]).map |
| 47 | ((Affine.PairSectionAlgebraPullback.AffinePairSectionAlgebraPullback.transformation ℤ_[p] u).app U) |
| 48 | have h₂ := ((NatIso.mapHomologicalComplex (IntegralReducedBaseIso.IntrinsicPadicIntegralReducedBaseIso.coefficientIso p n) (.up ℕ)).hom).naturality z |
| 49 | exact ExactHomology.ExactHomologyComparison.compose _ _ _ _ _ _ _ h₁ h₂ |
| 50 | |
| 51 | theorem naturality : ReducedSource.IntrinsicPadicGeometricReducedSource.transformation p u n ≫ |
| 52 | Functor.whiskerLeft S (IntegralReducedBaseIso.IntrinsicPadicIntegralReducedBaseIso.iso p X n).hom = |
| 53 | Functor.whiskerLeft T (IntegralReducedBaseIso.IntrinsicPadicIntegralReducedBaseIso.iso p Y n).hom ≫ targetMap p u n := by |
| 54 | apply NatTrans.ext |
| 55 | funext U |
| 56 | exact component p u n U |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ReducedBaseIso.IntrinsicPadicGeometricReducedBaseIso |