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.CMExtraction.Intrinsic.NonzeroTest |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.FiniteCoordinates |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.IntegralTest |
| 4 | |
| 5 | /-! # Good Prime Test -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.GoodPrimeTest |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! For every sufficiently large good split prime, the test chosen |
| 12 | before that prime is fixed by the actual native local action and belongs |
| 13 | to one of its actual nonzero auxiliary radial families. -/ |
| 14 | |
| 15 | open scoped Classical _root_.Matrix |
| 16 | open OAI.RepresentationTheory.Hecke.RadialDilation.Cm |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.NonzeroTest.Multiplicity OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.IntegralTest.Local |
| 18 | |
| 19 | attribute [local instance] Multiplicity.nativePlaceDecidableEq Multiplicity.nativeTripleDecidableEq |
| 20 | |
| 21 | def nativeThetaTestBound |
| 22 | (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 23 | {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hP : P.IsAdmissible) |
| 24 | (hμ : P.μ = E.val.toRingHom) (v : Multiplicity.Odd.Sign E) (hv : v.val 1 = true) |
| 25 | (e : (Fin 3 → E) ≃ₗ[ℚ] (Sum (Fin s × Fin 3) (Fin s × Fin 3) → ℚ)) |
| 26 | (he : ∀ x y, RepresentationTheory.Hecke.RadialDilation.FramePositivity.Realization.coordinatePairing (e x) (e y) = |
| 27 | Algebra.trace ℚ E (P.imaginaryScalar * Multiplicity.nativeTensorPairing E P v x y)) : ℕ := |
| 28 | max 2 (max (NonzeroTest.nativeThetaTest E P hP hμ v hv e he).level (FiniteCoordinates.nativeCoordinateBound E P hP v e he)) |
| 29 | |
| 30 | theorem native_nonzero_test_at_good_prime |
| 31 | (hLocalWeil : RepresentationTheory.Hecke.RadialDilation.Prerequisites.Core.LocalWeil.Proposition) |
| 32 | (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 33 | {K : Type} [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 34 | {Ga MpR MpF MpA : Type} [Group Ga] [TopologicalSpace Ga] |
| 35 | [Group MpR] [Group MpF] [Group MpA] |
| 36 | (D : RepresentationTheory.Theta.Geometric.Data.ActiveHeckeThetaData E K s q (Fin s × Fin 3) Ga MpR MpF MpA) |
| 37 | (hg : D.pel.HasIntegralModelGeometry) (hq : D.pel.IsGoodCompletelySplitPrime) |
| 38 | (hμ : D.pel.reference.μ = E.val.toRingHom) (v : Multiplicity.Odd.Sign E) (hv : v.val 1 = true) |
| 39 | (e : (Fin 3 → E) ≃ₗ[ℚ] (Sum (Fin s × Fin 3) (Fin s × Fin 3) → ℚ)) |
| 40 | (he : ∀ x y, RepresentationTheory.Hecke.RadialDilation.FramePositivity.Realization.coordinatePairing (e x) (e y) = |
| 41 | Algebra.trace ℚ E (D.pel.reference.imaginaryScalar * Multiplicity.nativeTensorPairing E D.pel.reference v x y)) |
| 42 | {n : ℕ} (c : (Fin s × Fin 3) ≃ Fin n) (hn : 0 < n) |
| 43 | (hlarge : nativeThetaTestBound E D.pel.reference hg.reference_admissible hμ v hv e he < q) : |
| 44 | let T := NonzeroTest.nativeThetaTest E D.pel.reference hg.reference_admissible hμ v hv e he |
| 45 | ∃ u : MpF, |
| 46 | D.weil.finite.project u = RepresentationTheory.Hecke.RadialDilation.FiniteConjugation.Realization.finitePadicSymplecticInclusion q |
| 47 | (FiniteCoordinates.nativeFiniteCoordinateMatrix E D hg hq v e he) ∧ |
| 48 | FiniteDilation.NativeFiniteCoordinateIdentity E D e u ∧ |
| 49 | T.test ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.fixedInputs (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q) |
| 50 | (CoordinateDualHecke.Local.coordinateDualRepresentation q c D.pel.reference.distinguished D.weil u) ∧ |
| 51 | ∃ a : RepresentationTheory.Hecke.RadialDilation.TestSections.Realization.lcCompactSpace (RepresentationTheory.Hecke.RadialDilation.FiniteBlockChart.Realization.FiniteAwayPosition q D.pel.reference.distinguished), a ≠ 0 ∧ |
| 52 | ∃ b : RepresentationTheory.Hecke.RadialDilation.Cm.radialInput q, |
| 53 | AuxiliaryCoordinate.Local.auxiliaryCoordinateRadialEmbedding q D.pel.reference.distinguished D.weil u a b = T.test := by |
| 54 | dsimp only |
| 55 | let T := NonzeroTest.nativeThetaTest E D.pel.reference hg.reference_admissible hμ v hv e he |
| 56 | let B := FiniteCoordinates.nativeCoordinateBound E D.pel.reference hg.reference_admissible v e he |
| 57 | have hlarge' : max 2 (max T.level B) < q := hlarge |
| 58 | have htwo : 2 < q := lt_of_le_of_lt (le_max_left _ _) hlarge' |
| 59 | have hlevel : T.level < q := |
| 60 | lt_of_le_of_lt ((le_max_left _ _).trans (le_max_right _ _)) hlarge' |
| 61 | have hcoord : B < q := |
| 62 | lt_of_le_of_lt ((le_max_right _ _).trans (le_max_right _ _)) hlarge' |
| 63 | have hcop : q.Coprime T.level := (Fact.out : q.Prime).coprime_iff_not_dvd.mpr |
| 64 | (Nat.not_dvd_of_pos_of_lt T.level_pos hlevel) |
| 65 | obtain ⟨u, hu, hlocal⟩ := FiniteCoordinates.exists_native_fixed_finite_coordinates E D hg hq v e he |
| 66 | have hS := FiniteCoordinates.nativeFiniteCoordinateMatrix_integral E D hg hq v e he hcoord |
| 67 | refine ⟨u, hu, hlocal, ?_, ?_⟩ |
| 68 | · exact IntegralTest.Local.integral_coordinate_dual_fixed q c D.pel.reference.distinguished hLocalWeil hn htwo D.weil |
| 69 | (FiniteCoordinates.nativeFiniteCoordinateMatrix E D hg hq v e he) u hu hS |
| 70 | T.test T.support T.level T.level_pos hcop T.period |
| 71 | · exact IntegralTest.Local.integral_coordinate_radial_preimage q c D.pel.reference.distinguished hLocalWeil hn htwo D.weil |
| 72 | (FiniteCoordinates.nativeFiniteCoordinateMatrix E D hg hq v e he) u hu hS |
| 73 | T.test T.support T.level T.level_pos hcop T.period |
| 74 | (NonzeroTest.nativeThetaTest_ne_zero E D.pel.reference hg.reference_admissible hμ v hv e he T) |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.GoodPrimeTest |