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.KernelModels |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModeledAbelian |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.BlockStability |
| 4 | |
| 5 | /-! # Abelian Neighbors -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.AbelianNeighbors |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Construct the actual abelian quotient for every original evaluated |
| 12 | parameter, including its full kernel, coefficient action and marking. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.BlockStability.Construction OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModeledAbelian.Lifts OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CMPointsHeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ReductionSpecification |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.KernelModels |
| 20 | |
| 21 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 22 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 23 | variable {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 24 | variable {iota : E →+* K} {κ : K →+* ℂ} |
| 25 | variable {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 26 | variable {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 27 | variable {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 28 | variable {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 29 | [Field L] [CharZero L] [Algebra R L] [IsFractionRing R L] |
| 30 | variable {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 31 | variable (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 32 | variable (labels : AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.KernelIndex s ≃ Gal(E/ℚ)) (active : Fin s) (multiplicative : Fin s → Bool) |
| 33 | variable (h_TorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) {x : D.GeometricPoint} (l : Lifts.IntegralLift D R b residueIso x) |
| 34 | |
| 35 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 36 | |
| 37 | local instance neighborModule (i : Fin 3) (v : Fin s) : |
| 38 | Module (ZMod (q ^ HeckeExponents.neighborLevel i)) |
| 39 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents active multiplicative i v)) := |
| 40 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q (HeckeExponents.neighborLevel i) |
| 41 | (HeckeExponents.neighborExponents active multiplicative i v) (HeckeExponents.neighborExponents_bound active multiplicative i v) |
| 42 | |
| 43 | local instance chosenProjectorGroup (i : Fin 3) (v : Fin s) : |
| 44 | IsMonHom (CMPointsHeckeEvaluation.l45NeighborProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 45 | (l.genericAction (L := L)) labels i v) := |
| 46 | (l.genericAction (L := L)).preservesGroup |
| 47 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (.inl v))) |
| 48 | |
| 49 | local instance oppositeProjectorGroup (i : Fin 3) (v : Fin s) : |
| 50 | IsMonHom (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 51 | (l.genericAction (L := L)) (HeckeExponents.neighborLevel i) s labels v) := |
| 52 | (l.genericAction (L := L)).preservesGroup |
| 53 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (.inr v))) |
| 54 | |
| 55 | variable (d : Joint.IntrinsicEvaluation.Lifts.JointFiniteEvaluationField L |
| 56 | (Intrinsic.HeckeEvaluation.neighborEvaluationSchemes (l.genericPolarized (L := L)).abelian q active multiplicative |
| 57 | (CMPointsHeckeEvaluation.l45NeighborProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 58 | (l.genericAction (L := L)) labels) h_TorsionQuotient)) |
| 59 | |
| 60 | variable (i : Fin 3) (a : ULift (Fin (d.count (some i)))) |
| 61 | |
| 62 | omit [IsFractionRing R L] in |
| 63 | theorem evaluatedCompleteKernel_killed : |
| 64 | (Intrinsic.ReductionSpecification.evaluatedCompleteKernel j hsplit labels active multiplicative h_TorsionQuotient l d i a).KilledBy |
| 65 | (q ^ HeckeExponents.neighborLevel i) := |
| 66 | AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.choiceFullKernel_killed (q ^ HeckeExponents.neighborLevel i) s _ _ _ _ _ |
| 67 | |
| 68 | def evaluatedAbelianNeighbor := |
| 69 | ModeledAbelian.Lifts.constructModeledAbelianQuotient (l.genericPolarized (L := L)).abelian |
| 70 | (Intrinsic.ReductionSpecification.evaluatedBase j hsplit labels active multiplicative h_TorsionQuotient l d) |
| 71 | (Intrinsic.ReductionSpecification.evaluatedCompleteKernel j hsplit labels active multiplicative h_TorsionQuotient l d i a) |
| 72 | (KernelModels.evaluatedCompleteKernelModel j hsplit labels active multiplicative h_TorsionQuotient l d i a) |
| 73 | (q ^ HeckeExponents.neighborLevel i) (𝟙 (Spec (.of L))) (pow_pos (Fact.out : q.Prime).pos _) |
| 74 | (evaluatedCompleteKernel_killed j hsplit labels active multiplicative h_TorsionQuotient l d i a) h_TorsionQuotient |
| 75 | |
| 76 | omit [IsFractionRing R L] in |
| 77 | theorem evaluatedCompleteKernel_stable (c : NumberField.RingOfIntegers E) : |
| 78 | AbelianScheme.IsogenyQuotient.Action.Construction.RelativeSubgroupStable (Intrinsic.ReductionSpecification.evaluatedCompleteKernel j hsplit labels active multiplicative h_TorsionQuotient l d i a) |
| 79 | ((l.genericAction (L := L)).map c) := by |
| 80 | apply AbelianScheme.IsogenyQuotient.BlockStability.Construction.choiceFullKernel_stable (q ^ HeckeExponents.neighborLevel i) s _ _ _ _ _ |
| 81 | ((l.genericAction (L := L)).map c) |
| 82 | (fun v => ((j.residueCharacter iota (labels v) (HeckeExponents.neighborLevel i) c).val : ℤ)) |
| 83 | intro v |
| 84 | have h := AbelianScheme.IsogenyQuotient.CM.PointsProjectorSum.Construction.l45_native_projector_scalar j iota hsplit (l.genericPolarized (L := L)).abelian |
| 85 | (l.genericAction (L := L)) (HeckeExponents.neighborLevel i) (labels v) c |
| 86 | cases v <;> exact h |
| 87 | |
| 88 | def evaluatedAbelianNeighborAction := |
| 89 | (evaluatedAbelianNeighbor j hsplit labels active multiplicative h_TorsionQuotient l d i a).action |
| 90 | (l.genericAction (L := L)) |
| 91 | (evaluatedCompleteKernel_stable j hsplit labels active multiplicative h_TorsionQuotient l d i a) |
| 92 | |
| 93 | def evaluatedAbelianNeighborLevel (hcop : q.Coprime N) := |
| 94 | (evaluatedAbelianNeighbor j hsplit labels active multiplicative h_TorsionQuotient l d i a).level N |
| 95 | (hcop.pow_left (HeckeExponents.neighborLevel i)) |
| 96 | (((l.genericPolarized (L := L)).pullback |
| 97 | (Intrinsic.ReductionSpecification.evaluatedBase j hsplit labels active multiplicative h_TorsionQuotient l d).hom).level) |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.AbelianNeighbors |