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.Neighbor.CountingKernelParameters |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Kernel.BlockIntersection |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Intrinsic.KernelPoints |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.SplitSubgroups |
| 5 | |
| 6 | /-! # Counting Chosen Kernel -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.CountingChosenKernel.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual NeighborCounting PEL quotient has precisely its original chosen |
| 13 | kernel on every split block. This is derived from its complete relative |
| 14 | kernel and the orthogonality of the actual CMPoints projectors. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.SplitSubgroups |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CMPointsHeckeEvaluation |
| 21 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ReductionSpecification OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ActionFamilyComparison.Family |
| 22 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.KernelChoice.CM |
| 23 | |
| 24 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 25 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 26 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s} |
| 27 | {iota : E →+* K} {κ : K →+* ℂ} |
| 28 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 29 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 30 | {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 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 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 35 | (labels : AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.KernelIndex s ≃ Gal(E/ℚ)) (active : Fin s) (multiplicative : Fin s → Bool) |
| 36 | (h_TorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) {x : D.GeometricPoint} (l : Isogenies.NeighborCounting.Lifts.IntegralLift D R b residueIso x) |
| 37 | |
| 38 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 39 | |
| 40 | local instance neighborModule (i : Fin 3) (v : Fin s) : |
| 41 | Module (ZMod (q ^ Isogenies.NeighborCounting.HeckeExponents.neighborLevel i)) |
| 42 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (Isogenies.NeighborCounting.HeckeExponents.neighborExponents active multiplicative i v)) := |
| 43 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i) |
| 44 | (Isogenies.NeighborCounting.HeckeExponents.neighborExponents active multiplicative i v) (Isogenies.NeighborCounting.HeckeExponents.neighborExponents_bound active multiplicative i v) |
| 45 | |
| 46 | local instance heckeProjectorGroup (i : Fin 3) (v : Fin s) : |
| 47 | IsMonHom (Isogenies.NeighborCounting.CMPointsHeckeEvaluation.l45NeighborProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 48 | (l.genericAction (L := L)) labels i v) := |
| 49 | (l.genericAction (L := L)).preservesGroup |
| 50 | (j.projector iota hsplit (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i) (labels (.inl v))) |
| 51 | |
| 52 | local instance oppositeProjectorGroup (i : Fin 3) (v : Fin s) : |
| 53 | IsMonHom (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 54 | (l.genericAction (L := L)) (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i) s labels v) := |
| 55 | (l.genericAction (L := L)).preservesGroup |
| 56 | (j.projector iota hsplit (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i) (labels (.inr v))) |
| 57 | |
| 58 | variable (d : Isogenies.NeighborCounting.Joint.IntrinsicEvaluation.Lifts.JointFiniteEvaluationField L |
| 59 | (Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation.neighborEvaluationSchemes (l.genericPolarized (L := L)).abelian q active multiplicative |
| 60 | (Isogenies.NeighborCounting.CMPointsHeckeEvaluation.l45NeighborProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 61 | (l.genericAction (L := L)) labels) h_TorsionQuotient)) |
| 62 | |
| 63 | local notation "base" => OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.evaluatedBase j hsplit labels active multiplicative h_TorsionQuotient l d |
| 64 | |
| 65 | variable [Algebra R d.carrier] [IsScalarTower R L d.carrier] |
| 66 | (V : Isogenies.NeighborCounting.EvaluationDVRLifts.EvaluationDVR R d.carrier) (i : Fin 3) (a : ULift (Fin (d.count (some i)))) |
| 67 | (Q : Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.EvaluatedNativeNeighbor j hsplit labels active multiplicative h_TorsionQuotient l d V i a) |
| 68 | |
| 69 | omit [IsFractionRing R L] [IsScalarTower R L d.carrier] in |
| 70 | include Q in |
| 71 | theorem quotient_chosen_kernel (v : Fin s) : |
| 72 | (AbelianScheme.TateComparison.Subgroups.PointSubgroup.kernel Q.quotient.isogeny.hom).inf |
| 73 | (AbelianScheme.TateComparison.Subgroups.splitBlock ((Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.genericSource (L := L) l).pullback (base).hom) |
| 74 | (j.localCharacter iota (labels (.inl v))) (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i)) = |
| 75 | (CountingKernelParameters.CM.kernelEquiv j hsplit labels active multiplicative h_TorsionQuotient l d i a).val v := by |
| 76 | apply AbelianScheme.TateComparison.Subgroups.PointSubgroup.ext |
| 77 | intro T |
| 78 | ext z |
| 79 | let e := (l.genericPolarized (L := L)).abelian.baseChangePointsMulEquiv (base).hom T |
| 80 | have hq : z ≫ Q.quotient.isogeny.hom = 1 ↔ e z ∈ |
| 81 | (Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.evaluatedCompleteKernel j hsplit labels active multiplicative h_TorsionQuotient l d i a).points |
| 82 | ((Over.map (base).hom).obj T) (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint base T) := |
| 83 | AbelianScheme.IsogenyQuotient.Intrinsic.KernelPoints.Construction.nativeQuotient_kernel_membership (l.genericPolarized (L := L)).abelian base _ Q.model |
| 84 | Q.quotient.isogeny Q.kernel T z |
| 85 | have hc (hz : z ∈ (AbelianScheme.TateComparison.Subgroups.splitBlock ((Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.genericSource (L := L) l).pullback (base).hom) |
| 86 | (j.localCharacter iota (labels (.inl v))) (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i)).atTest T) : |
| 87 | e z ∈ (Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.evaluatedCompleteKernel j hsplit labels active multiplicative h_TorsionQuotient l d i a).points |
| 88 | ((Over.map (base).hom).obj T) (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint base T) ↔ |
| 89 | e z ∈ (Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.evaluatedChoice j hsplit labels active multiplicative h_TorsionQuotient l d i a v).val.subgroup.points |
| 90 | ((Over.map (base).hom).obj T) (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint base T) := by |
| 91 | have hb : e z ∈ (AbelianScheme.TateComparison.Subgroups.splitBlock (Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.genericSource (L := L) l) |
| 92 | (j.localCharacter iota (labels (.inl v))) (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i)).atTest |
| 93 | ((Over.map (base).hom).obj T) := by |
| 94 | have hz' := hz |
| 95 | rw [← AbelianScheme.TateComparison.SplitSubgroups.splitBlock_pullback] at hz' |
| 96 | exact hz' |
| 97 | have hf := ((PELModuli.CMPoints.BlocksProjectors.mem_block_iff_fixed j iota hsplit (Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.genericSource (L := L) l).abelian |
| 98 | (AbelianScheme.TateComparison.PELAdapters.actionFromEnd (Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.genericSource (L := L) l).action) (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i) (labels (.inl v)) |
| 99 | ((Over.map (base).hom).obj T) (e z)).mp hb).2 |
| 100 | change e z ≫ Intrinsic.KernelChoice.CM.projector j iota hsplit (Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.genericSource (L := L) l) |
| 101 | (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i) (labels (.inl v)) = e z at hf |
| 102 | rw [CountingKernelParameters.CM.generic_projector] at hf |
| 103 | exact AbelianScheme.IsogenyQuotient.Kernel.BlockIntersection.Construction.choiceFullKernel_chosen_membership (q ^ Isogenies.NeighborCounting.HeckeExponents.neighborLevel i) s |
| 104 | (fun w => AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (Isogenies.NeighborCounting.HeckeExponents.neighborExponents active multiplicative i w)) |
| 105 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 106 | (l.genericAction (L := L)) (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i) s labels) |
| 107 | (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 108 | (l.genericAction (L := L)) (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i) s labels) |
| 109 | (Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.genericCanonicalPairing j hsplit labels l i) |
| 110 | (Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.evaluatedChoice j hsplit labels active multiplicative h_TorsionQuotient l d i a) |
| 111 | (fun w t hwt => AbelianScheme.IsogenyQuotient.CM.PointsChoiceIsotropy.Construction.l45_choice_torsion_orthogonal j iota hsplit |
| 112 | (l.genericPolarized (L := L)).abelian (l.genericAction (L := L)) |
| 113 | (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i) s labels t w hwt.symm) |
| 114 | ((Over.map (base).hom).obj T) (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint base T) v (e z) hf |
| 115 | have hp := CountingKernelParameters.CM.kernelEquiv_membership j hsplit labels active multiplicative |
| 116 | h_TorsionQuotient l d i a v T z |
| 117 | change (z ≫ Q.quotient.isogeny.hom = 1 ∧ z ∈ |
| 118 | (AbelianScheme.TateComparison.Subgroups.splitBlock ((Isogenies.NeighborCounting.Intrinsic.ReductionSpecification.genericSource (L := L) l).pullback (base).hom) |
| 119 | (j.localCharacter iota (labels (.inl v))) (Isogenies.NeighborCounting.HeckeExponents.neighborLevel i)).atTest T) ↔ _ |
| 120 | constructor |
| 121 | · intro hz |
| 122 | exact hp.mpr ((hc hz.2).mp (hq.mp hz.1)) |
| 123 | · intro hz |
| 124 | have hb := (CountingKernelParameters.CM.kernelEquiv j hsplit labels active multiplicative |
| 125 | h_TorsionQuotient l d i a).property v |>.2.1 T hz |
| 126 | exact ⟨hq.mpr ((hc hb).mpr (hp.mp hz)), hb⟩ |
| 127 | |
| 128 | end |
| 129 | |
| 130 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Neighbor.CountingChosenKernel.CM |