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 Mathlib.RingTheory.WittVector.Compare |
| 2 | import Mathlib.RingTheory.WittVector.Complete |
| 3 | import Mathlib.RingTheory.WittVector.DiscreteValuationRing |
| 4 | |
| 5 | /-! # Lift Base -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.LiftBase.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A canonical complete DVR with the geometric residue field, and the |
| 12 | compatible map from the chosen q-adic integers. This supplies the base |
| 13 | needed to lift ordinary points of the actual smooth integral model. -/ |
| 14 | |
| 15 | variable (q : ℕ) [Fact q.Prime] |
| 16 | |
| 17 | theorem padic_hom_value {F : Type*} [CommRing F] [CharP F q] |
| 18 | (f : ℤ_[q] →+* F) (x : ℤ_[q]) : f x = (PadicInt.toZMod x : ZMod q).cast := by |
| 19 | have hx := PadicInt.toZMod_spec x |
| 20 | rw [PadicInt.maximalIdeal_eq_span_p, Ideal.mem_span_singleton] at hx |
| 21 | obtain ⟨y, hy⟩ := hx |
| 22 | have he : f x = f ((PadicInt.toZMod x : ZMod q).cast : ℤ_[q]) := by |
| 23 | have hh := congrArg f hy |
| 24 | simpa only [map_sub, map_mul, map_natCast, CharP.cast_eq_zero, zero_mul, |
| 25 | sub_eq_zero] using hh |
| 26 | exact he.trans (by rw [ZMod.cast_eq_val, map_natCast, ZMod.cast_eq_val]) |
| 27 | |
| 28 | variable (k : Type) [Field k] [CharP k q] [PerfectRing k q] |
| 29 | |
| 30 | theorem maximalIdeal_eq : IsLocalRing.maximalIdeal (WittVector q k) = |
| 31 | Ideal.span {(q : WittVector q k)} := (WittVector.irreducible q).maximalIdeal_eq |
| 32 | |
| 33 | theorem complete : IsAdicComplete (IsLocalRing.maximalIdeal (WittVector q k)) (WittVector q k) := by |
| 34 | rw [CM.maximalIdeal_eq] |
| 35 | infer_instance |
| 36 | |
| 37 | def residueEquiv : IsLocalRing.ResidueField (WittVector q k) ≃+* k := |
| 38 | (Ideal.quotEquivOfEq (CM.maximalIdeal_eq q k)).trans WittVector.quotientPEquiv |
| 39 | |
| 40 | theorem residueEquiv_residue (x : WittVector q k) : |
| 41 | residueEquiv q k (IsLocalRing.residue (WittVector q k) x) = WittVector.constantCoeff x := rfl |
| 42 | |
| 43 | def fromPadic : ℤ_[q] →+* WittVector q k := |
| 44 | (WittVector.map (ZMod.castHom (dvd_refl q) k)).comp (WittVector.fromPadicInt q) |
| 45 | |
| 46 | theorem fromPadic_residue (x : ℤ_[q]) : |
| 47 | residueEquiv q k (IsLocalRing.residue (WittVector q k) (fromPadic q k x)) = |
| 48 | (PadicInt.toZMod x : ZMod q).cast := |
| 49 | (residueEquiv_residue q k (fromPadic q k x)).trans |
| 50 | (padic_hom_value q (WittVector.constantCoeff.comp (fromPadic q k)) x) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.LiftBase.CM |