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.ProjectiveLevel |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.IntegralScalar |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.RestrictedOpenFactors |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.PlaceExclusion |
| 5 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.QadicIntegral |
| 6 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.PrimeBounds |
| 7 | |
| 8 | /-! # Projective Spherical Bound -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ProjectiveSphericalBound |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The original source input is fixed by integral active SL3 outside |
| 15 | one prime bound. Projective openness and local-ring perfectness replace |
| 16 | the full AdelicTheta smooth-extension input. -/ |
| 17 | |
| 18 | attribute [local instance 2000] Subgroup.toGroup Prod.instGroup |
| 19 | open scoped Classical _root_.NumberField |
| 20 | open Filter OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 21 | |
| 22 | namespace CM |
| 23 | set_option cleanup.letToHave false |
| 24 | |
| 25 | private def restrictLeft {A B G : Type*} [Group A] [Group B] [Group G] |
| 26 | (f : A × B →* G) : A →* G := f.comp (MonoidHom.inl A B) |
| 27 | |
| 28 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 29 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 30 | (L : GeometricSource.CM.LinePeriod E B places d) |
| 31 | |
| 32 | def finiteLevel (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places)) : |
| 33 | OpenSubgroup (SourceFinite.Product.CM.FiniteGroup E |
| 34 | (OppositeCoordinates.CM.coordinates E L.coordinates)) := |
| 35 | (Finite.ProjectiveOpen.CM.allLevel (WeilData.CM.weilData E places) φ).comap |
| 36 | (ReferenceActiveWeil.CM.ReferenceFiniteProjection.projection E L.coordinates) |
| 37 | (ProjectiveLevel.CM.projection_continuous E L) |
| 38 | |
| 39 | theorem projective_bound (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places)) : |
| 40 | ∃ N : ℕ, 0 < N ∧ ∀ (q : ℕ) [Fact q.Prime], Nat.Coprime q N → |
| 41 | ∀ (f : E →+* ℚ_[q]) (g), |
| 42 | g ∈ SourceFinite.Product.CM.levels E (OppositeCoordinates.CM.coordinates E L.coordinates) |
| 43 | (QadicPlace.CM.place E f) → |
| 44 | RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.includePlace |
| 45 | (SourceFinite.Product.CM.levels E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 46 | (QadicPlace.CM.place E f) g ∈ finiteLevel E L φ := |
| 47 | Finite.PlaceExclusion.CM.exists_embedding_bound |
| 48 | (QuadraticConjugation.CM.Field.RealField E) (algebraMap (QuadraticConjugation.CM.Field.RealField E) E) _ |
| 49 | (RestrictedOpenFactors.CM.cofinite |
| 50 | (SourceFinite.Product.CM.levels E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 51 | (finiteLevel E L φ)) |
| 52 | |
| 53 | variable {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) |
| 54 | |
| 55 | local instance projectiveAwayGroup : Group (FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 56 | Subgroup.toGroup (FactorTheta.CM.RationalWeilFactorization.Away E L f) |
| 57 | local instance projectiveAwayMonoid : Monoid (FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 58 | (projectiveAwayGroup E L f).toMonoid |
| 59 | local instance projectiveAwayMulOneClass : MulOneClass (FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 60 | (projectiveAwayGroup E L f).toMulOneClass |
| 61 | local instance projectiveSourceMulOneClass : |
| 62 | MulOneClass (Matrix.SpecialLinearGroup (Fin 3) ℚ_[q] × FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 63 | (show Group (Matrix.SpecialLinearGroup (Fin 3) ℚ_[q] × FactorTheta.CM.RationalWeilFactorization.Away E L f) |
| 64 | from Prod.instGroup).toMulOneClass |
| 65 | |
| 66 | theorem active_line (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places)) |
| 67 | (hgood : SplitIntegralLocal.CM.Good (QuadraticConjugation.CM.Field.RealField E) |
| 68 | (QuadraticForms.CM.hermitianForm E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 69 | (QadicPlace.CM.place E f)) |
| 70 | (hlevel : ∀ g ∈ SourceFinite.Product.CM.levels E |
| 71 | (OppositeCoordinates.CM.coordinates E L.coordinates) (QadicPlace.CM.place E f), |
| 72 | RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.includePlace |
| 73 | (SourceFinite.Product.CM.levels E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 74 | (QadicPlace.CM.place E f) g ∈ finiteLevel E L φ) |
| 75 | (u : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SL3 q) (hu : u ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q) : |
| 76 | ∃ c : ℂˣ, FactorTheta.CM.action E L f (u, 1) φ = (c : ℂ) • φ := by |
| 77 | apply (CMExtraction.Finite.ProjectiveLevel.TestTransport.finiteProjectiveStabilizer_mem (WeilData.CM.weilData E places) φ |
| 78 | (FactorTheta.CM.RationalWeilFactorization.splitting E L f (u, 1))).mp |
| 79 | rw [SplittingProjection.CM.projection] |
| 80 | change IntrinsicActiveClosure.CM.Intrinsic.assemble E L f (u, 1) ∈ finiteLevel E L φ |
| 81 | have he : IntrinsicActiveClosure.CM.Intrinsic.assemble E L f (u, 1) = |
| 82 | RepresentationTheory.Weil.AdelicSplitting.RestrictedLimits.Construction.includePlace |
| 83 | (SourceFinite.Product.CM.levels E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 84 | (QadicPlace.CM.place E f) |
| 85 | ((QadicSpecialLinear.CM.equivalence E |
| 86 | (OppositeCoordinates.CM.coordinates E L.coordinates) f).symm u) := by |
| 87 | refine (IntrinsicActiveClosure.CM.Intrinsic.active E L f u).trans ?_ |
| 88 | exact (SourceFinite.Product.CM.equivalence_apply E |
| 89 | (OppositeCoordinates.CM.coordinates E L.coordinates) f u 1).trans (mul_one _) |
| 90 | exact (congrArg (fun g : SourceFinite.Product.CM.FiniteGroup E |
| 91 | (OppositeCoordinates.CM.coordinates E L.coordinates) => g ∈ finiteLevel E L φ) he).mpr |
| 92 | (hlevel _ (QadicIntegral.CM.inverse_integral E |
| 93 | (OppositeCoordinates.CM.coordinates E L.coordinates) f hgood u hu)) |
| 94 | |
| 95 | theorem exists_bound (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places)) : |
| 96 | ∃ N : ℕ, 0 < N ∧ ∀ (q : ℕ) [Fact q.Prime], Nat.Coprime q N → |
| 97 | ∀ (f : E →+* ℚ_[q]) (u : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.SL3 q), u ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q → |
| 98 | FactorTheta.CM.action E L f (u, 1) φ = φ := by |
| 99 | apply PrimeBounds.CM.combine _ _ _ (projective_bound E L φ) |
| 100 | (QadicIntegral.CM.exists_good_bound E (OppositeCoordinates.CM.coordinates E L.coordinates)) |
| 101 | intro q _ hf hg f |
| 102 | exact IntegralScalar.CM.fixed q |
| 103 | (restrictLeft (FactorTheta.CM.action E L f)) φ |
| 104 | (active_line E L f φ (hg f) (hf f)) |
| 105 | |
| 106 | end CM |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ProjectiveSphericalBound |