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 Mathlib |
| 2 | import OAI.AlgebraicGeometry.ComplexMultiplication.Hodge.MapDescent |
| 3 | |
| 4 | /-! # Hecke Characters -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.HeckeCharacters.CM.Projectors |
| 11 | |
| 12 | /-! |
| 13 | # Constructing CMExtraction's projectors from the Commuting decomposition |
| 14 | |
| 15 | The projectors are the coordinate maps of the internal direct sum, not |
| 16 | extra supplied data. Their Hodge compatibility is derived from the actual |
| 17 | operators preserving both Hodge pieces. Restricting the finite index set |
| 18 | to summands occurring in theta vectors constructs the active decomposition. |
| 19 | -/ |
| 20 | |
| 21 | open scoped Classical BigOperators |
| 22 | open OAI.AlgebraicGeometry.ComplexMultiplication.Hodge.MapDescent.CM |
| 23 | |
| 24 | variable {K V I : Type*} [Field K] [AddCommGroup V] [Module K V] [DecidableEq I] |
| 25 | |
| 26 | /-- The coordinate projector associated to an internal direct sum. -/ |
| 27 | def projector (S : I → Submodule K V) (hS : DirectSum.IsInternal S) (i : I) : |
| 28 | Module.End K V := |
| 29 | (S i).subtype.comp ((DirectSum.component K I (fun j => S j) i).comp |
| 30 | (LinearEquiv.ofBijective (DirectSum.coeLinearMap S) hS).symm.toLinearMap) |
| 31 | |
| 32 | theorem projector_mem (S : I → Submodule K V) (hS : DirectSum.IsInternal S) |
| 33 | (i : I) (x : V) : projector S hS i x ∈ S i := |
| 34 | ((LinearEquiv.ofBijective (DirectSum.coeLinearMap S) hS).symm x i).property |
| 35 | |
| 36 | theorem projector_of_mem (S : I → Submodule K V) (hS : DirectSum.IsInternal S) |
| 37 | (i : I) {x : V} (hx : x ∈ S i) : projector S hS i x = x := by |
| 38 | change ((LinearEquiv.ofBijective (DirectSum.coeLinearMap S) hS).symm x i : V) = x |
| 39 | rw [hS.ofBijective_coeLinearMap_of_mem hx] |
| 40 | |
| 41 | theorem projector_of_mem_ne (S : I → Submodule K V) (hS : DirectSum.IsInternal S) |
| 42 | {i j : I} (hij : j ≠ i) {x : V} (hx : x ∈ S j) : projector S hS i x = 0 := by |
| 43 | change ((LinearEquiv.ofBijective (DirectSum.coeLinearMap S) hS).symm x i : V) = 0 |
| 44 | rw [hS.ofBijective_coeLinearMap_of_mem_ne hij hx] |
| 45 | rfl |
| 46 | |
| 47 | theorem projector_idempotent (S : I → Submodule K V) (hS : DirectSum.IsInternal S) |
| 48 | (i : I) : (projector S hS i).comp (projector S hS i) = projector S hS i := by |
| 49 | ext x |
| 50 | exact projector_of_mem S hS i (projector_mem S hS i x) |
| 51 | |
| 52 | theorem projector_mul_ne (S : I → Submodule K V) (hS : DirectSum.IsInternal S) |
| 53 | {i j : I} (hji : j ≠ i) : projector S hS i * projector S hS j = 0 := by |
| 54 | ext x |
| 55 | exact projector_of_mem_ne S hS hji (projector_mem S hS j x) |
| 56 | |
| 57 | theorem projector_range (S : I → Submodule K V) (hS : DirectSum.IsInternal S) |
| 58 | (i : I) : LinearMap.range (projector S hS i) = S i := by |
| 59 | apply le_antisymm |
| 60 | · rintro _ ⟨x, rfl⟩ |
| 61 | exact projector_mem S hS i x |
| 62 | · intro x hx |
| 63 | exact ⟨x, projector_of_mem S hS i hx⟩ |
| 64 | |
| 65 | theorem sum_projector [Fintype I] (S : I → Submodule K V) (hS : DirectSum.IsInternal S) |
| 66 | (x : V) : ∑ i, projector S hS i x = x := by |
| 67 | let e := LinearEquiv.ofBijective (DirectSum.coeLinearMap S) hS |
| 68 | calc |
| 69 | _ = DirectSum.coeLinearMap S |
| 70 | (∑ i, DirectSum.of (fun j => S j) i (e.symm x i)) := by |
| 71 | simp only [map_sum, DirectSum.coeLinearMap_of] |
| 72 | rfl |
| 73 | _ = DirectSum.coeLinearMap S (e.symm x) := by |
| 74 | congr 1 |
| 75 | simpa using DirectSum.sum_univ_of (e.symm x) |
| 76 | _ = x := e.apply_symm_apply x |
| 77 | |
| 78 | /-- Every operator preserving each summand commutes with its coordinate projectors. -/ |
| 79 | theorem projector_commutes [Fintype I] (S : I → Submodule K V) (hS : DirectSum.IsInternal S) |
| 80 | (T : Module.End K V) (hT : ∀ i x, x ∈ S i → T x ∈ S i) (i : I) : |
| 81 | Commute (projector S hS i) T := by |
| 82 | apply LinearMap.ext |
| 83 | intro x |
| 84 | change projector S hS i (T x) = T (projector S hS i x) |
| 85 | calc |
| 86 | _ = projector S hS i (T (∑ j, projector S hS j x)) := by |
| 87 | rw [sum_projector] |
| 88 | _ = ∑ j, projector S hS i (T (projector S hS j x)) := by |
| 89 | simp only [map_sum] |
| 90 | _ = projector S hS i (T (projector S hS i x)) := by |
| 91 | apply Finset.sum_eq_single i |
| 92 | · intro j _ hji |
| 93 | exact projector_of_mem_ne S hS hji (hT j _ (projector_mem S hS j x)) |
| 94 | · simp |
| 95 | _ = T (projector S hS i x) := |
| 96 | projector_of_mem S hS i (hT i _ (projector_mem S hS i x)) |
| 97 | |
| 98 | def jointSpace {J : Type*} (T : J → Module.End K V) (χ : J → K) : Submodule K V := |
| 99 | ⨅ j, (T j).genEigenspace (χ j) ⊤ |
| 100 | |
| 101 | /-- The independence and spanning clauses of Commuting give the internal |
| 102 | decomposition after zero summands are removed. Commuting's finiteness clause |
| 103 | then supplies a Fintype instance for this very index set. -/ |
| 104 | theorem joint_internal_of_Commuting {J : Type*} |
| 105 | (T : J → Module.End K V) |
| 106 | (h_Commuting_independent : iSupIndep (jointSpace T)) |
| 107 | (h_Commuting_span : (⨆ χ, jointSpace T χ) = ⊤) : |
| 108 | DirectSum.IsInternal |
| 109 | (fun χ : {χ : J → K // jointSpace T χ ≠ ⊥} => jointSpace T χ.val) := |
| 110 | DirectSum.isInternal_ne_bot_iff.mpr |
| 111 | (DirectSum.isInternal_submodule_of_iSupIndep_of_iSup_eq_top |
| 112 | h_Commuting_independent h_Commuting_span) |
| 113 | |
| 114 | /-- Commuting's relevant clauses follow from the existing simultaneous generalized |
| 115 | eigenspace theorems; no diagonalizability assumption is needed. -/ |
| 116 | theorem joint_finite_and_internal [IsAlgClosed K] [FiniteDimensional K V] |
| 117 | {J : Type*} (T : J → Module.End K V) |
| 118 | (hcomm : ∀ j k, Commute (T j) (T k)) : |
| 119 | Set.Finite {χ : J → K | jointSpace T χ ≠ ⊥} ∧ |
| 120 | DirectSum.IsInternal |
| 121 | (fun χ : {χ : J → K // jointSpace T χ ≠ ⊥} => jointSpace T χ.val) := by |
| 122 | have hi : iSupIndep (jointSpace T) := |
| 123 | Module.End.independent_iInf_maxGenEigenspace_of_forall_mapsTo T |
| 124 | (fun i j => Module.End.mapsTo_maxGenEigenspace_of_comm (hcomm j i).eq) |
| 125 | have hs : (⨆ χ, jointSpace T χ) = ⊤ := |
| 126 | Module.End.iSup_iInf_maxGenEigenspace_eq_top_of_iSup_maxGenEigenspace_eq_top_of_commute |
| 127 | T (fun i j _ => hcomm i j) (fun i => (T i).iSup_maxGenEigenspace_eq_top) |
| 128 | exact ⟨Submodule.finite_ne_bot_of_iSupIndep hi, joint_internal_of_Commuting T hi hs⟩ |
| 129 | |
| 130 | theorem jointSpace_stable_of_commutes {J : Type*} |
| 131 | (T : J → Module.End K V) (χ : J → K) (Q : Module.End K V) |
| 132 | (hQ : ∀ j, Commute (T j) Q) {x : V} (hx : x ∈ jointSpace T χ) : |
| 133 | Q x ∈ jointSpace T χ := by |
| 134 | simp only [jointSpace, Submodule.mem_iInf] at hx ⊢ |
| 135 | intro j |
| 136 | exact Module.End.mapsTo_genEigenspace_of_comm (hQ j) (χ j) ⊤ (hx j) |
| 137 | |
| 138 | /-- Different joint characters have disjoint generalized eigenspaces. -/ |
| 139 | theorem jointSpace_disjoint {J : Type*} (T : J → Module.End K V) |
| 140 | {χ ψ : J → K} (hne : χ ≠ ψ) : Disjoint (jointSpace T χ) (jointSpace T ψ) := by |
| 141 | have hex : ∃ j, χ j ≠ ψ j := by |
| 142 | by_contra h |
| 143 | apply hne |
| 144 | funext j |
| 145 | exact not_ne_iff.mp (fun hj => h ⟨j, hj⟩) |
| 146 | obtain ⟨j, hj⟩ := hex |
| 147 | exact ((T j).disjoint_genEigenspace hj ⊤ ⊤).mono |
| 148 | (iInf_le (fun k => (T k).genEigenspace (χ k) ⊤) j) |
| 149 | (iInf_le (fun k => (T k).genEigenspace (ψ k) ⊤) j) |
| 150 | |
| 151 | omit [DecidableEq I] in |
| 152 | /-- A finite spectral decomposition that spans the ambient space contains |
| 153 | the whole joint eigenspaces, not just unspecified subspaces of them. -/ |
| 154 | theorem ranges_eq_jointSpaces [Fintype I] {J : Type*} |
| 155 | (T : J → Module.End K V) (χ : I → J → K) |
| 156 | (hχ : Function.Injective χ) (P : I → Module.End K V) |
| 157 | (hspan : ∀ x, ∑ i, P i x = x) |
| 158 | (hrange : ∀ i, LinearMap.range (P i) ≤ jointSpace T (χ i)) |
| 159 | (hcomm : ∀ i j, Commute (P i) (T j)) : |
| 160 | ∀ i, LinearMap.range (P i) = jointSpace T (χ i) := by |
| 161 | intro i |
| 162 | apply le_antisymm (hrange i) |
| 163 | intro x hx |
| 164 | have hother : ∀ j, j ≠ i → P j x = 0 := by |
| 165 | intro j hji |
| 166 | have hj := hrange j (LinearMap.mem_range_self (P j) x) |
| 167 | have hi := jointSpace_stable_of_commutes T (χ i) (P j) |
| 168 | (fun k => (hcomm j k).symm) hx |
| 169 | exact Submodule.disjoint_def.mp (jointSpace_disjoint T (hχ.ne hji)) _ hj hi |
| 170 | have heq : ∑ j, P j x = P i x := by |
| 171 | apply Finset.sum_eq_single i |
| 172 | · intro j _ hji |
| 173 | exact hother j hji |
| 174 | · simp |
| 175 | exact ⟨x, heq.symm.trans (hspan x)⟩ |
| 176 | |
| 177 | /-- Characterize the coordinate projector by its action on every summand. -/ |
| 178 | theorem projector_unique [Fintype I] |
| 179 | (S : I → Submodule K V) (hS : DirectSum.IsInternal S) |
| 180 | (i : I) (Q : Module.End K V) |
| 181 | (hself : ∀ x ∈ S i, Q x = x) |
| 182 | (hother : ∀ j, j ≠ i → ∀ x ∈ S j, Q x = 0) : |
| 183 | Q = projector S hS i := by |
| 184 | apply LinearMap.ext |
| 185 | intro x |
| 186 | calc |
| 187 | Q x = Q (∑ j, projector S hS j x) := by rw [sum_projector] |
| 188 | _ = ∑ j, Q (projector S hS j x) := map_sum _ _ _ |
| 189 | _ = Q (projector S hS i x) := by |
| 190 | apply Finset.sum_eq_single i |
| 191 | · intro j _ hji |
| 192 | exact hother j hji _ (projector_mem S hS j x) |
| 193 | · simp |
| 194 | _ = projector S hS i x := hself _ (projector_mem S hS i x) |
| 195 | |
| 196 | section Hodge |
| 197 | |
| 198 | variable {U J : Type*} [AddCommGroup U] [Module ℚ U] |
| 199 | |
| 200 | /-- Spectral projectors preserve Hodge type because the Hecke operators do. -/ |
| 201 | theorem joint_projector_hodge [Fintype I] |
| 202 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) |
| 203 | (T : J → Module.End ℂ (ComplexMultiplication.WeightOne.CM.Complexification U)) |
| 204 | (χ : I → J → ℂ) |
| 205 | (h_Commuting : DirectSum.IsInternal (fun i => jointSpace T (χ i))) |
| 206 | (hT : ∀ j, T j ∈ ComplexMultiplication.Hodge.MapDescent.CM.hodgeHomSubspace H H) (i : I) : |
| 207 | projector (fun j => jointSpace T (χ j)) h_Commuting i ∈ ComplexMultiplication.Hodge.MapDescent.CM.hodgeHomSubspace H H := by |
| 208 | let Q := H.holomorphic.projection H.antiholomorphic H.complementary |
| 209 | have hQid : IsIdempotentElem Q := |
| 210 | Submodule.isIdempotentElem_projection H.complementary |
| 211 | have hQT : ∀ j, Commute Q (T j) := by |
| 212 | intro j |
| 213 | apply (LinearMap.IsIdempotentElem.commute_iff hQid).mpr |
| 214 | rw [Submodule.range_projection, Submodule.ker_projection] |
| 215 | exact hT j |
| 216 | have hstable : ∀ j x, x ∈ jointSpace T (χ j) → Q x ∈ jointSpace T (χ j) := by |
| 217 | intro j x hx |
| 218 | exact jointSpace_stable_of_commutes T (χ j) Q (fun k => (hQT k).symm) hx |
| 219 | have hc := (projector_commutes (fun j => jointSpace T (χ j)) h_Commuting Q hstable i).symm |
| 220 | have hpreserves := (LinearMap.IsIdempotentElem.commute_iff hQid).mp hc |
| 221 | rw [Submodule.range_projection, Submodule.ker_projection] at hpreserves |
| 222 | exact hpreserves |
| 223 | |
| 224 | end Hodge |
| 225 | |
| 226 | /-- The active set is selected by actual nonzero components of theta classes. -/ |
| 227 | def Active {Φ : Type*} (S : I → Submodule K V) (hS : DirectSum.IsInternal S) |
| 228 | (theta : Φ → V) := {i : I // ∃ φ, projector S hS i (theta φ) ≠ 0} |
| 229 | |
| 230 | instance [Fintype I] {Φ : Type*} (S : I → Submodule K V) (hS : DirectSum.IsInternal S) |
| 231 | (theta : Φ → V) : Fintype (Active S hS theta) := by |
| 232 | unfold Active |
| 233 | infer_instance |
| 234 | |
| 235 | theorem active_occurs {Φ : Type*} (S : I → Submodule K V) |
| 236 | (hS : DirectSum.IsInternal S) (theta : Φ → V) (i : Active S hS theta) : |
| 237 | ∃ φ, projector S hS i.val (theta φ) ≠ 0 := i.property |
| 238 | |
| 239 | /-- Discarding unused spectral summands preserves the actual theta decomposition. -/ |
| 240 | theorem sum_active_projector [Fintype I] {Φ : Type*} (S : I → Submodule K V) |
| 241 | (hS : DirectSum.IsInternal S) (theta : Φ → V) (φ : Φ) : |
| 242 | ∑ i : Active S hS theta, projector S hS i.val (theta φ) = theta φ := by |
| 243 | calc |
| 244 | _ = ∑ i, projector S hS i (theta φ) := by |
| 245 | symm |
| 246 | apply Finset.sum_congr_set |
| 247 | {i : I | ∃ ψ, projector S hS i (theta ψ) ≠ 0} |
| 248 | (fun i => projector S hS i (theta φ)) |
| 249 | (fun i => projector S hS i.val (theta φ)) |
| 250 | · intro i hi |
| 251 | rfl |
| 252 | · intro i hi |
| 253 | by_contra hn |
| 254 | exact hi ⟨φ, hn⟩ |
| 255 | _ = theta φ := sum_projector S hS (theta φ) |
| 256 | |
| 257 | /-- Construct the finite active projectors of an actual rational Hecke action. |
| 258 | The hypotheses concern only the original commuting operators and Hodge |
| 259 | compatibility; every projector and the theta decomposition are conclusions. -/ |
| 260 | theorem construct_rational_hecke_projectors |
| 261 | {U J Φ : Type*} [AddCommGroup U] [Module ℚ U] |
| 262 | (H : ComplexMultiplication.WeightOne.CM.WeightOneHodgeStructure U) (T : J → Module.End ℚ U) |
| 263 | (hcomm : ∀ j k, Commute (T j) (T k)) |
| 264 | (hHodge : ∀ j, ComplexMultiplication.WeightOne.CM.IsHodgeMap H H (T j)) |
| 265 | (theta : Φ → ComplexMultiplication.WeightOne.CM.Complexification U) : |
| 266 | ∃ (n : ℕ) (P : Fin n → Module.End ℂ (ComplexMultiplication.WeightOne.CM.Complexification U)), |
| 267 | (∀ i, (P i).comp (P i) = P i) ∧ |
| 268 | (∀ i, P i ∈ ComplexMultiplication.Hodge.MapDescent.CM.hodgeHomSubspace H H) ∧ |
| 269 | (∀ i, ∃ φ, P i (theta φ) ≠ 0) ∧ |
| 270 | (∀ φ, ∑ i, P i (theta φ) = theta φ) ∧ |
| 271 | (∀ i, ∃ χ : J → ℂ, |
| 272 | LinearMap.range (P i) = jointSpace (fun j => (T j).baseChange ℂ) χ) := by |
| 273 | let : FiniteDimensional ℚ U := H.finiteDimensional |
| 274 | let TC : J → Module.End ℂ (ComplexMultiplication.WeightOne.CM.Complexification U) := fun j => (T j).baseChange ℂ |
| 275 | have hTC : ∀ j k, Commute (TC j) (TC k) := by |
| 276 | intro j k |
| 277 | change (T j).baseChange ℂ * (T k).baseChange ℂ = |
| 278 | (T k).baseChange ℂ * (T j).baseChange ℂ |
| 279 | simpa only [LinearMap.baseChange_mul] using |
| 280 | congrArg (fun f : Module.End ℚ U => f.baseChange ℂ) (hcomm j k).eq |
| 281 | obtain ⟨hfinite, hinternal⟩ := joint_finite_and_internal TC hTC |
| 282 | let Spectrum := {χ : J → ℂ // jointSpace TC χ ≠ ⊥} |
| 283 | let : Fintype Spectrum := hfinite.fintype |
| 284 | let S : Spectrum → Submodule ℂ (ComplexMultiplication.WeightOne.CM.Complexification U) := fun χ => jointSpace TC χ.val |
| 285 | have hinternal' : DirectSum.IsInternal S := |
| 286 | DirectSum.isInternal_submodule_of_iSupIndep_of_iSup_eq_top |
| 287 | hinternal.submodule_iSupIndep hinternal.submodule_iSup_eq_top |
| 288 | let A := Active S hinternal' theta |
| 289 | let e := Fintype.equivFin A |
| 290 | let P : Fin (Fintype.card A) → Module.End ℂ (ComplexMultiplication.WeightOne.CM.Complexification U) := |
| 291 | fun i => projector S hinternal' (e.symm i).val |
| 292 | refine ⟨Fintype.card A, P, ?_, ?_, ?_, ?_, ?_⟩ |
| 293 | · intro i |
| 294 | exact projector_idempotent S hinternal' (e.symm i).val |
| 295 | · intro i |
| 296 | exact joint_projector_hodge H TC (fun χ : Spectrum => χ.val) hinternal' |
| 297 | (fun j => (ComplexMultiplication.Hodge.MapDescent.CM.baseChange_mem_hodgeHomSubspace_iff H H (T j)).mpr (hHodge j)) |
| 298 | (e.symm i).val |
| 299 | · intro i |
| 300 | exact active_occurs S hinternal' theta (e.symm i) |
| 301 | · intro φ |
| 302 | calc |
| 303 | _ = ∑ i : A, projector S hinternal' i.val (theta φ) := |
| 304 | Equiv.sum_comp e.symm (fun i : A => projector S hinternal' i.val (theta φ)) |
| 305 | _ = theta φ := sum_active_projector S hinternal' theta φ |
| 306 | · intro i |
| 307 | exact ⟨(e.symm i).val.val, projector_range S hinternal' (e.symm i).val⟩ |
| 308 | |
| 309 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.HeckeCharacters.CM.Projectors |
| 310 | |
| 311 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.HeckeCharacters.CM |
| 312 | |
| 313 | /-! Nonzero joint generalized eigenspaces of a commutative algebra action |
| 314 | carry actual algebra characters. Multiplicativity follows from commuting |
| 315 | generalized eigenvectors; it is not an additional spectral hypothesis. -/ |
| 316 | |
| 317 | open _root_.Module.End |
| 318 | |
| 319 | variable {K V : Type*} [Field K] [AddCommGroup V] [Module K V] |
| 320 | |
| 321 | theorem zero_genEigenspace_le_mul (f g : Module.End K V) (h : Commute f g) |
| 322 | (k : ℕ∞) : f.genEigenspace 0 k ≤ (g * f).genEigenspace 0 k := by |
| 323 | intro x hx |
| 324 | simp only [mem_genEigenspace, zero_smul, sub_zero, LinearMap.mem_ker] at hx ⊢ |
| 325 | obtain ⟨n, hn, hx⟩ := hx |
| 326 | refine ⟨n, hn, ?_⟩ |
| 327 | rw [h.symm.mul_pow, Module.End.mul_apply, hx, map_zero] |
| 328 | |
| 329 | theorem genEigenspace_inf_le_mul (f g : Module.End K V) (μ ν : K) |
| 330 | (h : Commute f g) : |
| 331 | f.genEigenspace μ ⊤ ⊓ g.genEigenspace ν ⊤ ≤ |
| 332 | (f * g).genEigenspace (μ * ν) ⊤ := by |
| 333 | let a := g * (f - μ • 1) |
| 334 | let b := μ • (g - ν • 1) |
| 335 | have hfg : Commute (f - μ • 1) g := |
| 336 | h.sub_left (Algebra.commute_algebraMap_left μ g) |
| 337 | have ha : f.genEigenspace μ ⊤ ≤ a.genEigenspace 0 ⊤ := by |
| 338 | have hz : f.genEigenspace μ ⊤ = (f - μ • 1).genEigenspace 0 ⊤ := by |
| 339 | simp only [Module.End.genEigenspace, zero_smul, sub_zero] |
| 340 | rw [hz] |
| 341 | exact zero_genEigenspace_le_mul _ _ hfg ⊤ |
| 342 | have hb : g.genEigenspace ν ⊤ ≤ b.genEigenspace 0 ⊤ := by |
| 343 | have hz : g.genEigenspace ν ⊤ = (g - ν • 1).genEigenspace 0 ⊤ := by |
| 344 | simp only [Module.End.genEigenspace, zero_smul, sub_zero] |
| 345 | rw [hz] |
| 346 | simpa only [mul_zero] using genEigenspace_le_smul (g - ν • 1) 0 μ ⊤ |
| 347 | have hab : Commute a b := by |
| 348 | exact ((Commute.refl g).mul_left hfg).sub_right |
| 349 | (Algebra.commute_algebraMap_right ν a) |>.smul_right μ |
| 350 | have heq : a + b = f * g - (μ * ν) • 1 := by |
| 351 | dsimp [a, b] |
| 352 | rw [mul_sub, smul_sub, mul_smul_comm, mul_one, smul_smul, h.eq.symm] |
| 353 | abel |
| 354 | have hadd := genEigenspace_inf_le_add a b 0 0 ⊤ ⊤ hab |
| 355 | have hshift : (f * g - (μ * ν) • 1).genEigenspace 0 ⊤ = |
| 356 | (f * g).genEigenspace (μ * ν) ⊤ := by |
| 357 | simp only [Module.End.genEigenspace, zero_smul, sub_zero] |
| 358 | simpa only [zero_add, top_add, heq, hshift] using |
| 359 | (inf_le_inf ha hb).trans hadd |
| 360 | |
| 361 | variable {H : Type*} [CommRing H] |
| 362 | |
| 363 | theorem character_scalar (T : H →+* Module.End K V) (χ : H → K) |
| 364 | (hχ : Projectors.jointSpace T χ ≠ ⊥) |
| 365 | (a : H) (c : K) (ha : T a = c • 1) : χ a = c := by |
| 366 | by_contra hne |
| 367 | have ht : (T a).genEigenspace c ⊤ = ⊤ := by |
| 368 | rw [ha] |
| 369 | apply top_unique |
| 370 | intro x _ |
| 371 | simp only [mem_genEigenspace, sub_self, LinearMap.mem_ker] |
| 372 | exact ⟨1, le_top, by simp⟩ |
| 373 | apply hχ |
| 374 | apply eq_bot_iff.mpr |
| 375 | have hd := (T a).disjoint_genEigenspace hne ⊤ ⊤ |
| 376 | rw [ht, disjoint_top] at hd |
| 377 | exact (iInf_le (fun h => (T h).genEigenspace (χ h) ⊤) a).trans hd.le |
| 378 | |
| 379 | theorem character_mul (T : H →+* Module.End K V) (χ : H → K) |
| 380 | (hχ : Projectors.jointSpace T χ ≠ ⊥) (a b : H) : |
| 381 | χ (a * b) = χ a * χ b := by |
| 382 | by_contra hne |
| 383 | have hcomm : Commute (T a) (T b) := (Commute.all a b).map T |
| 384 | have hle : Projectors.jointSpace T χ ≤ |
| 385 | (T (a * b)).genEigenspace (χ a * χ b) ⊤ := by |
| 386 | rw [map_mul] |
| 387 | exact (le_inf (iInf_le _ a) (iInf_le _ b)).trans |
| 388 | (genEigenspace_inf_le_mul _ _ _ _ hcomm) |
| 389 | apply hχ |
| 390 | apply eq_bot_iff.mpr |
| 391 | exact (le_inf (iInf_le _ (a * b)) hle).trans |
| 392 | ((T (a * b)).disjoint_genEigenspace hne ⊤ ⊤).le_bot |
| 393 | |
| 394 | /-- The same function used to index the joint spaces is a ring character. -/ |
| 395 | def jointRingCharacter (T : H →+* Module.End K V) (χ : H → K) |
| 396 | (hχ : Projectors.jointSpace T χ ≠ ⊥) : H →+* K where |
| 397 | toFun := χ |
| 398 | map_one' := character_scalar T χ hχ 1 1 (by simp) |
| 399 | map_mul' := character_mul T χ hχ |
| 400 | map_zero' := character_scalar T χ hχ 0 0 (by simp) |
| 401 | map_add' := map_add_of_iInf_genEigenspace_ne_bot_of_commute T χ ⊤ hχ |
| 402 | (fun a b => (Commute.all a b).map T) |
| 403 | |
| 404 | /-- Rational Hecke characters satisfy the exact algebra-homomorphism |
| 405 | interface required by GeometricComparison, without changing the original eigenvalues. -/ |
| 406 | def jointCharacter [Algebra ℚ H] [CharZero K] |
| 407 | (T : H →+* Module.End K V) (χ : H → K) |
| 408 | (hχ : Projectors.jointSpace T χ ≠ ⊥) : H →ₐ[ℚ] K := |
| 409 | (jointRingCharacter T χ hχ).toRatAlgHom |
| 410 | |
| 411 | theorem jointCharacter_apply [Algebra ℚ H] [CharZero K] |
| 412 | (T : H →+* Module.End K V) (χ : H → K) |
| 413 | (hχ : Projectors.jointSpace T χ ≠ ⊥) (h : H) : |
| 414 | jointCharacter T χ hχ h = χ h := rfl |
| 415 | |
| 416 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.HeckeCharacters.CM |
| 417 | |
| 418 | end |
| 419 | |
| 420 | end OAI |