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.Ordinary.PairFormula |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.ReductionFamily |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.DetectedPolynomial |
| 4 | |
| 5 | /-! # All Ordinary Formulas -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AllOrdinaryFormulas.CM.Ordinary |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Choose actual smooth component lifts and apply native reduction to |
| 12 | obtain the raw ordinary formula for every original same-component pair. |
| 13 | The fixed Hecke types and raw operators are those of the original model. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionPoints.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 19 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Locus.CM |
| 20 | |
| 21 | variable {E K : Type} [Field E] [NumberField E] |
| 22 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 23 | (M : PELModuli.CMPoints.Models.RankThreePELModel E K) (hM : M.HasPrescribedBallPeriods) |
| 24 | {q : ℕ} [Fact q.Prime] (j : M.QadicChoice q) |
| 25 | (hsplit : j.HasSplitCoordinates M.extendedEmbedding) |
| 26 | (R : M.GoodIntegralReduction q j) |
| 27 | (labels : (Fin M.s × Bool) ≃ Gal(E/ℚ)) |
| 28 | (hlabels : ∀ (v : Fin M.s) (b : Bool), |
| 29 | labels (v, !b) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (v, b)) |
| 30 | (a : M.Family) (hden : Nat.Coprime q M.arithmetic.denominator) |
| 31 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 32 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.TateComparisonPointEquation.CM.Raw |
| 33 | |
| 34 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 35 | local instance : CharZero (Witt.ArithmeticBase.CM.Generic.F q) := Witt.EvaluationDVR.CM.fractionCharZero q |
| 36 | |
| 37 | variable |
| 38 | (C : AbelianScheme.TateComparison.Local.IntegralType M.s → AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence ((Over.pullback M.arithmetic.generic).obj (M.integral a).toOver)) |
| 39 | (active : Fin M.s) (multiplicative : Fin M.s → Bool) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 40 | |
| 41 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ReductionSpecification |
| 42 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Frobenius.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SpecialOrdinaryFrobenius.CM.Ordinary |
| 43 | |
| 44 | variable |
| 45 | (Z : (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint → |
| 46 | (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint) |
| 47 | (Y : (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint → |
| 48 | Multiset (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a).OrdinaryPoint) |
| 49 | (hg : (Witt.PELSource.CM.heckeData M a C |
| 50 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).IsGoodCompletelySplitPrime) |
| 51 | (hgeometry : (Witt.PELSource.CM.heckeData M a C |
| 52 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).HasIntegralModelGeometry) |
| 53 | (hIsogenyQuotient : (Witt.PELSource.CM.heckeData M a C |
| 54 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).RealizesIsogenyQuotient) |
| 55 | |
| 56 | local notation "HD" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.PELSource.CM.heckeData M a C |
| 57 | (fun w => j.localCharacter M.extendedEmbedding (labels w)) |
| 58 | local notation "typ" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.Types.CM.integralType active multiplicative |
| 59 | local notation "D" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a |
| 60 | local notation "e" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.OrdinaryEquiv.CM.IntrinsicOrdinary.pointEquiv M hM j hsplit R labels hlabels a |
| 61 | local notation "op" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EquationValues.CM.Hecke.originalOperator M j R a hden C |
| 62 | (fun w => j.localCharacter M.extendedEmbedding (labels w)) hgeometry |
| 63 | local notation "act" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PointEvaluation.CM.action (OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Frobenius.CM.specialAlbanese R a) (OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.geometricBase q) |
| 64 | |
| 65 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Detection.CM |
| 66 | |
| 67 | def Formulas (f : Fin 3 → (HD).EndK) : Prop := |
| 68 | ∀ (i : Fin 3) (x y : Intrinsic.Detection.CM.ordinaryPoints R a), x.1 = y.1 → |
| 69 | act (op (f i)) (SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a x - SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a y) = |
| 70 | ((RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors q (Ordinary.PointFrobenius.CM.ordinaryFrobenius R a hgeometry.smooth) |
| 71 | (Ordinary.OperatorTransport.CM.pointOperator e Z) (Ordinary.OperatorTransport.CM.multisetOperator e Y) |
| 72 | i x).map (SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a)).sum - |
| 73 | ((RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors q (Ordinary.PointFrobenius.CM.ordinaryFrobenius R a hgeometry.smooth) |
| 74 | (Ordinary.OperatorTransport.CM.pointOperator e Z) (Ordinary.OperatorTransport.CM.multisetOperator e Y) |
| 75 | i y).map (SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a)).sum |
| 76 | |
| 77 | include hg hIsogenyQuotient in |
| 78 | theorem from_native_reductions (f : Fin 3 → (HD).EndK) |
| 79 | (hraw : ∀ i : Fin 3, TateComparisonPointEquation.CM.Raw.RawAction HD hgeometry (typ i) (f i)) |
| 80 | (hreduce : ∀ o : (D).OrdinaryPoint, |
| 81 | ∀ l : Isogenies.NeighborCounting.Lifts.IntegralLift D (Witt.ArithmeticBase.CM.W (q := q)) (Witt.ArithmeticBase.CM.arithmeticMap (j := j) hden) (Witt.ArithmeticBase.CM.residueIso (q := q)) o.val, |
| 82 | Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.NativeReductionResult (L := Witt.ArithmeticBase.CM.Generic.F q) (Source.RestrictedPlace.CM.choice M j) |
| 83 | (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels) |
| 84 | active multiplicative hTorsionQuotient (FrobeniusKernelLifts.CM.residueCompatible M hM j hsplit R labels hlabels a hden) |
| 85 | (D).ordinaryFrobenius Y Z o l) : |
| 86 | ∀ (i : Fin 3) (x y : Intrinsic.Detection.CM.ordinaryPoints R a), x.1 = y.1 → |
| 87 | act (op (f i)) (SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a x - SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a y) = |
| 88 | ((RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors q (Ordinary.PointFrobenius.CM.ordinaryFrobenius R a hgeometry.smooth) |
| 89 | (Ordinary.OperatorTransport.CM.pointOperator e Z) (Ordinary.OperatorTransport.CM.multisetOperator e Y) |
| 90 | i x).map (SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a)).sum - |
| 91 | ((RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors q (Ordinary.PointFrobenius.CM.ordinaryFrobenius R a hgeometry.smooth) |
| 92 | (Ordinary.OperatorTransport.CM.pointOperator e Z) (Ordinary.OperatorTransport.CM.multisetOperator e Y) |
| 93 | i y).map (SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a)).sum := by |
| 94 | classical |
| 95 | intro i x y hxy |
| 96 | rcases x with ⟨c, x⟩ |
| 97 | rcases y with ⟨d, y⟩ |
| 98 | change c = d at hxy |
| 99 | subst d |
| 100 | let p (b : Bool) : Geometric.PointExt.CM.pointBase (AlgebraicClosure (ZMod q)) ⟶ Ordinary.Locus.CM.componentFiber R a c := |
| 101 | if b then x.val else y.val |
| 102 | have hp (b : Bool) : (p b).left (IsLocalRing.closedPoint (AlgebraicClosure (ZMod q))) ∈ |
| 103 | Ordinary.Locus.CM.componentOrdinaryLocus R a c := by |
| 104 | cases b |
| 105 | · exact y.property |
| 106 | · exact x.property |
| 107 | let lc (b : Bool) : Witt.PointLift.CM.ComponentLift R hden a c (p b) := |
| 108 | Classical.choice (Witt.PointLift.CM.componentLift_exists R hden a c |
| 109 | (hgeometry.componentGeometry c).1 (p b)) |
| 110 | exact Ordinary.PairFormula.CM.formula M hM j hsplit R labels hlabels a hden c p hp lc C |
| 111 | active multiplicative hTorsionQuotient Z Y hg hgeometry hIsogenyQuotient i (f i) (hraw i) |
| 112 | (fun b => hreduce |
| 113 | (ComponentOrdinaryPoint.CM.Ordinary.native M hM j hsplit R labels hlabels a c (p b) (hp b)) |
| 114 | (Witt.ComponentIntrinsicLift.CM.Intrinsic.nativeLift M hM j hsplit R labels hlabels a hden c (p b) (lc b))) |
| 115 | |
| 116 | include hg hIsogenyQuotient in |
| 117 | theorem compact_from_native_reductions (f : Fin 3 → (HD).EndK) |
| 118 | (hraw : ∀ i : Fin 3, TateComparisonPointEquation.CM.Raw.RawAction HD hgeometry (typ i) (f i)) |
| 119 | (hreduce : Intrinsic.ReductionFamily.CM.IntrinsicFamily.Reductions M hM j hsplit R labels hlabels a hden |
| 120 | active multiplicative hTorsionQuotient Z Y) : |
| 121 | Ordinary.DetectedPolynomial.CM.OrdinaryFormulaData.Formulas q (fun z : Intrinsic.Detection.CM.ordinaryPoints R a => z.1) (SpecialOrdinaryFrobenius.CM.Ordinary.ordinaryImage R a) |
| 122 | (Ordinary.PointFrobenius.CM.ordinaryFrobenius R a hgeometry.smooth) |
| 123 | (Ordinary.OperatorTransport.CM.pointOperator e Z) |
| 124 | (Ordinary.OperatorTransport.CM.multisetOperator e Y) (fun i => act (op (f i))) := by |
| 125 | classical |
| 126 | intro i x y hxy |
| 127 | rcases x with ⟨c, x⟩ |
| 128 | rcases y with ⟨d, y⟩ |
| 129 | change c = d at hxy |
| 130 | subst d |
| 131 | let p (b : Bool) : Geometric.PointExt.CM.pointBase (AlgebraicClosure (ZMod q)) ⟶ Ordinary.Locus.CM.componentFiber R a c := |
| 132 | if b then x.val else y.val |
| 133 | have hp (b : Bool) : (p b).left (IsLocalRing.closedPoint (AlgebraicClosure (ZMod q))) ∈ |
| 134 | Ordinary.Locus.CM.componentOrdinaryLocus R a c := by |
| 135 | cases b |
| 136 | · exact y.property |
| 137 | · exact x.property |
| 138 | let lc (b : Bool) : Witt.PointLift.CM.ComponentLift R hden a c (p b) := |
| 139 | Classical.choice (Witt.PointLift.CM.componentLift_exists R hden a c |
| 140 | (hgeometry.componentGeometry c).1 (p b)) |
| 141 | exact Ordinary.PairFormula.CM.formula M hM j hsplit R labels hlabels a hden c p hp lc C |
| 142 | active multiplicative hTorsionQuotient Z Y hg hgeometry hIsogenyQuotient i (f i) (hraw i) |
| 143 | (fun b => hreduce |
| 144 | (ComponentOrdinaryPoint.CM.Ordinary.native M hM j hsplit R labels hlabels a c (p b) (hp b)) |
| 145 | (Witt.ComponentIntrinsicLift.CM.Intrinsic.nativeLift M hM j hsplit R labels hlabels a hden c (p b) (lc b))) |
| 146 | |
| 147 | end |
| 148 | |
| 149 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AllOrdinaryFormulas.CM.Ordinary |