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.PrimeComparisonConclusion |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.OrdinarySetup |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.ModelComparison |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Theta |
| 5 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Lattices |
| 6 | |
| 7 | /-! # Prime Comparison -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.HodgeConjecture.PrimeComparison.CMExtractionIntrinsic |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Choose one good split prime for the fixed model and normalized test, |
| 14 | then extract the CM classes from its full geometric correspondences. -/ |
| 15 | |
| 16 | open scoped Classical _root_.Matrix |
| 17 | open _root_.CategoryTheory |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.Prerequisites |
| 19 | open OAI.RepresentationTheory.Hecke.RadialDilation.Cm |
| 20 | |
| 21 | attribute [local instance] CMExtraction.Intrinsic.Multiplicity.nativePlaceDecidableEq CMExtraction.Intrinsic.Multiplicity.nativeTripleDecidableEq |
| 22 | |
| 23 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 24 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) |
| 25 | (hμ : P.μ = E.val.toRingHom) (v : CMExtraction.Multiplicity.Odd.Sign E) (hv : v.val 1 = true) |
| 26 | {MpR MpF MpA : Type} [Group MpR] [Group MpF] [Group MpA] |
| 27 | (W : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.WeilData (Fin s × Fin 3) MpR MpF MpA) |
| 28 | (R : CMExtraction.PreprimeCalibration.Intrinsic.RetainedPreprimeData E P hP hμ v hv W) |
| 29 | (M : CMExtraction.Moduli.Intrinsic.RetainedModuli E P hP hμ v hv W R) |
| 30 | |
| 31 | theorem exists_retained_prime_comparison |
| 32 | (hs : 0 < s) (hdegree : Module.finrank ℚ E = 2 * s) |
| 33 | (hzero : P.distinguished.val = 0) |
| 34 | (hOpenness : PELModuli.CMPoints.OrdinaryReduction.OpennessInput) (hSplitPrimes : PELModuli.CMPoints.Arithmetic.SplitPrimesInput) |
| 35 | (hHilb : PELModuli.IntegralModel.Presentations.Hilbert.HilbertHomInput.{0}) (hEnd : PELModuli.IntegralModel.Presentations.Hilbert.EndomorphismEquationsInput.{0}) |
| 36 | (hCMAbelianVarietyA : PELModuli.CMPoints.Descent.AbelianInput) (hCMAbelianVarietyM : PELModuli.CMPoints.Descent.ModuliInput) |
| 37 | (hGeometricTheta : RepresentationTheory.Hecke.SphericalAction.GeometricThetaInput) (hRadialDilation : RepresentationTheory.Hecke.SphericalAction.RadialDilationInput.{0, 0}) |
| 38 | (hLocalWeil : RepresentationTheory.Hecke.RadialDilation.Prerequisites.Core.LocalWeil.Proposition) (hPoissonAutomorphy : RepresentationTheory.Hecke.RadialDilation.Prerequisites.Core.PoissonAutomorphy.Proposition.{0, 0, 0, 0}) |
| 39 | (hRationalStructure : RepresentationTheory.Hecke.GaloisValuationIntrinsic.Intrinsic.RationalStructure.Proposition.{0}) |
| 40 | (hTateComparison : HeckeCycles.TateComparison.CM.TateComparisonInput) (hConstruction : PELModuli.IntegralModel.Albanese.ConstructionInput) (hHodgeComparison : PELModuli.IntegralModel.AlbaneseCohomology.HodgeComparisonInput) |
| 41 | (hNeighborCounting : HeckeCycles.Neighbor.Counting.CM.NeighborCountingInput) (hFrobeniusKernel : Isogenies.NeighborCounting.Prerequisites.FullFrobeniusKernelInput) |
| 42 | (hCMPoints : AbelianScheme.FrobeniusKernel.CMPoints.Construction.CMPointsInput.{0, 0}) (hCartierDuality : AbelianScheme.FrobeniusKernel.CartierDuality.Construction.FullCartierDualityInput.{0}) (hTorsionQuotient : AbelianScheme.IsogenyQuotient.Unit.Construction.TorsionQuotientInput.{0}) |
| 43 | (hGeometricComparison : NumberTheory.PadicHodge.GeometricComparison.FrobeniusSlope.GeometricComparisonInput) |
| 44 | (ιE : E →ₐ[ℚ] CMExtraction.ParameterChoices.Qbar) (excluded : Finset ℕ) (bound : ℕ) : |
| 45 | ∃ (q : ℕ) (hq : q.Prime), |
| 46 | let : Fact q.Prime := ⟨hq⟩ |
| 47 | bound < q ∧ q ∉ excluded ∧ PELModuli.CMPoints.Arithmetic.SplitsCompletelyAt E q ∧ |
| 48 | PELModuli.CMPoints.Arithmetic.SplitsCompletelyAt M.integral.base.extension.carrier q ∧ |
| 49 | PrimeComparisonConclusion.CMExtractionIntrinsic.RetainedPrimeComparisonConclusion E P hP hμ v hv W R M ιE q := by |
| 50 | obtain ⟨q, hq, hb, hx, hE, hK, hgood, j₀, hchoices⟩ := |
| 51 | CMExtraction.OrdinarySetup.Intrinsic.exists_retained_ordinary_setup hOpenness hSplitPrimes hHilb hEnd hCMAbelianVarietyA hCMAbelianVarietyM E hs hdegree |
| 52 | P hP hμ v hv W R M ιE excluded bound |
| 53 | let : Fact q.Prime := ⟨hq⟩ |
| 54 | refine ⟨q, hq, hb, hx, hE, hK, hgood, j₀, ?_⟩ |
| 55 | intro C hIsogenyQuotient |
| 56 | obtain ⟨j, hc, hop, hj, hsplit, T, hgeom⟩ := hchoices C |
| 57 | exact ModelComparison.CMExtractionIntrinsic.retained_model_comparison E P hP hμ v hv W R M j₀ C hs hdegree hzero hgood hIsogenyQuotient |
| 58 | ιE j hc hop hj hsplit T hgeom CMExtraction.Theta.verifiedHodgeDecomposition hGeometricTheta hRadialDilation hLocalWeil hPoissonAutomorphy hRationalStructure |
| 59 | hTateComparison hConstruction hHodgeComparison (CMExtraction.Lattices.Intrinsic.verifiedElementaryDivisors ℤ_[q] ℚ_[q]) hNeighborCounting hFrobeniusKernel hCMPoints hCartierDuality hTorsionQuotient hGeometricComparison |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.HodgeConjecture.PrimeComparison.CMExtractionIntrinsic |