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.CoefficientLimits |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CoefficientLimitCoordinates |
| 3 | |
| 4 | /-! # Coefficient Limit -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CoefficientLimit.IntrinsicPadicCoefficientLimitComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The coefficient limit comparison in the actual p-adic and |
| 11 | large crystalline module universes. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | variable (p : ℕ) [Fact p.Prime] |
| 16 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 17 | local notation "F" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.coefficients p |
| 18 | |
| 19 | instance targetLimits : HasLimitsOfShape ℕᵒᵖ (ModuleCat.{2} R) := |
| 20 | ModuleCat.hasLimitsOfShape |
| 21 | |
| 22 | variable (P : ℕᵒᵖ ⥤ ModuleCat.{0} ℤ_[p]) |
| 23 | (Q : ℕᵒᵖ ⥤ ModuleCat.{2} (IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)))) |
| 24 | (e : P ⋙ Coefficient.IntrinsicPadicSmallQuotientTotal.coefficients p ≅ Q) |
| 25 | |
| 26 | def iso : (F).obj (limit P) ≅ limit Q := |
| 27 | CoefficientLimit.CoefficientLimitComparison.iso.{0, 0, 1, 0, 3, 2} P Q F e |
| 28 | |
| 29 | theorem hom_π (n : ℕᵒᵖ) : (iso p P Q e).hom ≫ limit.π Q n = |
| 30 | (F).map (limit.π P n) ≫ e.hom.app n := |
| 31 | CoefficientLimit.CoefficientLimitComparison.hom_π.{0, 0, 1, 0, 3, 2} P Q F e n |
| 32 | |
| 33 | variable {M : ModuleCat.{0} ℤ_[p]} (s : M ≅ limit P) |
| 34 | |
| 35 | def sourceIso : (F).obj M ≅ limit Q := |
| 36 | CoefficientLimitCoordinates.CoefficientLimitSourceCoordinates.iso.{0, 0, 1, 0, 3, 2} P Q F e s |
| 37 | |
| 38 | theorem sourceIso_hom_π (n : ℕᵒᵖ) : (sourceIso p P Q e s).hom ≫ limit.π Q n = |
| 39 | (F).map (s.hom ≫ limit.π P n) ≫ e.hom.app n := |
| 40 | CoefficientLimitCoordinates.CoefficientLimitSourceCoordinates.hom_π.{0, 0, 1, 0, 3, 2} P Q F e s n |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CoefficientLimit.IntrinsicPadicCoefficientLimitComparison |