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.Intrinsic.ReductionSpecification |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Ordinary.Counts |
| 3 | |
| 4 | /-! # Evaluation Data -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.EvaluationData.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Keep the actual field, DVR, and full PEL quotients output by native |
| 11 | NeighborCounting in one container. No target comparison or count is a data field; |
| 12 | the count identity is proved from the three native reduction equalities. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents |
| 17 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CMPointsHeckeEvaluation |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ReductionSpecification |
| 19 | |
| 20 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 21 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 22 | variable {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 23 | variable {iota : E →+* K} {κ : K →+* ℂ} |
| 24 | variable {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 25 | variable {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 26 | variable {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 27 | variable {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 28 | [Field L] [CharZero L] [Algebra R L] [IsFractionRing R L] |
| 29 | variable {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 30 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 31 | variable (labels : AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.KernelIndex s ≃ Gal(E/ℚ)) (active : Fin s) (multiplicative : Fin s → Bool) |
| 32 | variable (h_TorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) {x : D.GeometricPoint} (l : Isogenies.NeighborCounting.Lifts.IntegralLift D R b residueIso x) |
| 33 | |
| 34 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 35 | |
| 36 | local instance neighborModule (i : Fin 3) (v : Fin s) : |
| 37 | Module (ZMod (q ^ Isogenies.NeighborCounting.HeckeExponents.neighborLevel i)) |
| 38 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (Isogenies.NeighborCounting.HeckeExponents.neighborExponents active multiplicative i v)) := |
| 39 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i) |
| 40 | (Isogenies.NeighborCounting.HeckeExponents.neighborExponents active multiplicative i v) (Isogenies.NeighborCounting.HeckeExponents.neighborExponents_bound active multiplicative i v) |
| 41 | |
| 42 | local instance chosenProjectorGroup (i : Fin 3) (v : Fin s) : |
| 43 | IsMonHom (Isogenies.NeighborCounting.CMPointsHeckeEvaluation.l45NeighborProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 44 | (l.genericAction (L := L)) labels i v) := |
| 45 | (l.genericAction (L := L)).preservesGroup |
| 46 | (j.projector iota hsplit (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i) (labels (.inl v))) |
| 47 | |
| 48 | structure Evaluation where |
| 49 | field : Isogenies.NeighborCounting.Joint.IntrinsicEvaluation.Lifts.JointFiniteEvaluationField L |
| 50 | (Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation.neighborEvaluationSchemes (l.genericPolarized (L := L)).abelian q active multiplicative |
| 51 | (Isogenies.NeighborCounting.CMPointsHeckeEvaluation.l45NeighborProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 52 | (l.genericAction (L := L)) labels) h_TorsionQuotient) |
| 53 | valuation : letI := field.scalarAlgebra R |
| 54 | Isogenies.NeighborCounting.EvaluationDVRLifts.EvaluationDVR R field.carrier |
| 55 | quotient : letI := field.scalarAlgebra R |
| 56 | letI := field.scalarTower R |
| 57 | ∀ (i : Fin 3) (β : ULift (Fin (field.count (some i)))), |
| 58 | Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.EvaluatedNativeNeighbor j hsplit labels active multiplicative h_TorsionQuotient l field valuation i β |
| 59 | |
| 60 | def reducedNeighbors (data : Evaluation (L := L) j hsplit labels active multiplicative h_TorsionQuotient l) |
| 61 | (hbase : Isogenies.NeighborCounting.Lifts.ResidueCompatible D R b residueIso) (i : Fin 3) : Multiset D.GeometricPoint := by |
| 62 | letI := data.field.scalarAlgebra R |
| 63 | letI := data.field.scalarTower R |
| 64 | exact Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.nativeReducedNeighbors j hsplit labels active multiplicative h_TorsionQuotient l |
| 65 | data.field data.valuation hbase data.quotient i |
| 66 | |
| 67 | omit [IsFractionRing R L] in |
| 68 | theorem exists_evaluation (hbase : Isogenies.NeighborCounting.Lifts.ResidueCompatible D R b residueIso) |
| 69 | (X Z : D.OrdinaryPoint → D.OrdinaryPoint) (Y : D.OrdinaryPoint → Multiset D.OrdinaryPoint) |
| 70 | (o : D.OrdinaryPoint) (lo : Isogenies.NeighborCounting.Lifts.IntegralLift D R b residueIso o.val) |
| 71 | (h : Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.NativeReductionResult (L := L) j hsplit labels active multiplicative h_TorsionQuotient hbase X Y Z o lo) : |
| 72 | ∃ data : Evaluation (L := L) j hsplit labels active multiplicative h_TorsionQuotient lo, |
| 73 | ∀ i : Fin 3, reducedNeighbors j hsplit labels active multiplicative h_TorsionQuotient lo data hbase i = |
| 74 | (RepresentationTheory.Hecke.CubicRelation.ordinaryRawNeighbors q X Z Y i o).map Subtype.val := by |
| 75 | obtain ⟨d, V, _, Q, h₀, h₁, h₂⟩ := h |
| 76 | refine ⟨{ field := d, valuation := V, quotient := Q }, ?_⟩ |
| 77 | exact Ordinary.Counts.CM.OrdinaryRaw.rawNeighbors q X Z Y Subtype.val o _ h₀ h₁ h₂ |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.EvaluationData.CM |