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.Finite.ChosenBranchTargets |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.QuotientKernelTransport |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.BranchLabels |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.EvaluatedTargetPoint |
| 5 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.CountingChosenKernel |
| 6 | |
| 7 | /-! # Branch Targets -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.BranchTargets.CM |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Compare the actual NeighborCounting quotient target with its TateComparison branch. |
| 14 | Both use the same lifted source, chosen subgroups, common multiplier, |
| 15 | polarization and complete level marking. Target equality is deduced |
| 16 | from the proved chosen-kernel uniqueness theorem. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open scoped _root_.CategoryTheory.MonObj |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation |
| 21 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CMPointsHeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 22 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ReductionSpecification |
| 23 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.PointExt.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReductionPoints.CM |
| 24 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.ArithmeticBase.CM.Generic |
| 25 | |
| 26 | variable {E K : Type} [Field E] [NumberField E] |
| 27 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 28 | (M : PELModuli.CMPoints.Models.RankThreePELModel E K) (hM : M.HasPrescribedBallPeriods) |
| 29 | {q : ℕ} [Fact q.Prime] (j : M.QadicChoice q) |
| 30 | (hsplit : j.HasSplitCoordinates M.extendedEmbedding) |
| 31 | (R : M.GoodIntegralReduction q j) |
| 32 | (labels : (Fin M.s × Bool) ≃ Gal(E/ℚ)) |
| 33 | (hlabels : ∀ (v : Fin M.s) (b : Bool), |
| 34 | labels (v, !b) = PELModuli.CMPoints.Arithmetic.rationalConjugation E * labels (v, b)) |
| 35 | (a : M.Family) (hden : Nat.Coprime q M.arithmetic.denominator) |
| 36 | (p : Geometric.PointExt.CM.pointBase (AlgebraicClosure (ZMod q)) ⟶ R.geometricFiber a) |
| 37 | (l : Isogenies.NeighborCounting.Lifts.IntegralLift (FrobeniusKernelLifts.CM.reduction M hM j hsplit R labels hlabels a) |
| 38 | (ArithmeticBase.CM.W (q := q)) (ArithmeticBase.CM.arithmeticMap (j := j) hden) (ArithmeticBase.CM.residueIso (q := q)) (ReductionPoints.CM.primeFieldPoint R a p)) |
| 39 | |
| 40 | (C : AbelianScheme.TateComparison.Local.IntegralType M.s → AbelianScheme.TateComparison.Correspondences.EtaleCorrespondence ((Over.pullback M.arithmetic.generic).obj (M.integral a).toOver)) |
| 41 | (active : Fin M.s) (multiplicative : Fin M.s → Bool) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 42 | |
| 43 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 44 | local instance : CharZero (ArithmeticBase.CM.Generic.F q) := EvaluationDVR.CM.fractionCharZero q |
| 45 | |
| 46 | local instance heckeProjectorGroup (i : Fin 3) (v : Fin M.s) : |
| 47 | IsMonHom (Isogenies.NeighborCounting.CMPointsHeckeEvaluation.l45NeighborProjectors (Source.RestrictedPlace.CM.choice M j) M.iota |
| 48 | (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) |
| 49 | (l.genericPolarized (L := ArithmeticBase.CM.Generic.F q)).abelian (l.genericAction (L := ArithmeticBase.CM.Generic.F q)) |
| 50 | (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels) i v) := |
| 51 | (l.genericAction (L := ArithmeticBase.CM.Generic.F q)).preservesGroup |
| 52 | ((Source.RestrictedPlace.CM.choice M j).projector M.iota |
| 53 | (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i) |
| 54 | (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels (.inl v))) |
| 55 | |
| 56 | variable (d : Isogenies.NeighborCounting.Joint.IntrinsicEvaluation.Lifts.JointFiniteEvaluationField (ArithmeticBase.CM.Generic.F q) |
| 57 | (Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation.neighborEvaluationSchemes (l.genericPolarized (L := ArithmeticBase.CM.Generic.F q)).abelian q active multiplicative |
| 58 | (Isogenies.NeighborCounting.CMPointsHeckeEvaluation.l45NeighborProjectors (Source.RestrictedPlace.CM.choice M j) M.iota |
| 59 | (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) |
| 60 | (l.genericPolarized (L := ArithmeticBase.CM.Generic.F q)).abelian (l.genericAction (L := ArithmeticBase.CM.Generic.F q)) |
| 61 | (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels)) hTorsionQuotient)) |
| 62 | |
| 63 | local notation "HD" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.PELSource.CM.heckeData M a C |
| 64 | (fun w => j.localCharacter M.extendedEmbedding (labels w)) |
| 65 | local notation "sl" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.LiftRecovery.CM.schemeLift M hM j hsplit R labels hlabels a hden p l |
| 66 | 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 |
| 67 | local notation "typ" => OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.Types.CM.integralType active multiplicative |
| 68 | |
| 69 | variable [Algebra (ArithmeticBase.CM.W (q := q)) d.carrier] [IsScalarTower (ArithmeticBase.CM.W (q := q)) (ArithmeticBase.CM.Generic.F q) d.carrier] |
| 70 | (V : Isogenies.NeighborCounting.EvaluationDVRLifts.EvaluationDVR (ArithmeticBase.CM.W (q := q)) d.carrier) |
| 71 | (i : Fin 3) (β : ULift (Fin (d.count (some i)))) |
| 72 | (Q : Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.EvaluatedNativeNeighbor (Source.RestrictedPlace.CM.choice M j) |
| 73 | (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels) |
| 74 | active multiplicative hTorsionQuotient l d V i β) |
| 75 | |
| 76 | def targetPoint : (HD).GeometricPoint (EvaluationGenericTest.CM.originalBase (L := d.carrier) j) := |
| 77 | EvaluatedTargetPoint.CM.point M hM j hsplit R labels hlabels a hden V Q.target |
| 78 | |
| 79 | def quotient : AbelianScheme.TateComparison.PELIsogenies.PELIsogeny ((HD).fiberFamily |
| 80 | (EvaluationGenericTest.CM.originalBase (L := d.carrier) j) z) |
| 81 | ((HD).fiberFamily (EvaluationGenericTest.CM.originalBase (L := d.carrier) j) |
| 82 | (targetPoint M hM j hsplit R labels hlabels a hden p l C active multiplicative hTorsionQuotient d V i β Q)) |
| 83 | (q ^ (typ i).multiplierNat) := |
| 84 | (Q.quotient.transport |
| 85 | (PELSource.CM.sourceIso M hM j hsplit R labels hlabels a hden p l C |
| 86 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).symm |
| 87 | (EvaluatedTargetPoint.CM.familyIso M hM j hsplit R labels hlabels a hden V Q.target C |
| 88 | (fun w => j.localCharacter M.extendedEmbedding (labels w)))).castMultiplier |
| 89 | (congrArg (fun n => q ^ n) (Neighbor.Types.CM.multiplier active multiplicative i).symm) |
| 90 | |
| 91 | theorem quotient_chosen_kernel (v : Fin M.s) : |
| 92 | (AbelianScheme.TateComparison.Subgroups.PointSubgroup.kernel (CM.quotient M hM j hsplit R labels hlabels a hden p l C active multiplicative |
| 93 | hTorsionQuotient d V i β Q).isogeny.hom).inf |
| 94 | (AbelianScheme.TateComparison.Subgroups.splitBlock ((HD).fiberFamily (EvaluationGenericTest.CM.originalBase (L := d.carrier) j) z) |
| 95 | ((HD).localCharacter (v, false)) (typ i).multiplierNat) = |
| 96 | (BranchLabels.CM.kernelEquiv M hM j hsplit R labels hlabels a hden p l C |
| 97 | active multiplicative hTorsionQuotient d i β).val v := |
| 98 | QuotientKernelTransport.CM.splitKernel Q.quotient |
| 99 | (PELSource.CM.sourceIso M hM j hsplit R labels hlabels a hden p l C |
| 100 | (fun w => j.localCharacter M.extendedEmbedding (labels w))) |
| 101 | (EvaluatedTargetPoint.CM.familyIso M hM j hsplit R labels hlabels a hden V Q.target C |
| 102 | (fun w => j.localCharacter M.extendedEmbedding (labels w))) |
| 103 | (funext fun v => Source.RestrictedPlace.CM.localCharacter_eq M j (labels (v, false))) |
| 104 | (Neighbor.Types.CM.multiplier active multiplicative i).symm |
| 105 | (Neighbor.Types.CM.exponents active multiplicative i).symm |
| 106 | (Neighbor.CountingKernelParameters.CM.kernelEquiv (Source.RestrictedPlace.CM.choice M j) |
| 107 | (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels) |
| 108 | active multiplicative hTorsionQuotient l d i β) |
| 109 | (Neighbor.CountingChosenKernel.CM.quotient_chosen_kernel (Source.RestrictedPlace.CM.choice M j) |
| 110 | (Source.RestrictedPlace.CM.splitCoordinates M j hsplit) (Isogenies.NeighborCounting.Intrinsic.KernelLabels.nativeKernelLabels labels) |
| 111 | active multiplicative hTorsionQuotient l d V i β Q) v |
| 112 | |
| 113 | variable |
| 114 | (hg : (PELSource.CM.heckeData M a C |
| 115 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).IsGoodCompletelySplitPrime) |
| 116 | (hgeometry : (PELSource.CM.heckeData M a C |
| 117 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).HasIntegralModelGeometry) |
| 118 | (hIsogenyQuotient : (PELSource.CM.heckeData M a C |
| 119 | (fun w => j.localCharacter M.extendedEmbedding (labels w))).RealizesIsogenyQuotient) |
| 120 | |
| 121 | include hg hgeometry hIsogenyQuotient in |
| 122 | theorem target_eq : |
| 123 | targetPoint M hM j hsplit R labels hlabels a hden p l C active multiplicative hTorsionQuotient d V i β Q = |
| 124 | ((HD).correspondence (typ i)).endpoint |
| 125 | (BranchLabels.CM.branchEquiv M hM j hsplit R labels hlabels a hden p l C |
| 126 | active multiplicative hTorsionQuotient d hIsogenyQuotient i β) := |
| 127 | Finite.ChosenBranchTargets.CM.target_eq (k := d.carrier) |
| 128 | (b := EvaluationGenericTest.CM.originalBase (L := d.carrier) j) |
| 129 | (I := ULift (Fin (d.count (some i)))) (HD) hg hgeometry hM.2.1 hM.1 hIsogenyQuotient (typ i) z |
| 130 | (BranchLabels.CM.kernelEquiv M hM j hsplit R labels hlabels a hden p l C |
| 131 | active multiplicative hTorsionQuotient d i) β |
| 132 | (targetPoint M hM j hsplit R labels hlabels a hden p l C active multiplicative hTorsionQuotient d V i β Q) |
| 133 | (CM.quotient M hM j hsplit R labels hlabels a hden p l C active multiplicative hTorsionQuotient d V i β Q) |
| 134 | (quotient_chosen_kernel M hM j hsplit R labels hlabels a hden p l C active multiplicative hTorsionQuotient d V i β Q) |
| 135 | |
| 136 | include hg hgeometry hIsogenyQuotient in |
| 137 | theorem target_projection : |
| 138 | Q.target.map = |
| 139 | (((HD).correspondence (typ i)).endpoint |
| 140 | (BranchLabels.CM.branchEquiv M hM j hsplit R labels hlabels a hden p l C |
| 141 | active multiplicative hTorsionQuotient d hIsogenyQuotient i β)).left ≫ |
| 142 | CategoryTheory.Limits.pullback.fst (M.integral a).toOver.hom M.arithmetic.generic := |
| 143 | (EvaluatedTargetPoint.CM.point_projection M hM j hsplit R labels hlabels a hden V Q.target).symm.trans |
| 144 | (congrArg (fun y => y.left ≫ CategoryTheory.Limits.pullback.fst |
| 145 | (M.integral a).toOver.hom M.arithmetic.generic) |
| 146 | (target_eq M hM j hsplit R labels hlabels a hden p l C active multiplicative hTorsionQuotient d V i β Q |
| 147 | hg hgeometry hIsogenyQuotient)) |
| 148 | |
| 149 | end |
| 150 | |
| 151 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Witt.BranchTargets.CM |