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.ExtendedLabels |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.FieldExtension |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.BranchEnumeration |
| 4 | |
| 5 | /-! # Canonical Labels -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.CanonicalLabels.CM |
| 12 | |
| 13 | /-! Retain the original evaluated labels and targets on the canonical |
| 14 | arithmetic test of a further evaluation field. Actual precomposition |
| 15 | preserves each endpoint, while the complete parameter enumeration proves |
| 16 | that no branches are lost. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation |
| 21 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CMPointsHeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 22 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionPoints.CM |
| 23 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 24 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FieldPointDescent.CM |
| 25 | |
| 26 | variable {E K : Type} [Field E] [NumberField E] |
| 27 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 28 | (M : PELModuli.CMPoints.Models.RankThreePELModel E K) (hM : M.HasPrescribedBallPeriods) |
| 29 | {q : ℕ} [Fact q.Prime] (j : M.QadicChoice q) |
| 30 | (hsplit : j.HasSplitCoordinates M.extendedEmbedding) |
| 31 | (R : M.GoodIntegralReduction q j) |
| 32 | (labels : (Fin M.s × Bool) ≃ Gal(E/ℚ)) |
| 33 | (hlabels : ∀ (v : Fin M.s) (b : Bool), |
| 34 | labels (v, !b) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (v, b)) |
| 35 | (a : M.Family) (hden : Nat.Coprime q M.arithmetic.denominator) |
| 36 | (p : Geometric.PointExt.CM.pointBase (AlgebraicClosure (ZMod q)) ⟶ R.geometricFiber a) |
| 37 | (l : Isogenies.NeighborCounting.Lifts.IntegralLift (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a) |
| 38 | (ArithmeticBase.CM.W (q := q)) (ArithmeticBase.CM.arithmeticMap (j := j) hden) (ArithmeticBase.CM.residueIso (q := q)) (ReductionPoints.CM.primeFieldPoint R a p)) |
| 39 | |
| 40 | (C : AbelianScheme.TateComparison.Local.IntegralType M.s → AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence ((Over.pullback M.arithmetic.generic).obj (M.integral a).toOver)) |
| 41 | (active : Fin M.s) (multiplicative : Fin M.s → Bool) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 42 | |
| 43 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 44 | local instance : CharZero (ArithmeticBase.CM.Generic.F q) := EvaluationDVR.CM.fractionCharZero q |
| 45 | |
| 46 | local instance heckeProjectorGroup (i : Fin 3) (v : Fin M.s) : |
| 47 | IsMonHom (Isogenies.NeighborCounting.CMPointsHeckeEvaluation.l45NeighborProjectors (Source.RestrictedPlace.CM.choice M j) M.iota |
| 48 | (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) |
| 49 | (l.genericPolarized (L := ArithmeticBase.CM.Generic.F q)).abelian (l.genericAction (L := ArithmeticBase.CM.Generic.F q)) |
| 50 | (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels) i v) := |
| 51 | (l.genericAction (L := ArithmeticBase.CM.Generic.F q)).preservesGroup |
| 52 | ((Source.RestrictedPlace.CM.choice M j).projector M.iota |
| 53 | (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i) |
| 54 | (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels (.inl v))) |
| 55 | |
| 56 | variable (d : Isogenies.NeighborCounting.Joint.IntrinsicEvaluation.Lifts.JointFiniteEvaluationField (ArithmeticBase.CM.Generic.F q) |
| 57 | (Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation.neighborEvaluationSchemes (l.genericPolarized (L := ArithmeticBase.CM.Generic.F q)).abelian q active multiplicative |
| 58 | (Isogenies.NeighborCounting.CMPointsHeckeEvaluation.l45NeighborProjectors (Source.RestrictedPlace.CM.choice M j) M.iota |
| 59 | (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) |
| 60 | (l.genericPolarized (L := ArithmeticBase.CM.Generic.F q)).abelian (l.genericAction (L := ArithmeticBase.CM.Generic.F q)) |
| 61 | (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels)) hTorsionQuotient)) |
| 62 | |
| 63 | local notation "HD" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.PELSource.CM.heckeData M a C |
| 64 | (fun w => j.localCharacter M.extendedEmbedding (labels w)) |
| 65 | local notation "sl" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.LiftRecovery.CM.schemeLift M hM j hsplit R labels hlabels a hden p l |
| 66 | local notation "z" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.FieldPoint.CM.fieldPoint (L := d.carrier) (OAI.AlgebraicGeometry.PELModuli.IntegralModel.PEL.Has.IntegralPELSpread.toOver (M.integral a)) sl |
| 67 | local notation "typ" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.Types.CM.integralType active multiplicative |
| 68 | |
| 69 | variable {L' : Type} [Field L'] [Algebra (ArithmeticBase.CM.Generic.F q) L'] (σ : d.carrier →ₐ[ArithmeticBase.CM.Generic.F q] L') |
| 70 | (hIsogenyQuotient : (PELSource.CM.heckeData M a C |
| 71 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).RealizesIsogenyQuotient) |
| 72 | |
| 73 | local notation "base" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationGenericTest.CM.originalBase (L := d.carrier) j |
| 74 | local notation "extPoint" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FieldPointDescent.CM.testMap σ.toRingHom base ≫ z |
| 75 | local notation "iso" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.AlgebraFieldTest.CM.testIso (OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic.numberFieldBase j) σ |
| 76 | local notation "newPoint" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.FieldPoint.CM.fieldPoint (L := L') (OAI.AlgebraicGeometry.PELModuli.IntegralModel.PEL.Has.IntegralPELSpread.toOver (M.integral a)) sl |
| 77 | |
| 78 | def originalLabels (i : Fin 3) := |
| 79 | BranchLabels.CM.branchEquiv M hM j hsplit R labels hlabels a hden p l C |
| 80 | active multiplicative hTorsionQuotient d hIsogenyQuotient i |
| 81 | |
| 82 | def extendedLabels (i : Fin 3) : ULift (Fin (d.count (some i))) ≃ |
| 83 | ((HD).correspondence (typ i)).Fiber extPoint := |
| 84 | Finite.BranchEnumeration.CM.extendedLabels ((HD).correspondence (typ i)) |
| 85 | (FieldPointDescent.CM.testMap σ.toRingHom base) z (originalLabels M hM j hsplit R labels hlabels a hden p l C |
| 86 | active multiplicative hTorsionQuotient d hIsogenyQuotient i) |
| 87 | (ExtendedLabels.CM.branchEquiv M hM j hsplit R labels hlabels a hden p l C |
| 88 | active multiplicative hTorsionQuotient d σ.toRingHom hIsogenyQuotient i) |
| 89 | |
| 90 | def branchEquiv (i : Fin 3) : ULift (Fin (d.count (some i))) ≃ |
| 91 | ((HD).correspondence (typ i)).Fiber newPoint := |
| 92 | BranchEnumeration.CM.TestIso.labels ((HD).correspondence (typ i)) iso extPoint |
| 93 | (extendedLabels M hM j hsplit R labels hlabels a hden p l C active multiplicative hTorsionQuotient d σ hIsogenyQuotient i) |
| 94 | (FieldExtension.CM.reindexed_fieldPoint (M.integral a).toOver sl σ) |
| 95 | |
| 96 | theorem endpoint_eq (i : Fin 3) (β : ULift (Fin (d.count (some i)))) : |
| 97 | ((HD).correspondence (typ i)).endpoint |
| 98 | (branchEquiv M hM j hsplit R labels hlabels a hden p l C active multiplicative hTorsionQuotient d σ hIsogenyQuotient i β) = |
| 99 | AlgebraFieldTest.CM.map (ArithmeticBase.CM.Generic.numberFieldBase j) σ ≫ |
| 100 | ((HD).correspondence (typ i)).endpoint |
| 101 | (originalLabels M hM j hsplit R labels hlabels a hden p l C active multiplicative hTorsionQuotient d hIsogenyQuotient i β) := by |
| 102 | have h₁ := BranchEnumeration.CM.TestIso.labels_endpoint ((HD).correspondence (typ i)) iso extPoint |
| 103 | (extendedLabels M hM j hsplit R labels hlabels a hden p l C active multiplicative hTorsionQuotient d σ hIsogenyQuotient i) |
| 104 | (FieldExtension.CM.reindexed_fieldPoint (M.integral a).toOver sl σ) β |
| 105 | have h₂ := Finite.BranchEnumeration.CM.extendedLabels_endpoint ((HD).correspondence (typ i)) |
| 106 | (FieldPointDescent.CM.testMap σ.toRingHom base) z |
| 107 | (originalLabels M hM j hsplit R labels hlabels a hden p l C active multiplicative hTorsionQuotient d hIsogenyQuotient i) |
| 108 | (ExtendedLabels.CM.branchEquiv M hM j hsplit R labels hlabels a hden p l C |
| 109 | active multiplicative hTorsionQuotient d σ.toRingHom hIsogenyQuotient i) β |
| 110 | exact h₁.trans ((congrArg ((iso).hom ≫ ·) h₂).trans |
| 111 | ((Category.assoc _ _ _).symm.trans |
| 112 | (congrArg (· ≫ ((HD).correspondence (typ i)).endpoint |
| 113 | (originalLabels M hM j hsplit R labels hlabels a hden p l C active multiplicative hTorsionQuotient d hIsogenyQuotient i β)) |
| 114 | (AlgebraFieldTest.CM.map_eq (ArithmeticBase.CM.Generic.numberFieldBase j) σ).symm))) |
| 115 | |
| 116 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.CanonicalLabels.CM |
| 117 | |
| 118 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.CanonicalLabels.CM.Geometric |
| 119 | |
| 120 | /-! The original finite branch labels remain complete on a canonical |
| 121 | geometric test of the common field. The source equality is the proved |
| 122 | naturality of its original Witt lift. -/ |
| 123 | |
| 124 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 125 | open scoped _root_.CategoryTheory.MonObj |
| 126 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation |
| 127 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CMPointsHeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 128 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionPoints.CM |
| 129 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 130 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FieldPointDescent.CM |
| 131 | |
| 132 | variable {E K : Type} [Field E] [NumberField E] |
| 133 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 134 | (M : PELModuli.CMPoints.Models.RankThreePELModel E K) (hM : M.HasPrescribedBallPeriods) |
| 135 | {q : ℕ} [Fact q.Prime] (j : M.QadicChoice q) |
| 136 | (hsplit : j.HasSplitCoordinates M.extendedEmbedding) |
| 137 | (R : M.GoodIntegralReduction q j) |
| 138 | (labels : (Fin M.s × Bool) ≃ Gal(E/ℚ)) |
| 139 | (hlabels : ∀ (v : Fin M.s) (b : Bool), |
| 140 | labels (v, !b) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (v, b)) |
| 141 | (a : M.Family) (hden : Nat.Coprime q M.arithmetic.denominator) |
| 142 | (p : Geometric.PointExt.CM.pointBase (AlgebraicClosure (ZMod q)) ⟶ R.geometricFiber a) |
| 143 | (l : Isogenies.NeighborCounting.Lifts.IntegralLift (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a) |
| 144 | (ArithmeticBase.CM.W (q := q)) (ArithmeticBase.CM.arithmeticMap (j := j) hden) (ArithmeticBase.CM.residueIso (q := q)) (ReductionPoints.CM.primeFieldPoint R a p)) |
| 145 | |
| 146 | (C : AbelianScheme.TateComparison.Local.IntegralType M.s → AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence ((Over.pullback M.arithmetic.generic).obj (M.integral a).toOver)) |
| 147 | (active : Fin M.s) (multiplicative : Fin M.s → Bool) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 148 | |
| 149 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 150 | local instance : CharZero (ArithmeticBase.CM.Generic.F q) := EvaluationDVR.CM.fractionCharZero q |
| 151 | |
| 152 | local instance heckeProjectorGroup (i : Fin 3) (v : Fin M.s) : |
| 153 | IsMonHom (Isogenies.NeighborCounting.CMPointsHeckeEvaluation.l45NeighborProjectors (Source.RestrictedPlace.CM.choice M j) M.iota |
| 154 | (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) |
| 155 | (l.genericPolarized (L := ArithmeticBase.CM.Generic.F q)).abelian (l.genericAction (L := ArithmeticBase.CM.Generic.F q)) |
| 156 | (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels) i v) := |
| 157 | (l.genericAction (L := ArithmeticBase.CM.Generic.F q)).preservesGroup |
| 158 | ((Source.RestrictedPlace.CM.choice M j).projector M.iota |
| 159 | (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i) |
| 160 | (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels (.inl v))) |
| 161 | |
| 162 | variable (d : Isogenies.NeighborCounting.Joint.IntrinsicEvaluation.Lifts.JointFiniteEvaluationField (ArithmeticBase.CM.Generic.F q) |
| 163 | (Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation.neighborEvaluationSchemes (l.genericPolarized (L := ArithmeticBase.CM.Generic.F q)).abelian q active multiplicative |
| 164 | (Isogenies.NeighborCounting.CMPointsHeckeEvaluation.l45NeighborProjectors (Source.RestrictedPlace.CM.choice M j) M.iota |
| 165 | (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) |
| 166 | (l.genericPolarized (L := ArithmeticBase.CM.Generic.F q)).abelian (l.genericAction (L := ArithmeticBase.CM.Generic.F q)) |
| 167 | (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels)) hTorsionQuotient)) |
| 168 | |
| 169 | local notation "HD" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.PELSource.CM.heckeData M a C |
| 170 | (fun w => j.localCharacter M.extendedEmbedding (labels w)) |
| 171 | local notation "sl" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.LiftRecovery.CM.schemeLift M hM j hsplit R labels hlabels a hden p l |
| 172 | local notation "z" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.FieldPoint.CM.fieldPoint (L := d.carrier) (OAI.AlgebraicGeometry.PELModuli.IntegralModel.PEL.Has.IntegralPELSpread.toOver (M.integral a)) sl |
| 173 | local notation "typ" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.Types.CM.integralType active multiplicative |
| 174 | |
| 175 | variable {L' : Type} [Field L'] [Algebra (ArithmeticBase.CM.Generic.F q) L'] (σ : d.carrier →ₐ[ArithmeticBase.CM.Generic.F q] L') |
| 176 | (hIsogenyQuotient : (PELSource.CM.heckeData M a C |
| 177 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).RealizesIsogenyQuotient) |
| 178 | |
| 179 | variable {L'' : Type} [Field L''] [Algebra (ArithmeticBase.CM.Generic.F q) L''] (τ : L' →ₐ[ArithmeticBase.CM.Generic.F q] L'') |
| 180 | |
| 181 | def branchEquiv (i : Fin 3) : ULift (Fin (d.count (some i))) ≃ |
| 182 | ((HD).correspondence (typ i)).Fiber |
| 183 | (AlgebraFieldTest.CM.map (ArithmeticBase.CM.Generic.numberFieldBase j) τ ≫ |
| 184 | FieldPoint.CM.fieldPoint (L := L') (M.integral a).toOver sl) := |
| 185 | (CM.branchEquiv M hM j hsplit R labels hlabels a hden p l C |
| 186 | active multiplicative hTorsionQuotient d (τ.comp σ) hIsogenyQuotient i).trans |
| 187 | (BranchEnumeration.CM.TestIso.sourceEquiv ((HD).correspondence (typ i)) |
| 188 | (FieldExtension.CM.fieldPoint_natural (M.integral a).toOver sl τ).symm) |
| 189 | |
| 190 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.CanonicalLabels.CM.Geometric |
| 191 | |
| 192 | end |
| 193 | |
| 194 | end OAI |