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.CoordinateActiveComparison |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.CoordinateKernelComparison |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.KernelComparison |
| 4 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EmbeddedActiveFamilies |
| 5 | |
| 6 | /-! # Generic Comparison -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.GenericComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | section |
| 13 | |
| 14 | /-! Prepare actual full-kernel transport and original-parameter comparison, retaining every original parameter. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ConstructedActiveEvaluation |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ParameterEnumeration OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveCoordinateEquiv |
| 21 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.CoordinateSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.GenericActiveKernels OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupPointBaseChange |
| 22 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveChoiceImage.Prime OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.CoordinateSubspaces.IntrinsicRationalMembership |
| 23 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PrimeBlockSplitting OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SplitKernelParameterComparison |
| 24 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup |
| 25 | |
| 26 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [IsGalois ℚ E] |
| 27 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 28 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} |
| 29 | {iota : E →+* K} {κ : K →+* ℂ} |
| 30 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 31 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 32 | {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 33 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 34 | (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 35 | (O : D.OrdinaryKernelData j iota hsplit labels) |
| 36 | {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 37 | [IsAdicComplete (IsLocalRing.maximalIdeal R) R] |
| 38 | [Field L] [CharZero L] [Algebra R L] [IsFractionRing R L] |
| 39 | {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 40 | {x : D.OrdinaryPoint} (l : Lifts.IntegralLift D R b residueIso x.val) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 41 | |
| 42 | local instance neighborProjector_group (i : Fin 3) (v : Fin (s + 1)) : |
| 43 | IsMonHom (Intrinsic.ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l i v) := |
| 44 | (l.genericAction (L := L)).preservesGroup |
| 45 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (v, false))) |
| 46 | |
| 47 | variable (a : ConstructedActiveEvaluation.LiftedActiveEvaluation (L := L) j hsplit labels O l hTorsionQuotient) |
| 48 | |
| 49 | variable (i : Fin 3) (p : ULift (Fin (a.evaluation.count (some i)))) |
| 50 | |
| 51 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 52 | |
| 53 | local instance neighborModule (w : Fin (s + 1)) : |
| 54 | Module (ZMod (q ^ HeckeExponents.neighborLevel i)) |
| 55 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents 0 (Fin.cases false (O.compact x)) i w)) := |
| 56 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q (HeckeExponents.neighborLevel i) _ |
| 57 | (HeckeExponents.neighborExponents_bound 0 (Fin.cases false (O.compact x)) i w) |
| 58 | |
| 59 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.IntegralActiveKernels OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.CoordinateActiveComparison |
| 60 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ActiveAmbientData.ReferenceFamily |
| 61 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.KernelComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.CoordinateKernelComparison |
| 62 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EmbeddedActiveFamilies OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 63 | |
| 64 | attribute [local irreducible] CoordinateSubspaces.originalCoordinateKernelParameters |
| 65 | Joint.KernelParameters.jointKernelParameters |
| 66 | Evaluated.ActiveParameterFamily.SourceFamilies.evaluatedIntegralActiveSourceFamily |
| 67 | Kernel.Base.fullKernel |
| 68 | AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter |
| 69 | AbelianScheme.IsogenyQuotient.ReducedPolarizationAdapter.Construction.reducedBaseNativePolarizationPairing AbelianScheme.IsogenyQuotient.Annihilator.Construction.SchemeBicharacter.restrict AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion |
| 70 | |
| 71 | def originalCoordinateFullKernelTransport := |
| 72 | letI := a.evaluation.scalarAlgebra R |
| 73 | letI : IsScalarTower R L a.evaluation.carrier := a.evaluation.scalarTower R |
| 74 | let v := ConstructedActiveEvaluation.activeEvaluationDVR j hsplit labels O l hTorsionQuotient a |
| 75 | Evaluated.CoordinateKernelComparison.evaluatedCoordinateFullKernelComparison (F := L) (L := a.evaluation.carrier) |
| 76 | j hsplit labels O l v a.blockIso |
| 77 | |
| 78 | def originalCoordinateFullKernelImplication := |
| 79 | originalCoordinateFullKernelTransport j hsplit labels O l hTorsionQuotient a |
| 80 | (CoordinateSubspaces.originalCoordinateSubspaceEquiv j hsplit labels O l hTorsionQuotient a i p).val |
| 81 | (HeckeExponents.neighborLevel i) (Fin.cases false (O.compact x)) |
| 82 | (Evaluated.ActiveChoiceImage.Prime.evaluatedPrimeActiveChoice (l.genericPolarized (L := L)).abelian |
| 83 | (O.compact x) (Intrinsic.ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l) |
| 84 | hTorsionQuotient a.evaluation i p).val.subgroup |
| 85 | |
| 86 | def originalMultiplierGenericKernelIdentity := |
| 87 | PLift.up ((originalCoordinateFullKernelImplication j hsplit labels O l hTorsionQuotient a i p).down |
| 88 | (CoordinateActiveComparison.originalActualCoordinateActiveIdentity j hsplit labels O l hTorsionQuotient a i p).down) |
| 89 | |
| 90 | def originalMultiplierGenericNormalizedIdentity := by |
| 91 | have h := (originalMultiplierGenericKernelIdentity j hsplit labels O l hTorsionQuotient a i p).down |
| 92 | dsimp (config := { instances := true }) only [Lifts.IntegralLift.actionData, PELModuli.IntegralModel.PEL.Has.PolarizedActionData.pullback, |
| 93 | ActionBlockPairingIso.Polarized.canonicalActionBlockPairing] at h |
| 94 | unfold Grp.ofHom Grp.homMk Grp.homMk' at h |
| 95 | try dsimp (config := { instances := true }) only at h |
| 96 | exact PLift.up h |
| 97 | |
| 98 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ReductionSpecification OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ParameterSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ChoiceFunctor |
| 99 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CMPointsHeckeEvaluation |
| 100 | |
| 101 | omit [IsGalois ℚ E] [IsAdicComplete (IsLocalRing.maximalIdeal R) R] [IsFractionRing R L] in |
| 102 | theorem originalEvaluatedActiveChoice_eq : |
| 103 | (Intrinsic.ReductionSpecification.evaluatedChoice (L := L) j hsplit (Intrinsic.KernelLabels.nativeKernelLabels labels) 0 |
| 104 | (Fin.cases false (O.compact x)) hTorsionQuotient l a.evaluation i p 0).val.subgroup = |
| 105 | (Evaluated.ActiveChoiceImage.Prime.evaluatedPrimeActiveChoice (l.genericPolarized (L := L)).abelian |
| 106 | (O.compact x) (Intrinsic.ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l) |
| 107 | hTorsionQuotient a.evaluation i p).val.subgroup := by |
| 108 | unfold Intrinsic.ReductionSpecification.evaluatedChoice Evaluated.ActiveChoiceImage.Prime.evaluatedPrimeActiveChoice ParameterSubspaces.evaluatedTuple Intrinsic.ChoiceFunctor.nativeChoiceRepresentation |
| 109 | rfl |
| 110 | |
| 111 | def originalCompleteParameterKernelIdentity := by |
| 112 | let f := Spec.map (CommRingCat.ofHom (algebraMap L a.evaluation.carrier)) |
| 113 | have h := congrArg (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter |
| 114 | (Grp.mk (l.genericPolarized (L := L)).abelian.scheme) (Over.mk f)) |
| 115 | (KernelComparison.originalCompleteKernel_eq j hsplit labels O l hTorsionQuotient a.evaluation i p).symm |
| 116 | unfold Kernel.Models.multiplierFullKernel at h |
| 117 | rw [originalEvaluatedActiveChoice_eq] at h |
| 118 | unfold Intrinsic.ReductionSpecification.genericCanonicalPairing AbelianScheme.IsogenyQuotient.CM.PointsPerfectKernel.Construction.l45SourceBlockPairing Intrinsic.ParameterEnumeration.originalNeighborProjectors |
| 119 | CMPointsHeckeEvaluation.l45NeighborProjectors AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors |
| 120 | Lifts.IntegralLift.genericPolarized Lifts.IntegralLift.genericAction Lifts.IntegralLift.polarized Lifts.IntegralLift.action |
| 121 | Intrinsic.ReductionSpecification.evaluatedBase at h |
| 122 | try dsimp (config := { instances := true }) only at h |
| 123 | exact PLift.up h |
| 124 | |
| 125 | end |
| 126 | |
| 127 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 128 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 129 | |
| 130 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ConstructedActiveEvaluation |
| 131 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ParameterEnumeration OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveCoordinateEquiv |
| 132 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.CoordinateSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.GenericActiveKernels OAI.AlgebraicGeometry.Isogenies.NeighborCounting.GroupPointBaseChange |
| 133 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveChoiceImage.Prime OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.CoordinateSubspaces.IntrinsicRationalMembership |
| 134 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PrimeBlockSplitting OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SplitKernelParameterComparison |
| 135 | attribute [local instance] AbelianScheme.FrobeniusKernel.BaseChange.Construction.pulledBackGroup |
| 136 | |
| 137 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [IsGalois ℚ E] |
| 138 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 139 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} |
| 140 | {iota : E →+* K} {κ : K →+* ℂ} |
| 141 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 142 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 143 | {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 144 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 145 | (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 146 | (O : D.OrdinaryKernelData j iota hsplit labels) |
| 147 | {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 148 | [IsAdicComplete (IsLocalRing.maximalIdeal R) R] |
| 149 | [Field L] [CharZero L] [Algebra R L] [IsFractionRing R L] |
| 150 | {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 151 | {x : D.OrdinaryPoint} (l : Lifts.IntegralLift D R b residueIso x.val) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 152 | |
| 153 | local instance finalNeighborProjector_group (i : Fin 3) (v : Fin (s + 1)) : |
| 154 | IsMonHom (Intrinsic.ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l i v) := |
| 155 | (l.genericAction (L := L)).preservesGroup |
| 156 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (v, false))) |
| 157 | |
| 158 | variable (a : ConstructedActiveEvaluation.LiftedActiveEvaluation (L := L) j hsplit labels O l hTorsionQuotient) |
| 159 | |
| 160 | variable (i : Fin 3) (p : ULift (Fin (a.evaluation.count (some i)))) |
| 161 | |
| 162 | local instance finalPrimeNonzero : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 163 | |
| 164 | local instance finalNeighborModule (w : Fin (s + 1)) : |
| 165 | Module (ZMod (q ^ HeckeExponents.neighborLevel i)) |
| 166 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents 0 (Fin.cases false (O.compact x)) i w)) := |
| 167 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q (HeckeExponents.neighborLevel i) _ |
| 168 | (HeckeExponents.neighborExponents_bound 0 (Fin.cases false (O.compact x)) i w) |
| 169 | |
| 170 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.IntegralActiveKernels OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.CoordinateActiveComparison |
| 171 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ActiveAmbientData.ReferenceFamily |
| 172 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.KernelComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.CoordinateKernelComparison |
| 173 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.EmbeddedActiveFamilies OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 174 | |
| 175 | attribute [local irreducible] CoordinateSubspaces.originalCoordinateKernelParameters |
| 176 | Joint.KernelParameters.jointKernelParameters |
| 177 | Evaluated.ActiveParameterFamily.SourceFamilies.evaluatedIntegralActiveSourceFamily |
| 178 | Kernel.Base.fullKernel |
| 179 | AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter |
| 180 | AbelianScheme.IsogenyQuotient.ReducedPolarizationAdapter.Construction.reducedBaseNativePolarizationPairing AbelianScheme.IsogenyQuotient.Annihilator.Construction.SchemeBicharacter.restrict AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion |
| 181 | |
| 182 | def originalCompleteGenericKernelIdentity := by |
| 183 | have h := (originalMultiplierGenericNormalizedIdentity j hsplit labels O l hTorsionQuotient a i p).down |
| 184 | have k := (originalCompleteParameterKernelIdentity j hsplit labels O l hTorsionQuotient a i p).down |
| 185 | exact PLift.up (h.trans k) |
| 186 | |
| 187 | theorem originalCompleteGenericKernel_eq : |
| 188 | type_of% (originalCompleteGenericKernelIdentity j hsplit labels O l hTorsionQuotient a i p).down := |
| 189 | (originalCompleteGenericKernelIdentity j hsplit labels O l hTorsionQuotient a i p).down |
| 190 | |
| 191 | end |
| 192 | |
| 193 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.GenericComparison |