Riemann hypothesis: the Lean proof, cleaned up together
The 2026 Lean proof of the Riemann hypothesis and GRH, machine-checked by others, not refereed, no word from Clay; cleaned up together: more readable, faster to build, the theorems unchanged

| 1 | module |
| 2 | |
| 3 | import Mathlib.Algebra.Order.Star.Real |
| 4 | import Mathlib.Topology.Algebra.Group.Units |
| 5 | import TauCeti.FieldTheory.Galois.Basic |
| 6 | import TauCeti.NumberTheory.NumberField.Units.Signature.Integer |
| 7 | public import Lib.GaloisRep.Main.SelmerModules |
| 8 | public import Lib.Weil.Construction.WeilData |
| 9 | import Lib.Adelic.Adeles.LocalFactors |
| 10 | import Lib.Adelic.Adeles.StrongApproximation |
| 11 | import Lib.Adelic.Witt.WittTheorem |
| 12 | import Lib.ClassField.Global.AlbertBrauerHasseNoether |
| 13 | import Lib.ClassField.Global.ArtinMap |
| 14 | import Lib.ClassField.Global.ArtinReciprocity |
| 15 | import Lib.ClassField.Global.NormTheorems |
| 16 | |
| 17 | /-! |
| 18 | # CM fields: complex conjugation, invariant ideles and splitting characters |
| 19 | |
| 20 | This file treats a CM field `L` over its maximal real subfield `L⁺`. The chosen complex conjugation |
| 21 | `c = New.cmConj` of `Ω` acts on the Galois group `Gal(Ω/E)` of a CM field `E` by `g ↦ c g c`, and on |
| 22 | the places of `Ω`. |
| 23 | |
| 24 | ## Main definitions and results |
| 25 | |
| 26 | * `New.Cohomology.upsilon_eq_quadraticIdeleChar`: on the ideles fixed by conjugation (the ideles of |
| 27 | `L⁺`), a splitting character is the quadratic character `η` of `L/L⁺` |
| 28 | (`New.Cohomology.quadraticIdeleChar`), which is `1` on the ideles `a z z̄` with `a = ā` |
| 29 | (`New.Cohomology.IsRealTimesNorm`) and `-1` on the others. |
| 30 | * `New.nonempty_splittingChar`: a splitting character exists when `E` contains a primitive 5040-th |
| 31 | root of unity and every root of unity of `E` is `δ / δ̄` for a unit `δ` of `𝓞 E` with |
| 32 | `∏ w, Φ w δ = 1`. |
| 33 | * `New.artinMap_star`, `New.IsPlaceOver.conjPlace_star`, `New.IsFrob.conjPlace_conjGal`, |
| 34 | `New.conjGal_mem_inertiaGroup_iff`: conjugation is compatible with the Artin map, places, |
| 35 | Frobenius elements and inertia. |
| 36 | * `New.IsFromU1.apply_idOrConjInv`, `New.IsFromU1.eq_one_of_mem_decompGroup`, |
| 37 | `New.IsFromU1.eq_one_of_mem_inertiaAbove`: a character `χ` with `χ (Art x) = η (x / x̄)` |
| 38 | (`New.IsFromU1 S I χ`) is invariant under `g ↦ (c g c)⁻¹`, trivial on decomposition groups above |
| 39 | `S` and unramified outside `I` and its conjugates. |
| 40 | |
| 41 | Notions from other files: |
| 42 | * `New.SplittingChar L`: a unitary Hecke character `υ` of `L` with `υ x̄ = (υ x)⁻¹` that is |
| 43 | `∏ τ, x_τ / |x_τ|` on the ideles whose finite part is a unit; `υ.atUniformizer w` is its value at |
| 44 | the chosen uniformiser at the finite place `w`. |
| 45 | * `New.Ω`: an algebraic closure of `ℚ`; the fields `E` with a Galois group `Gal(Ω/E)` carry an |
| 46 | embedding in it (`New.EmbeddedNumberField`). |
| 47 | * `New.IsFromU1 S I χ`: `χ` is locally constant and `χ (Art x) = η (x / x̄)` for a character `η` of |
| 48 | the finite ideles that is trivial on `Eˣ` and on the ideles that are units off `S ∪ S̄` and `≡ 1` |
| 49 | at the places of `I` off `S ∪ S̄`. |
| 50 | |
| 51 | ## Relation to the literature |
| 52 | |
| 53 | Known result: Type A₀ Hecke characters and extension of a CM field's quadratic character. The |
| 54 | results on `New.IsFromU1` concern characters of the norm-one torus of a CM field that are tamely |
| 55 | ramified off `S ∪ S̄`. A splitting character extends the quadratic character and is everywhere |
| 56 | unramified of weight one; such an extension exists under the hypotheses of |
| 57 | `New.nonempty_splittingChar`, but not for every CM field. Source: A. Weil, On a certain type of |
| 58 | characters of the idèle-class group of an algebraic number-field, Tokyo–Nikko symposium 1955 (1956); |
| 59 | exposition A. Raghuram, Notes on the arithmetic of Hecke L-functions, arXiv:2207.03399, §4. |
| 60 | |
| 61 | See also `Lib.ClassField.Global.AlbertBrauerHasseNoether` and `Lib.ClassField.Places.LocalFields`. |
| 62 | -/ |
| 63 | |
| 64 | @[expose] public section |
| 65 | |
| 66 | /-! |
| 67 | ## Invariant ideles and splitting characters at inert places |
| 68 | |
| 69 | Here `L⁺ = maximalRealSubfield L`, `star` (written `z ↦ z̄`) is complex conjugation on `L`, its |
| 70 | finite adeles `𝔸f L` and its places, `New.CMType` chooses an embedding `Φ w` for each infinite |
| 71 | place `w`, `New.principalIdele` is the diagonal map to the finite ideles, `adeleNorm K L` is the |
| 72 | norm of finite adeles from `L` to `K`, and `finAdeleIncl K L` is base change of finite adeles from |
| 73 | `K` to `L`. For a character `χ` of `Gal(Ω/L⁺)`, `abelianLift χ (artinMap _ b)` is its value at |
| 74 | the Artin symbol of the finite idele `b`, and `IsProGalois (ker χ) L Ω` says that `χ` cuts out |
| 75 | `L`: its kernel is `Gal(Ω/L)`. Finally `0 < c` for `c : ℂ` means that `c` is a positive real |
| 76 | number. |
| 77 | -/ |
| 78 | |
| 79 | namespace New.Cohomology |
| 80 | |
| 81 | open NumberField InfinitePlace Complex ComplexOrder Finset QZChar IsCMField IsTotallyReal |
| 82 | SplittingChar Units Algebra FinPlace Function |
| 83 | |
| 84 | section CMField |
| 85 | |
| 86 | variable {L : Type} [Field L] [NumberField L] [IsCMField L] |
| 87 | |
| 88 | /-- The norm to `L⁺` of a finite adele `y` of `L`, seen in the adeles of `L`, is `y ȳ`. -/ |
| 89 | lemma finAdeleIncl_adeleNorm_eq_mul_star (y : 𝔸f L) : |
| 90 | finAdeleIncl (maximalRealSubfield L) L (adeleNorm (maximalRealSubfield L) L y) = |
| 91 | y * star y := by |
| 92 | -- Both sides are continuous in `y` and agree on the dense subring `L`. |
| 93 | have h_on_L (a : L) : |
| 94 | finAdeleIncl (maximalRealSubfield L) L (adeleNorm (maximalRealSubfield L) L (a : 𝔸f L)) = |
| 95 | (a : 𝔸f L) * star (a : 𝔸f L) := by |
| 96 | simp [norm_maximalRealSubfield_eq_mul_star, Subfield.algebraMap_ofSubfield] |
| 97 | exact denseRange_algebraMap_finAdele.eq |
| 98 | (f := fun y ↦ finAdeleIncl (maximalRealSubfield L) L (adeleNorm (maximalRealSubfield L) L y)) |
| 99 | (g := fun y ↦ y * star y) h_on_L (x := y) |
| 100 | |
| 101 | /-- A property of the identity and of complex conjugation holds on all of `Gal(L/L⁺)`, which has |
| 102 | these two elements only. -/ |
| 103 | lemma gal_maximalReal_induction {P : Gal(L/maximalRealSubfield L) → Prop} (h_one : P 1) |
| 104 | (h_conj : P (complexConj L)) (σ : Gal(L/maximalRealSubfield L)) : P σ := by |
| 105 | rcases Algebra.IsQuadraticExtension.algEquiv_eq_one_or_eq _ L |
| 106 | (complexConj_ne_one L) σ with rfl | rfl |
| 107 | · exact h_one |
| 108 | · exact h_conj |
| 109 | |
| 110 | /-- Base change of finite ideles from `L⁺` to `L` sends `x` times the norm of `z` to `x z z̄`. -/ |
| 111 | lemma map_finAdeleIncl_principalIdele_mul_adeleNorm (x : (maximalRealSubfield L)ˣ) (z : (𝔸f L)ˣ) : |
| 112 | Units.map (finAdeleIncl (maximalRealSubfield L) L).toMonoidHom |
| 113 | (principalIdele x * z.map (adeleNorm (maximalRealSubfield L) L)) = |
| 114 | principalIdele (x.map (maximalRealSubfield L).subtype) * (z * star z) := by |
| 115 | ext1 |
| 116 | simp [finAdeleIncl_adeleNorm_eq_mul_star, Subfield.algebraMap_ofSubfield] |
| 117 | |
| 118 | /-- Galois descent: a finite idele `t` of `L` with `t̄ = t` comes from a finite idele of `L⁺`. -/ |
| 119 | lemma exists_map_finAdeleIncl_eq_of_star_eq {t : (𝔸f L)ˣ} (ht : star t.val = t.val) : |
| 120 | ∃ b : (𝔸f (maximalRealSubfield L))ˣ, |
| 121 | Units.map (finAdeleIncl (maximalRealSubfield L) L).toMonoidHom b = t := by |
| 122 | have lift (u : (𝔸f L)ˣ) (hu : star u = u) : |
| 123 | u.val ∈ (finAdeleIncl (maximalRealSubfield L) L).range := by |
| 124 | apply mem_range_finAdeleIncl_iff.mpr |
| 125 | intro σ |
| 126 | induction σ using gal_maximalReal_induction |
| 127 | · exact adeleMap_id _ |
| 128 | · exact (star_eq_adeleMap _).symm.trans (congrArg Units.val hu) |
| 129 | have ht' : star t = t := Units.ext ht |
| 130 | exact exists_units_map_eq (finAdeleIncl (maximalRealSubfield L) L).toMonoidHom |
| 131 | (adeleMap_injective _) (lift t ht') (lift t⁻¹ (by simp [ht'])) |
| 132 | |
| 133 | /-- For an embedding of `L` in `Ω`, some character `χ` of `Gal(Ω/L⁺)` cuts out `L`: its kernel is |
| 134 | `Gal(Ω/L)`. -/ |
| 135 | lemma exists_char_isProGalois_ker [Algebra L Ω] : |
| 136 | ∃ χ : QZChar Gal(Ω/maximalRealSubfield L), IsProGalois (ker χ) L Ω := |
| 137 | exists_isProGalois_ker_of_isCyclic (isQuadraticExtension L).isCyclic |
| 138 | |
| 139 | /-- Let `χ` cut out `L` over `L⁺`, and let `w = w̄` be a finite place of `L`. Then `χ` does not kill |
| 140 | all local Artin symbols at the place of `L⁺` below `w`, as this place does not split in `L`. -/ |
| 141 | lemma exists_abelianLift_artinAt_ne_one [Algebra L Ω] {χ : QZChar Gal(Ω/maximalRealSubfield L)} |
| 142 | [IsProGalois (ker χ) L Ω] {w : FinPlace L} (hw : star w = w) : |
| 143 | ∃ x : (LocField (w.below (maximalRealSubfield L)))ˣ, |
| 144 | abelianLift χ (artinAt Gal(Ω/maximalRealSubfield L) (w.below (maximalRealSubfield L)) x) ≠ |
| 145 | 1 := by |
| 146 | let K : Subfield L := maximalRealSubfield L |
| 147 | by_contra! h_local |
| 148 | have h_place : IsPlaceOver (placeOver (w.below K)) (w.below K) := |
| 149 | (w.below K).isPlaceOver_placeOver |
| 150 | have h_dec : decompGroup Gal(Ω/K) (placeOver (w.below K)) ≤ ker χ := |
| 151 | (h_place.artinAt_trivial_iff_decompGroup_le χ).mp h_local |
| 152 | -- then `w.below K` splits in `L`, and no nontrivial element of `Gal(L/K)` fixes `w` |
| 153 | obtain ⟨-, h_no_fix : ∀ σ : Gal(L/K), σ ≠ 1 → w.comap (σ : L →+* L) ≠ w⟩ := |
| 154 | h_place.q_eq_and_comap_ne_self_of_decompGroup_le h_dec w rfl |
| 155 | exact h_no_fix (complexConj L) (complexConj_ne_one L) hw |
| 156 | |
| 157 | end CMField |
| 158 | |
| 159 | open TauCeti.GlobalNumberFields in |
| 160 | /-- Every prescribed pattern of signs at the infinite places of a CM number field `L` is attained |
| 161 | by a nonzero element of its maximal real subfield. At each complex embedding `φ` of `L`, the |
| 162 | element `a` is chosen so that `r (mk φ) * φ a` is a positive real number. -/ |
| 163 | lemma exists_maximalRealSubfield_sign_eq {L : Type*} [Field L] [NumberField L] [IsCMField L] |
| 164 | (r : InfinitePlace L → ℤˣ) : |
| 165 | ∃ a : (maximalRealSubfield L)ˣ, ∀ φ : L →+* ℂ, 0 < r (InfinitePlace.mk φ) * φ a.val := by |
| 166 | -- Prescribe the signs at the real places of the maximal real subfield. |
| 167 | let K := maximalRealSubfield L |
| 168 | let s (v : {v : InfinitePlace K // v.IsReal}) := r ((equivInfinitePlace L).symm v.val) |
| 169 | obtain ⟨a, ha⟩ := signHom_surjective s |
| 170 | refine ⟨a, fun φ ↦ ?_⟩ |
| 171 | let ψ : K →+* ℂ := φ.comp K.subtype |
| 172 | have h_real : ComplexEmbedding.IsReal ψ := complexEmbedding_isReal ψ |
| 173 | let v : {v : InfinitePlace K // v.IsReal} := |
| 174 | ⟨InfinitePlace.mk ψ, InfinitePlace.isReal_mk_iff.mpr h_real⟩ |
| 175 | have h_place : v.val = equivInfinitePlace L (InfinitePlace.mk φ) := by |
| 176 | rw [equivInfinitePlace_apply, comap_mk] |
| 177 | rfl |
| 178 | have h_sign : signHom a v = r (InfinitePlace.mk φ) := by |
| 179 | simpa only [s, h_place, Equiv.symm_apply_apply] using congrFun ha v |
| 180 | have h_eval : ((embedding_of_isReal v.property a.val : ℝ) : ℂ) = φ a.val := by |
| 181 | rw [embedding_of_isReal_apply] |
| 182 | exact RingHom.congr_fun (embedding_mk_eq_of_isReal h_real) a.val |
| 183 | rw [← h_eval] |
| 184 | rcases Int.units_eq_one_or (r (InfinitePlace.mk φ)) with hr | hr <;> rw [hr] at h_sign ⊢ |
| 185 | · simpa [Complex.lt_def, -embedding_of_isReal_apply] using |
| 186 | (signHom_apply_eq_one_iff a v).mp h_sign |
| 187 | · simpa [Complex.lt_def, -embedding_of_isReal_apply] using |
| 188 | (signHom_apply_eq_neg_one_iff a v).mp h_sign |
| 189 | |
| 190 | section CMTypeField |
| 191 | |
| 192 | variable {L : Type} [Field L] [CMType L] |
| 193 | |
| 194 | /-- Restricted to `L⁺`, the embeddings of the CM type are all the complex embeddings of `L⁺`, |
| 195 | each once. -/ |
| 196 | lemma bijective_cmType_restrict : |
| 197 | Bijective fun w : InfinitePlace L ↦ (Φ w).comp (maximalRealSubfield L).subtype := by |
| 198 | -- Followed by `mk`, this is the bijection from the infinite places of `L` to those of `L⁺`; and |
| 199 | -- `mk` is injective on the embeddings of `L⁺`, which are all real. |
| 200 | have h_inj : Injective fun φ : maximalRealSubfield L →+* ℂ ↦ mk φ := |
| 201 | LeftInverse.injective fun φ ↦ embedding_mk_eq_of_isReal (complexEmbedding_isReal φ) |
| 202 | have h_comp : (fun φ : maximalRealSubfield L →+* ℂ ↦ mk φ) ∘ |
| 203 | (fun w : InfinitePlace L ↦ (Φ w).comp (maximalRealSubfield L).subtype) = |
| 204 | ⇑(equivInfinitePlace L) := by |
| 205 | funext w |
| 206 | rw [Function.comp_apply, ← comap_mk, mk_Φ] |
| 207 | rfl |
| 208 | refine .of_comp_left ?_ h_inj |
| 209 | rw [h_comp] |
| 210 | exact (equivInfinitePlace L).bijective |
| 211 | |
| 212 | section Character |
| 213 | |
| 214 | variable [Algebra L Ω] |
| 215 | |
| 216 | /-- The sign law for a CM field `L` with an embedding into `Ω`, the algebraic closure of `ℚ`. If |
| 217 | the character `χ` of `Gal(Ω/L⁺)` cuts out `L`, then it kills the Artin symbol of `b ∈ (L⁺)ˣ` |
| 218 | exactly when `∏ w, Φ w b` is positive. -/ |
| 219 | lemma abelianLift_artinMap_eq_one_iff_prod_pos {χ : QZChar Gal(Ω/maximalRealSubfield L)} |
| 220 | [IsProGalois (ker χ) L Ω] (b : (maximalRealSubfield L)ˣ) : |
| 221 | abelianLift χ (artinMap Gal(Ω/maximalRealSubfield L) (principalIdele b)) = 1 ↔ |
| 222 | 0 < ∏ w : InfinitePlace L, Φ w (b.val : L) := by |
| 223 | -- `χ` kills no complex conjugation, as `L` is totally complex, so it kills the symbol of `b` |
| 224 | -- iff the norm of `b` to `ℚ` is positive (`abelianLift_artinMap_principalIdele_eq_one_iff`) |
| 225 | have hχ_conj (c : Gal(Ω/maximalRealSubfield L)) (hc : IsComplexConj c) : χ.val c ≠ 0 := |
| 226 | fun h_zero ↦ hc.false_of_isTotallyComplex (c := (⟨c, h_zero⟩ : ker χ)) |
| 227 | -- `w ↦ Φ w` runs through the embeddings of `L⁺`, so the product is the norm of `b` |
| 228 | have h_prod : ∏ w : InfinitePlace L, Φ w (b.val : L) = |
| 229 | ∏ φ : maximalRealSubfield L →ₐ[ℚ] ℂ, φ b.val := |
| 230 | ((RingHom.equivRatAlgHom (maximalRealSubfield L) ℂ).bijective.comp |
| 231 | bijective_cmType_restrict).prod_comp fun φ ↦ φ b.val |
| 232 | simp [h_prod, abelianLift_artinMap_principalIdele_eq_one_iff hχ_conj, lt_def, |
| 233 | ← norm_eq_prod_embeddings] |
| 234 | |
| 235 | /-- Let `L` be a CM field with an embedding into `Ω`, the algebraic closure of `ℚ`, and `χ` a |
| 236 | character of `Gal(Ω/L⁺)` that cuts out `L`. Let `b` be a finite idele of `L⁺`, and let `s w = ±1` |
| 237 | be signs whose product is `1` exactly when `χ` kills the Artin symbol of `b`. Then `b` is `x` times |
| 238 | a norm from `L`, where `x ∈ (L⁺)ˣ` has the signs `s`. -/ |
| 239 | lemma exists_sign_eq_principalIdele_mul_adeleNorm {χ : QZChar Gal(Ω/maximalRealSubfield L)} |
| 240 | [IsProGalois (ker χ) L Ω] {b : (𝔸f (maximalRealSubfield L))ˣ} {s : InfinitePlace L → ℤˣ} |
| 241 | (hs : abelianLift χ (artinMap Gal(Ω/maximalRealSubfield L) b) = 1 ↔ |
| 242 | ∏ w : InfinitePlace L, s w = 1) : |
| 243 | ∃ (x : (maximalRealSubfield L)ˣ) (y : (𝔸f L)ˣ), |
| 244 | (∀ φ : L →+* ℂ, 0 < s (mk φ) * φ x.val) ∧ |
| 245 | b = principalIdele x * y.map (adeleNorm (maximalRealSubfield L) L) := by |
| 246 | -- The kernel of `f = χ ∘ artinMap` has index two and consists of the totally positive elements |
| 247 | -- times norms. |
| 248 | let K : Subfield L := maximalRealSubfield L |
| 249 | let f : (𝔸f K)ˣ →* Multiplicative QZ := (abelianLift χ).comp (artinMap Gal(Ω/K)) |
| 250 | have h_index : f.ker.index = 2 := |
| 251 | (index_ker_abelianLift_comp_artinMap χ).trans (isQuadraticExtension L).finrank_eq_two |
| 252 | obtain ⟨a, ha_sign⟩ := exists_maximalRealSubfield_sign_eq s |
| 253 | -- by the sign law `f a = 1 ↔ f b = 1`, so `b / a` lies in `f.ker` |
| 254 | have h_prod : 0 < (∏ w, s w : ℤˣ) * ∏ w : InfinitePlace L, Φ w (a.val : L) := by |
| 255 | simpa [mk_Φ, prod_mul_distrib] using univ.prod_pos fun w _ ↦ ha_sign (Φ w) |
| 256 | have h_sign_iff : ∏ w, s w = 1 ↔ 0 < ∏ w : InfinitePlace L, Φ w (a.val : L) := by |
| 257 | rcases Int.units_eq_one_or (∏ w, s w) with h_one | h_neg |
| 258 | · simpa [h_one] using h_prod |
| 259 | · have h_prod_neg : ∏ w : InfinitePlace L, Φ w (a.val : L) < 0 := by simpa [h_neg] using h_prod |
| 260 | simpa [h_neg] using lt_asymm h_prod_neg |
| 261 | have h_mem_ker : b * principalIdele a⁻¹ ∈ f.ker := by |
| 262 | rw [f.ker.mul_mem_iff_of_index_two h_index, map_inv, inv_mem_iff] |
| 263 | exact (hs.trans h_sign_iff).trans (abelianLift_artinMap_eq_one_iff_prod_pos a).symm |
| 264 | obtain ⟨x, z, hx_pos, hxz⟩ := (abelianLift_artinMap_eq_one_iff χ _).mp h_mem_ker |
| 265 | refine ⟨a * x, z, fun φ ↦ ?_, by simp [mul_assoc, ← hxz]⟩ |
| 266 | -- `x` is totally positive, so `a * x` has the signs of `a` |
| 267 | have hφx_pos : 0 < φ (x.val : L) := by |
| 268 | simpa using zero_lt_real.mpr (hx_pos (complexEmbedding_isReal (φ.comp K.subtype)).embedding) |
| 269 | simpa [mul_assoc] using mul_pos (ha_sign φ) hφx_pos |
| 270 | |
| 271 | end Character |
| 272 | |
| 273 | /-- Every finite idele of `L⁺` is an element of `(L⁺)ˣ` times a norm from `L`. -/ |
| 274 | lemma exists_eq_principalIdele_mul_adeleNorm (b : (𝔸f (maximalRealSubfield L))ˣ) : |
| 275 | ∃ (x : (maximalRealSubfield L)ˣ) (y : (𝔸f L)ˣ), |
| 276 | b = principalIdele x * y.map (adeleNorm (maximalRealSubfield L) L) := by |
| 277 | algebraize [Ω.fieldEmb L] |
| 278 | obtain ⟨χ, hχ⟩ := exists_char_isProGalois_ker (L := L) |
| 279 | -- take signs of product `1` if `χ` kills the symbol of `b`, and of product `-1` otherwise |
| 280 | obtain ⟨s, hs⟩ : ∃ s : InfinitePlace L → ℤˣ, |
| 281 | abelianLift χ (artinMap Gal(Ω/maximalRealSubfield L) b) = 1 ↔ ∏ w, s w = 1 := by |
| 282 | by_cases hb : abelianLift χ (artinMap Gal(Ω/maximalRealSubfield L) b) = 1 |
| 283 | · exact ⟨1, by simp [hb]⟩ |
| 284 | · exact ⟨Pi.mulSingle Classical.ofNonempty (-1), by simp [hb]⟩ |
| 285 | obtain ⟨x, y, -, hxy⟩ := exists_sign_eq_principalIdele_mul_adeleNorm hs |
| 286 | exact ⟨x, y, hxy⟩ |
| 287 | |
| 288 | /-- A finite idele `t` of `L` with `t̄ = t` is `x z z̄` with `x ∈ Lˣ` and `z` a finite idele. -/ |
| 289 | lemma exists_eq_principalIdele_mul_mul_star_of_star_eq {t : (𝔸f L)ˣ} (ht : star t.val = t.val) : |
| 290 | ∃ (x : Lˣ) (z : (𝔸f L)ˣ), t = principalIdele x * (z * star z) := by |
| 291 | -- `t` is the base change of a finite idele `b` of `L⁺`, and `b` is `x` times a norm |
| 292 | obtain ⟨b, hb⟩ := exists_map_finAdeleIncl_eq_of_star_eq ht |
| 293 | obtain ⟨x, y, hxy⟩ := exists_eq_principalIdele_mul_adeleNorm b |
| 294 | refine ⟨x.map (maximalRealSubfield L).subtype, y, ?_⟩ |
| 295 | rw [← hb, hxy, map_finAdeleIncl_principalIdele_mul_adeleNorm] |
| 296 | |
| 297 | /-- Given signs `s w = ±1` of product `1`, there are `x ∈ Lˣ` and a finite idele `z` with |
| 298 | `x z z̄ = 1` such that every `φ x` is real with the sign that `s` gives to the place of `φ`. -/ |
| 299 | lemma exists_sign_principalIdele_mul_norm_eq_one {s : InfinitePlace L → ℤˣ} |
| 300 | (hs : ∏ w : InfinitePlace L, s w = 1) : |
| 301 | ∃ (x : Lˣ) (z : (𝔸f L)ˣ), |
| 302 | (∀ φ : L →+* ℂ, 0 < s (mk φ) * φ x.val) ∧ principalIdele x * (z * star z) = 1 := by |
| 303 | algebraize [Ω.fieldEmb L] |
| 304 | obtain ⟨χ, hχ⟩ := exists_char_isProGalois_ker (L := L) |
| 305 | -- `χ` kills the Artin symbol of the idele `1` of `L⁺` |
| 306 | have hs_one : abelianLift χ (artinMap Gal(Ω/maximalRealSubfield L) 1) = 1 ↔ |
| 307 | ∏ w : InfinitePlace L, s w = 1 := by |
| 308 | simpa using hs |
| 309 | obtain ⟨x, y, hx_sign, hxy⟩ := exists_sign_eq_principalIdele_mul_adeleNorm hs_one |
| 310 | have h_one : principalIdele (x.map (maximalRealSubfield L).subtype) * (y * star y) = 1 := by |
| 311 | rw [← map_finAdeleIncl_principalIdele_mul_adeleNorm, ← hxy, map_one] |
| 312 | exact ⟨_, y, hx_sign, h_one⟩ |
| 313 | |
| 314 | /-- A unit fixed by complex conjugation comes from the maximal real subfield. -/ |
| 315 | private lemma exists_map_unit_of_star_eq {a : Lˣ} (ha : star a.val = a.val) : |
| 316 | ∃ u : (maximalRealSubfield L)ˣ, u.map (maximalRealSubfield L).subtype = a := |
| 317 | ⟨mk0 ⟨a.val, mem_maximalRealSubfield_iff_star_eq.mpr ha⟩ (by simp [Subtype.ext_iff]), ext rfl⟩ |
| 318 | |
| 319 | /-- If `a ∈ Lˣ` has `ā = a` and `a z z̄ = 1` for a finite idele `z`, then `∏ w, Φ w a` is |
| 320 | positive. -/ |
| 321 | lemma prod_Φ_pos_of_principalIdele_mul_norm_eq_one {a : Lˣ} {z : (𝔸f L)ˣ} |
| 322 | (ha : star a.val = a.val) (haz : principalIdele a * (z * star z) = 1) : |
| 323 | 0 < ∏ w : InfinitePlace L, Φ w a.val := by |
| 324 | let K : Subfield L := maximalRealSubfield L |
| 325 | algebraize [Ω.fieldEmb L] |
| 326 | obtain ⟨χ, hχ⟩ : ∃ χ : QZChar Gal(Ω/K), IsProGalois (ker χ) L Ω := exists_char_isProGalois_ker |
| 327 | -- `a` comes from `a₀ ∈ Kˣ`, and `a₀` times the norm of `z` is `1`, as base change is injective |
| 328 | obtain ⟨a₀, rfl⟩ := exists_map_unit_of_star_eq ha |
| 329 | have h_one : principalIdele a₀ * z.map (adeleNorm K L) = 1 := by |
| 330 | apply map_injective (f := (finAdeleIncl K L).toMonoidHom) (adeleMap_injective _) |
| 331 | rw [map_finAdeleIncl_principalIdele_mul_adeleNorm, haz, map_one] |
| 332 | -- `χ` kills norms, so it kills the symbol of `a₀` |
| 333 | have h_symbol : abelianLift χ (artinMap Gal(Ω/K) (principalIdele a₀)) = 1 := by |
| 334 | simpa using congrArg (fun y ↦ abelianLift χ (artinMap Gal(Ω/K) y)) h_one |
| 335 | exact (abelianLift_artinMap_eq_one_iff_prod_pos a₀).mp h_symbol |
| 336 | |
| 337 | /-! ### The restriction of a splitting character to the ideles of the real subfield -/ |
| 338 | |
| 339 | section Restriction |
| 340 | |
| 341 | open ComplexConjugate |
| 342 | |
| 343 | variable {E : Type} [Field E] [CMType E] |
| 344 | |
| 345 | variable (E) in |
| 346 | /-- The idele `x` of `E` lies in `F^× N(𝔸_E^×)`, for the maximal real subfield `F` of `E`: it |
| 347 | is `a z z̄` for an element `a` of `E^×` fixed by conjugation and an idele `z` of `E`. Here |
| 348 | `a.map toAdele` is `a` as a principal idele, and `star` is complex conjugation. -/ |
| 349 | def IsRealTimesNorm (x : (𝔸 E)ˣ) : Prop := |
| 350 | ∃ (a : Eˣ) (z : (𝔸 E)ˣ), star (a : E) = a ∧ x = a.map (toAdele (E := E)) * (z * star z) |
| 351 | |
| 352 | open scoped Classical in |
| 353 | variable (E) in |
| 354 | /-- The quadratic character `η` of `E/F`, for the maximal real subfield `F` of `E`. The ideles of |
| 355 | `F` are the ideles of `E` fixed by conjugation; `η` is `1` on `F^× N(𝔸_E^×)` and `-1` on the other |
| 356 | ideles of `F`. Its values at ideles of `E` that conjugation moves are not used. At a finite place |
| 357 | `w = w̄`, `η` is `-1` at some finite idele `t` fixed by conjugation that is `1` at the other finite |
| 358 | places and at infinity (`exists_quadraticIdeleChar_eq_neg_one`). -/ |
| 359 | noncomputable def quadraticIdeleChar (x : (𝔸 E)ˣ) : ℂ := |
| 360 | if IsRealTimesNorm E x then 1 else -1 |
| 361 | |
| 362 | /-- Let `w = w̄` be a finite place of `E`, above the place `v` of the maximal real subfield `F`. The |
| 363 | quadratic character `η` of `E/F` is not trivial on `F_v^×`: it is `-1` at some finite idele `t` that |
| 364 | is fixed by conjugation and has the component `1` at all finite places other than `w`. Here |
| 365 | `finIdeleIncl t` is the idele with finite part `t` and components `1` at infinity. |
| 366 | |
| 367 | This is part of the local description of `η` in class field theory: non-triviality at a non-split |
| 368 | finite place only, without identifying the kernel on `F_v^×` with the local norms. -/ |
| 369 | lemma exists_quadraticIdeleChar_eq_neg_one {w : FinPlace E} (hw : star w = w) : |
| 370 | ∃ t : (𝔸f E)ˣ, star (finIdeleIncl t) = finIdeleIncl t ∧ |
| 371 | (∀ u : FinPlace E, u ≠ w → t.val u = 1) ∧ quadraticIdeleChar E (finIdeleIncl t) = -1 := by |
| 372 | -- Let `χ` cut out `E` over `K = F`, and let `x ∈ F_v^×` have a symbol that `χ` does not kill. |
| 373 | let K : Subfield E := maximalRealSubfield E |
| 374 | algebraize [Ω.fieldEmb E] |
| 375 | obtain ⟨χ, hχ⟩ := exists_char_isProGalois_ker (L := E) |
| 376 | obtain ⟨x, hx⟩ : ∃ x : (LocField (w.below K))ˣ, |
| 377 | abelianLift χ (artinAt Gal(Ω/K) (w.below K) x) ≠ 1 := |
| 378 | exists_abelianLift_artinAt_ne_one hw |
| 379 | -- `t` is the base change of the idele of `x`; only `w` lies above `w.below K` |
| 380 | let t : (𝔸f E)ˣ := Units.map (finAdeleIncl K E).toMonoidHom (locIdele (w.below K) x) |
| 381 | have ht_star : star t.val = t.val := by |
| 382 | have h_mem : t.val ∈ Set.range (finAdeleIncl K E) := ⟨(locIdele (w.below K) x).val, rfl⟩ |
| 383 | exact mem_range_finAdeleIncl_iff.mp h_mem (complexConj E) |
| 384 | have ht_star_idele : star (finIdeleIncl t) = finIdeleIncl t := |
| 385 | Units.ext (Prod.ext (star_one _) ht_star) |
| 386 | suffices h_not : ¬ IsRealTimesNorm E (finIdeleIncl t) by |
| 387 | refine ⟨t, ht_star_idele, fun u hu ↦ ?_, by rw [quadraticIdeleChar, ite_eq_right h_not]⟩ |
| 388 | have h_below : u.below K ≠ w.below K := by |
| 389 | intro h_eq |
| 390 | obtain ⟨σ, rfl⟩ : ∃ σ : Gal(E/K), w.comap (σ : E →+* E) = u := exists_gal_comap_eq h_eq.symm |
| 391 | induction σ using gal_maximalReal_induction |
| 392 | · exact hu rfl |
| 393 | · exact hu hw |
| 394 | change finAdeleIncl K E (locIdele (w.below K) x).val u = 1 |
| 395 | rw [adeleMap_apply _ rfl, locIdele_apply_of_ne h_below, map_one] |
| 396 | -- If `t = a z z̄`, then `a` is positive at infinity, and `χ` kills the symbol of `x`: that of |
| 397 | -- `a` by the sign law, and that of a norm. |
| 398 | rintro ⟨a, z, ha, h_eq⟩ |
| 399 | obtain ⟨a₀, rfl⟩ := exists_map_unit_of_star_eq ha |
| 400 | have h_pos (τ : InfinitePlace E) : 0 < Φ τ (a₀.val : E) := by |
| 401 | have h_inf : (1 : ℂ) = Φ τ (a₀.val : E) * ((z : 𝔸 E).1 τ * star ((z : 𝔸 E).1 τ)) := |
| 402 | congrFun (congrArg (fun y : (𝔸 E)ˣ ↦ (y : 𝔸 E).1) h_eq) τ |
| 403 | rw [eq_inv_of_mul_eq_one_left h_inf.symm, _root_.inv_pos] |
| 404 | exact mul_star_self_pos (IsRegular.of_ne_zero (val_fst_apply_ne_zero z τ)) |
| 405 | let y : (𝔸f E)ˣ := z.map (MonoidHom.snd (InfinitePlace E → ℂ) (𝔸f E)) |
| 406 | have h_fin : locIdele (w.below K) x = principalIdele a₀ * y.map (adeleNorm K E) := by |
| 407 | apply map_injective (f := (finAdeleIncl K E).toMonoidHom) (adeleMap_injective _) |
| 408 | rw [map_finAdeleIncl_principalIdele_mul_adeleNorm] |
| 409 | exact Units.ext (congrArg (fun y : (𝔸 E)ˣ ↦ (y : 𝔸 E).2) h_eq) |
| 410 | have h_symbol : abelianLift χ (artinMap Gal(Ω/K) (principalIdele a₀)) = 1 := |
| 411 | (abelianLift_artinMap_eq_one_iff_prod_pos a₀).mpr (prod_pos fun τ _ ↦ h_pos τ) |
| 412 | apply hx |
| 413 | rw [← artinMap_locIdele, h_fin, map_mul, map_mul, h_symbol, abelianLift_artinMap_adeleNorm, |
| 414 | mul_one] |
| 415 | |
| 416 | /-- If `a z z̄` is fixed by conjugation, for `a ∈ E^×` and a finite idele `z`, then so is `a`. -/ |
| 417 | lemma star_eq_of_star_principalIdele_mul_norm {a : Eˣ} {z : (𝔸f E)ˣ} |
| 418 | (h_star : star (principalIdele a * (z * star z)) = principalIdele a * (z * star z)) : |
| 419 | star (a : E) = a := by |
| 420 | -- Conjugation fixes the norm `z z̄`, a unit, which then cancels. |
| 421 | have h_alg : algebraMap E (𝔸f E) (star (a : E)) * ↑(z * star z) = |
| 422 | algebraMap E (𝔸f E) a * ↑(z * star z) := by |
| 423 | simpa [mul_comm] using congrArg Units.val h_star |
| 424 | exact (algebraMap E (𝔸f E)).injective ((Units.mul_left_inj (z * star z)).mp h_alg) |
| 425 | |
| 426 | /-- A splitting character `υ` is `1` on the ideles `a z z̄` of `IsRealTimesNorm`: it is trivial |
| 427 | on `E^×`, and `υ(z̄) = υ(z)⁻¹`. -/ |
| 428 | lemma upsilon_eq_one_of_isRealTimesNorm [SplittingChar E] {x : (𝔸 E)ˣ} |
| 429 | (hx : IsRealTimesNorm E x) : υ.val x = 1 := by |
| 430 | obtain ⟨a, z, -, rfl⟩ := hx |
| 431 | rw [map_mul, map_mul, υ_star, mul_inv_cancel, mul_one, upsilon_toAdele] |
| 432 | |
| 433 | /-- If a real number `t` has the sign `s = ±1`, then `t / |t| = s` in `ℂ`. -/ |
| 434 | private lemma ofReal_div_norm_eq_of_sign {t : ℝ} {s : ℤˣ} (h_sign : 0 < ((s : ℤ) : ℝ) * t) : |
| 435 | (t : ℂ) / ‖(t : ℂ)‖ = ((s : ℤ) : ℂ) := by |
| 436 | rcases Int.units_eq_one_or s with rfl | rfl |
| 437 | · simp_all [abs_of_pos, ne_of_gt] |
| 438 | · simp_all [abs_of_neg, ne_of_lt] |
| 439 | |
| 440 | /-- Let `r` be an idele of `E` with real components at infinity and finite part `1`, on which the |
| 441 | splitting character `υ` is `1`. Then the signs `s w` of its components at infinity have product |
| 442 | `1`. -/ |
| 443 | private lemma exists_signs_of_upsilon_eq_one [SplittingChar E] {r : (𝔸 E)ˣ} |
| 444 | (h_real : ∀ w : InfinitePlace E, (((r : 𝔸 E).1 w).re : ℂ) = (r : 𝔸 E).1 w) |
| 445 | (hr_fin : (r : 𝔸 E).2 = 1) (h_one : υ.val r = 1) : |
| 446 | ∃ s : InfinitePlace E → ℤˣ, ∏ w : InfinitePlace E, s w = 1 ∧ |
| 447 | ∀ w : InfinitePlace E, 0 < ((s w : ℤ) : ℝ) * ((r : 𝔸 E).1 w).re := by |
| 448 | let s : InfinitePlace E → ℤˣ := fun w ↦ if 0 < ((r : 𝔸 E).1 w).re then 1 else -1 |
| 449 | have h_r_sign (w : InfinitePlace E) : 0 < ((s w : ℤ) : ℝ) * ((r : 𝔸 E).1 w).re := by |
| 450 | have h_ne : ((r : 𝔸 E).1 w).re ≠ 0 := fun h_zero ↦ |
| 451 | val_fst_apply_ne_zero r w (by rw [← h_real w, h_zero, ofReal_zero]) |
| 452 | rcases h_ne.lt_or_gt with h_neg | h_pos |
| 453 | · simp [s, h_neg.not_gt, h_neg] |
| 454 | · simp [s, h_pos] |
| 455 | have h_mem : r.map (MonoidHom.snd (InfinitePlace E → ℂ) (𝔸f E)) ∈ (Ô E).units := by |
| 456 | convert one_mem (Ô E).units |
| 457 | exact Units.ext hr_fin |
| 458 | -- `υ_unit` computes `υ(r) = 1` as the product of the signs |
| 459 | have h_prod : ∏ w : InfinitePlace E, ((s w : ℤ) : ℂ) = 1 := |
| 460 | calc ∏ w : InfinitePlace E, ((s w : ℤ) : ℂ) |
| 461 | = ∏ w : InfinitePlace E, (r : 𝔸 E).1 w / ‖(r : 𝔸 E).1 w‖ := |
| 462 | prod_congr rfl fun w _ ↦ by |
| 463 | simpa [h_real] using (ofReal_div_norm_eq_of_sign (h_r_sign w)).symm |
| 464 | _ = (υ.val r : ℂ) := (υ_unit r h_mem).symm |
| 465 | _ = 1 := by rw [h_one, Circle.coe_one] |
| 466 | refine ⟨s, Units.ext ?_, h_r_sign⟩ |
| 467 | push_cast |
| 468 | exact_mod_cast h_prod |
| 469 | |
| 470 | /-- Let `r` be an idele of `E` fixed by conjugation (an idele of the maximal real subfield), with |
| 471 | finite part `1`, on which the splitting character `υ` is `1`. Then `r = b v v̄` for some `b ∈ E^×` |
| 472 | fixed by conjugation and some idele `v` (`IsRealTimesNorm`). -/ |
| 473 | lemma isRealTimesNorm_of_finPart_eq_one [SplittingChar E] {r : (𝔸 E)ˣ} (hr : star r = r) |
| 474 | (hr_fin : (r : 𝔸 E).2 = 1) (h_one : υ.val r = 1) : IsRealTimesNorm E r := by |
| 475 | -- The components of `r` at infinity are real, and `υ(r) = 1` is the product of their signs. |
| 476 | -- Some `b ∈ E^×` fixed by conjugation has these signs, and `r / b` is `v v̄` for the idele `v` |
| 477 | -- with the square roots of the positive reals `r_w / b_w` at infinity. |
| 478 | have h_real (w : InfinitePlace E) : (((r : 𝔸 E).1 w).re : ℂ) = (r : 𝔸 E).1 w := by |
| 479 | have h_conj : conj ((r : 𝔸 E).1 w) = (r : 𝔸 E).1 w := by |
| 480 | simpa using congrFun (congrArg (fun y : (𝔸 E)ˣ ↦ (y : 𝔸 E).1) hr) w |
| 481 | exact conj_eq_iff_re.mp h_conj |
| 482 | obtain ⟨s, h_prod, h_r_sign⟩ := exists_signs_of_upsilon_eq_one h_real hr_fin h_one |
| 483 | -- some `b ∈ E^×` has the signs `s`, and `b u ū = 1` for a finite idele `u` |
| 484 | obtain ⟨b, u, h_signs, h_u⟩ := exists_sign_principalIdele_mul_norm_eq_one h_prod |
| 485 | have hb : star (b : E) = b := |
| 486 | star_eq_of_star_principalIdele_mul_norm (z := u) (by rw [h_u, star_one]) |
| 487 | have h_b_real (w : InfinitePlace E) : ((Φ w b).re : ℂ) = Φ w b := |
| 488 | conj_eq_iff_re.mp (by rw [starRingEnd_apply, ← map_star_complex, hb]) |
| 489 | have h_b_sign (w : InfinitePlace E) : 0 < ((s w : ℤ) : ℝ) * (Φ w b).re := by |
| 490 | simpa [mk_Φ] using (pos_iff.mp (h_signs (Φ w))).1 |
| 491 | have h_ratio_pos (w : InfinitePlace E) : 0 < ((r : 𝔸 E).1 w).re / (Φ w b).re := by |
| 492 | simpa [mul_div_mul_left] using div_pos (h_r_sign w) (h_b_sign w) |
| 493 | -- `r = b v v̄`, with `v` the square roots of `r / b` at infinity and `u` at the finite places |
| 494 | let q (w : InfinitePlace E) : ℝ := √(((r : 𝔸 E).1 w).re / (Φ w b).re) |
| 495 | have hq_ne (w : InfinitePlace E) : (q w : ℂ) ≠ 0 := |
| 496 | ofReal_ne_zero.mpr (Real.sqrt_ne_zero'.mpr (h_ratio_pos w)) |
| 497 | let v : 𝔸 E := (fun w ↦ (q w : ℂ), (u : 𝔸f E)) |
| 498 | have hv : IsUnit v := |
| 499 | Prod.isUnit_iff.mpr ⟨Pi.isUnit_iff.mpr fun w ↦ (hq_ne w).isUnit, u.isUnit⟩ |
| 500 | have h_inf (w : InfinitePlace E) : |
| 501 | (r : 𝔸 E).1 w = Φ w b * ((q w : ℂ) * conj (q w : ℂ)) := by |
| 502 | have h_ne_b : (Φ w b).re ≠ 0 := right_ne_zero_of_mul (h_b_sign w).ne' |
| 503 | rw [conj_ofReal, ← ofReal_mul, Real.mul_self_sqrt (h_ratio_pos w).le] |
| 504 | nth_rw 1 [← h_real w, ← h_b_real w] |
| 505 | rw [← ofReal_mul, mul_div_cancel₀ _ h_ne_b] |
| 506 | refine ⟨b, hv.unit, hb, Units.ext (Prod.ext (funext h_inf) ?_)⟩ |
| 507 | change (r : 𝔸 E).2 = algebraMap E (𝔸f E) b * ((u : 𝔸f E) * star (u : 𝔸f E)) |
| 508 | rw [hr_fin] |
| 509 | exact congrArg Units.val h_u.symm |
| 510 | |
| 511 | /-- Let `υ` be a splitting character of the CM field `E`: a unitary Hecke character with |
| 512 | `υ x̄ = (υ x)⁻¹` that equals `∏ x_τ / |x_τ|` on ideles whose finite part is a unit of `Ô`. Let `x` |
| 513 | be an idele of `E` fixed by conjugation (an idele of the maximal real subfield) with `υ x = 1`. Then |
| 514 | `x = a z z̄` for some `a ∈ E^×` fixed by conjugation and some idele `z` of `E` |
| 515 | (`IsRealTimesNorm`). -/ |
| 516 | lemma isRealTimesNorm_of_upsilon_eq_one [SplittingChar E] {x : (𝔸 E)ˣ} (hx : star x = x) |
| 517 | (h_one : υ.val x = 1) : IsRealTimesNorm E x := by |
| 518 | -- The finite part of `x` is `a z z̄` with `a ∈ E^×` fixed by conjugation. Divided by |
| 519 | -- `y = a z z̄`, `x` leaves an idele fixed by conjugation with finite part `1`. |
| 520 | let finPart : (𝔸 E)ˣ →* (𝔸f E)ˣ := Units.map (MonoidHom.snd (InfinitePlace E → ℂ) (𝔸f E)) |
| 521 | have h_fin_star : star (finPart x : 𝔸f E) = finPart x := by |
| 522 | simpa [finPart] using congrArg (fun y : (𝔸 E)ˣ ↦ (y : 𝔸 E).2) hx |
| 523 | obtain ⟨a, z, h_t⟩ := exists_eq_principalIdele_mul_mul_star_of_star_eq h_fin_star |
| 524 | have ha : star (a : E) = a := |
| 525 | star_eq_of_star_principalIdele_mul_norm (z := z) (by rw [← h_t]; exact Units.ext h_fin_star) |
| 526 | let ζ : (𝔸 E)ˣ := finIdeleIncl z |
| 527 | let y : (𝔸 E)ˣ := a.map (toAdele (E := E)) * (ζ * star ζ) |
| 528 | have hy : IsRealTimesNorm E y := ⟨a, ζ, ha, rfl⟩ |
| 529 | have hy_star : star y = y := Units.ext (by simp [y, ζ, ha, mul_comm]) |
| 530 | have hr_star : star (x / y) = x / y := by |
| 531 | rw [div_eq_mul_inv, star_mul, star_inv, hx, hy_star, mul_comm] |
| 532 | have hr_fin : finPart (x / y) = 1 := by |
| 533 | rw [map_div, div_eq_one, h_t] |
| 534 | exact Units.ext (by simp [y, ζ, finPart]) |
| 535 | have hr_one : υ.val (x / y) = 1 := by |
| 536 | rw [map_div, h_one, upsilon_eq_one_of_isRealTimesNorm hy, div_one] |
| 537 | obtain ⟨b, ρ, hb, h_r⟩ : IsRealTimesNorm E (x / y) := |
| 538 | isRealTimesNorm_of_finPart_eq_one hr_star (congrArg Units.val hr_fin) hr_one |
| 539 | refine ⟨b * a, ρ * ζ, by simp [hb, ha], ?_⟩ |
| 540 | calc x = x / y * y := (div_mul_cancel x y).symm |
| 541 | _ = (b * a).map (toAdele (E := E)) * (ρ * ζ * star (ρ * ζ)) := by |
| 542 | rw [h_r] |
| 543 | apply Units.ext |
| 544 | simp only [y, Units.val_mul, Units.coe_map, MonoidHom.coe_ofClass, Units.coe_star, map_mul, |
| 545 | star_mul'] |
| 546 | ring |
| 547 | |
| 548 | /-- On an idele `x` of `E` fixed by conjugation, that is, an idele of the maximal real subfield |
| 549 | `F`, a splitting character `υ` equals the quadratic character `η` of `E/F` |
| 550 | (`quadraticIdeleChar`). -/ |
| 551 | theorem upsilon_eq_quadraticIdeleChar [SplittingChar E] {x : (𝔸 E)ˣ} (hx : star x = x) : |
| 552 | (υ.val x : ℂ) = quadraticIdeleChar E x := by |
| 553 | -- `υ(x)² = υ(x) υ(x̄) = 1`, so `υ(x) = ±1`; and `υ(x) = 1` exactly on `F^× N(𝔸_E^×)`. |
| 554 | have h_sq : (υ.val x : ℂ) * υ.val x = 1 := by |
| 555 | have h_mul_star : υ.val x * υ.val (star x) = 1 := by rw [υ_star, mul_inv_cancel] |
| 556 | rw [hx] at h_mul_star |
| 557 | exact_mod_cast congrArg (fun c : Circle ↦ (c : ℂ)) h_mul_star |
| 558 | by_cases h_mem : IsRealTimesNorm E x |
| 559 | · simp [quadraticIdeleChar, h_mem, upsilon_eq_one_of_isRealTimesNorm h_mem] |
| 560 | · have h_ne : (υ.val x : ℂ) ≠ 1 := fun h_one ↦ |
| 561 | h_mem (isRealTimesNorm_of_upsilon_eq_one hx (Circle.ext (h_one.trans Circle.coe_one.symm))) |
| 562 | rw [quadraticIdeleChar, ite_eq_right h_mem] |
| 563 | exact (mul_self_eq_one_iff.mp h_sq).resolve_left h_ne |
| 564 | |
| 565 | /-- Let `E` be a CM field with a CM type, and let `υ` be a splitting character of `E`. That is, `υ` |
| 566 | is a unitary Hecke character with `υ x̄ = (υ x)⁻¹`, and it equals `∏ x_τ / |x_τ|` on ideles whose |
| 567 | finite part is a unit of `Ô`. If `w` is a finite place of `E` with `star w = w` and `ϖ ∈ E_w^×` has |
| 568 | valuation `exp(-1)` (a uniformiser), then `υ` takes the value `-1` on `locFullIdele w ϖ`, the idele |
| 569 | that is `ϖ` at `w` and `1` at every other place. -/ |
| 570 | theorem upsilon_locFullIdele_eq_neg_one_of_star_eq [SplittingChar E] (w : FinPlace E) |
| 571 | (ϖ : (LocField w)ˣ) (hw : star w = w) (hϖ : Valued.v (ϖ : LocField w) = WithZero.exp (-1)) : |
| 572 | (υ.val (locFullIdele w ϖ) : ℂ) = -1 := by |
| 573 | -- `υ` is `η` on the ideles fixed by conjugation, so it is `-1` at some `t` that is `1` off `w`. |
| 574 | obtain ⟨t, ht_star, ht_one, ht⟩ := exists_quadraticIdeleChar_eq_neg_one hw |
| 575 | have h_value : (υ.val (finIdeleIncl t) : ℂ) = -1 := by |
| 576 | rw [upsilon_eq_quadraticIdeleChar ht_star, ht] |
| 577 | -- As `υ` is unramified, its value at `ϖ` is `υ.atUniformizer w`, whose square is `1`, and its |
| 578 | -- value at `t` is a power of this number. |
| 579 | have h_ϖ : (υ.val (locFullIdele w ϖ) : ℂ) = υ.atUniformizer w := by |
| 580 | rw [upsilon_eq_atUniformizer_zpow w (by simp +contextual [locFullIdele])] |
| 581 | simp [locFullIdele, hϖ] |
| 582 | have h_sq : υ.atUniformizer w * υ.atUniformizer w = 1 := by |
| 583 | simpa [hw] using upsilon_atUniformizer_mul_star w |
| 584 | have h_unit (u : FinPlace E) (hu : u ≠ w) : Valued.v ((finIdeleIncl t).val.2 u) = 1 := |
| 585 | (congrArg Valued.v (ht_one u hu)).trans (map_one Valued.v) |
| 586 | rw [h_ϖ] |
| 587 | refine (mul_self_eq_one_iff.mp h_sq).resolve_left fun h_one ↦ ?_ |
| 588 | norm_num [upsilon_eq_atUniformizer_zpow w h_unit, h_one] at h_value |
| 589 | |
| 590 | /-- A splitting character is `-1` at the chosen uniformiser at a finite place `w = w̄`. -/ |
| 591 | lemma upsilon_atUniformizer_eq_neg_one [SplittingChar E] (w : FinPlace E) (hw : star w = w) : |
| 592 | υ.atUniformizer w = -1 := |
| 593 | upsilon_locFullIdele_eq_neg_one_of_star_eq w (uniformizer w) hw (v_uniformizer w) |
| 594 | |
| 595 | end Restriction |
| 596 | |
| 597 | end CMTypeField |
| 598 | |
| 599 | end New.Cohomology |
| 600 | |
| 601 | /-! |
| 602 | ## Existence of a splitting character |
| 603 | |
| 604 | `New.nonempty_splittingChar` constructs a splitting character `New.SplittingChar E` of a CM field |
| 605 | `E` that contains a primitive 5040-th root of unity (`New.HasPrimitiveRoot5040`) and in which every |
| 606 | root of unity is `δ / δ̄` for a unit `δ` of `𝓞 E` with `∏ w, Φ w δ = 1`. |
| 607 | |
| 608 | The adeles `New.𝔸 E` have one factor `ℂ` for each infinite place, in which `E` is embedded by the |
| 609 | chosen embedding `Φ w` of `New.CMType`. |
| 610 | -/ |
| 611 | |
| 612 | section SplittingCharExists |
| 613 | |
| 614 | open NumberField Units Finset Complex ComplexOrder Embeddings New.Cohomology Circle Function |
| 615 | Submonoid |
| 616 | |
| 617 | /-- Suppose that every root of unity of `E` is `δ / δ̄` for a unit `δ` of `𝓞 E` with |
| 618 | `∏ w, Φ w δ = 1`. Let `x = y b b̄` for `y ∈ E^×` and an idele `b` of `E`, where the finite part |
| 619 | of `x` is a unit at every finite place. Then `∏_w x_w / |x_w| = 1`, over the infinite places `w`. -/ |
| 620 | private lemma New.prod_div_norm_eq_one_of_mem_idelesUnitOff {E : Type} [Field E] [CMType E] |
| 621 | [HasPrimitiveRoot5040 E] |
| 622 | (hE : ∀ y : E, IsOfFinOrder y → ∃ δ : (𝓞 E)ˣ, |
| 623 | ∏ w : InfinitePlace E, Φ w (δ : E) = 1 ∧ y * star (δ : E) = δ) |
| 624 | {y : Eˣ} {b x : (𝔸 E)ˣ} (hx_eq : Units.map toAdele.toMonoidHom y * (b * star b) = x) |
| 625 | (hx_unit : x.map (MonoidHom.snd (InfinitePlace E → ℂ) (𝔸f E)) ∈ idelesUnitOff ∅) : |
| 626 | ∏ w : InfinitePlace E, (x : 𝔸 E).1 w / ‖(x : 𝔸 E).1 w‖ = 1 := by |
| 627 | -- `y` and `ȳ` have the same valuations, so `ȳ / y` is a root of unity, `δ / δ̄` by `hE`. Then |
| 628 | -- `a = y δ` is real and the finite part of `a b b̄` is a norm, so `∏ Φ w a > 0` by class field |
| 629 | -- theory for `E/E⁺`. As `b b̄ > 0` at infinity and `∏ Φ w δ = 1`, the product is |
| 630 | -- `∏ Φ w a / |∏ Φ w a| = 1`. |
| 631 | rw [← hx_eq] at hx_unit |
| 632 | have h_val (w : FinPlace E) : w.valuation E (y : E) * |
| 633 | (Valued.v ((b : 𝔸 E).2 w) * Valued.v ((b : 𝔸 E).2 (star w))) = 1 := by |
| 634 | simpa using mem_idelesUnitOff.mp hx_unit w (Set.notMem_empty w) |
| 635 | -- `ȳ / y` is an algebraic integer whose conjugates all have absolute value 1, so a root of unity |
| 636 | have h_int : IsIntegral ℤ (star (y : E) / y) := by |
| 637 | refine algebraMap_mem_Ô.mp (mem_Ô.mpr fun w ↦ ?_) |
| 638 | have h_star : w.valuation E (star (y : E)) * |
| 639 | (Valued.v ((b : 𝔸 E).2 (star w)) * Valued.v ((b : 𝔸 E).2 w)) = 1 := by |
| 640 | simpa using (v_star_apply _ w).trans |
| 641 | (mem_idelesUnitOff.mp hx_unit (star w) (Set.notMem_empty (star w))) |
| 642 | suffices h_ratio : w.valuation E (star (y : E)) / w.valuation E (y : E) ≤ 1 by |
| 643 | simpa using h_ratio |
| 644 | rw [eq_inv_of_mul_eq_one_left h_star, eq_inv_of_mul_eq_one_left (h_val w), mul_comm] |
| 645 | exact div_self_le_one _ |
| 646 | obtain ⟨n, hn_pos, h_pow⟩ := pow_eq_one_of_norm_eq_one E ℂ h_int fun φ ↦ by simp |
| 647 | obtain ⟨δ, hδ_prod, h_yδ⟩ := hE _ (isOfFinOrder_iff_pow_eq_one.mpr ⟨n, hn_pos, h_pow⟩) |
| 648 | -- `a = y δ` is real, and the finite part of `a b b̄`, a real unit, is a norm `t̄ t` |
| 649 | let a : Eˣ := mk0 ((y : E) * δ) (by simp) |
| 650 | have ha_real : star (a : E) = a := by simpa [a, field] using h_yδ |
| 651 | let u : 𝔸f E := (toAdele (a : E) * (b * star b)).2 |
| 652 | have h_fin_star : star u = u := by simp [u, ha_real, mul_comm] |
| 653 | have h_fin_unit (w : FinPlace E) : Valued.v (u w) = 1 := by |
| 654 | simpa [u, a, w.valuation_eq_one_iff_notMem.mpr, w.asIdeal.notMem_of_isUnit] using h_val w |
| 655 | obtain ⟨t, ht⟩ := exists_unit_star_mul_self_eq h_fin_star h_fin_unit |
| 656 | -- So `a z z̄ = 1` for the finite idele `z = b / t`, which forces `0 < ∏ Φ w a` |
| 657 | let z : (𝔸f E)ˣ := |
| 658 | b.map (MonoidHom.snd (InfinitePlace E → ℂ) (𝔸f E)) / t.map (Ô E).subtype.toMonoidHom |
| 659 | have h_az : principalIdele a * (z * star z) = 1 := by |
| 660 | rw [star_div, div_mul_div_comm, mul_div, div_eq_one, Units.ext_iff, eq_comm, mul_comm] |
| 661 | exact ht |
| 662 | have h_pos : 0 < ∏ w : InfinitePlace E, Φ w (a : E) := |
| 663 | prod_Φ_pos_of_principalIdele_mul_norm_eq_one ha_real h_az |
| 664 | -- each factor is that of `Φ w y`, as `b_w b̄_w = ‖b_w‖² > 0`; and `∏ Φ w y = ∏ Φ w a` |
| 665 | have h_factor (w : InfinitePlace E) : |
| 666 | (x : 𝔸 E).1 w / ‖(x : 𝔸 E).1 w‖ = Φ w (y : E) / ‖Φ w (y : E)‖ := by |
| 667 | have hb : (b : 𝔸 E).1 w ≠ 0 := val_fst_apply_ne_zero b w |
| 668 | simp [← hx_eq, mul_conj', field] |
| 669 | have h_prod_a : ∏ w : InfinitePlace E, Φ w (a : E) = ∏ w : InfinitePlace E, Φ w (y : E) := by |
| 670 | simp [a, prod_mul_distrib, hδ_prod] |
| 671 | calc _ = ∏ w : InfinitePlace E, Φ w (y : E) / ‖Φ w (y : E)‖ := prod_congr rfl fun w _ ↦ h_factor w |
| 672 | _ = (∏ w : InfinitePlace E, Φ w (a : E)) / ‖∏ w : InfinitePlace E, Φ w (a : E)‖ := by |
| 673 | rw [prod_div_distrib, h_prod_a, norm_prod, ofReal_prod] |
| 674 | _ = 1 := by rw [norm_of_nonneg' h_pos.le, div_self h_pos.ne'] |
| 675 | |
| 676 | /-- Let `E` be a CM field with a CM type `Φ` (a complex embedding `Φ w` inducing each infinite place |
| 677 | `w`) that contains a primitive 5040-th root of unity (`New.HasPrimitiveRoot5040`). Suppose every |
| 678 | root of unity `y` of `E` (written `IsOfFinOrder y`) equals `δ / δ̄` for some unit `δ` of `𝓞 E` with |
| 679 | `∏ w, Φ w δ = 1`. Then `E` has a splitting character (`New.SplittingChar`), that is, a unitary Hecke |
| 680 | character `υ` of `E` with `υ x̄ = (υ x)⁻¹` that equals `∏ x_τ / |x_τ|` (over the infinite places) on |
| 681 | ideles whose finite part is a unit of `Ô`. -/ |
| 682 | lemma New.nonempty_splittingChar {E : Type} [Field E] [CMType E] [HasPrimitiveRoot5040 E] |
| 683 | (hE : ∀ y : E, IsOfFinOrder y → ∃ δ : (𝓞 E)ˣ, |
| 684 | ∏ w : InfinitePlace E, Φ w (δ : E) = 1 ∧ y * star (δ : E) = δ) : |
| 685 | Nonempty (SplittingChar E) := by |
| 686 | -- Let `S x = ∏ x_w / |x_w|`, `U` the ideles that are units at all finite places, and `R` the |
| 687 | -- group of the `y b b̄` with `y ∈ Eˣ`. Once `S = 1` on `U ∩ R`, the restriction of `S` to `U` |
| 688 | -- extends to a character of the ideles that is trivial on `R`, as the circle is divisible. |
| 689 | have h_ne (x : (𝔸 E)ˣ) (w : InfinitePlace E) : (x : 𝔸 E).1 w ≠ 0 := val_fst_apply_ne_zero x w |
| 690 | -- `S` lies on the unit circle, is multiplicative and is continuous |
| 691 | let phase (x : (𝔸 E)ˣ) : ℂ := ∏ w : InfinitePlace E, (x : 𝔸 E).1 w / ‖(x : 𝔸 E).1 w‖ |
| 692 | have h_phase_mem (x : (𝔸 E)ˣ) : phase x ∈ Submonoid.unitSphere ℂ := by |
| 693 | simp [phase, Submonoid.unitSphere, prod_eq_zero_iff, h_ne] |
| 694 | have h_phase_mul (x y : (𝔸 E)ˣ) : phase (x * y) = phase x * phase y := by |
| 695 | simp [phase, mul_div_mul_comm, prod_mul_distrib] |
| 696 | have h_phase_cont : Continuous fun x : (𝔸 E)ˣ ↦ (⟨phase x, h_phase_mem x⟩ : Circle) := by |
| 697 | fun_prop (disch := exact fun x ↦ ofReal_ne_zero.mpr (norm_ne_zero_iff.mpr (h_ne x _))) |
| 698 | let S : (𝔸 E)ˣ →ₜ* Circle := |
| 699 | ⟨.mk' (fun x ↦ ⟨phase x, h_phase_mem x⟩) fun x y ↦ Subtype.ext (h_phase_mul x y), h_phase_cont⟩ |
| 700 | let U : Subgroup (𝔸 E)ˣ := |
| 701 | (idelesUnitOff ∅).comap (Units.map (MonoidHom.snd (InfinitePlace E → ℂ) (𝔸f E))) |
| 702 | let R : Subgroup (𝔸 E)ˣ := |
| 703 | ((Units.map toAdele.toMonoidHom).coprod (MonoidHom.id (𝔸 E)ˣ * starMulAut.toMonoidHom)).range |
| 704 | have h_glue (x : (𝔸 E)ˣ) (hU : x ∈ U) (hR : x ∈ R) : S x = 1 := by |
| 705 | obtain ⟨⟨y, b⟩, hx_eq : Units.map toAdele.toMonoidHom y * (b * star b) = x⟩ := hR |
| 706 | have h_phase : phase x = 1 := New.prod_div_norm_eq_one_of_mem_idelesUnitOff hE hx_eq hU |
| 707 | exact Circle.ext (h_phase.trans Circle.coe_one.symm) |
| 708 | let h_divisible : DivisibleBy (Additive Circle) ℤ := |
| 709 | Surjective.divisibleBy (fun t : ℝ ↦ .ofMul (exp t)) exp_surjective exp_zsmul |
| 710 | obtain ⟨υ, hυR, hυ⟩ : ∃ υ : (𝔸 E)ˣ →* Circle, R ≤ υ.ker ∧ ∀ x : U, υ x = S x := |
| 711 | exists_monoidHom_extend U.subtype (S.domRestrict U) R fun x hR ↦ h_glue x x.property hR |
| 712 | -- `υ` is continuous because it agrees with `S` on the open subgroup `U`. |
| 713 | have h_open : IsOpen (U : Set (𝔸 E)ˣ) := |
| 714 | (isOpen_idelesUnitOff ∅).preimage (continuous_snd.units_map _) |
| 715 | have hυU : Set.EqOn υ S U := fun x hx ↦ hυ ⟨x, hx⟩ |
| 716 | have h_cont : Continuous υ := continuous_of_continuousAt_one υ |
| 717 | (h_open.continuousOn_iff.mp (S.continuous.continuousOn.congr hυU) U.one_mem) |
| 718 | -- `υ` is trivial on `Eˣ ≤ R`, equals `S` on `U`, and `υ x * υ x̄ = 1`, as `x x̄ ∈ R`. |
| 719 | refine ⟨{ υ := ⟨⟨υ, h_cont⟩, ?_⟩, υ_unit := fun x hx ↦ ?_, υ_star := fun x ↦ ?_ }⟩ |
| 720 | · -- a principal idele `x = y` lies in `R`, as the image of `(y, 1)` |
| 721 | rintro x ⟨y, hy⟩ |
| 722 | have hy_ne : y ≠ 0 := fun hy_zero ↦ x.ne_zero (by simp [← hy, hy_zero]) |
| 723 | have hx_mem : x ∈ R := ⟨(Units.mk0 y hy_ne, 1), Units.ext (by simpa using hy)⟩ |
| 724 | exact MonoidHom.mem_ker.mp (hυR hx_mem) |
| 725 | · exact congrArg ((↑) : Circle → ℂ) (hυU (idelesUnitOff_empty.ge hx)) |
| 726 | · have h_mem : x * star x ∈ R := ⟨(1, x), by simp⟩ |
| 727 | exact eq_inv_of_mul_eq_one_right ((map_mul υ x (star x)).symm.trans (hυR h_mem)) |
| 728 | |
| 729 | end SplittingCharExists |
| 730 | |
| 731 | /-! ## Complex conjugation on the Galois group, places and Artin map; characters from U(1) -/ |
| 732 | |
| 733 | namespace New |
| 734 | |
| 735 | variable {ℓ : ℕ} [ThePrime ℓ] |
| 736 | {E : Type} [Field E] [EmbeddedNumberField E] [NumberField.IsCMField E] |
| 737 | {A : ClosurePlace} {v : FinPlace E} (b : Bool) (g : Gal(Ω/E)) |
| 738 | |
| 739 | @[simp, grind =] |
| 740 | lemma star_mem_placesDividing {T : ℕ} : star v ∈ placesDividing E T ↔ v ∈ placesDividing E T := by |
| 741 | simp [placesDividing] |
| 742 | |
| 743 | /-! ### Conjugation on the Galois group and on places -/ |
| 744 | |
| 745 | /-- The element `g` if `b` is true, and `(conjGal g)⁻¹ = (c g c)⁻¹` if `b` is false. -/ |
| 746 | noncomputable def idOrConjInv (b : Bool) (g : Gal(Ω/E)) : Gal(Ω/E) := cond b g (conjGal g)⁻¹ |
| 747 | |
| 748 | @[simp] |
| 749 | lemma conjGal_conjGal : conjGal (conjGal g) = g := by |
| 750 | ext |
| 751 | simp [conjGal] |
| 752 | |
| 753 | /-- The chosen complex conjugation `c` intertwines `g^c = c g c` with `g`: `c (g^c x) = g (c x)`. -/ |
| 754 | lemma cmConj_conjGal_smul (x : Ω) : cmConj.toRingHom (conjGal g • x) = g • cmConj.toRingHom x := |
| 755 | -- by definition `conjGal g • x = c (g (c x))`, and `c (c z) = z` |
| 756 | cmConj_cmConj _ |
| 757 | |
| 758 | @[fun_prop] |
| 759 | lemma continuous_conjGal : Continuous (conjGal (E := E)) := |
| 760 | continuous_of_equivariant_emb _ cmConj_conjGal_smul |
| 761 | |
| 762 | @[simp] |
| 763 | lemma cyclotomicChar_conjGal : cyclotomicChar Ω ℓ (conjGal g) = cyclotomicChar Ω ℓ g := |
| 764 | cyclotomicChar_eq_of_equivariant ℓ (cmConj_conjGal_smul g) |
| 765 | |
| 766 | /-- The global Artin map of a CM field `E` is compatible with complex conjugation: if the Artin |
| 767 | symbol of the finite idele `x` is the class of `g ∈ Gal(Ω/E)`, then that of the conjugate idele `x̄` |
| 768 | is the class of `conjGal g = c g c`, where `c` is the chosen complex conjugation of `Ω`. -/ |
| 769 | lemma artinMap_star {x : (𝔸f E)ˣ} (h : artinMap Gal(Ω/E) x = g) : |
| 770 | artinMap Gal(Ω/E) (star x) = conjGal g := by |
| 771 | exact artinMap_map_equiv (starRingAut : E ≃+* E) h _ cmConj_algebraMap (cmConj_conjGal_smul g) |
| 772 | |
| 773 | /-- The conjugate place: the preimage of the valuation subring A of Ω under the chosen complex |
| 774 | conjugation. -/ |
| 775 | noncomputable def conjPlace (A : ClosurePlace) : ValuationSubring Ω := A.comap cmConj.toRingHom |
| 776 | |
| 777 | variable {g} |
| 778 | |
| 779 | @[simp] |
| 780 | lemma conjPlace_conjPlace : conjPlace (conjPlace A) = A := by |
| 781 | ext |
| 782 | simp [conjPlace] |
| 783 | |
| 784 | /-- Let E be a CM field. If the valuation subring A of Ω lies over the finite place v of E, then |
| 785 | the conjugate place of A under the chosen complex conjugation lies over the conjugate prime |
| 786 | v̄. -/ |
| 787 | lemma IsPlaceOver.conjPlace_star (h : IsPlaceOver A v) : IsPlaceOver (conjPlace A) (star v) := by |
| 788 | intro x |
| 789 | have h_conj : cmConj.toRingHom (algebraMap E Ω (x : E)) = algebraMap E Ω (star (x : E)) := |
| 790 | cmConj_algebraMap (x : E) |
| 791 | rw [conjPlace, comap_apply_lt_one_iff, h_conj, mem_star_place] |
| 792 | exact h (star x) |
| 793 | |
| 794 | /-- Conjugation maps a Frobenius element of exponent `q` at the place `A` to one at the conjugate |
| 795 | place. -/ |
| 796 | lemma IsFrob.conjPlace_conjGal {q : ℕ} (hg : IsFrob A q g) : |
| 797 | IsFrob (conjPlace A) q (conjGal g) := |
| 798 | map cmConj_conjGal_smul hg |
| 799 | |
| 800 | /-- Let E be a CM field, g in Gal(Ω/E) and c the chosen complex conjugation. Then g^c = cgc lies |
| 801 | in the inertia group of the conjugate place of A if and only if g lies in the inertia group |
| 802 | of A. -/ |
| 803 | @[simp] |
| 804 | lemma conjGal_mem_inertiaGroup_iff : |
| 805 | conjGal g ∈ inertiaGroup Gal(Ω/E) (conjPlace A) ↔ g ∈ inertiaGroup Gal(Ω/E) A := by |
| 806 | -- inertia is the case `q = 1` of `IsFrob.conjPlace_conjGal`; both conjugations are involutions |
| 807 | refine ⟨fun hg ↦ ?_, IsFrob.conjPlace_conjGal⟩ |
| 808 | have h_frob : IsFrob (conjPlace (conjPlace A)) 1 (conjGal (conjGal g)) := |
| 809 | IsFrob.conjPlace_conjGal hg |
| 810 | rwa [conjPlace_conjPlace, conjGal_conjGal] at h_frob |
| 811 | |
| 812 | omit [NumberField.IsCMField E] in |
| 813 | /-- The `ℓ`-adic cyclotomic character is unramified outside `ℓ`: it is `1` at every `g` that lies |
| 814 | in the inertia group of a place of `Ω` above a finite place of `E` not dividing `ℓ`. -/ |
| 815 | lemma Selmer.cyclotomicChar_eq_one_of_mem_inertiaAbove |
| 816 | (hg_inertia : g ∈ inertiaAbove (placesDividing E ℓ)ᶜ) : cyclotomicChar Ω ℓ g = 1 := by |
| 817 | -- `g` is in the inertia group of a place `B` above a place `u` that does not divide `ℓ` |
| 818 | obtain ⟨u, hu_not_dvd, B, hB, hg⟩ := hg_inertia |
| 819 | exact cyclotomicChar_eq_one_of_mem_inertiaGroup ℓ hg |
| 820 | (hB.valuation_natCast_eq_one_iff.mpr hu_not_dvd) |
| 821 | |
| 822 | /-! ### Characters that come from U(1) -/ |
| 823 | |
| 824 | variable {C : Type*} [CommMonoid C] {S I : Set (FinPlace E)} {χ : Gal(Ω/E) →* C} |
| 825 | |
| 826 | /-- Let `χ : Gal(Ω/E) →* C` come from the norm-one torus in the sense of `IsFromU1 S I χ`: |
| 827 | `χ(Art x) = η(x / x̄)` for an idele class character `η` of modulus `I` that is trivial on the local |
| 828 | components at the places of `S` and their conjugates. Then `χ(idOrConjInv b g) = χ(g)` for both |
| 829 | values of the boolean `b`, and in particular `χ((c g c)⁻¹) = χ(g)`. -/ |
| 830 | lemma IsFromU1.apply_idOrConjInv (h : IsFromU1 S I χ) (g : Gal(Ω/E)) : |
| 831 | χ (idOrConjInv b g) = χ g := by |
| 832 | cases b |
| 833 | · -- If `g = Art x` then `idOrConjInv false g = Art x̄⁻¹`, and both ideles have the same `x / x̄`. |
| 834 | obtain ⟨η, -, -, hη⟩ := h.exists_ideleChar |
| 835 | obtain ⟨x, hx⟩ := artinMap_surjective Gal(Ω/E) g |
| 836 | have hx_conj : artinMap Gal(Ω/E) (star x)⁻¹ = idOrConjInv false g := by |
| 837 | simp [idOrConjInv, artinMap_star g hx] |
| 838 | simp [hη x g hx, hη _ _ hx_conj, inv_mul_eq_div] |
| 839 | · rfl |
| 840 | |
| 841 | private lemma ideleAt_locIdele_div_star_eq_one (a : (LocField v)ˣ) |
| 842 | (a' : (LocField (star v))ˣ) {w : FinPlace E} (hw : w ≠ v) (hw' : w ≠ star v) : |
| 843 | ideleAt w (locIdele v a / locIdele (star v) a') = 1 := by |
| 844 | rw [map_div, ideleAt_locIdele_of_ne hw, ideleAt_locIdele_of_ne hw', div_one] |
| 845 | |
| 846 | /-- Let `S` and `I` be sets of finite places of the CM field `E`, and let `χ` be a character of |
| 847 | `Gal(Ω/E)` with `IsFromU1 S I χ`. This means `χ(Art x) = η(x / x̄)` for an idele class character `η` |
| 848 | of modulus `I` that is trivial on the local components at `S ∪ S̄`. Then `χ` kills the decomposition |
| 849 | groups above `S`: if the place `A` of `Ω` lies over a place `v ∈ S` of `E` and `g` is in the |
| 850 | decomposition group of `A`, then `χ g = 1`. -/ |
| 851 | lemma IsFromU1.eq_one_of_mem_decompGroup (h : IsFromU1 S I χ) (hv : v ∈ S) |
| 852 | (hA : IsPlaceOver A v) (hg : g ∈ decompGroup Gal(Ω/E) A) : |
| 853 | χ g = 1 := by |
| 854 | obtain ⟨η, -, hη_one, hχ⟩ := h.exists_ideleChar |
| 855 | -- Match the character value at `g` by a local Artin symbol. |
| 856 | obtain ⟨x, s, hx, hs⟩ := hA.exists_localArtin_eq_of_isLocallyConstant h.isLocallyConstant hg |
| 857 | have h_art : artinMap Gal(Ω/E) (locIdele v x) = (s : Gal(Ω/E)) := by |
| 858 | simp [hA.artinAt_eq_of_localArtin_eq hx] |
| 859 | rw [← hs, hχ _ _ h_art, star_locIdele] |
| 860 | -- `η` kills the idele `x / x̄`: its components off `v` and `star v`, which both lie in |
| 861 | -- `S.conjClosure`, are `1` |
| 862 | have hv_mem : v ∈ S.conjClosure := Or.inl hv |
| 863 | have h_star_v_mem : star v ∈ S.conjClosure := Or.inr (by simpa using hv) |
| 864 | have h_at_one (a : (LocField v)ˣ) (a' : (LocField (star v))ˣ) (w : FinPlace E) |
| 865 | (hw : w ∉ S.conjClosure) : ideleAt w (locIdele v a / locIdele (star v) a') = 1 := by |
| 866 | exact ideleAt_locIdele_div_star_eq_one a a' |
| 867 | (ne_of_mem_of_not_mem hv_mem hw).symm (ne_of_mem_of_not_mem h_star_v_mem hw).symm |
| 868 | apply hη_one |
| 869 | · simp +contextual [idelesUnitOff, h_at_one] |
| 870 | · intro w hw |
| 871 | simp [h_at_one _ _ w (Set.notMem_of_mem_sdiff hw)] |
| 872 | |
| 873 | /-- If `IsFromU1 S I χ`, then `χ` is trivial on decomposition groups over `S`. A place at which |
| 874 | `χ` is ramified therefore lies outside `S`. -/ |
| 875 | lemma IsFromU1.notMem_of_ramified (h : IsFromU1 S I χ) |
| 876 | (h_ram : ∃ g ∈ inertiaAbove {v}, χ g ≠ 1) : v ∉ S := by |
| 877 | intro hv |
| 878 | obtain ⟨g, ⟨w, rfl, B, hB, hg⟩, h_ne⟩ := h_ram |
| 879 | exact h_ne (h.eq_one_of_mem_decompGroup hv hB hg.1) |
| 880 | |
| 881 | /-- Let `S` and `I` be sets of finite places of the CM field `E`, and let `χ` be a character of |
| 882 | `Gal(Ω/E)` with `IsFromU1 S I χ`. This means `χ(Art x) = η(x / x̄)` for an idele class character `η` |
| 883 | of modulus `I` that is trivial on the local components at `S ∪ S̄`. Then `χ` kills inertia outside |
| 884 | `I` and its conjugates: `χ g = 1` for `g` in the inertia group of a place of `Ω` above a place of |
| 885 | `E` not in `I ∪ Ī`. -/ |
| 886 | lemma IsFromU1.eq_one_of_mem_inertiaAbove (h : IsFromU1 S I χ) (g : Gal(Ω/E)) |
| 887 | (hg_inertia : g ∈ inertiaAbove I.conjClosureᶜ) : χ g = 1 := by |
| 888 | obtain ⟨v, hv_not_mem, A, hA, hg⟩ := hg_inertia |
| 889 | obtain ⟨η, -, hη_one, hχ⟩ := h.exists_ideleChar |
| 890 | -- the class of an inertia element is the local Artin symbol of a unit `x` |
| 891 | obtain ⟨x, hx_unit, hx⟩ := hA.exists_localArtin_eq_of_mem_inertiaGroup hg |
| 892 | have h_art : artinMap Gal(Ω/E) (locIdele v x) = g := by simp [hA.artinAt_eq_of_localArtin_eq hx] |
| 893 | rw [hχ _ _ h_art, star_locIdele] |
| 894 | -- `η` kills `x / x̄`: it is a unit everywhere, and `1` at the places of `I`, because |
| 895 | -- `v ∉ I.conjClosure` |
| 896 | apply hη_one |
| 897 | · have hx_val : Valued.v (x : LocField v) = 1 := by simpa using hx_unit |
| 898 | exact div_mem (locIdele_mem_idelesUnitOff hx_val) |
| 899 | (locIdele_mem_idelesUnitOff (by simpa using hx_val)) |
| 900 | · rintro w ⟨hw_I, -⟩ |
| 901 | have hw_ne_v : w ≠ v := ne_of_mem_of_not_mem hw_I fun hv_I ↦ hv_not_mem (Or.inl hv_I) |
| 902 | have hw_ne_star_v : w ≠ star v := ne_of_mem_of_not_mem hw_I fun hv_I ↦ hv_not_mem (Or.inr hv_I) |
| 903 | simp [ideleAt_locIdele_div_star_eq_one _ _ hw_ne_v hw_ne_star_v] |
| 904 | |
| 905 | end New |