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.GoodPrimeTest |
| 2 | |
| 3 | /-! # Good Prime Test -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.GoodPrimeTest.Intrinsic |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The good-prime construction for any retained normalized test in the original coordinates. -/ |
| 10 | |
| 11 | open scoped Classical _root_.Matrix |
| 12 | open OAI.RepresentationTheory.Hecke.RadialDilation.Cm |
| 13 | |
| 14 | attribute [local instance] Intrinsic.Multiplicity.nativePlaceDecidableEq Intrinsic.Multiplicity.nativeTripleDecidableEq |
| 15 | |
| 16 | theorem native_retained_test_at_good_prime |
| 17 | (hLocalWeil : RepresentationTheory.Hecke.RadialDilation.Prerequisites.Core.LocalWeil.Proposition) |
| 18 | (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] [IsGalois ℚ E] |
| 19 | {K : Type} [Field K] [NumberField K] {s q : ℕ} [Fact q.Prime] |
| 20 | {Ga MpR MpF MpA : Type} [Group Ga] [TopologicalSpace Ga] |
| 21 | [Group MpR] [Group MpF] [Group MpA] |
| 22 | (D : RepresentationTheory.Theta.Geometric.Data.ActiveHeckeThetaData E K s q (Fin s × Fin 3) Ga MpR MpF MpA) |
| 23 | (hg : D.pel.HasIntegralModelGeometry) (hq : D.pel.IsGoodCompletelySplitPrime) |
| 24 | (hμ : D.pel.reference.μ = 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 (D.pel.reference.imaginaryScalar * Intrinsic.Multiplicity.nativeTensorPairing E D.pel.reference v x y)) |
| 28 | {n : ℕ} (c : (Fin s × Fin 3) ≃ Fin n) (hn : 0 < n) |
| 29 | (T : Intrinsic.NonzeroTest.NativeThetaTest E D.pel.reference hg.reference_admissible hμ v hv e he) |
| 30 | (hlarge : max 2 (max T.level (Intrinsic.FiniteCoordinates.nativeCoordinateBound E D.pel.reference hg.reference_admissible v e he)) < q) : |
| 31 | ∃ u : MpF, |
| 32 | D.weil.finite.project u = RepresentationTheory.Hecke.RadialDilation.FiniteConjugation.Realization.finitePadicSymplecticInclusion q |
| 33 | (Intrinsic.FiniteCoordinates.nativeFiniteCoordinateMatrix E D hg hq v e he) ∧ |
| 34 | Intrinsic.FiniteDilation.NativeFiniteCoordinateIdentity E D e u ∧ |
| 35 | T.test ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.fixedInputs (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q) |
| 36 | (CoordinateDualHecke.Local.coordinateDualRepresentation q c D.pel.reference.distinguished D.weil u) ∧ |
| 37 | ∃ a : RepresentationTheory.Hecke.RadialDilation.TestSections.Realization.lcCompactSpace (RepresentationTheory.Hecke.RadialDilation.FiniteBlockChart.Realization.FiniteAwayPosition q D.pel.reference.distinguished), a ≠ 0 ∧ |
| 38 | ∃ b : RepresentationTheory.Hecke.RadialDilation.Cm.radialInput q, |
| 39 | AuxiliaryCoordinate.Local.auxiliaryCoordinateRadialEmbedding q D.pel.reference.distinguished D.weil u a b = T.test := by |
| 40 | let B := Intrinsic.FiniteCoordinates.nativeCoordinateBound E D.pel.reference hg.reference_admissible v e he |
| 41 | have hlarge' : max 2 (max T.level B) < q := hlarge |
| 42 | have htwo : 2 < q := lt_of_le_of_lt (le_max_left _ _) hlarge' |
| 43 | have hlevel : T.level < q := |
| 44 | lt_of_le_of_lt ((le_max_left _ _).trans (le_max_right _ _)) hlarge' |
| 45 | have hcoord : B < q := |
| 46 | lt_of_le_of_lt ((le_max_right _ _).trans (le_max_right _ _)) hlarge' |
| 47 | have hcop : q.Coprime T.level := (Fact.out : q.Prime).coprime_iff_not_dvd.mpr |
| 48 | (Nat.not_dvd_of_pos_of_lt T.level_pos hlevel) |
| 49 | obtain ⟨u, hu, hlocal⟩ := Intrinsic.FiniteCoordinates.exists_native_fixed_finite_coordinates E D hg hq v e he |
| 50 | have hS := Intrinsic.FiniteCoordinates.nativeFiniteCoordinateMatrix_integral E D hg hq v e he hcoord |
| 51 | refine ⟨u, hu, hlocal, ?_, ?_⟩ |
| 52 | · exact Intrinsic.IntegralTest.Local.integral_coordinate_dual_fixed q c D.pel.reference.distinguished hLocalWeil hn htwo D.weil |
| 53 | (Intrinsic.FiniteCoordinates.nativeFiniteCoordinateMatrix E D hg hq v e he) u hu hS |
| 54 | T.test T.support T.level T.level_pos hcop T.period |
| 55 | · exact Intrinsic.IntegralTest.Local.integral_coordinate_radial_preimage q c D.pel.reference.distinguished hLocalWeil hn htwo D.weil |
| 56 | (Intrinsic.FiniteCoordinates.nativeFiniteCoordinateMatrix E D hg hq v e he) u hu hS |
| 57 | T.test T.support T.level T.level_pos hcop T.period |
| 58 | (Intrinsic.NonzeroTest.nativeThetaTest_ne_zero E D.pel.reference hg.reference_admissible hμ v hv e he T) |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.GoodPrimeTest.Intrinsic |