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.LiftBase |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.QadicModelMap |
| 3 | import OAI.AlgebraicGeometry.PELModuli.CMPoints.Models |
| 4 | import Mathlib.RingTheory.Localization.FractionRing |
| 5 | |
| 6 | /-! # Arithmetic Base -/ |
| 7 | |
| 8 | namespace OAI |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM |
| 13 | |
| 14 | /-! The Witt-vector lifting base is compatible with the exact residue map |
| 15 | and q-adic choice returned by CMPoints for the original arithmetic model. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.LiftBase.CM |
| 19 | |
| 20 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 21 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 22 | {M : PELModuli.CMPoints.Models.RankThreePELModel E K} {q : ℕ} [Fact q.Prime] |
| 23 | {j : M.QadicChoice q} (R : M.GoodIntegralReduction q j) |
| 24 | (hden : Nat.Coprime q M.arithmetic.denominator) |
| 25 | |
| 26 | abbrev k := AlgebraicClosure (ZMod q) |
| 27 | abbrev W := WittVector q (k (q := q)) |
| 28 | |
| 29 | def arithmeticMap : M.arithmetic.R →+* W (q := q) := |
| 30 | (LiftBase.CM.fromPadic q (k (q := q))).comp |
| 31 | (QadicModelMap.CM.integralMap j M.arithmetic.denominator hden) |
| 32 | |
| 33 | theorem arithmeticMap_residue (x : M.arithmetic.R) : |
| 34 | LiftBase.CM.residueEquiv q (k (q := q)) |
| 35 | (IsLocalRing.residue (W (q := q)) (arithmeticMap (j := j) hden x)) = |
| 36 | algebraMap (ZMod q) (k (q := q)) (R.residue x) := by |
| 37 | have hc := RingHom.congr_fun |
| 38 | (QadicModelMap.CM.integralMap_residue j M.arithmetic.denominator hden |
| 39 | R.residue R.residue_compatibility) x |
| 40 | have he : (ZMod.castHom (dvd_refl q) (k (q := q))) = |
| 41 | algebraMap (ZMod q) (k (q := q)) := Subsingleton.elim _ _ |
| 42 | exact (LiftBase.CM.fromPadic_residue q (k (q := q)) |
| 43 | (QadicModelMap.CM.integralMap j M.arithmetic.denominator hden x)).trans |
| 44 | ((congrArg (fun z : ZMod q => (z.cast : k (q := q))) hc).trans |
| 45 | (RingHom.congr_fun he (R.residue x))) |
| 46 | |
| 47 | def residueIso : k (q := q) ≃+* IsLocalRing.ResidueField (W (q := q)) := |
| 48 | (LiftBase.CM.residueEquiv q (k (q := q))).symm |
| 49 | |
| 50 | theorem residue_compatible : |
| 51 | (IsLocalRing.residue (W (q := q))).comp (arithmeticMap (j := j) hden) = |
| 52 | (residueIso (q := q)).toRingHom.comp |
| 53 | ((algebraMap (ZMod q) (k (q := q))).comp R.residue) := by |
| 54 | ext x |
| 55 | apply (LiftBase.CM.residueEquiv q (k (q := q))).injective |
| 56 | exact (arithmeticMap_residue R hden x).trans |
| 57 | ((LiftBase.CM.residueEquiv q (k (q := q))).apply_symm_apply _).symm |
| 58 | |
| 59 | def wittBase : Spec (.of (W (q := q))) ⟶ M.arithmetic.base := |
| 60 | Spec.map (CommRingCat.ofHom (arithmeticMap (j := j) hden)) |
| 61 | |
| 62 | theorem geometric_square : |
| 63 | Spec.map (CommRingCat.ofHom (residueIso (q := q)).toRingHom) ≫ R.geometricBase = |
| 64 | Spec.map (CommRingCat.ofHom (IsLocalRing.residue (W (q := q)))) ≫ wittBase (j := j) hden := by |
| 65 | change Spec.map (CommRingCat.ofHom (residueIso (q := q)).toRingHom) ≫ |
| 66 | Spec.map (CommRingCat.ofHom ((algebraMap (ZMod q) (k (q := q))).comp R.residue)) = |
| 67 | Spec.map (CommRingCat.ofHom (IsLocalRing.residue (W (q := q)))) ≫ |
| 68 | Spec.map (CommRingCat.ofHom (arithmeticMap (j := j) hden)) |
| 69 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 70 | exact congrArg Spec.map (CommRingCat.hom_ext (residue_compatible R hden).symm) |
| 71 | |
| 72 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM |
| 73 | |
| 74 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 75 | |
| 76 | /-! The Witt lifting field contains the chosen q-adic field. The |
| 77 | induced number-field embedding agrees with the same integral arithmetic |
| 78 | map used for the geometric point lifts. -/ |
| 79 | |
| 80 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 81 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.LiftBase.CM |
| 82 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM |
| 83 | |
| 84 | variable (q : ℕ) [Fact q.Prime] |
| 85 | |
| 86 | abbrev F := FractionRing (W (q := q)) |
| 87 | |
| 88 | theorem fromPadic_injective : Function.Injective (LiftBase.CM.fromPadic q (k (q := q))) := |
| 89 | (WittVector.map_injective (ZMod.castHom (dvd_refl q) (k (q := q))) |
| 90 | (ZMod.castHom (dvd_refl q) (k (q := q))).injective).comp |
| 91 | (WittVector.equiv q).symm.injective |
| 92 | |
| 93 | def padicIntegralToField : ℤ_[q] →+* F q := |
| 94 | (algebraMap (W (q := q)) (F q)).comp (LiftBase.CM.fromPadic q (k (q := q))) |
| 95 | |
| 96 | theorem padicIntegralToField_injective : Function.Injective (padicIntegralToField q) := |
| 97 | (IsFractionRing.injective (W (q := q)) (F q)).comp (fromPadic_injective q) |
| 98 | |
| 99 | def padicToField : ℚ_[q] →+* F q := |
| 100 | IsFractionRing.lift (padicIntegralToField_injective q) |
| 101 | |
| 102 | theorem padicToField_integral (x : ℤ_[q]) : |
| 103 | padicToField q (algebraMap ℤ_[q] ℚ_[q] x) = padicIntegralToField q x := |
| 104 | IsFractionRing.lift_algebraMap (padicIntegralToField_injective q) x |
| 105 | |
| 106 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 107 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 108 | {M : PELModuli.CMPoints.Models.RankThreePELModel E K} {q : ℕ} [Fact q.Prime] |
| 109 | (j : M.QadicChoice q) (hden : Nat.Coprime q M.arithmetic.denominator) |
| 110 | |
| 111 | def numberFieldEmbedding : M.arithmetic.extension.carrier →+* F q := |
| 112 | (padicToField q).comp (QadicModelMap.CM.localFieldEmbedding j) |
| 113 | |
| 114 | theorem arithmeticMap_generic : |
| 115 | (algebraMap (W (q := q)) (F q)).comp (arithmeticMap (j := j) hden) = |
| 116 | (numberFieldEmbedding j).comp M.arithmetic.toField := by |
| 117 | ext x |
| 118 | have he := RingHom.congr_fun |
| 119 | (QadicModelMap.CM.integralMap_generic j M.arithmetic.denominator |
| 120 | M.arithmetic.denominator_ne_zero hden) x |
| 121 | exact (padicToField_integral q |
| 122 | (QadicModelMap.CM.integralMap j M.arithmetic.denominator hden x)).symm.trans |
| 123 | (congrArg (padicToField q) he) |
| 124 | |
| 125 | def fractionBase : Spec (.of (F q)) ⟶ Spec (.of (W (q := q))) := |
| 126 | Spec.map (CommRingCat.ofHom (algebraMap (W (q := q)) (F q))) |
| 127 | |
| 128 | def numberFieldBase : Spec (.of (F q)) ⟶ Spec (.of M.arithmetic.extension.carrier) := |
| 129 | Spec.map (CommRingCat.ofHom (numberFieldEmbedding j)) |
| 130 | |
| 131 | theorem generic_square : |
| 132 | fractionBase (q := q) ≫ wittBase (j := j) hden = |
| 133 | numberFieldBase j ≫ M.arithmetic.generic := by |
| 134 | change Spec.map (CommRingCat.ofHom (algebraMap (W (q := q)) (F q))) ≫ |
| 135 | Spec.map (CommRingCat.ofHom (arithmeticMap (j := j) hden)) = |
| 136 | Spec.map (CommRingCat.ofHom (numberFieldEmbedding j)) ≫ |
| 137 | Spec.map (CommRingCat.ofHom M.arithmetic.toField) |
| 138 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 139 | exact congrArg Spec.map (CommRingCat.hom_ext (arithmeticMap_generic j hden)) |
| 140 | |
| 141 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 142 | |
| 143 | end |
| 144 | |
| 145 | end OAI |