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.RepresentationTheory.Hecke.IntrinsicDatum |
| 2 | |
| 3 | /-! # Spherical Test -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.SphericalTest |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The same test fixed by both actual factors belongs to the native spherical input space. -/ |
| 10 | |
| 11 | open scoped Classical _root_.Matrix |
| 12 | open _root_.Matrix |
| 13 | |
| 14 | open OAI.RepresentationTheory.Hecke.IntrinsicDatum.SphericalActionIntrinsic |
| 15 | |
| 16 | attribute [local instance] Multiplicity.nativePlaceDecidableEq Multiplicity.nativeTripleDecidableEq |
| 17 | |
| 18 | variable (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) (hμ : D.pel.reference.μ = E.val.toRingHom) |
| 24 | (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 * Multiplicity.nativeTensorPairing E D.pel.reference v x y)) |
| 28 | {n : ℕ} (c : (Fin s × Fin 3) ≃ Fin n) (u : MpF) |
| 29 | (hu : FiniteDilation.NativeFiniteCoordinateIdentity E D e u) |
| 30 | |
| 31 | theorem native_spherical_mem (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (Fin s × Fin 3)) |
| 32 | (hlocal : φ ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.fixedInputs (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q) |
| 33 | (CoordinateDualHecke.Local.coordinateDualRepresentation q c D.pel.reference.distinguished D.weil u)) |
| 34 | [TopologicalSpace (RepresentationTheory.Hecke.IntrinsicDatum.SphericalActionIntrinsic.NativeAway E D hg hμ v hv e he c u hu)] |
| 35 | (L : OpenSubgroup (RepresentationTheory.Hecke.IntrinsicDatum.SphericalActionIntrinsic.NativeAway E D hg hμ v hv e he c u hu)) |
| 36 | (haway : ∀ a ∈ L, D.weil.finite.action a.val φ = φ) : |
| 37 | φ ∈ (RepresentationTheory.Hecke.IntrinsicDatum.SphericalActionIntrinsic.nativeDatum E D hg hμ v hv e he c u hu L).sphericalInputs := by |
| 38 | intro g hg |
| 39 | change D.weil.finite.action |
| 40 | (CoordinateDualHecke.Local.coordinateDualLift q c D.pel.reference.distinguished D.weil u g.1 * g.2.val) φ = φ |
| 41 | rw [map_mul, LinearEquiv.mul_apply, haway g.2 hg.2] |
| 42 | exact hlocal g.1 hg.1 |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Intrinsic.SphericalTest |