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.Reference.CompactKernels |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.KernelDetection |
| 3 | |
| 4 | /-! # Kernel Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.KernelComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Identify the original complete evaluated kernel using its unchanged active choice, with all compact and opposite factors derived. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents |
| 16 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ParameterEnumeration |
| 17 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ParameterSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ChoiceFunctor OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CompactDetection.Neighbor |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Lifted.BlockCoordinates OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ReductionSpecification OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CMPointsHeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.KernelDetection.Neighbor |
| 20 | |
| 21 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [IsGalois ℚ E] |
| 22 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 23 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} |
| 24 | {iota : E →+* K} {κ : K →+* ℂ} |
| 25 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 26 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 27 | {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 28 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 29 | (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 30 | (O : D.OrdinaryKernelData j iota hsplit labels) |
| 31 | {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 32 | [Field L] [CharZero L] [Algebra R L] [IsFractionRing R L] |
| 33 | {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 34 | {x : D.OrdinaryPoint} (l : Lifts.IntegralLift D R b residueIso x.val) |
| 35 | (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 36 | |
| 37 | local instance neighborProjector_group (i : Fin 3) (v : Fin (s + 1)) : |
| 38 | IsMonHom (Intrinsic.ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l i v) := |
| 39 | (l.genericAction (L := L)).preservesGroup |
| 40 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (v, false))) |
| 41 | |
| 42 | variable (d : Joint.IntrinsicEvaluation.Lifts.JointFiniteEvaluationField L |
| 43 | (Intrinsic.HeckeEvaluation.neighborEvaluationSchemes (l.genericPolarized (L := L)).abelian q 0 |
| 44 | (Fin.cases false (O.compact x)) (Intrinsic.ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l) hTorsionQuotient)) |
| 45 | |
| 46 | variable (i : Fin 3) (a : ULift (Fin (d.count (some i)))) |
| 47 | |
| 48 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 49 | |
| 50 | local instance neighborModule (w : Fin (s + 1)) : |
| 51 | Module (ZMod (q ^ HeckeExponents.neighborLevel i)) |
| 52 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents 0 (Fin.cases false (O.compact x)) i w)) := |
| 53 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q (HeckeExponents.neighborLevel i) _ |
| 54 | (HeckeExponents.neighborExponents_bound 0 (Fin.cases false (O.compact x)) i w) |
| 55 | |
| 56 | local instance oppositeProjector_group (w : Fin (s + 1)) : |
| 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 + 1) (Intrinsic.KernelLabels.nativeKernelLabels labels) w) := |
| 59 | (l.genericAction (L := L)).preservesGroup |
| 60 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (w, true))) |
| 61 | |
| 62 | def originalCompleteKernelIdentity := |
| 63 | let hg := fun w : Fin (s + 1) => Intrinsic.ParameterEnumeration.originalNeighborBlockGeometry j hsplit labels l hTorsionQuotient i w |
| 64 | letI : ∀ w, IsFinite (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ HeckeExponents.neighborLevel i) |
| 65 | (Intrinsic.ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l i w)).hom := fun w => (hg w).1 |
| 66 | letI : ∀ w, Etale (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock (q ^ HeckeExponents.neighborLevel i) |
| 67 | (Intrinsic.ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l i w)).hom := fun w => (hg w).2 |
| 68 | let c : Fin (s + 1) → Bool := Fin.cases false (O.compact x) |
| 69 | let F := Intrinsic.ReductionSpecification.evaluatedChoice (L := L) j hsplit (Intrinsic.KernelLabels.nativeKernelLabels labels) (0 : Fin (s + 1)) |
| 70 | c hTorsionQuotient l d i a |
| 71 | PLift.up (KernelDetection.Neighbor.neighborFullKernel_eq q (O.compact x) i |
| 72 | (Intrinsic.ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l i) |
| 73 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 74 | (l.genericAction (L := L)) (HeckeExponents.neighborLevel i) (s + 1) (Intrinsic.KernelLabels.nativeKernelLabels labels)) |
| 75 | (Intrinsic.ReductionSpecification.genericCanonicalPairing (L := L) j hsplit (Intrinsic.KernelLabels.nativeKernelLabels labels) l i) |
| 76 | F |
| 77 | (fun v k _ _ b₀ _ => Lifted.BlockCoordinates.liftedNativeBlockCoordinates j hsplit labels O l hTorsionQuotient |
| 78 | (HeckeExponents.neighborLevel i) v.succ k b₀)) |
| 79 | |
| 80 | omit [IsFractionRing R L] in |
| 81 | theorem originalCompleteKernel_eq : |
| 82 | type_of% (originalCompleteKernelIdentity j hsplit labels O l hTorsionQuotient d i a).down := |
| 83 | (originalCompleteKernelIdentity j hsplit labels O l hTorsionQuotient d i a).down |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.KernelComparison |