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.KernelComparison |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.NormalizedIntrinsicKernel |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveChoiceImage |
| 4 | |
| 5 | /-! # Parameter Kernel -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ParameterKernel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Compose the complete-parameter kernel comparison with the native quotient |
| 12 | before specializing its evaluation field. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ParameterEnumeration |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.ParameterSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ChoiceFunctor OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CompactDetection.Neighbor |
| 20 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Lifted.BlockCoordinates OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.KernelLabels |
| 21 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ReductionSpecification OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CMPointsHeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.KernelDetection.Neighbor |
| 22 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Reference.KernelComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.IntrinsicKernel.Intrinsic |
| 23 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveChoiceImage.Prime |
| 24 | |
| 25 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [IsGalois ℚ E] |
| 26 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 27 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} |
| 28 | {iota : E →+* K} {κ : K →+* ℂ} |
| 29 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 30 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 31 | {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 32 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 33 | (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 34 | (O : D.OrdinaryKernelData j iota hsplit labels) |
| 35 | {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 36 | [Field L] [CharZero L] [Algebra R L] [IsFractionRing R L] |
| 37 | {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 38 | {x : D.OrdinaryPoint} (l : Lifts.IntegralLift D R b residueIso x.val) |
| 39 | (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 40 | |
| 41 | local instance neighborProjector_group (i : Fin 3) (v : Fin (s + 1)) : |
| 42 | IsMonHom (ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l i v) := |
| 43 | (l.genericAction (L := L)).preservesGroup |
| 44 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (v, false))) |
| 45 | |
| 46 | variable (d : Joint.IntrinsicEvaluation.Lifts.JointFiniteEvaluationField L |
| 47 | (HeckeEvaluation.neighborEvaluationSchemes (l.genericPolarized (L := L)).abelian q 0 |
| 48 | (Fin.cases false (O.compact x)) (ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l) hTorsionQuotient)) |
| 49 | |
| 50 | variable (i : Fin 3) (a : ULift (Fin (d.count (some i)))) |
| 51 | |
| 52 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 53 | |
| 54 | local instance neighborModule (w : Fin (s + 1)) : |
| 55 | Module (ZMod (q ^ HeckeExponents.neighborLevel i)) |
| 56 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents 0 (Fin.cases false (O.compact x)) i w)) := |
| 57 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q (HeckeExponents.neighborLevel i) _ |
| 58 | (HeckeExponents.neighborExponents_bound 0 (Fin.cases false (O.compact x)) i w) |
| 59 | |
| 60 | local instance oppositeProjector_group (w : Fin (s + 1)) : |
| 61 | IsMonHom (AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors j iota hsplit (l.genericPolarized (L := L)).abelian |
| 62 | (l.genericAction (L := L)) (HeckeExponents.neighborLevel i) (s + 1) (KernelLabels.nativeKernelLabels labels) w) := |
| 63 | (l.genericAction (L := L)).preservesGroup |
| 64 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (w, true))) |
| 65 | |
| 66 | variable [Algebra R d.carrier] [IsScalarTower R L d.carrier] |
| 67 | (v : EvaluationDVRLifts.EvaluationDVR R d.carrier) |
| 68 | (Q : ReductionSpecification.EvaluatedNativeNeighbor j hsplit (KernelLabels.nativeKernelLabels labels) 0 |
| 69 | (Fin.cases false (O.compact x)) hTorsionQuotient l d v i a) |
| 70 | |
| 71 | omit [IsGalois ℚ E] [IsFractionRing R L] [Algebra R d.carrier] [IsScalarTower R L d.carrier] in |
| 72 | theorem evaluatedActiveChoice_eq : |
| 73 | (ReductionSpecification.evaluatedChoice (L := L) j hsplit (KernelLabels.nativeKernelLabels labels) 0 |
| 74 | (Fin.cases false (O.compact x)) hTorsionQuotient l d i a 0).val.subgroup = |
| 75 | (Evaluated.ActiveChoiceImage.Prime.evaluatedPrimeActiveChoice (l.genericPolarized (L := L)).abelian |
| 76 | (O.compact x) (ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l) |
| 77 | hTorsionQuotient d i a).val.subgroup := by |
| 78 | unfold ReductionSpecification.evaluatedChoice Evaluated.ActiveChoiceImage.Prime.evaluatedPrimeActiveChoice Reference.ParameterSubspaces.evaluatedTuple ChoiceFunctor.nativeChoiceRepresentation |
| 79 | rfl |
| 80 | |
| 81 | attribute [local irreducible] Kernel.Base.fullKernel AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter |
| 82 | AbelianScheme.IsogenyQuotient.ReducedPolarizationAdapter.Construction.reducedBaseNativePolarizationPairing AbelianScheme.IsogenyQuotient.Annihilator.Construction.SchemeBicharacter.restrict AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlockInclusion |
| 83 | AbelianScheme.IsogenyQuotient.ChoiceKernel.Construction.choiceFullKernel AbelianScheme.IsogenyQuotient.Universal.Choices.Construction.blockTupleCoordinates Evaluated.ParameterPoints.Lifts.FiniteEvaluationField.evaluatedChoiceEquiv |
| 84 | HeckeEvaluation.nativeNeighborParameter HeckeEvaluation.neighborEvaluationSchemes |
| 85 | |
| 86 | omit [IsFractionRing R L] [IsScalarTower R L d.carrier] in |
| 87 | private theorem completeParameterKernelBaseIdentity : |
| 88 | let f := Spec.map (CommRingCat.ofHom (algebraMap L d.carrier)) |
| 89 | type_of% ((congrArg (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter |
| 90 | (Grp.mk (l.genericPolarized (L := L)).abelian.scheme) (Over.mk f)) |
| 91 | (Reference.KernelComparison.originalCompleteKernel_eq j hsplit labels O l hTorsionQuotient d i a).symm).trans |
| 92 | (Evaluated.IntrinsicKernel.Intrinsic.evaluatedNativeNeighbor_nativeKernel j hsplit (KernelLabels.nativeKernelLabels labels) 0 |
| 93 | (Fin.cases false (O.compact x)) hTorsionQuotient l d v i a Q).symm) := by |
| 94 | let f := Spec.map (CommRingCat.ofHom (algebraMap L d.carrier)) |
| 95 | have hc := congrArg (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter |
| 96 | (Grp.mk (l.genericPolarized (L := L)).abelian.scheme) (Over.mk f)) |
| 97 | (Reference.KernelComparison.originalCompleteKernel_eq j hsplit labels O l hTorsionQuotient d i a).symm |
| 98 | have hn := Evaluated.IntrinsicKernel.Intrinsic.evaluatedNativeNeighbor_nativeKernel j hsplit (KernelLabels.nativeKernelLabels labels) 0 |
| 99 | (Fin.cases false (O.compact x)) hTorsionQuotient l d v i a Q |
| 100 | exact hc.trans hn.symm |
| 101 | |
| 102 | def completeParameterNativeKernelIdentity := by |
| 103 | have h := completeParameterKernelBaseIdentity j hsplit labels O l hTorsionQuotient d i a v Q |
| 104 | unfold Kernel.Models.multiplierFullKernel at h |
| 105 | rw [evaluatedActiveChoice_eq] at h |
| 106 | unfold ReductionSpecification.genericCanonicalPairing AbelianScheme.IsogenyQuotient.CM.PointsPerfectKernel.Construction.l45SourceBlockPairing ParameterEnumeration.originalNeighborProjectors |
| 107 | CMPointsHeckeEvaluation.l45NeighborProjectors AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45ChosenProjectors AbelianScheme.IsogenyQuotient.CM.PointsIntrinsicFamily.Construction.l45OppositeProjectors |
| 108 | Lifts.IntegralLift.genericPolarized Lifts.IntegralLift.genericAction Lifts.IntegralLift.polarized Lifts.IntegralLift.action |
| 109 | ReductionSpecification.evaluatedBase at h |
| 110 | try dsimp (config := { instances := true }) only at h |
| 111 | exact PLift.up h |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ParameterKernel |