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.EvaluationDVR |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.LiftedReduction |
| 3 | |
| 4 | /-! # Evaluation Base Square -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual finite Witt evaluation DVR lies over the q-adic integral |
| 11 | model, with commuting generic, arithmetic, and residue squares. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.LiftBase.CM |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.EvaluationDVR.CM |
| 17 | |
| 18 | variable {q : ℕ} [Fact q.Prime] |
| 19 | {L : Type} [Field L] [Algebra (Witt.ArithmeticBase.CM.Generic.F q) L] [Algebra (Witt.ArithmeticBase.CM.W (q := q)) L] |
| 20 | [IsScalarTower (Witt.ArithmeticBase.CM.W (q := q)) (Witt.ArithmeticBase.CM.Generic.F q) L] |
| 21 | (V : Isogenies.NeighborCounting.EvaluationDVRLifts.EvaluationDVR (Witt.ArithmeticBase.CM.W (q := q)) L) |
| 22 | |
| 23 | def integralMap : ℤ_[q] →+* V.carrier := |
| 24 | (algebraMap (Witt.ArithmeticBase.CM.W (q := q)) V.carrier).comp (Witt.LiftBase.CM.fromPadic q (Witt.ArithmeticBase.CM.k (q := q))) |
| 25 | |
| 26 | def fieldMap : ℚ_[q] →+* L := |
| 27 | (algebraMap (Witt.ArithmeticBase.CM.Generic.F q) L).comp (Witt.ArithmeticBase.CM.Generic.padicToField q) |
| 28 | |
| 29 | theorem generic_compatible : |
| 30 | (fieldMap (L := L) (q := q)).comp (algebraMap ℤ_[q] ℚ_[q]) = |
| 31 | (algebraMap V.carrier L).comp (integralMap V) := by |
| 32 | ext x |
| 33 | change algebraMap (Witt.ArithmeticBase.CM.Generic.F q) L (Witt.ArithmeticBase.CM.Generic.padicToField q (algebraMap ℤ_[q] ℚ_[q] x)) = |
| 34 | algebraMap V.carrier L (algebraMap (Witt.ArithmeticBase.CM.W (q := q)) V.carrier (Witt.LiftBase.CM.fromPadic q (Witt.ArithmeticBase.CM.k (q := q)) x)) |
| 35 | rw [Witt.ArithmeticBase.CM.Generic.padicToField_integral] |
| 36 | exact (IsScalarTower.algebraMap_apply (Witt.ArithmeticBase.CM.W (q := q)) (Witt.ArithmeticBase.CM.Generic.F q) L _).symm.trans |
| 37 | (IsScalarTower.algebraMap_apply (Witt.ArithmeticBase.CM.W (q := q)) V.carrier L _) |
| 38 | |
| 39 | def integralBase : Spec (.of V.carrier) ⟶ Spec (.of ℤ_[q]) := |
| 40 | Spec.map (CommRingCat.ofHom (integralMap V)) |
| 41 | |
| 42 | def fieldBase : Spec (.of L) ⟶ Spec (.of ℚ_[q]) := |
| 43 | Spec.map (CommRingCat.ofHom (fieldMap (L := L) (q := q))) |
| 44 | |
| 45 | theorem generic_square : |
| 46 | fieldBase (L := L) (q := q) ≫ Spec.map (CommRingCat.ofHom (algebraMap ℤ_[q] ℚ_[q])) = |
| 47 | ValuativePoints.CM.genericBase (R := V.carrier) (L := L) ≫ integralBase V := by |
| 48 | change Spec.map (CommRingCat.ofHom (fieldMap (L := L) (q := q))) ≫ |
| 49 | Spec.map (CommRingCat.ofHom (algebraMap ℤ_[q] ℚ_[q])) = |
| 50 | Spec.map (CommRingCat.ofHom (algebraMap V.carrier L)) ≫ |
| 51 | Spec.map (CommRingCat.ofHom (integralMap V)) |
| 52 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 53 | exact congrArg Spec.map (CommRingCat.hom_ext (generic_compatible V)) |
| 54 | |
| 55 | omit [Algebra (Witt.ArithmeticBase.CM.Generic.F q) L] [IsScalarTower (Witt.ArithmeticBase.CM.W (q := q)) (Witt.ArithmeticBase.CM.Generic.F q) L] in |
| 56 | theorem residue_compatible : |
| 57 | (LiftedReduction.CM.geometricResidue (Witt.EvaluationDVR.CM.geometricResidueIso V)).comp (integralMap V) = |
| 58 | (algebraMap (ZMod q) (Witt.ArithmeticBase.CM.k (q := q))).comp (PadicInt.toZMod : ℤ_[q] →+* ZMod q) := by |
| 59 | ext x |
| 60 | change (Witt.EvaluationDVR.CM.geometricResidueIso V).symm |
| 61 | (IsLocalRing.residue V.carrier |
| 62 | (algebraMap (Witt.ArithmeticBase.CM.W (q := q)) V.carrier (Witt.LiftBase.CM.fromPadic q (Witt.ArithmeticBase.CM.k (q := q)) x))) = _ |
| 63 | rw [← V.residue_compatible] |
| 64 | change (Witt.LiftBase.CM.residueEquiv q (Witt.ArithmeticBase.CM.k (q := q))) |
| 65 | (V.residueIso.symm (V.residueIso |
| 66 | (IsLocalRing.residue (Witt.ArithmeticBase.CM.W (q := q)) (Witt.LiftBase.CM.fromPadic q (Witt.ArithmeticBase.CM.k (q := q)) x)))) = _ |
| 67 | rw [RingEquiv.symm_apply_apply] |
| 68 | exact (Witt.LiftBase.CM.fromPadic_residue q (Witt.ArithmeticBase.CM.k (q := q)) x).trans |
| 69 | (RingHom.congr_fun (Subsingleton.elim |
| 70 | (ZMod.castHom (dvd_refl q) (Witt.ArithmeticBase.CM.k (q := q))) |
| 71 | (algebraMap (ZMod q) (Witt.ArithmeticBase.CM.k (q := q)))) (PadicInt.toZMod x)) |
| 72 | |
| 73 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 74 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 75 | {M : PELModuli.CMPoints.Models.RankThreePELModel E K} |
| 76 | {j : M.QadicChoice q} (hden : Nat.Coprime q M.arithmetic.denominator) |
| 77 | |
| 78 | omit [Algebra (Witt.ArithmeticBase.CM.Generic.F q) L] [IsScalarTower (Witt.ArithmeticBase.CM.W (q := q)) (Witt.ArithmeticBase.CM.Generic.F q) L] in |
| 79 | theorem arithmetic_square : |
| 80 | integralBase V ≫ QadicModelMap.CM.integralBase j M.arithmetic.denominator hden = |
| 81 | Witt.EvaluationDVR.CM.evaluatedBase (j := j) V hden := by |
| 82 | change Spec.map (CommRingCat.ofHom (integralMap V)) ≫ |
| 83 | Spec.map (CommRingCat.ofHom |
| 84 | (QadicModelMap.CM.integralMap j M.arithmetic.denominator hden)) = |
| 85 | Spec.map (CommRingCat.ofHom (Witt.EvaluationDVR.CM.evaluatedArithmeticMap (j := j) V hden)) |
| 86 | rw [← Spec.map_comp] |
| 87 | rfl |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM |