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.Intrinsic.ParameterEnumeration |
| 2 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.EvaluatedSubspaces |
| 3 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateEnumeration |
| 4 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.CoordinateSubspaces |
| 5 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.CoordinateData |
| 6 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.KernelParameters |
| 7 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Joint.RationalMembership |
| 8 | import OAI.AlgebraicGeometry.Isogenies.NeighborCounting.CoordinateMapValues |
| 9 | |
| 10 | /-! # Coordinate Subspaces -/ |
| 11 | |
| 12 | namespace OAI |
| 13 | |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.CoordinateSubspaces |
| 17 | |
| 18 | /-! The complete original parameter labels enumerate active subspaces |
| 19 | over their actual common evaluation field. -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 22 | open scoped _root_.CategoryTheory.MonObj |
| 23 | |
| 24 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents |
| 25 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ParameterEnumeration OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveSubspaces |
| 26 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.EvaluatedSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ActiveSubspaces |
| 27 | |
| 28 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [IsGalois ℚ E] |
| 29 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 30 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} |
| 31 | {iota : E →+* K} {κ : K →+* ℂ} |
| 32 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 33 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 34 | {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 35 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 36 | (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 37 | (O : D.OrdinaryKernelData j iota hsplit labels) |
| 38 | {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 39 | [Field L] [CharZero L] [Algebra R L] [IsFractionRing R L] |
| 40 | {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 41 | {x : D.OrdinaryPoint} (l : Lifts.IntegralLift D R b residueIso x.val) |
| 42 | (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 43 | |
| 44 | local instance neighborProjector_group (i : Fin 3) (v : Fin (s + 1)) : |
| 45 | IsMonHom (ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l i v) := |
| 46 | (l.genericAction (L := L)).preservesGroup |
| 47 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (v, false))) |
| 48 | |
| 49 | variable (d : Joint.IntrinsicEvaluation.Lifts.JointFiniteEvaluationField L |
| 50 | (HeckeEvaluation.neighborEvaluationSchemes (l.genericPolarized (L := L)).abelian q 0 |
| 51 | (Fin.cases false (O.compact x)) (ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l) hTorsionQuotient)) |
| 52 | (i : Fin 3) (k : Type) [Field k] [IsAlgClosed k] (φ : d.carrier →+* k) |
| 53 | |
| 54 | def nativeParameterCoordinateData |
| 55 | (c : Additive (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap L d.carrier))) ⟶ |
| 56 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q ((l.genericAction (L := L)).map (j.projector iota hsplit 1 (labels (0, false))))) ≃+ |
| 57 | ((Fin 2 → ZMod q) × ZMod q)) := |
| 58 | Joint.CoordinateData.jointCoordinateData j iota hsplit |
| 59 | (l.genericPolarized (L := L)).abelian (l.genericAction (L := L)) (O.compact x) |
| 60 | (ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l) hTorsionQuotient d i k φ (labels (0, false)) rfl |
| 61 | (ParameterEnumeration.nativeCompactCoordinates j hsplit labels O l hTorsionQuotient d i k φ) c |
| 62 | |
| 63 | def nativeCoordinateKernelParameters |
| 64 | (C : GenericActiveCoordinateData.ActiveCoordinateData |
| 65 | (Spec.map (CommRingCat.ofHom (algebraMap L d.carrier))) |
| 66 | (Grp.mk (AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q ((l.genericAction (L := L)).map |
| 67 | (j.projector iota hsplit 1 (labels (0, false)))))) q) := |
| 68 | Joint.KernelParameters.jointKernelParameters j iota hsplit |
| 69 | (l.genericPolarized (L := L)).abelian (l.genericAction (L := L)) (O.compact x) |
| 70 | (ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l) hTorsionQuotient d i k φ (labels (0, false)) rfl |
| 71 | (ParameterEnumeration.nativeCompactCoordinates j hsplit labels O l hTorsionQuotient d i k φ) C |
| 72 | |
| 73 | def nativeParameterCoordinateSubspaceEquiv |
| 74 | (c : Additive (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap L d.carrier))) ⟶ |
| 75 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q ((l.genericAction (L := L)).map (j.projector iota hsplit 1 (labels (0, false))))) ≃+ |
| 76 | ((Fin 2 → ZMod q) × ZMod q)) : |
| 77 | ULift (Fin (d.count (some i))) ≃ |
| 78 | {J : Submodule (ZMod q) ((Fin 2 → ZMod q) × ZMod q) // |
| 79 | Module.finrank (ZMod q) J = HeckeExponents.neighborLevel i} := |
| 80 | (nativeParameterCoordinateData j hsplit labels O l hTorsionQuotient d i k φ c).val |
| 81 | |
| 82 | end AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.CoordinateSubspaces |
| 83 | |
| 84 | namespace AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.CoordinateSubspaces.IntrinsicRationalMembership |
| 85 | |
| 86 | /-! The actual original PEL parameter has the prescribed coordinate |
| 87 | subspace over its common evaluation field, before geometric extension. -/ |
| 88 | |
| 89 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 90 | open scoped _root_.CategoryTheory.MonObj |
| 91 | |
| 92 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.HeckeExponents |
| 93 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.HeckeEvaluation OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ParameterEnumeration OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveSubspaces |
| 94 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.EvaluatedSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.ActiveSubspaces |
| 95 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.CoordinateSubspaces OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Evaluated.ActiveChoiceImage.Prime |
| 96 | |
| 97 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] [IsGalois ℚ E] |
| 98 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 99 | {s N : ℕ} {P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E (s + 1)} |
| 100 | {iota : E →+* K} {κ : K →+* ℂ} |
| 101 | {M : Over (Spec (.of K))} {U : AbelianModuli.ReferenceFamily.PEL.Objects.PELObject P iota N M} |
| 102 | {B : PELModuli.IntegralModel.Base.ArithmeticBaseExtension K κ} {q : ℕ} [Fact q.Prime] |
| 103 | {D : AbelianScheme.FrobeniusKernel.Integral.Construction.SplitPELReduction P iota κ M U B q} |
| 104 | (j : PELModuli.CMPoints.Arithmetic.QadicChoice K κ q) (hsplit : j.HasSplitCoordinates iota) |
| 105 | (labels : (Fin (s + 1) × Bool) ≃ Gal(E/ℚ)) |
| 106 | (O : D.OrdinaryKernelData j iota hsplit labels) |
| 107 | {R L : Type} [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 108 | [Field L] [CharZero L] [Algebra R L] [IsFractionRing R L] |
| 109 | {b : B.R →+* R} {residueIso : AbelianScheme.FrobeniusKernel.ModuliPoint.Construction.residueClosure q ≃+* IsLocalRing.ResidueField R} |
| 110 | {x : D.OrdinaryPoint} (l : Lifts.IntegralLift D R b residueIso x.val) |
| 111 | (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput) |
| 112 | |
| 113 | local instance neighborProjector_group (i : Fin 3) (v : Fin (s + 1)) : |
| 114 | IsMonHom (ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l i v) := |
| 115 | (l.genericAction (L := L)).preservesGroup |
| 116 | (j.projector iota hsplit (HeckeExponents.neighborLevel i) (labels (v, false))) |
| 117 | |
| 118 | variable (d : Joint.IntrinsicEvaluation.Lifts.JointFiniteEvaluationField L |
| 119 | (HeckeEvaluation.neighborEvaluationSchemes (l.genericPolarized (L := L)).abelian q 0 |
| 120 | (Fin.cases false (O.compact x)) (ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l) hTorsionQuotient)) |
| 121 | (i : Fin 3) (k : Type) [Field k] [IsAlgClosed k] (φ : d.carrier →+* k) |
| 122 | |
| 123 | local instance : NeZero q := ⟨(Fact.out : q.Prime).ne_zero⟩ |
| 124 | |
| 125 | local instance neighborModule (v : Fin (s + 1)) : |
| 126 | Module (ZMod (q ^ HeckeExponents.neighborLevel i)) |
| 127 | (AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.RankThreeElementaryModule.{0} q (HeckeExponents.neighborExponents 0 (Fin.cases false (O.compact x)) i v)) := |
| 128 | AbelianScheme.IsogenyQuotient.ElementaryModules.Construction.rankThreeElementaryModule_structure q (HeckeExponents.neighborLevel i) |
| 129 | (HeckeExponents.neighborExponents 0 (Fin.cases false (O.compact x)) i v) |
| 130 | (HeckeExponents.neighborExponents_bound 0 (Fin.cases false (O.compact x)) i v) |
| 131 | |
| 132 | variable |
| 133 | (c : Additive (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap L d.carrier))) ⟶ |
| 134 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q ((l.genericAction (L := L)).map (j.projector iota hsplit 1 (labels (0, false))))) ≃+ |
| 135 | ((Fin 2 → ZMod q) × ZMod q)) |
| 136 | (a : ULift (Fin (d.count (some i)))) |
| 137 | (z : Additive (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap L d.carrier))) ⟶ |
| 138 | AbelianScheme.IsogenyQuotient.OppositeKernel.Construction.torsionBlock q ((l.genericAction (L := L)).map (j.projector iota hsplit 1 (labels (0, false)))))) |
| 139 | |
| 140 | omit [IsFractionRing R L] in |
| 141 | theorem nativeParameterCoordinateSubspaceEquiv_rational_membership : |
| 142 | c z ∈ (nativeParameterCoordinateSubspaceEquiv j hsplit labels O l hTorsionQuotient d i k φ c a).val ↔ |
| 143 | z.toMul ∈ (Evaluated.ActiveChoiceImage.Prime.evaluatedPrimeActiveSubgroup j iota hsplit |
| 144 | (l.genericPolarized (L := L)).abelian (l.genericAction (L := L)) (O.compact x) |
| 145 | (ParameterEnumeration.originalNeighborProjectors (L := L) j hsplit labels l) hTorsionQuotient d i (labels (0, false)) a).points |
| 146 | (Over.mk (Spec.map (CommRingCat.ofHom (algebraMap L d.carrier)))) (𝟙 _) := by |
| 147 | exact (nativeParameterCoordinateData j hsplit labels O l hTorsionQuotient d i k φ c).property.2 a z |
| 148 | |
| 149 | end AlgebraicGeometry.Isogenies.NeighborCounting.Intrinsic.CoordinateSubspaces.IntrinsicRationalMembership |
| 150 | |
| 151 | end |
| 152 | |
| 153 | end OAI |