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.BranchLabels |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.SourceExtension |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.CountingParameterCoordinates |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.BranchEnumeration |
| 5 | |
| 6 | /-! # Extended Labels -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ExtendedLabels.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original NeighborCounting evaluated labels exhaust TateComparison's branches after |
| 13 | further field extension. The cardinality is proved again from the same |
| 14 | represented parameter scheme; injective field extension then gives the |
| 15 | bijection preserving each original branch target and its multiplicity. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CMPointsHeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 21 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionPoints.CM |
| 22 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 23 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FieldPointDescent.CM |
| 24 | |
| 25 | variable {E K : Type} [Field E] [NumberField E] |
| 26 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 27 | (M : PELModuli.CMPoints.Models.RankThreePELModel E K) (hM : M.HasPrescribedBallPeriods) |
| 28 | {q : ℕ} [Fact q.Prime] (j : M.QadicChoice q) |
| 29 | (hsplit : j.HasSplitCoordinates M.extendedEmbedding) |
| 30 | (R : M.GoodIntegralReduction q j) |
| 31 | (labels : (Fin M.s × Bool) ≃ Gal(E/ℚ)) |
| 32 | (hlabels : ∀ (v : Fin M.s) (b : Bool), |
| 33 | labels (v, !b) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (v, b)) |
| 34 | (a : M.Family) (hden : Nat.Coprime q M.arithmetic.denominator) |
| 35 | (p : Geometric.PointExt.CM.pointBase (AlgebraicClosure (ZMod q)) ⟶ R.geometricFiber a) |
| 36 | (l : Isogenies.NeighborCounting.Lifts.IntegralLift (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a) |
| 37 | (ArithmeticBase.CM.W (q := q)) (ArithmeticBase.CM.arithmeticMap (j := j) hden) (ArithmeticBase.CM.residueIso (q := q)) (ReductionPoints.CM.primeFieldPoint R a p)) |
| 38 | |
| 39 | (C : AbelianScheme.TateComparison.Local.IntegralType M.s → AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence ((Over.pullback M.arithmetic.generic).obj (M.integral a).toOver)) |
| 40 | (active : Fin M.s) (multiplicative : Fin M.s → Bool) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 41 | |
| 42 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 43 | local instance : CharZero (ArithmeticBase.CM.Generic.F q) := EvaluationDVR.CM.fractionCharZero q |
| 44 | |
| 45 | local instance heckeProjectorGroup (i : Fin 3) (v : Fin M.s) : |
| 46 | IsMonHom (Isogenies.NeighborCounting.CMPointsHeckeEvaluation.l45NeighborProjectors (Source.RestrictedPlace.CM.choice M j) M.iota |
| 47 | (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) |
| 48 | (l.genericPolarized (L := ArithmeticBase.CM.Generic.F q)).abelian (l.genericAction (L := ArithmeticBase.CM.Generic.F q)) |
| 49 | (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels) i v) := |
| 50 | (l.genericAction (L := ArithmeticBase.CM.Generic.F q)).preservesGroup |
| 51 | ((Source.RestrictedPlace.CM.choice M j).projector M.iota |
| 52 | (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i) |
| 53 | (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels (.inl v))) |
| 54 | |
| 55 | variable (d : Isogenies.NeighborCounting.Joint.IntrinsicEvaluation.Lifts.JointFiniteEvaluationField (ArithmeticBase.CM.Generic.F q) |
| 56 | (Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation.neighborEvaluationSchemes (l.genericPolarized (L := ArithmeticBase.CM.Generic.F q)).abelian q active multiplicative |
| 57 | (Isogenies.NeighborCounting.CMPointsHeckeEvaluation.l45NeighborProjectors (Source.RestrictedPlace.CM.choice M j) M.iota |
| 58 | (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) |
| 59 | (l.genericPolarized (L := ArithmeticBase.CM.Generic.F q)).abelian (l.genericAction (L := ArithmeticBase.CM.Generic.F q)) |
| 60 | (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels)) hTorsionQuotient)) |
| 61 | |
| 62 | local notation "HD" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.PELSource.CM.heckeData M a C |
| 63 | (fun w => j.localCharacter M.extendedEmbedding (labels w)) |
| 64 | local notation "sl" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.LiftRecovery.CM.schemeLift M hM j hsplit R labels hlabels a hden p l |
| 65 | 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 |
| 66 | local notation "typ" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.Types.CM.integralType active multiplicative |
| 67 | |
| 68 | variable {L' : Type} [Field L'] (σ : d.carrier →+* L') |
| 69 | |
| 70 | local notation "extBase" => Spec.map (CommRingCat.ofHom σ) ≫ OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationGenericTest.CM.originalBase (L := d.carrier) j |
| 71 | local notation "extPoint" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.FieldPointDescent.CM.testMap σ (OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluationGenericTest.CM.originalBase (L := d.carrier) j) ≫ z |
| 72 | |
| 73 | def kernelEquiv (i : Fin 3) : ULift (Fin (d.count (some i))) ≃ (HD).chosenKernels (typ i) extPoint := |
| 74 | (Neighbor.CountingParameterCoordinates.CM.extendedKernelEquiv (Source.RestrictedPlace.CM.choice M j) |
| 75 | (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels) |
| 76 | active multiplicative hTorsionQuotient l d σ i).trans |
| 77 | ((KernelChoiceTransport.CM.choiceEquiv |
| 78 | (SourceExtension.CM.sourceIso M hM j hsplit R labels hlabels a hden p l C |
| 79 | (fun w => j.localCharacter M.extendedEmbedding (labels w)) σ) |
| 80 | (fun v => (Source.RestrictedPlace.CM.choice M j).localCharacter M.iota (labels (v, false))) |
| 81 | (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i) (Isogenies.NeighborCounting.HeckeExponents.neighborExponents active multiplicative i)).trans |
| 82 | (KernelChoiceIndices.CM.choiceEquiv ((HD).fiberFamily extBase extPoint) |
| 83 | (funext fun v => Source.RestrictedPlace.CM.localCharacter_eq M j (labels (v, false))) |
| 84 | (Neighbor.Types.CM.multiplier active multiplicative i).symm |
| 85 | (Neighbor.Types.CM.exponents active multiplicative i).symm)) |
| 86 | |
| 87 | variable (hIsogenyQuotient : (PELSource.CM.heckeData M a C |
| 88 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).RealizesIsogenyQuotient) |
| 89 | |
| 90 | def branchEquiv (i : Fin 3) : ULift (Fin (d.count (some i))) ≃ ((HD).correspondence (typ i)).Fiber extPoint := |
| 91 | (kernelEquiv M hM j hsplit R labels hlabels a hden p l C active multiplicative hTorsionQuotient d σ i).trans |
| 92 | ((HD).c46FiberKernelEquiv hIsogenyQuotient (typ i) extPoint).symm |
| 93 | |
| 94 | include hIsogenyQuotient in |
| 95 | theorem geometric_neighbors_eq [IsAlgClosed L'] (i : Fin 3) : |
| 96 | ((HD).correspondence (typ i)).neighbors extBase extPoint = |
| 97 | (Finset.univ.val.map (fun β : ULift (Fin (d.count (some i))) => |
| 98 | ((HD).correspondence (typ i)).endpoint |
| 99 | (BranchLabels.CM.branchEquiv M hM j hsplit R labels hlabels a hden p l C |
| 100 | active multiplicative hTorsionQuotient d hIsogenyQuotient i β))).map |
| 101 | (fun y => FieldPointDescent.CM.testMap σ (EvaluationGenericTest.CM.originalBase (L := d.carrier) j) ≫ y) := |
| 102 | Finite.BranchEnumeration.CM.neighbors_eq_original_targets ((HD).correspondence (typ i)) z |
| 103 | (BranchLabels.CM.branchEquiv M hM j hsplit R labels hlabels a hden p l C |
| 104 | active multiplicative hTorsionQuotient d hIsogenyQuotient i) extBase |
| 105 | (FieldPointDescent.CM.testMap σ (EvaluationGenericTest.CM.originalBase (L := d.carrier) j)) |
| 106 | (branchEquiv M hM j hsplit R labels hlabels a hden p l C active multiplicative hTorsionQuotient d σ hIsogenyQuotient i) |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ExtendedLabels.CM |