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.IntrinsicActiveLift |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.FactorTheta |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ProductRepresentationExt |
| 4 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.SmoothExtensionElimination |
| 5 | |
| 6 | /-! # Factor Smoothness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.FactorSmoothness |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original source active/away representation equals the smooth |
| 13 | native extension. In particular its actual away stabilizers are open. -/ |
| 14 | |
| 15 | attribute [local instance 2000] Subgroup.toGroup Prod.instGroup |
| 16 | open scoped Classical _root_.NumberField |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GeometricSource.CM |
| 18 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.FactorTheta.CM.RationalWeilFactorization |
| 19 | |
| 20 | namespace CM |
| 21 | |
| 22 | private theorem functions_of_active_and_rational |
| 23 | {R A B H : Type*} [MulOneClass A] [MulOneClass B] [Group H] |
| 24 | (r : R → A × B) (hb : Function.Surjective (fun g => (r g).2)) |
| 25 | (S T : A × B → H) (hSmul : ∀ a b, S (a * b) = S a * S b) |
| 26 | (hTmul : ∀ a b, T (a * b) = T a * T b) |
| 27 | (hr : ∀ g, S (r g) = T (r g)) (ha : ∀ a, S (a, 1) = T (a, 1)) : S = T := by |
| 28 | have haway (b : B) : S (1, b) = T (1, b) := by |
| 29 | obtain ⟨g, hg⟩ := hb b |
| 30 | have hp : ((r g).1, (1 : B)) * (1, b) = r g := by |
| 31 | apply Prod.ext |
| 32 | · simp |
| 33 | · simpa using hg.symm |
| 34 | apply mul_left_cancel (a := S ((r g).1, 1)) |
| 35 | calc |
| 36 | _ = S (r g) := (hSmul _ _).symm.trans (congrArg S hp) |
| 37 | _ = T (r g) := hr g |
| 38 | _ = T ((r g).1, 1) * T (1, b) := (congrArg T hp.symm).trans (hTmul _ _) |
| 39 | _ = _ := congrArg (fun h : H => h * T (1, b)) (ha (r g).1).symm |
| 40 | funext x |
| 41 | obtain ⟨a, b⟩ := x |
| 42 | have hp : (a, b) = (a, (1 : B)) * (1, b) := by simp |
| 43 | rw [hp, hSmul, hTmul, ha, haway] |
| 44 | |
| 45 | private theorem smooth_of_function_eq {G H A V : Type*} |
| 46 | [TopologicalSpace G] [TopologicalSpace H] |
| 47 | (act : A → V → V) (rho : H → A) |
| 48 | (hrho : ∀ v : V, IsOpen {h | act (rho h) v = v}) |
| 49 | (f : G → H) (hf : Continuous f) (sigma : G → A) |
| 50 | (he : sigma = fun g => rho (f g)) (v : V) : |
| 51 | IsOpen {g | act (sigma g) v = v} := by |
| 52 | subst sigma |
| 53 | exact (hrho v).preimage hf |
| 54 | |
| 55 | local instance factorAwayGroup (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 56 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 57 | (L : GeometricSource.CM.LinePeriod E B places d) |
| 58 | {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) : Group (FactorTheta.CM.RationalWeilFactorization.Away E L f) := Subgroup.toGroup (FactorTheta.CM.RationalWeilFactorization.Away E L f) |
| 59 | local instance factorAwayMulOneClass (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 60 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 61 | (L : GeometricSource.CM.LinePeriod E B places d) |
| 62 | {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) : MulOneClass (FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 63 | SubmonoidClass.toMulOneClass (FactorTheta.CM.RationalWeilFactorization.Away E L f) |
| 64 | local instance factorSourceMulOneClass (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 65 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 66 | (L : GeometricSource.CM.LinePeriod E B places d) |
| 67 | {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) : |
| 68 | MulOneClass (Matrix.SpecialLinearGroup (Fin 3) ℚ_[q] × FactorTheta.CM.RationalWeilFactorization.Away E L f) := |
| 69 | (show Group (Matrix.SpecialLinearGroup (Fin 3) ℚ_[q] × FactorTheta.CM.RationalWeilFactorization.Away E L f) from Prod.instGroup).toMulOneClass |
| 70 | |
| 71 | theorem active_action (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 72 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 73 | (L : GeometricSource.CM.LinePeriod E B places d) |
| 74 | {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) |
| 75 | (u : Matrix.SpecialLinearGroup (Fin 3) ℚ_[q]) |
| 76 | (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places)) : |
| 77 | FactorTheta.CM.action E L f (u, 1) φ = |
| 78 | (WeilData.CM.weilData E places).finite.action |
| 79 | (ReferenceActiveWeil.CM.Reference.lift E L.coordinates f u) φ := by |
| 80 | change (WeilData.CM.weilData E places).finite.action |
| 81 | (ReferenceActiveWeil.CM.Reference.lift E L.coordinates f u * 1) φ = _ |
| 82 | rw [mul_one] |
| 83 | |
| 84 | private theorem native_mul (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 85 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 86 | (L : GeometricSource.CM.LinePeriod E B places d) |
| 87 | (ρ : SourceFinite.Product.CM.FiniteGroup E (OppositeCoordinates.CM.coordinates E L.coordinates) →* |
| 88 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places) ≃ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places))) |
| 89 | {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) |
| 90 | (u v : Matrix.SpecialLinearGroup (Fin 3) ℚ_[q]) (b c : FactorTheta.CM.RationalWeilFactorization.Away E L f) : |
| 91 | ρ (IntrinsicActiveClosure.CM.Intrinsic.assemble E L f (u * v, b * c)) = |
| 92 | ρ (IntrinsicActiveClosure.CM.Intrinsic.assemble E L f (u, b)) * |
| 93 | ρ (IntrinsicActiveClosure.CM.Intrinsic.assemble E L f (v, c)) := |
| 94 | (congrArg ρ ((IntrinsicActiveClosure.CM.Intrinsic.assemble E L f).map_mul' |
| 95 | (u, b) (v, c))).trans |
| 96 | (ρ.map_mul' (IntrinsicActiveClosure.CM.Intrinsic.assemble E L f (u, b)) |
| 97 | (IntrinsicActiveClosure.CM.Intrinsic.assemble E L f (v, c))) |
| 98 | |
| 99 | private theorem rational_values (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 100 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 101 | (L : GeometricSource.CM.LinePeriod E B places d) |
| 102 | (ρ : SourceFinite.Product.CM.FiniteGroup E (OppositeCoordinates.CM.coordinates E L.coordinates) →* |
| 103 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places) ≃ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places))) |
| 104 | (hr : ρ.comp (SourceAdelic.ThetaRationalTheta.CM.rational E L) = WeilData.CM.finiteAction E L) |
| 105 | {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) |
| 106 | (γ : Geometry.ComplexBall.ArithmeticQuotientEquationsData.RationalSU B.b) |
| 107 | (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places)) : |
| 108 | FactorTheta.CM.action E L f (RationalAwayTopology.CM.rational E L f γ) φ = |
| 109 | ρ (IntrinsicActiveClosure.CM.Intrinsic.assemble E L f |
| 110 | (RationalAwayTopology.CM.rational E L f γ)) φ := by |
| 111 | have he := congrArg ρ (IntrinsicActiveClosure.CM.Intrinsic.rational E L f γ) |
| 112 | have hv := (DFunLike.congr_fun he φ).trans (RationalOscillator.CM.action E L ρ hr γ φ) |
| 113 | exact (FactorTheta.CM.rational_action E L f γ φ).trans hv.symm |
| 114 | |
| 115 | private theorem active_values (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 116 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 117 | (L : GeometricSource.CM.LinePeriod E B places d) |
| 118 | (ρ : SourceFinite.Product.CM.FiniteGroup E (OppositeCoordinates.CM.coordinates E L.coordinates) →* |
| 119 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places) ≃ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places))) |
| 120 | (hρ : ∀ φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places), IsOpen {g | ρ g φ = φ}) |
| 121 | (hr : ρ.comp (SourceAdelic.ThetaRationalTheta.CM.rational E L) = WeilData.CM.finiteAction E L) |
| 122 | {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) |
| 123 | (u : Matrix.SpecialLinearGroup (Fin 3) ℚ_[q]) |
| 124 | (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places)) : |
| 125 | FactorTheta.CM.action E L f (u, 1) φ = |
| 126 | ρ (IntrinsicActiveClosure.CM.Intrinsic.assemble E L f (u, 1)) φ := |
| 127 | (active_action E L f u φ).trans |
| 128 | (IntrinsicActiveLift.CM.Intrinsic.source_action E L ρ hρ hr f u φ).symm |
| 129 | |
| 130 | theorem hom (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 131 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 132 | (L : GeometricSource.CM.LinePeriod E B places d) |
| 133 | (ρ : SourceFinite.Product.CM.FiniteGroup E (OppositeCoordinates.CM.coordinates E L.coordinates) →* |
| 134 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places) ≃ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places))) |
| 135 | (hρ : ∀ φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places), IsOpen {g | ρ g φ = φ}) |
| 136 | (hr : ρ.comp (SourceAdelic.ThetaRationalTheta.CM.rational E L) = WeilData.CM.finiteAction E L) |
| 137 | {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) : |
| 138 | (fun g : Matrix.SpecialLinearGroup (Fin 3) ℚ_[q] × FactorTheta.CM.RationalWeilFactorization.Away E L f => |
| 139 | FactorTheta.CM.action E L f g) = |
| 140 | (fun g => ρ (IntrinsicActiveClosure.CM.Intrinsic.assemble E L f g)) := by |
| 141 | apply functions_of_active_and_rational |
| 142 | (fun γ => RationalAwayTopology.CM.rational E L f γ) |
| 143 | (RationalAwayTopology.CM.away_surjective E L f) |
| 144 | · rintro ⟨a₁, a₂⟩ ⟨b₁, b₂⟩ |
| 145 | exact FactorTheta.CM.action_mul E L f a₁ b₁ a₂ b₂ |
| 146 | · rintro ⟨a₁, a₂⟩ ⟨b₁, b₂⟩ |
| 147 | exact native_mul E L ρ f a₁ b₁ a₂ b₂ |
| 148 | · intro γ |
| 149 | apply LinearEquiv.ext |
| 150 | intro φ |
| 151 | exact rational_values E L ρ hr f γ φ |
| 152 | · intro u |
| 153 | apply LinearEquiv.ext |
| 154 | intro φ |
| 155 | exact active_values E L ρ hρ hr f u φ |
| 156 | |
| 157 | theorem product_smooth (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 158 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 159 | (L : GeometricSource.CM.LinePeriod E B places d) |
| 160 | (ρ : SourceFinite.Product.CM.FiniteGroup E (OppositeCoordinates.CM.coordinates E L.coordinates) →* |
| 161 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places) ≃ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places))) |
| 162 | (hρ : ∀ φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places), IsOpen {g | ρ g φ = φ}) |
| 163 | (hr : ρ.comp (SourceAdelic.ThetaRationalTheta.CM.rational E L) = WeilData.CM.finiteAction E L) |
| 164 | {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) |
| 165 | (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places)) : |
| 166 | IsOpen {g : Matrix.SpecialLinearGroup (Fin 3) ℚ_[q] × FactorTheta.CM.RationalWeilFactorization.Away E L f | |
| 167 | FactorTheta.CM.action E L f g φ = φ} := by |
| 168 | exact smooth_of_function_eq |
| 169 | (fun (a : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places) ≃ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places)) φ => a φ) |
| 170 | (fun g => ρ g) hρ |
| 171 | (fun g => IntrinsicActiveClosure.CM.Intrinsic.assemble E L f g) |
| 172 | (IntrinsicActiveClosure.CM.Intrinsic.continuous E L f) |
| 173 | (fun g => FactorTheta.CM.action E L f g) |
| 174 | (hom E L ρ hρ hr f) φ |
| 175 | |
| 176 | theorem away_smooth (E : IntermediateField ℚ ℂ) [NumberField E] [NumberField.IsCMField E] |
| 177 | {B : GeometricSource.CM.BallDatum E} {places : GeometricSource.CM.Places E} {d : Gal(E/ℚ) → Bool} |
| 178 | (L : GeometricSource.CM.LinePeriod E B places d) |
| 179 | (ρ : SourceFinite.Product.CM.FiniteGroup E (OppositeCoordinates.CM.coordinates E L.coordinates) →* |
| 180 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places) ≃ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places))) |
| 181 | (hρ : ∀ φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places), IsOpen {g | ρ g φ = φ}) |
| 182 | (hr : ρ.comp (SourceAdelic.ThetaRationalTheta.CM.rational E L) = WeilData.CM.finiteAction E L) |
| 183 | {q : ℕ} [Fact q.Prime] (f : E →+* ℚ_[q]) |
| 184 | (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz (GeometricSource.CM.Positions E places)) : |
| 185 | IsOpen {b : FactorTheta.CM.RationalWeilFactorization.Away E L f | FactorTheta.CM.action E L f (1, b) φ = φ} := |
| 186 | (product_smooth E L ρ hρ hr f φ).preimage (continuous_const.prodMk continuous_id) |
| 187 | |
| 188 | end CM |
| 189 | |
| 190 | end |
| 191 | |
| 192 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Source.FactorSmoothness |