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.Isogenies.NeighborCounting.Evaluated.LiftConstruction |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ChoiceEnumeration |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActionFamilyComparison |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ReducedPolarizationAdapter |
| 5 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CM.PointsPerfectKernel |
| 6 | |
| 7 | /-! # Reduction Specification -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ReductionSpecification |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Native output types for the NeighborCounting statement. The characteristic-zero |
| 14 | neighbors are indexed by the actual represented IsogenyQuotient parameter points. |
| 15 | Their complete kernels use the source polarization's canonical pairing. |
| 16 | Each target is a full PEL quotient, reduced by proper extension. No |
| 17 | multiplicity or special-kernel comparison occurs in these definitions. -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | open scoped _root_.CategoryTheory.MonObj |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.LiftConstruction.Lifts OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents |
| 23 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CMPointsHeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActionFamilyComparison.Family |
| 24 | |
| 25 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 26 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 27 | variable {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 28 | variable {iota : E →+* K} {κ : K →+* ℂ} |
| 29 | variable {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 30 | variable {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 31 | variable {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 32 | variable {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 33 | [Field L] [CharZero L] [Algebra R L] [IsFractionRing R L] |
| 34 | variable {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 35 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 36 | variable (labels : AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.KernelIndex s ≃ Gal(E/ℚ)) (active : Fin s) (multiplicative : Fin s → Bool) |
| 37 | variable (h_TorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) {x : D.GeometricPoint} (l : Lifts.IntegralLift D R b residueIso x) |
| 38 | |
| 39 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 40 | |
| 41 | local instance neighborModule (i : Fin 3) (v : Fin s) : |
| 42 | Module (ZMod (q ^ HeckeExponents.neighborLevel i)) |
| 43 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents active multiplicative i v)) := |
| 44 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q (HeckeExponents.neighborLevel i) |
| 45 | (HeckeExponents.neighborExponents active multiplicative i v) (HeckeExponents.neighborExponents_bound active multiplicative i v) |
| 46 | |
| 47 | abbrev genericSource : AbelianScheme.TateComparison.PEL.PELFamilyData (NumberField.RingOfIntegers E) (3 * s) N (Spec (.of L)) := |
| 48 | (ActionFamilyComparison.Family.actionFamily l.actionData).pullback (Spec.map (CommRingCat.ofHom (algebraMap R L))) |
| 49 | |
| 50 | local instance chosenProjectorGroup (i : Fin 3) (v : Fin s) : |
| 51 | IsMonHom (CMPointsHeckeEvaluation.l45NeighborProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 52 | (l.genericAction (L := L)) labels i v) := |
| 53 | (l.genericAction (L := L)).preservesGroup |
| 54 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (.inl v))) |
| 55 | |
| 56 | local instance oppositeProjectorGroup (i : Fin 3) (v : Fin s) : |
| 57 | IsMonHom (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 58 | (l.genericAction (L := L)) (HeckeExponents.neighborLevel i) s labels v) := |
| 59 | (l.genericAction (L := L)).preservesGroup |
| 60 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (.inr v))) |
| 61 | |
| 62 | abbrev genericCanonicalPairing (i : Fin 3) := |
| 63 | AbelianScheme.IsogenyQuotient.CM.PointsPerfectKernel.Construction.l45SourceBlockPairing j iota hsplit (l.genericPolarized (L := L)).abelian |
| 64 | (l.genericAction (L := L)) (HeckeExponents.neighborLevel i) s labels |
| 65 | (AbelianScheme.IsogenyQuotient.ReducedPolarizationAdapter.Construction.reducedBaseNativePolarizationPairing (l.genericPolarized (L := L)).abelian |
| 66 | (l.genericPolarized (L := L)).dual (l.genericPolarized (L := L)).polarization |
| 67 | (q ^ HeckeExponents.neighborLevel i) (pow_pos (Fact.out : q.Prime).pos _)) |
| 68 | |
| 69 | variable (d : Joint.IntrinsicEvaluation.Lifts.JointFiniteEvaluationField L |
| 70 | (HeckeEvaluation.neighborEvaluationSchemes (l.genericPolarized (L := L)).abelian q active multiplicative |
| 71 | (CMPointsHeckeEvaluation.l45NeighborProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 72 | (l.genericAction (L := L)) labels) h_TorsionQuotient)) |
| 73 | |
| 74 | abbrev evaluatedBase : Over (Spec (.of L)) := |
| 75 | Over.mk (Spec.map (CommRingCat.ofHom (algebraMap L d.carrier))) |
| 76 | |
| 77 | abbrev evaluatedChoice (i : Fin 3) (a : ULift (Fin (d.count (some i)))) := |
| 78 | AbelianScheme.IsogenyQuotient.Universal.Choices.Construction.blockTupleCoordinates s (fun v => AbelianScheme.IsogenyQuotient.SubgroupFunctor.Construction.supportedSubgroupFunctor (l.genericPolarized (L := L)).abelian.scheme |
| 79 | (q ^ HeckeExponents.neighborLevel i) (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents active multiplicative i v)) |
| 80 | (CMPointsHeckeEvaluation.l45NeighborProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 81 | (l.genericAction (L := L)) labels i v)) (.op (evaluatedBase j hsplit labels active multiplicative h_TorsionQuotient l d)) |
| 82 | ((d.family (some i)).evaluatedChoiceEquiv |
| 83 | (HeckeEvaluation.neighborChoiceFunctor (l.genericPolarized (L := L)).abelian q active multiplicative |
| 84 | (CMPointsHeckeEvaluation.l45NeighborProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 85 | (l.genericAction (L := L)) labels) i) |
| 86 | (HeckeEvaluation.nativeNeighborParameter (l.genericPolarized (L := L)).abelian q active multiplicative |
| 87 | (CMPointsHeckeEvaluation.l45NeighborProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 88 | (l.genericAction (L := L)) labels) h_TorsionQuotient i).represents a) |
| 89 | |
| 90 | abbrev evaluatedCompleteKernel (i : Fin 3) (a : ULift (Fin (d.count (some i)))) := |
| 91 | AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.choiceFullKernel (q ^ HeckeExponents.neighborLevel i) s |
| 92 | (fun v => AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents active multiplicative i v)) |
| 93 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 94 | (l.genericAction (L := L)) (HeckeExponents.neighborLevel i) s labels) |
| 95 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 96 | (l.genericAction (L := L)) (HeckeExponents.neighborLevel i) s labels) |
| 97 | (genericCanonicalPairing (L := L) j hsplit labels l i) |
| 98 | (evaluatedChoice j hsplit labels active multiplicative h_TorsionQuotient l d i a) |
| 99 | |
| 100 | variable [Algebra R d.carrier] [IsScalarTower R L d.carrier] |
| 101 | variable (v : EvaluationDVRLifts.EvaluationDVR R d.carrier) |
| 102 | |
| 103 | /-- Output of the genuine generic quotient construction, for one actual |
| 104 | parameter. The target includes positive polarization, the normalized |
| 105 | Poincare bundle, the integral action, and every ordered level marking. -/ |
| 106 | structure EvaluatedNativeNeighbor (i : Fin 3) (a : ULift (Fin (d.count (some i)))) where |
| 107 | target : Evaluated.Targets.Lifts.EvaluatedTarget D v.carrier d.carrier ((algebraMap R v.carrier).comp b) |
| 108 | model : (evaluatedCompleteKernel j hsplit labels active multiplicative h_TorsionQuotient l d i a).Model |
| 109 | quotient : AbelianScheme.TateComparison.PELIsogenies.PELIsogeny |
| 110 | ((genericSource (L := L) l).pullback (evaluatedBase j hsplit labels active multiplicative h_TorsionQuotient l d).hom) |
| 111 | (ActionFamilyComparison.Family.actionFamily (D.integral.universal.data.pullback target.map)) (q ^ HeckeExponents.neighborLevel i) |
| 112 | kernel : AbelianScheme.FrobeniusKernel.Prescribed.Construction.PrescribedKernel quotient.isogeny.hom |
| 113 | (AbelianScheme.IsogenyQuotient.Intrinsic.Stability.Construction.nativeSubgroupInclusion (l.genericPolarized (L := L)).abelian |
| 114 | (evaluatedBase j hsplit labels active multiplicative h_TorsionQuotient l d) |
| 115 | (evaluatedCompleteKernel j hsplit labels active multiplicative h_TorsionQuotient l d i a) model) |
| 116 | |
| 117 | /-- Reduce every original evaluated parameter once. Different generic |
| 118 | parameters can have the same special point and remain separate entries. -/ |
| 119 | def nativeReducedNeighbors (hbase : Lifts.ResidueCompatible D R b residueIso) |
| 120 | (Q : ∀ (i : Fin 3) (a : ULift (Fin (d.count (some i)))), |
| 121 | EvaluatedNativeNeighbor j hsplit labels active multiplicative h_TorsionQuotient l d v i a) |
| 122 | (i : Fin 3) : Multiset D.GeometricPoint := |
| 123 | Finset.univ.val.map (fun a => (Q i a).target.specialPoint (ConstructedEvaluation.Lifts.evaluation_residueCompatible v hbase)) |
| 124 | |
| 125 | /-- The complete evaluated output for one source lift. The field splits |
| 126 | all original parameters and source torsion; the DVR and every genuine |
| 127 | quotient are existential outputs. The only multisets are reductions of |
| 128 | those quotient families and the stated ordinary operators. -/ |
| 129 | def NativeReductionResult (hbase : Lifts.ResidueCompatible D R b residueIso) |
| 130 | (X0 : D.OrdinaryPoint → D.OrdinaryPoint) |
| 131 | (Y0 : D.OrdinaryPoint → Multiset D.OrdinaryPoint) |
| 132 | (Z0 : D.OrdinaryPoint → D.OrdinaryPoint) |
| 133 | (x : D.OrdinaryPoint) (l : Lifts.IntegralLift D R b residueIso x.val) : Prop := |
| 134 | ∃ d : Joint.IntrinsicEvaluation.Lifts.JointFiniteEvaluationField L |
| 135 | (HeckeEvaluation.neighborEvaluationSchemes (l.genericPolarized (L := L)).abelian q active multiplicative |
| 136 | (CMPointsHeckeEvaluation.l45NeighborProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 137 | (l.genericAction (L := L)) labels) h_TorsionQuotient), |
| 138 | letI := d.scalarAlgebra R |
| 139 | letI := d.scalarTower R |
| 140 | ∃ v : EvaluationDVRLifts.EvaluationDVR R d.carrier, |
| 141 | Nonempty (Lifts.IntegralLift D v.carrier ((algebraMap R v.carrier).comp b) |
| 142 | (residueIso.trans v.residueIso) x.val) ∧ |
| 143 | ∃ Q : ∀ (i : Fin 3) (a : ULift (Fin (d.count (some i)))), |
| 144 | EvaluatedNativeNeighbor j hsplit labels active multiplicative h_TorsionQuotient l d v i a, |
| 145 | let red := nativeReducedNeighbors j hsplit labels active multiplicative h_TorsionQuotient l d v hbase Q |
| 146 | red 0 = {(X0 x).val} + q • ((Y0 x).map Subtype.val) ∧ |
| 147 | red 1 = ((Y0 (X0 x)).map Subtype.val) + q ^ 2 • {(Z0 x).val} ∧ |
| 148 | red 2 = {(Z0 (X0 x)).val} |
| 149 | |
| 150 | end |
| 151 | |
| 152 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ReductionSpecification |