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.Topology.Algebra.Group.Units |
| 4 | import Mathlib.Topology.Connected.Separation |
| 5 | import Mathlib.Topology.Separation.CompletelyRegular |
| 6 | public import Lib.ClassField.Local.ArtinMap |
| 7 | import TauCeti.NumberTheory.RamificationInertia.Galois |
| 8 | |
| 9 | /-! |
| 10 | # The global Artin map: product of local symbols, continuity, splitting and norms |
| 11 | |
| 12 | Γ is the Galois group of an algebraic closure Ω of a number field K (`New.IsProGalois`), and |
| 13 | `New.QZChar.abelianLift χ` is a continuous character χ : Γ → ℚ/ℤ seen on Γ^ab, written |
| 14 | multiplicatively. `New.artinAt` and `New.artinMap` are the local and global Artin maps with values |
| 15 | in Γ^ab; `New.decompGroup` and `New.inertiaGroup` are the decomposition and inertia groups of a |
| 16 | valuation subring A. |
| 17 | |
| 18 | * `New.IsPlaceOver.range_abelianLift_comp_artinAt`, |
| 19 | `New.IsPlaceOver.artinAt_units_trivial_iff_inertiaGroup_le`: the local symbols at v give the |
| 20 | values of χ on the decomposition group; those of units vanish iff χ kills inertia. |
| 21 | * `New.IsPlaceOver.q_eq_and_comap_ne_self_of_decompGroup_le`: v splits completely in a Galois |
| 22 | extension L of K whose group Gal(Ω/L) contains the decomposition group. |
| 23 | * `New.abelianLift_artinMap_eq_finprod`: the global symbol is the product of the local symbols. |
| 24 | * `New.continuous_artinMap`: the global Artin map is continuous. |
| 25 | * `New.artinMap_map_adeleNorm`: the Artin maps of K and of an extension L are compatible with the |
| 26 | norm. |
| 27 | |
| 28 | Notions from other files: |
| 29 | * `New.IsPlaceOver A v`: the valuation subring A of Ω lies over the finite place v of K. |
| 30 | * `New.ideleAt v a` is the component at v of a finite idele a; `New.locIdele v x` is the finite |
| 31 | idele with component x at v and 1 elsewhere; `New.idelesUnitOff S` is the group of finite ideles |
| 32 | that are units at every place outside S. |
| 33 | |
| 34 | ## Relation to the literature |
| 35 | |
| 36 | Known; see `Lib.ClassField.Global.AlbertBrauerHasseNoether` for sources. |
| 37 | -/ |
| 38 | |
| 39 | @[expose] public section |
| 40 | |
| 41 | namespace New |
| 42 | |
| 43 | open Module QZChar Set FinPlace IsGalois |
| 44 | |
| 45 | open scoped Pointwise in |
| 46 | /-- Pulling back a finite place applies the inverse pointwise action to its prime ideal. -/ |
| 47 | private lemma inverse_smul_asIdeal {K L : Type*} [Field K] [Field L] [Algebra K L] |
| 48 | (u : FinPlace L) (σ : Gal(L/K)) : |
| 49 | σ⁻¹ • u.asIdeal = (u.comap σ).asIdeal := by |
| 50 | rw [Ideal.pointwise_smul_eq_comap] |
| 51 | let ρ := MulSemiringAction.toRingAut Gal(L/K) (NumberField.RingOfIntegers L) |
| 52 | change u.asIdeal.comap (ρ σ⁻¹)⁻¹ = u.asIdeal.comap (ρ σ) |
| 53 | rw [map_inv, inv_inv] |
| 54 | |
| 55 | variable {Γ K : Type} [Group Γ] [TopologicalSpace Γ] [Field K] [EmbeddedNumberField K] |
| 56 | |
| 57 | /-- g lies in the kernel of χ exactly when `abelianLift χ` kills the class of g. -/ |
| 58 | private lemma QZChar.mem_ker_iff_abelianLift_eq_one [IsTopologicalGroup Γ] (χ : QZChar Γ) (g : Γ) : |
| 59 | g ∈ ker χ ↔ abelianLift χ (g : TopologicalAbelianization Γ) = 1 := |
| 60 | Iff.rfl |
| 61 | |
| 62 | namespace IsPlaceOver |
| 63 | |
| 64 | /- `A` is a place of `Ω` over the finite place `v` of `K` (hypothesis `h`), `χ` a character of |
| 65 | `Γ`, `L ⊂ Ω` a finite Galois extension of `K`, and `U` the subgroup Gal(Ω/L) of `Γ`. -/ |
| 66 | variable {A : ClosurePlace} {v : FinPlace K} (χ : QZChar Γ) |
| 67 | {L : Type*} [Field L] [EmbeddedNumberField L] [Algebra K L] |
| 68 | (h : IsPlaceOver A v) [MulSemiringAction Γ Ω] [G : IsProGalois Γ K Ω] |
| 69 | (U : Subgroup Γ) [IsGalois K L] [IsScalarTower K L Ω] [Fact U.IsOpen] [IsProGalois U L Ω] |
| 70 | |
| 71 | include h |
| 72 | |
| 73 | /-! ### One place: splitting and the local symbol -/ |
| 74 | |
| 75 | /-- Let `L / K` be Galois with `U = Gal(Ω/L)`, and let `A` be a place of `Ω` over `v`. The number of |
| 76 | places of `L` over `v` times the index of `U ⊓ D` in the decomposition group `D` of `A` is |
| 77 | `[L : K]`. -/ |
| 78 | lemma ncard_above_mul_relIndex_eq_finrank : |
| 79 | {u : FinPlace L | u.below K = v}.ncard * U.relIndex (decompGroup Γ A) = finrank K L := by |
| 80 | -- For the place `u` of `L` under `A` the index is `e f`, and `e f g = n`. |
| 81 | obtain ⟨u, hu, rfl⟩ := h.exists_above (L := L) |
| 82 | obtain ⟨-, -, h_index : U.relIndex (decompGroup Γ A) = |
| 83 | u.asIdeal.ramificationIdx (NumberField.RingOfIntegers K) * |
| 84 | u.asIdeal.inertiaDeg (NumberField.RingOfIntegers K)⟩ := |
| 85 | h.ramification_in_tower U hu |
| 86 | rw [h_index, u.ncard_mul_ramificationIdx_mul_inertiaDeg] |
| 87 | |
| 88 | variable {U} |
| 89 | |
| 90 | /-- A finite place whose decomposition group lies in `U = Gal(Ω/L)` has `[L : K]` places |
| 91 | above it in `L`. -/ |
| 92 | lemma ncard_above_eq_finrank_of_decompGroup_le (h_dec : decompGroup Γ A ≤ U) : |
| 93 | {u : FinPlace L | u.below K = v}.ncard = finrank K L := by |
| 94 | simpa only [Subgroup.relIndex_eq_one.mpr h_dec, mul_one] using |
| 95 | h.ncard_above_mul_relIndex_eq_finrank (L := L) U |
| 96 | |
| 97 | open scoped Pointwise in |
| 98 | /-- Let `L / K` be Galois with `U = Gal(Ω/L)`, and let `A` be a place of `Ω` over `v` whose |
| 99 | decomposition group lies in `U`. Then `v` splits completely: a place `u` of `L` over `v` has the |
| 100 | residue cardinality of `v`, and no nontrivial element of `Gal(L/K)` fixes `u`. -/ |
| 101 | lemma q_eq_and_comap_ne_self_of_decompGroup_le (h_dec : decompGroup Γ A ≤ U) (u : FinPlace L) |
| 102 | (hu : u.below K = v) : |
| 103 | u.q = v.q ∧ ∀ σ : Gal(L/K), σ ≠ 1 → u.comap σ ≠ u := by |
| 104 | -- A trivial relative decomposition group means there are as many primes as automorphisms. |
| 105 | have h_card : |
| 106 | (v.asIdeal.primesOver (NumberField.RingOfIntegers L)).ncard = Nat.card Gal(L/K) := by |
| 107 | rw [← FinPlace.ncard_above_eq_ncard_primesOver, IsGaloisGroup.card_eq_finrank Gal(L/K) K L] |
| 108 | exact h.ncard_above_eq_finrank_of_decompGroup_le (L := L) h_dec |
| 109 | have : u.asIdeal.LiesOver v.asIdeal := by |
| 110 | rw [← hu] |
| 111 | infer_instance |
| 112 | refine ⟨?_, fun σ hσ h_fix ↦ hσ ?_⟩ |
| 113 | · have h_f := ((Ideal.ncard_primesOver_eq_natCard_iff_of_isGaloisGroup Gal(L/K) |
| 114 | v.asIdeal).mp h_card).2 |
| 115 | rw [Ideal.inertiaDegIn_eq_inertiaDeg _ u Gal(L/K)] at h_f |
| 116 | simp [← hu, ← (u.below K).asIdeal.absNorm_pow_inertiaDeg, h_f] |
| 117 | · have h_bot : MulAction.stabilizer Gal(L/K) u.asIdeal = ⊥ := |
| 118 | (Ideal.ncard_primesOver_eq_natCard_iff_stabilizer_eq_bot |
| 119 | Gal(L/K) v.asIdeal u.asIdeal).mp h_card |
| 120 | have h_mem : σ⁻¹ ∈ MulAction.stabilizer Gal(L/K) u.asIdeal := by |
| 121 | rw [MulAction.mem_stabilizer_iff, inverse_smul_asIdeal] |
| 122 | exact congrArg IsDedekindDomain.HeightOneSpectrum.asIdeal h_fix |
| 123 | simpa [h_bot] using h_mem |
| 124 | |
| 125 | /-- Let `A` be a place of `Ω` over `v`. The values of a character `χ` on the local symbols at `v` |
| 126 | are its values on the decomposition group of `A`. -/ |
| 127 | lemma range_abelianLift_comp_artinAt : |
| 128 | ((abelianLift χ).comp (New.artinAt Γ v)).range = (decompGroup Γ A).map (toHom χ) := by |
| 129 | apply le_antisymm |
| 130 | · -- The local symbol of `x` is the class of some `g` in the decomposition group. |
| 131 | rintro _ ⟨x, rfl⟩ |
| 132 | obtain ⟨g, hg⟩ := QuotientGroup.mk_surjective (localArtin Γ A v x) |
| 133 | refine ⟨g, g.property, ?_⟩ |
| 134 | rw [MonoidHom.comp_apply, h.artinAt_eq_of_localArtin_eq hg.symm] |
| 135 | rfl |
| 136 | · -- Match the character value at `g` by a local Artin symbol. |
| 137 | rintro _ ⟨g, hg, rfl⟩ |
| 138 | obtain ⟨x, s, hx, h_val⟩ := |
| 139 | h.exists_localArtin_eq_of_isLocallyConstant |
| 140 | ((IsLocallyConstant.iff_continuous _).2 (QZChar.continuous_val χ)) hg |
| 141 | refine ⟨x, ?_⟩ |
| 142 | rw [MonoidHom.comp_apply, h.artinAt_eq_of_localArtin_eq hx] |
| 143 | exact congrArg Multiplicative.ofAdd h_val |
| 144 | |
| 145 | /-- Let `A` be a place of `Ω` over `v`. A character `χ` kills all local symbols at `v` exactly when |
| 146 | it is trivial on the decomposition group of `A`. -/ |
| 147 | lemma artinAt_trivial_iff_decompGroup_le : |
| 148 | (∀ x : (LocField v)ˣ, abelianLift χ (New.artinAt Γ v x) = 1) ↔ decompGroup Γ A ≤ ker χ := by |
| 149 | simp [← Subgroup.map_eq_bot_iff, ← h.range_abelianLift_comp_artinAt, Subgroup.eq_bot_iff_forall] |
| 150 | |
| 151 | /-- Let `A` be a place of `Ω` over `v`. A character `χ` kills the local symbols of the units of |
| 152 | `K_v` exactly when it is trivial on the inertia group of `A`. |
| 153 | |
| 154 | This is one side of the mutual annihilation of unramified classes (Milne, Arithmetic Duality |
| 155 | Theorems, I.2.6), for global characters. -/ |
| 156 | lemma artinAt_units_trivial_iff_inertiaGroup_le : |
| 157 | (∀ x : (LocField v)ˣ, Valued.v x.val = 1 → abelianLift χ (New.artinAt Γ v x) = 1) ↔ |
| 158 | inertiaGroup Γ A ≤ ker χ := by |
| 159 | -- The symbols of the units are exactly the classes of the elements of the inertia group. |
| 160 | refine ⟨fun h_unit g hg ↦ ?_, fun h_ine x hx ↦ ?_⟩ |
| 161 | · -- An element of the inertia group is the symbol of a unit. |
| 162 | obtain ⟨x, hx_unit, hx_art⟩ := h.exists_localArtin_eq_of_mem_inertiaGroup hg |
| 163 | rw [mem_ker_iff_abelianLift_eq_one, ← h.artinAt_eq_of_localArtin_eq hx_art] |
| 164 | exact h_unit x hx_unit |
| 165 | · -- The symbol of a unit is the class of an element `g` of inertia, which `χ` kills. |
| 166 | obtain ⟨g, hg_ine, hg_art⟩ := h.exists_mem_inertiaGroup_localArtin_eq (Γ := Γ) hx |
| 167 | rw [h.artinAt_eq_of_localArtin_eq hg_art, ← mem_ker_iff_abelianLift_eq_one] |
| 168 | exact h_ine hg_ine |
| 169 | |
| 170 | /-- The local symbol of an unramified character. Let `A` be a place of `Ω` over `v`, let `χ` be |
| 171 | trivial on the inertia group of `A`, and let `φ` be a Frobenius element at `A`. Then `χ` takes the |
| 172 | local symbol at `v` of `x ∈ Kˣ` to `(v.valuation K x).log • χ φ`, that is `-(ord_v x • χ φ)` where |
| 173 | `ord_v x = -(v.valuation K x).log`. |
| 174 | This is a form of the local reciprocity map in the unramified case (Serre, Local Fields). |
| 175 | Uniformisers go to geometric Frobenius, hence the minus sign. -/ |
| 176 | lemma abelianLift_artinAt_of_inertiaGroup_le_ker (h_unr : inertiaGroup Γ A ≤ ker χ) {φ : Γ} |
| 177 | (hφ : IsFrob A v.q φ) (x : Kˣ) : |
| 178 | abelianLift χ (New.artinAt Γ v (ideleAt v (principalIdele x))) = |
| 179 | Multiplicative.ofAdd ((v.valuation K x).log • χ.val φ) := by |
| 180 | let ψ := comap (subgroupIncl (decompGroup Γ A)) χ |
| 181 | rw [h.abelianLift_artinAt] |
| 182 | simpa [ideleAt, ψ, QZChar.comap, subgroupIncl] using |
| 183 | h.abelianLift_localArtin_of_unramified ψ (fun g hg ↦ h_unr hg) |
| 184 | (φ := ⟨φ, hφ.left⟩) hφ (ideleAt v (principalIdele x)) |
| 185 | |
| 186 | end IsPlaceOver |
| 187 | |
| 188 | /-! ### The global Artin map -/ |
| 189 | |
| 190 | /- `χ` is a character of `Γ` and `L` a number field over `K`. -/ |
| 191 | variable (χ : QZChar Γ) {L : Type} [Field L] [EmbeddedNumberField L] [Algebra K L] |
| 192 | [MulSemiringAction Γ Ω] [G : IsProGalois Γ K Ω] |
| 193 | |
| 194 | /-- Let `χ` be a character of the Galois group `Γ` of `Ω` over the number field `K`. A finite idele |
| 195 | `a` of `K` close enough to `1` is a unit at every place, and `χ` kills all local symbols of `a`. -/ |
| 196 | lemma QZChar.eventually_artinAt_eq_one : |
| 197 | ∀ᶠ a : (𝔸f K)ˣ in nhds 1, |
| 198 | a ∈ idelesUnitOff ∅ ∧ ∀ v : FinPlace K, abelianLift χ (artinAt Γ v (ideleAt v a)) = 1 := by |
| 199 | -- Only finitely many places ramify for `χ`; at these the condition is open, and at the others |
| 200 | -- it holds for every unit idele. |
| 201 | have h_open := (finite_ramified (isOpen_ker χ)).isOpen_biInter fun v _ ↦ |
| 202 | IsOpen.preimage (by fun_prop : Continuous (ideleAt v)) |
| 203 | (continuous_iff_forall_isOpen_ker_comp.mp (continuous_hom_locField_units (artinAt Γ v)) χ) |
| 204 | filter_upwards [((isOpen_idelesUnitOff ∅).inter h_open).mem_nhds (by simp)] with a ⟨hu, hr⟩ |
| 205 | refine ⟨hu, fun v ↦ ?_⟩ |
| 206 | by_cases hv : ∀ A : ClosurePlace, IsPlaceOver A v → inertiaGroup Γ A ≤ ker χ |
| 207 | · exact (v.isPlaceOver_placeOver.artinAt_units_trivial_iff_inertiaGroup_le χ).2 |
| 208 | (hv _ v.isPlaceOver_placeOver) _ (mem_idelesUnitOff.1 hu v (notMem_empty v)) |
| 209 | · exact mem_iInter₂.1 hr v hv |
| 210 | |
| 211 | /-- For a finite idele `a`, the character `χ` kills its local Artin symbols outside a finite |
| 212 | set of places. At almost all places, `χ` is unramified and the component of `a` is a unit. -/ |
| 213 | lemma QZChar.finite_mulSupport_artinAt (a : (𝔸f K)ˣ) : |
| 214 | (Function.mulSupport fun v : FinPlace K ↦ |
| 215 | abelianLift χ (artinAt Γ v (ideleAt v a))).Finite := by |
| 216 | have h_unr : ∀ᶠ v : FinPlace K in .cofinite, inertiaGroup Γ (placeOver v) ≤ ker χ := |
| 217 | (finite_ramified (isOpen_ker χ)).mono fun v hv ↦ hv _ (FinPlace.isPlaceOver_placeOver v) |
| 218 | exact (h_unr.and (finite_setOf_valued_val_ne_one a)).mono fun v ⟨hv, h_unit⟩ ↦ |
| 219 | (v.isPlaceOver_placeOver.artinAt_units_trivial_iff_inertiaGroup_le χ).mpr hv _ h_unit |
| 220 | |
| 221 | /-- A character `χ` of `Γ` takes the global Artin symbol of a finite idele `a` to the product over |
| 222 | the finite places `v` of its values on the local symbols of the components of `a`. -/ |
| 223 | @[local simp] |
| 224 | lemma abelianLift_artinMap_eq_finprod (χ : QZChar Γ) (a : (𝔸f K)ˣ) : |
| 225 | abelianLift χ (artinMap Γ a) = |
| 226 | ∏ᶠ v : FinPlace K, abelianLift χ (artinAt Γ v (ideleAt v a)) := by |
| 227 | -- The product is multiplicative in `χ` and in `a`, so by Pontryagin duality |
| 228 | -- (`exists_hom_abelianLift_eq`) it comes from a homomorphism. |
| 229 | let F (a : (𝔸f K)ˣ) (χ : QZChar Γ) : Multiplicative QZ := |
| 230 | ∏ᶠ v : FinPlace K, abelianLift χ (artinAt Γ v (ideleAt v a)) |
| 231 | have h_add (a : (𝔸f K)ˣ) (χ ξ : QZChar Γ) : F a (χ + ξ) = F a χ * F a ξ := by |
| 232 | refine (finprod_congr fun v ↦ ?_).trans |
| 233 | (finprod_mul_distrib (finite_mulSupport_artinAt χ a) (finite_mulSupport_artinAt ξ a)) |
| 234 | -- On the class of `g` both sides are `χ g + ξ g`, by definition. |
| 235 | exact (artinAt Γ v _).inductionOn fun _ ↦ rfl |
| 236 | have h_mul (a b : (𝔸f K)ˣ) (χ : QZChar Γ) : F (a * b) χ = F a χ * F b χ := by |
| 237 | simpa [F] using finprod_mul_distrib (finite_mulSupport_artinAt χ a) |
| 238 | (finite_mulSupport_artinAt χ b) |
| 239 | have h_hom : ∃ f : (𝔸f K)ˣ →* TopologicalAbelianization Γ, |
| 240 | ∀ (χ : QZChar Γ) (a : (𝔸f K)ˣ), abelianLift χ (f a) = F a χ := |
| 241 | exists_hom_abelianLift_eq |
| 242 | (.mk' (fun a ↦ .mk' (F a.toMul) (h_add _)) fun a b ↦ AddMonoidHom.ext (h_mul _ _)) |
| 243 | -- `artinMap` is a chosen homomorphism with this property. |
| 244 | exact abelianLift_artinMap_eq_finprod_of_exists Γ h_hom χ a |
| 245 | |
| 246 | /-- The global Artin map on the finite ideles of `K` is continuous. -/ |
| 247 | @[fun_prop] |
| 248 | lemma continuous_artinMap : Continuous (artinMap Γ) := by |
| 249 | -- For each character `χ` the kernel of `χ ∘ artinMap` contains the neighbourhood of `1` given by |
| 250 | -- `eventually_artinAt_eq_one`. |
| 251 | refine continuous_iff_forall_isOpen_ker_comp.mpr fun χ ↦ Subgroup.isOpen_of_mem_nhds _ (g := 1) ?_ |
| 252 | filter_upwards [eventually_artinAt_eq_one (K := K) χ] with a ⟨_, h_local⟩ |
| 253 | -- By the product formula `χ (Art a)` is a product of local values that are all `1`. |
| 254 | simp [h_local] |
| 255 | |
| 256 | /-- The global Artin symbol of the idele with component `x` at `v` and `1` elsewhere is the local |
| 257 | symbol of `x` at `v`. -/ |
| 258 | @[simp] |
| 259 | lemma artinMap_locIdele (v : FinPlace K) (x : (LocField v)ˣ) : |
| 260 | artinMap Γ (locIdele v x) = artinAt Γ v x := |
| 261 | -- In the product formula only the factor at `v` can differ from `1`. |
| 262 | abelianization_ext fun χ ↦ by simp_all [finprod_eq_single _ v] |
| 263 | |
| 264 | /-- Norm compatibility of the Artin map. Let `L / K` be an extension of number fields embedded in |
| 265 | `Ω`, let `Γ` and `Γ'` be their absolute Galois groups (topological groups acting on `Ω`), let `j` be |
| 266 | an endomorphism of `Ω` that extends `K → L`, and let `j` carry the action of `g ∈ Γ` to that of |
| 267 | `g' ∈ Γ'`. If the Artin symbol of the finite idele `y` of `L` is the class of `g'`, then the Artin |
| 268 | symbol of the norm of `y` to `K` is the class of `g`. -/ |
| 269 | lemma artinMap_map_adeleNorm {Γ' : Type} [Group Γ'] [TopologicalSpace Γ'] [MulSemiringAction Γ' Ω] |
| 270 | [IsProGalois Γ' L Ω] {y : (𝔸f L)ˣ} {g : Γ} {g' : Γ'} (hy : artinMap Γ' y = g') (j : Ω →+* Ω) |
| 271 | (hj : ∀ x : K, j (algebraMap K Ω x) = algebraMap L Ω (algebraMap K L x)) |
| 272 | (hg : ∀ z : Ω, j (g • z) = g' • j z) : |
| 273 | artinMap Γ (y.map (adeleNorm K L)) = g := by |
| 274 | -- Both `a ↦ χ (Art (N a))` and `a ↦ χ (φ (Art a))` are continuous homomorphisms, where `φ` is |
| 275 | -- the restriction along `j`; they agree on ideles with one component, hence everywhere |
| 276 | -- (`mem_of_locIdele_mem`). |
| 277 | obtain ⟨φ, hφ⟩ : ∃ φ : Γ' →ₜ* Γ, ∀ (s : Γ') (z : Ω), j (φ s • z) = s • j z := |
| 278 | exists_galois_restrict Γ Γ' j fun s x ↦ by rw [hj, smul_algebraMap] |
| 279 | -- `φ g'` and `g` act in the same way on `Ω`. |
| 280 | obtain rfl : φ g' = g := G.faithful.1 fun z ↦ j.injective ((hφ g' z).trans (hg z).symm) |
| 281 | refine abelianization_ext fun χ ↦ ?_ |
| 282 | let H : Subgroup (𝔸f L)ˣ := |
| 283 | ((abelianLift χ).comp ((artinMap Γ).comp (Units.map (adeleNorm K L)))).eqLocus |
| 284 | ((abelianLift (comap φ χ)).comp (artinMap Γ')) |
| 285 | -- Both homomorphisms are continuous. |
| 286 | have H_closed : IsClosed H.carrier := by |
| 287 | refine isClosed_eq ?_ ?_ <;> simp only [MonoidHom.coe_comp] <;> fun_prop |
| 288 | have loc_mem (w : FinPlace L) (x : (LocField w)ˣ) : locIdele w x ∈ H := by |
| 289 | have hw : IsPlaceOver (placeOver w) w := w.isPlaceOver_placeOver |
| 290 | obtain ⟨s, hs⟩ := QuotientGroup.mk_surjective (localArtin Γ' (placeOver w) w x) |
| 291 | have hv : IsPlaceOver ((placeOver w).comap j) (w.below K) := by |
| 292 | simp [IsPlaceOver, hj, comap_apply_lt_one_iff, ← hw _] |
| 293 | -- Local norm compatibility: the norm of `x` has symbol `φ s` if `x` has symbol `s`. |
| 294 | have h_norm : artinMap Γ ((locIdele w x).map (adeleNorm K L)) = φ s := by |
| 295 | rw [adeleNorm_locIdele, artinMap_locIdele] |
| 296 | exact hv.artinAt_eq_of_localArtin_eq |
| 297 | ((hw.isNormCompatible φ.toMonoidHom j hφ hj).localArtin_localNorm hs.symm) |
| 298 | -- So both homomorphisms take the value `χ (φ s)`. |
| 299 | refine (congrArg (abelianLift χ) h_norm).trans ?_ |
| 300 | simp [hw.artinAt_eq_of_localArtin_eq hs.symm, abelianLift_mk, QZChar.comap] |
| 301 | have hy_mem : y ∈ H := mem_of_locIdele_mem H_closed fun w ↦ loc_mem w (ideleAt w y) |
| 302 | calc abelianLift χ (artinMap Γ (y.map (adeleNorm K L))) |
| 303 | = abelianLift (comap φ χ) (artinMap Γ' y) := hy_mem |
| 304 | _ = abelianLift χ (φ g') := congrArg (abelianLift (comap φ χ)) hy |
| 305 | |
| 306 | omit [Algebra K L] in |
| 307 | /-- Let `e : L ≃+* K`. Suppose `j` extends `e.symm` and `j (g • z) = h • j z` for every `z`. |
| 308 | If the Artin symbol of `x` over `L` is the class of `h`, then the Artin symbol over `K` of |
| 309 | `x.map (adeleMap e.toRingHom).toMonoidHom` is the class of `g`. -/ |
| 310 | lemma artinMap_map_equiv {Δ : Type} [Group Δ] [TopologicalSpace Δ] |
| 311 | [MulSemiringAction Δ Ω] [IsProGalois Δ L Ω] (e : L ≃+* K) |
| 312 | {x : (𝔸f L)ˣ} {g : Γ} {h : Δ} (hx : artinMap Δ x = h) (j : Ω →+* Ω) |
| 313 | (hj : ∀ a : K, j (algebraMap K Ω a) = algebraMap L Ω (e.symm a)) |
| 314 | (hg : ∀ z : Ω, j (g • z) = h • j z) : |
| 315 | artinMap Γ (x.map (adeleMap e.toRingHom).toMonoidHom) = g := by |
| 316 | let : Algebra K L := e.symm.toRingHom.toAlgebra |
| 317 | -- The degree-one norm inverts the inclusion induced by the inverse isomorphism. |
| 318 | have back : finAdeleIncl K L (adeleMap e.toRingHom x.val) = x.val := |
| 319 | adeleMap_ringEquiv_symm_apply_apply e x.val |
| 320 | have norm : x.map (adeleNorm K L) = x.map (adeleMap e.toRingHom).toMonoidHom := by |
| 321 | apply Units.ext |
| 322 | change adeleNorm K L x.val = adeleMap e.toRingHom x.val |
| 323 | conv_lhs => rw [← back, adeleNorm_finAdeleIncl] |
| 324 | rw [finrank_of_bijective_algebraMap e.symm.bijective, pow_one] |
| 325 | rw [← norm] |
| 326 | exact artinMap_map_adeleNorm hx j hj hg |
| 327 | |
| 328 | end New |