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.ProjectiveAwayFixed |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ReferenceScalarCalibration |
| 3 | |
| 4 | /-! # Reference Away Fixed -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ReferenceAwayFixed.CM |
| 11 | |
| 12 | /-! Literal away fixedness on a matched reference cover with its own |
| 13 | marked lattice. The test and source theta construction are unchanged. -/ |
| 14 | |
| 15 | open scoped Classical _root_.NumberField _root_.Matrix _root_.Manifold |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.FactorTheta.CM.RationalWeilFactorization |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.RationalFactorProjection.CM |
| 19 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ProjectiveAwayFixed.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CoverFactor.CM |
| 20 | |
| 21 | set_option backward.isDefEq.respectTransparency false |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | set_option cleanup.letToHave false |
| 24 | |
| 25 | theorem reference_action_pair_scalar {F G H V : Type*} [Field F] |
| 26 | [Monoid G] [Monoid H] [AddCommGroup V] [Module F V] |
| 27 | (ρ : G × H →* (V ≃ₗ[F] V)) (x : G) (y : H) (v : V) (c : F) |
| 28 | (hx : ρ (x, 1) v = v) (hy : ρ (1, y) v = c • v) : |
| 29 | ρ (x, y) v = c • v := by |
| 30 | have he : (x, y) = (x, 1) * (1, y) := by simp |
| 31 | rw [he, map_mul, LinearEquiv.mul_apply, hy, map_smul, hx] |
| 32 | |
| 33 | theorem reference_theta_input_ne_zero |
| 34 | (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 35 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 36 | (L : GeometricSource.CM.LinePeriod E B places d) (φ : GeometricSource.CM.FiniteInput (GeometricSource.CM.Positions E places)) |
| 37 | (hne : ∃ z ∈ B.domain, ∃ ξ, GeometricSource.CM.thetaOneForm E L φ z ξ ≠ 0) : |
| 38 | Theta.Weil.CM.finiteWeilInput φ ≠ 0 := by |
| 39 | intro hz |
| 40 | obtain ⟨z, _hzin, ξ, hvalue⟩ := hne |
| 41 | let F := RepresentationTheory.Theta.Geometric.LinearTheta.thetaOneFormLinear L.period (Theta.Projection.CM.projection E L) |
| 42 | have he := congrArg (fun ψ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places) => F ψ z ξ) hz |
| 43 | have hzero : F 0 z ξ = 0 := congrArg (fun t => t z ξ) (map_zero F) |
| 44 | exact hvalue ((Theta.Projection.CM.canonical_oneForm_eq_source E L φ z ξ).symm.trans |
| 45 | (he.trans hzero)) |
| 46 | |
| 47 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 48 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 49 | (L : GeometricSource.CM.LinePeriod E B places d) {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hb : P.b = B.b) |
| 50 | (hΛ : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.FullStableLattice P.lattice) |
| 51 | {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) |
| 52 | {J : Type*} [Fintype J] [DecidableEq J] [Submodule.IsLattice ℚ P.lattice] |
| 53 | (b : Module.Basis J ℤ P.lattice) (N : ℕ) (hN : 0 < N) |
| 54 | |
| 55 | theorem principal |
| 56 | (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 57 | (ha : FactorTheta.CM.RationalWeilFactorization.away E L f g ∈ MarkedAwayLevel.CM.level E L P hb f b N hN) |
| 58 | (hu : RationalFactorProjection.CM.activeLocal E f g ∈ ProjectiveAwayFixed.CM.activeLevel E L P hb f b N hN) : |
| 59 | (CoverFactor.CM.withLattice E B P.lattice hΛ.1 hΛ.2.1 hΛ.2.2).principalLevel N |
| 60 | (Matrix.SpecialLinearGroup.toLin' g.val) := by |
| 61 | apply ReferenceScalarCalibration.CM.principal E L P hΛ hb b N hN g |
| 62 | have he : PELFiniteGroup.CM.pel E |
| 63 | (OppositeCoordinates.CM.coordinates E L.coordinates) P hb |
| 64 | (RationalLocal.CM.finiteHom E (OppositeCoordinates.CM.coordinates E L.coordinates) g) = |
| 65 | ProjectiveAwayFixed.CM.pelProduct E L P hb f (RationalFactorProjection.CM.activeLocal E f g, 1) * ProjectiveAwayFixed.CM.pelProduct E L P hb f (1, FactorTheta.CM.RationalWeilFactorization.away E L f g) := by |
| 66 | exact (congrArg (PELFiniteGroup.CM.pel E |
| 67 | (OppositeCoordinates.CM.coordinates E L.coordinates) P hb) |
| 68 | (IntrinsicActiveClosure.CM.Intrinsic.rational E L f g)).symm.trans |
| 69 | (ProjectiveAwayFixed.CM.pelProduct_pair E L P hb f (RationalFactorProjection.CM.activeLocal E f g) (FactorTheta.CM.RationalWeilFactorization.away E L f g)) |
| 70 | have hu' : ProjectiveAwayFixed.CM.pelProduct E L P hb f (RationalFactorProjection.CM.activeLocal E f g, 1) ∈ P.adelicPrincipalLevel N := hu.1 |
| 71 | have ha' : ProjectiveAwayFixed.CM.pelProduct E L P hb f (1, FactorTheta.CM.RationalWeilFactorization.away E L f g) ∈ P.adelicPrincipalLevel N := |
| 72 | (congrArg (fun t : P.FiniteSpecialUnitary => t ∈ P.adelicPrincipalLevel N) |
| 73 | (ProjectiveAwayFixed.CM.pelProduct_away E L P hb f (FactorTheta.CM.RationalWeilFactorization.away E L f g))).mpr ha |
| 74 | exact (congrArg (fun t : P.FiniteSpecialUnitary => t ∈ P.adelicPrincipalLevel N) he).mpr |
| 75 | ((P.adelicPrincipalLevel N).mul_mem hu' ha') |
| 76 | |
| 77 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ReferenceAwayFixed.CM |
| 78 | |
| 79 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ReferenceAwayFixed |
| 80 | |
| 81 | /-! Literal away fixedness on a matched reference cover with its own |
| 82 | marked lattice. The test and source theta construction are unchanged. -/ |
| 83 | |
| 84 | attribute [local instance 2000] Subgroup.toGroup Prod.instGroup |
| 85 | open scoped Classical _root_.NumberField _root_.Matrix _root_.Manifold |
| 86 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 87 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.FactorTheta.CM.RationalWeilFactorization |
| 88 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.RationalFactorProjection.CM |
| 89 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ProjectiveAwayFixed.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CoverFactor.CM |
| 90 | |
| 91 | namespace CM |
| 92 | |
| 93 | set_option backward.isDefEq.respectTransparency false |
| 94 | set_option backward.isDefEq.respectTransparency.types false |
| 95 | set_option cleanup.letToHave false |
| 96 | |
| 97 | private theorem scalar_of_mul {F V : Type*} [Field F] [AddCommGroup V] [Module F V] |
| 98 | {S T U : V ≃ₗ[F] V} (v : V) (c : F) (h : S = T * U) |
| 99 | (ht : T v = v) (hu : U v = c • v) : S v = c • v := by |
| 100 | rw [h, LinearEquiv.mul_apply, hu, map_smul, ht] |
| 101 | |
| 102 | private def restrictRight {A B G : Type*} [Group A] [Group B] [Group G] |
| 103 | (f : A × B →* G) : B →* G := f.comp (MonoidHom.inr A B) |
| 104 | |
| 105 | variable (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 106 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 107 | (L : GeometricSource.CM.LinePeriod E B places d) {s : ℕ} (P : AbelianModuli.ReferenceFamily.Datum.RankThreePELDatum E s) (hb : P.b = B.b) |
| 108 | (hΛ : NumberTheory.ArithmeticGroups.Data.CongruenceLevel.FullStableLattice P.lattice) |
| 109 | {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) |
| 110 | |
| 111 | local instance referenceAwayGroup : Group (FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 112 | Subgroup.toGroup (FactorTheta.CM.RationalWeilFactorization.Away E L f) |
| 113 | local instance referenceAwayMonoid : Monoid (FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 114 | (referenceAwayGroup E L f).toMonoid |
| 115 | local instance referenceAwayMulOneClass : MulOneClass (FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 116 | (referenceAwayGroup E L f).toMulOneClass |
| 117 | local instance referenceSourceMulOneClass : |
| 118 | MulOneClass (Matrix.SpecialLinearGroup (Fin 3) ℚ_[q] × FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 119 | (show Group (Matrix.SpecialLinearGroup (Fin 3) ℚ_[q] × FactorTheta.CM.RationalWeilFactorization.Away E L f) |
| 120 | from Prod.instGroup).toMulOneClass |
| 121 | |
| 122 | private theorem native_action_pair (u : Matrix.SpecialLinearGroup (Fin 3) ℚ_[q]) |
| 123 | (a : FactorTheta.CM.RationalWeilFactorization.Away E L f) : FactorTheta.CM.action E L f (u, a) = |
| 124 | FactorTheta.CM.action E L f (u, 1) * FactorTheta.CM.action E L f (1, a) := by |
| 125 | simpa only [mul_one, one_mul] using FactorTheta.CM.action_mul E L f u 1 1 a |
| 126 | |
| 127 | variable {J : Type*} [Fintype J] [DecidableEq J] [Submodule.IsLattice ℚ P.lattice] |
| 128 | (b : Module.Basis J ℤ P.lattice) (N : ℕ) (hN : 0 < N) |
| 129 | |
| 130 | theorem fixed (φ : GeometricSource.CM.FiniteInput (GeometricSource.CM.Positions E places)) |
| 131 | (hK : P.adelicPrincipalLevel N ≤ |
| 132 | (ProjectiveLevel.CM.level E L P hb (Theta.Weil.CM.finiteWeilInput φ)).toSubgroup) |
| 133 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (π : B.Domain → X.analyticSpace) |
| 134 | (hπ : (CoverFactor.CM.withLattice E B P.lattice hΛ.1 hΛ.2.1 hΛ.2.2).IsBallCover N X π) |
| 135 | (ω : AlgebraicTopology.DeRham.Comparison.ManifoldPureClasses.pureClosedManifoldForms X.analyticModel X.analyticSpace 1 0) |
| 136 | (hω : GeometricSource.CM.RepresentsTheta E L φ X π ω) |
| 137 | (hne : ∃ z ∈ B.domain, ∃ ξ, GeometricSource.CM.thetaOneForm E L φ z ξ ≠ 0) |
| 138 | (hactive : ∀ u ∈ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralSL3 q, |
| 139 | FactorTheta.CM.action E L f (u, 1) (Theta.Weil.CM.finiteWeilInput φ) = |
| 140 | Theta.Weil.CM.finiteWeilInput φ) : |
| 141 | ∀ a ∈ MarkedAwayLevel.CM.level E L P hb f b N hN, |
| 142 | FactorTheta.CM.action E L f (1, a) (Theta.Weil.CM.finiteWeilInput φ) = |
| 143 | Theta.Weil.CM.finiteWeilInput φ := by |
| 144 | let ψ := Theta.Weil.CM.finiteWeilInput φ |
| 145 | have hψ : ψ ≠ 0 := reference_theta_input_ne_zero E L φ hne |
| 146 | let ρ := restrictRight (FactorTheta.CM.action E L f) |
| 147 | have hline : ∀ a ∈ MarkedAwayLevel.CM.level E L P hb f b N hN, |
| 148 | ∃ c : ℂˣ, ρ a ψ = (c : ℂ) • ψ := |
| 149 | ProjectiveLevel.CM.away_line E L P hb f b N hN ψ hK |
| 150 | have hfixed (g : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 151 | (ha : FactorTheta.CM.RationalWeilFactorization.away E L f g ∈ MarkedAwayLevel.CM.level E L P hb f b N hN) |
| 152 | (hu : RationalFactorProjection.CM.activeLocal E f g ∈ ProjectiveAwayFixed.CM.activeLevel E L P hb f b N hN) : |
| 153 | ρ (FactorTheta.CM.RationalWeilFactorization.away E L f g) ψ = ψ := by |
| 154 | let c : ℂˣ := Classical.choose (hline (FactorTheta.CM.RationalWeilFactorization.away E L f g) ha) |
| 155 | have hc : ρ (FactorTheta.CM.RationalWeilFactorization.away E L f g) ψ = (c : ℂ) • ψ := |
| 156 | Classical.choose_spec (hline (FactorTheta.CM.RationalWeilFactorization.away E L f g) ha) |
| 157 | have hs : WeilData.CM.finiteAction E L g ψ = (c : ℂ) • ψ := |
| 158 | (FactorTheta.CM.rational_action E L f g ψ).symm.trans |
| 159 | (scalar_of_mul ψ (c : ℂ) |
| 160 | (native_action_pair E L f (RationalFactorProjection.CM.activeLocal E f g) (FactorTheta.CM.RationalWeilFactorization.away E L f g)) (hactive _ hu.2) hc) |
| 161 | have hc1 := ReferenceScalarCalibration.CM.scalar_one E L P hΛ φ X N π hπ ω hω hne g |
| 162 | (principal E L P hb hΛ f b N hN g ha hu) c hs |
| 163 | exact hc.trans ((congrArg (fun z : ℂ => z • ψ) hc1).trans (one_smul ℂ ψ)) |
| 164 | exact CMExtraction.DenseAwayFixed.TestTransport.dense_away_level_fixed (RationalAwayTopology.CM.rational E L f) |
| 165 | (RationalDensity.CM.dense E L f) |
| 166 | (RationalAwayTopology.CM.away_surjective E L f) |
| 167 | (CMExtraction.Commutators.Local.sl3_commutator_eq_top (K := Padic q)) |
| 168 | (MarkedAwayLevel.CM.level E L P hb f b N hN) ρ ψ hψ hline |
| 169 | (ProjectiveAwayFixed.CM.activeLevel E L P hb f b N hN) hfixed |
| 170 | |
| 171 | end CM |
| 172 | |
| 173 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.ReferenceAwayFixed |
| 174 | |
| 175 | end |
| 176 | |
| 177 | end OAI |