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.ReductionPointProjection |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluatedTargetPoint |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.TargetEquationProjection |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.CountingTargetReduction |
| 5 | |
| 6 | /-! # Counting Equation Target -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.CountingEquationTarget.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual specialized equation uses NeighborCounting's original reduced target. |
| 13 | Both reductions are proved to be the reduction of the same unique |
| 14 | proper extension, with the original arithmetic and residue maps. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 18 | |
| 19 | variable {E K : Type} [Field E] [NumberField E] |
| 20 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 21 | (M : PELModuli.CMPoints.Models.RankThreePELModel E K) (hM : M.HasPrescribedBallPeriods) |
| 22 | {q : ℕ} [Fact q.Prime] (j : M.QadicChoice q) |
| 23 | (hsplit : j.HasSplitCoordinates M.extendedEmbedding) |
| 24 | (R : M.GoodIntegralReduction q j) |
| 25 | (labels : (Fin M.s × Bool) ≃ Gal(E/ℚ)) |
| 26 | (hlabels : ∀ (v : Fin M.s) (b : Bool), |
| 27 | labels (v, !b) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (v, b)) |
| 28 | (a : M.Family) (hden : Nat.Coprime q M.arithmetic.denominator) |
| 29 | |
| 30 | {L : Type} [Field L] [Algebra (Witt.ArithmeticBase.CM.Generic.F q) L] |
| 31 | [Algebra (Witt.ArithmeticBase.CM.W (q := q)) L] [IsScalarTower (Witt.ArithmeticBase.CM.W (q := q)) (Witt.ArithmeticBase.CM.Generic.F q) L] |
| 32 | (V : Isogenies.NeighborCounting.EvaluationDVRLifts.EvaluationDVR (Witt.ArithmeticBase.CM.W (q := q)) L) |
| 33 | (z : Isogenies.NeighborCounting.Evaluated.Targets.Lifts.EvaluatedTarget (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a) V.carrier L |
| 34 | ((algebraMap (Witt.ArithmeticBase.CM.W (q := q)) V.carrier).comp (Witt.ArithmeticBase.CM.arithmeticMap (j := j) hden))) |
| 35 | |
| 36 | variable {g : ℕ} (G : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g M.arithmetic.base) (α : (M.integral a).toOver ⟶ G.scheme) |
| 37 | |
| 38 | local notation "t" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.QadicModelMap.CM.integralBase j M.arithmetic.denominator hden |
| 39 | local notation "w" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.QadicModelMap.CM.generic_base_compatible j |
| 40 | M.arithmetic.denominator M.arithmetic.denominator_ne_zero hden |
| 41 | local notation "wr" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.QadicModelMap.CM.special_base_compatible j |
| 42 | M.arithmetic.denominator hden R.residue R.residue_compatibility |
| 43 | local notation "localPoint" => Iso.hom (OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationGenericTest.CM.testIso (L := L) j) ≫ |
| 44 | EvaluatedTargetPoint.CM.point M hM j hsplit R labels hlabels a hden V z |
| 45 | |
| 46 | def equationPoint : Over.mk (EvaluationResidueTest.CM.geometricBase (q := q)) ⟶ R.specialFiber a := by |
| 47 | let : IsProper (M.integral a).toOver.hom := |
| 48 | (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).proper |
| 49 | exact ArithmeticEquationPoints.CM.point G α M.arithmetic.generic t w R.specialBase wr V localPoint |
| 50 | |
| 51 | theorem point_projection : |
| 52 | (equationPoint M hM j hsplit R labels hlabels a hden V z G α).left ≫ pullback.fst (M.integral a).toOver.hom R.specialBase = |
| 53 | (z.specialPoint (Isogenies.NeighborCounting.ConstructedEvaluation.Lifts.evaluation_residueCompatible V |
| 54 | (FrobeniusKernelLifts.CM.residueCompatible M hM j hsplit R labels hlabels a hden))).left ≫ |
| 55 | pullback.fst (M.integral a).toOver.hom R.specialBase := by |
| 56 | let : IsProper (M.integral a).toOver.hom := |
| 57 | (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).proper |
| 58 | have hb : z.extension ≫ (M.integral a).toOver.hom = |
| 59 | EvaluationBaseSquare.CM.integralBase V ≫ t := |
| 60 | z.extension_overBase.trans (EvaluationBaseSquare.CM.arithmetic_square V hden).symm |
| 61 | have hp : (localPoint).left ≫ pullback.fst (M.integral a).toOver.hom M.arithmetic.generic = z.map := by |
| 62 | change ((EvaluationGenericTest.CM.testIso (L := L) j).hom.left ≫ |
| 63 | (EvaluatedTargetPoint.CM.point M hM j hsplit R labels hlabels a hden V z).left) ≫ _ = _ |
| 64 | rw [EvaluationGenericTest.CM.testIso_hom_left] |
| 65 | exact (congrArg (fun f => f ≫ pullback.fst (M.integral a).toOver.hom M.arithmetic.generic) |
| 66 | (Category.id_comp (EvaluatedTargetPoint.CM.point M hM j hsplit R labels hlabels a hden V z).left)).trans |
| 67 | (EvaluatedTargetPoint.CM.point_projection M hM j hsplit R labels hlabels a hden V z) |
| 68 | have h := TargetEquationProjection.CM.point_projection_extension G α M.arithmetic.generic |
| 69 | t w R.specialBase wr V localPoint z.extension hb (hp.trans z.extension_generic.symm) |
| 70 | have hs := CountingTargetReduction.CM.specialization_recovers_evaluated_target z |
| 71 | (Witt.EvaluationDVR.CM.geometricResidueIso V) |
| 72 | (Isogenies.NeighborCounting.ConstructedEvaluation.Lifts.evaluation_residueCompatible V (FrobeniusKernelLifts.CM.residueCompatible M hM j hsplit R labels hlabels a hden)) |
| 73 | have hr := CountingTargetReduction.CM.specialization_projection z |
| 74 | (Witt.EvaluationDVR.CM.geometricResidueIso V) |
| 75 | exact h.trans (hr.symm.trans hs) |
| 76 | |
| 77 | theorem point_eq : |
| 78 | equationPoint M hM j hsplit R labels hlabels a hden V z G α = |
| 79 | z.specialPoint (Isogenies.NeighborCounting.ConstructedEvaluation.Lifts.evaluation_residueCompatible V |
| 80 | (FrobeniusKernelLifts.CM.residueCompatible M hM j hsplit R labels hlabels a hden)) := |
| 81 | ReductionPointProjection.CM.Recovery.point_eq_of_projection R.specialBase (M.integral a).toOver |
| 82 | (Over.mk (EvaluationResidueTest.CM.geometricBase (q := q))) _ _ |
| 83 | (point_projection M hM j hsplit R labels hlabels a hden V z G α) |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.CountingEquationTarget.CM |