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.EvaluationBaseSquare |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PrimeFieldPoints |
| 3 | |
| 4 | /-! # Evaluation Residue Test -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationResidueTest.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The evaluation DVR's actual residue map defines the same test point |
| 11 | over the prime-field special fiber. The comparison is constructed from |
| 12 | the proved residue square. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.EvaluationDVR.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationBaseSquare.CM |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.LiftedReduction.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ValuativePoints.CM |
| 18 | |
| 19 | variable {q : ℕ} [Fact q.Prime] {L : Type} [Field L] [Algebra (Witt.ArithmeticBase.CM.W (q := q)) L] |
| 20 | (V : Isogenies.NeighborCounting.EvaluationDVRLifts.EvaluationDVR (Witt.ArithmeticBase.CM.W (q := q)) L) |
| 21 | |
| 22 | def geometricBase : Spec (.of (Witt.ArithmeticBase.CM.k (q := q))) ⟶ Spec (.of (ZMod q)) := |
| 23 | Spec.map (CommRingCat.ofHom (algebraMap (ZMod q) (Witt.ArithmeticBase.CM.k (q := q)))) |
| 24 | |
| 25 | def residueBase : Spec (.of (Witt.ArithmeticBase.CM.k (q := q))) ⟶ Spec (.of ℤ_[q]) := |
| 26 | Spec.map (CommRingCat.ofHom (LiftedReduction.CM.geometricResidue (Witt.EvaluationDVR.CM.geometricResidueIso V))) ≫ EvaluationBaseSquare.CM.integralBase V |
| 27 | |
| 28 | theorem residue_square : |
| 29 | geometricBase (q := q) ≫ Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[q] →+* ZMod q)) = |
| 30 | residueBase V := by |
| 31 | change Spec.map (CommRingCat.ofHom (algebraMap (ZMod q) (Witt.ArithmeticBase.CM.k (q := q)))) ≫ |
| 32 | Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[q] →+* ZMod q)) = |
| 33 | Spec.map (CommRingCat.ofHom (LiftedReduction.CM.geometricResidue (Witt.EvaluationDVR.CM.geometricResidueIso V))) ≫ |
| 34 | Spec.map (CommRingCat.ofHom (EvaluationBaseSquare.CM.integralMap V)) |
| 35 | rw [← Spec.map_comp, ← Spec.map_comp] |
| 36 | exact congrArg Spec.map (CommRingCat.hom_ext (EvaluationBaseSquare.CM.residue_compatible V).symm) |
| 37 | |
| 38 | def testIso : |
| 39 | (Over.map (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[q] →+* ZMod q)))).obj |
| 40 | (Over.mk (geometricBase (q := q))) ≅ |
| 41 | ValuativePoints.CM.specialTest (EvaluationBaseSquare.CM.integralBase V) (LiftedReduction.CM.geometricResidue (Witt.EvaluationDVR.CM.geometricResidueIso V)) := |
| 42 | PrimeFieldPoints.CM.testIso _ _ _ (residue_square V) |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationResidueTest.CM |