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.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EvaluationDVRLifts |
| 3 | |
| 4 | /-! # Evaluation DVR -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.EvaluationDVR.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite extensions of the actual Witt lifting field have constructed |
| 11 | complete evaluation DVRs. Their residue map remains the geometric map |
| 12 | chosen by CMPoints; no evaluation-DVR existence hypothesis is added. -/ |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EvaluationDVRLifts OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | variable (q : ℕ) [Fact q.Prime] |
| 19 | |
| 20 | theorem fractionCharZero : CharZero (ArithmeticBase.CM.Generic.F q) where |
| 21 | cast_injective m n h := Nat.cast_injective ((ArithmeticBase.CM.Generic.padicToField q).injective (by |
| 22 | simpa only [map_natCast] using h)) |
| 23 | |
| 24 | theorem residueAlgebraicallyClosed : IsAlgClosed (IsLocalRing.ResidueField (ArithmeticBase.CM.W (q := q))) := |
| 25 | IsAlgClosed.of_ringEquiv (ArithmeticBase.CM.k (q := q)) _ (ArithmeticBase.CM.residueIso (q := q)) |
| 26 | |
| 27 | def evaluationDVR (L : Type) [Field L] [Algebra (ArithmeticBase.CM.Generic.F q) L] [Module.Finite (ArithmeticBase.CM.Generic.F q) L] |
| 28 | [Algebra (ArithmeticBase.CM.W (q := q)) L] [IsScalarTower (ArithmeticBase.CM.W (q := q)) (ArithmeticBase.CM.Generic.F q) L] : |
| 29 | Isogenies.NeighborCounting.EvaluationDVRLifts.EvaluationDVR (ArithmeticBase.CM.W (q := q)) L := by |
| 30 | let : CharZero (ArithmeticBase.CM.Generic.F q) := fractionCharZero q |
| 31 | let : IsAdicComplete (IsLocalRing.maximalIdeal (ArithmeticBase.CM.W (q := q))) (ArithmeticBase.CM.W (q := q)) := |
| 32 | LiftBase.CM.complete q (ArithmeticBase.CM.k (q := q)) |
| 33 | let : HenselianLocalRing (ArithmeticBase.CM.W (q := q)) := Isogenies.NeighborCounting.AdicTransport.Lifts.complete_local_henselian _ |
| 34 | let : IsAlgClosed (IsLocalRing.ResidueField (ArithmeticBase.CM.W (q := q))) := residueAlgebraicallyClosed q |
| 35 | exact Isogenies.NeighborCounting.EvaluationDVRLifts.evaluationDVR (ArithmeticBase.CM.W (q := q)) (ArithmeticBase.CM.Generic.F q) L |
| 36 | |
| 37 | variable {q : ℕ} [Fact q.Prime] |
| 38 | {L : Type} [Field L] [Algebra (ArithmeticBase.CM.W (q := q)) L] |
| 39 | (V : Isogenies.NeighborCounting.EvaluationDVRLifts.EvaluationDVR (ArithmeticBase.CM.W (q := q)) L) |
| 40 | |
| 41 | def geometricResidueIso : ArithmeticBase.CM.k (q := q) ≃+* IsLocalRing.ResidueField V.carrier := |
| 42 | (ArithmeticBase.CM.residueIso (q := q)).trans V.residueIso |
| 43 | |
| 44 | theorem residue_square : |
| 45 | (IsLocalRing.residue V.carrier).comp (algebraMap (ArithmeticBase.CM.W (q := q)) V.carrier) = |
| 46 | V.residueIso.toRingHom.comp (IsLocalRing.residue (ArithmeticBase.CM.W (q := q))) := by |
| 47 | ext x |
| 48 | exact (V.residue_compatible x).symm |
| 49 | |
| 50 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 51 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 52 | {M : PELModuli.CMPoints.Models.RankThreePELModel E K} |
| 53 | {j : M.QadicChoice q} (R : M.GoodIntegralReduction q j) |
| 54 | (hden : Nat.Coprime q M.arithmetic.denominator) |
| 55 | |
| 56 | def evaluatedArithmeticMap : M.arithmetic.R →+* V.carrier := |
| 57 | (algebraMap (ArithmeticBase.CM.W (q := q)) V.carrier).comp (ArithmeticBase.CM.arithmeticMap (j := j) hden) |
| 58 | |
| 59 | theorem evaluatedArithmeticMap_residue : |
| 60 | (IsLocalRing.residue V.carrier).comp (evaluatedArithmeticMap (j := j) V hden) = |
| 61 | (geometricResidueIso V).toRingHom.comp |
| 62 | ((algebraMap (ZMod q) (ArithmeticBase.CM.k (q := q))).comp R.residue) := by |
| 63 | ext x |
| 64 | exact (V.residue_compatible (ArithmeticBase.CM.arithmeticMap (j := j) hden x)).symm.trans |
| 65 | (congrArg V.residueIso (RingHom.congr_fun (ArithmeticBase.CM.residue_compatible R hden) x)) |
| 66 | |
| 67 | def evaluatedBase : Spec (.of V.carrier) ⟶ M.arithmetic.base := |
| 68 | Spec.map (CommRingCat.ofHom (evaluatedArithmeticMap (j := j) V hden)) |
| 69 | |
| 70 | theorem geometric_square : |
| 71 | Spec.map (CommRingCat.ofHom (geometricResidueIso V).toRingHom) ≫ R.geometricBase = |
| 72 | Spec.map (CommRingCat.ofHom (IsLocalRing.residue V.carrier)) ≫ evaluatedBase (j := j) V hden := by |
| 73 | change Spec.map (CommRingCat.ofHom (geometricResidueIso V).toRingHom) ≫ |
| 74 | Spec.map (CommRingCat.ofHom ((algebraMap (ZMod q) (ArithmeticBase.CM.k (q := q))).comp R.residue)) = |
| 75 | Spec.map (CommRingCat.ofHom (IsLocalRing.residue V.carrier)) ≫ |
| 76 | Spec.map (CommRingCat.ofHom (evaluatedArithmeticMap (j := j) V hden)) |
| 77 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 78 | exact congrArg Spec.map (CommRingCat.hom_ext (evaluatedArithmeticMap_residue V R hden).symm) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.EvaluationDVR.CM |