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.HeckeCycles.Source.SphericalBound |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.Smoothness |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SmoothExtensionElimination |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ProductFixedVectors |
| 5 | |
| 6 | /-! # Spherical -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.Spherical.CM |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The full AdelicTheta prerequisite gives a positive auxiliary-prime bound |
| 13 | and an actual open away level for every prescribed source theta input. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.FactorTheta.CM.RationalWeilFactorization |
| 18 | |
| 19 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 20 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 21 | (L : GeometricSource.CM.LinePeriod E B places d) |
| 22 | (hAdelicTheta : Adelic.ThetaBall.CM.AdelicThetaInput) (inputs : RepresentationTheory.Theta.Adelic.Prerequisites.Inputs.{0, 0}) |
| 23 | |
| 24 | include hAdelicTheta inputs in |
| 25 | theorem exists_bound (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places)) : |
| 26 | ∃ N : ℕ, 0 < N ∧ ∀ (q : ℕ) [Fact q.Prime], Nat.Coprime q N → |
| 27 | ∀ (f : E →+* ℚ_[q]) (u : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SL3 q), u ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q → |
| 28 | Source.FactorTheta.CM.action E L f (u, 1) φ = φ := |
| 29 | SmoothExtensionElimination.CM.apply (ThetaRationalTheta.CM.rational E L) |
| 30 | (Source.WeilData.CM.finiteAction E L) |
| 31 | (ThetaSmoothExtension.CM.exists_extension E L hAdelicTheta inputs) |
| 32 | (fun ρ hρ hr => Source.SphericalBound.CM.exists_bound E L ρ hρ hr φ) |
| 33 | |
| 34 | variable {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) |
| 35 | |
| 36 | def awayLevel (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places)) : OpenSubgroup (Source.FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 37 | ProductFixedVectors.CM.awayStabilizer (Source.FactorTheta.CM.action E L f) φ |
| 38 | (Smoothness.CM.away E L hAdelicTheta inputs f φ) |
| 39 | |
| 40 | theorem fixed (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places)) |
| 41 | (ha : ∀ u ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q, Source.FactorTheta.CM.action E L f (u, 1) φ = φ) |
| 42 | (a : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SL3 q × Source.FactorTheta.CM.RationalWeilFactorization.Away E L f) |
| 43 | (h : a ∈ (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q).prod (awayLevel E L hAdelicTheta inputs f φ).toSubgroup) : |
| 44 | Source.FactorTheta.CM.action E L f a φ = φ := |
| 45 | ProductFixedVectors.CM.fixed (Source.FactorTheta.CM.action E L f) φ a.1 a.2 (ha a.1 h.1) h.2 |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SourceAdelic.Spherical.CM |