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.Sheaves.Presheaf |
| 4 | public import Lib.Weil.Construction.ProductsAndTransport |
| 5 | public import Lib.Weil.Construction.VacuumProjections |
| 6 | import Lib.General.Measure.HaarNormalisation |
| 7 | |
| 8 | /-! |
| 9 | # Data named by Schwartz–Bruhat functions: Heisenberg laws, transport, Weil action |
| 10 | |
| 11 | Let S be a set of finite places disjoint from its conjugate S̄. A Schwartz–Bruhat function Ψ above S |
| 12 | names an operator `V.schrodingerOp S Ψ` on 𝒮(V). The box function names the projection P^S = |
| 13 | `New.Space.projOn` S. Its translates name Heisenberg translates ϱ(αy₊) P^S of it, with α the finite |
| 14 | idele of `New.WeilData`. Naming is compatible with products of data. For general g, Ψ is composed |
| 15 | with g_f⁻¹ and the vector also changes. |
| 16 | |
| 17 | ## Main definitions and results |
| 18 | |
| 19 | * `New.Space.schrodingerOp`: sends ∑ c_y (translate of the indicator by y) to the operator ∑ c_y |
| 20 | ϱ(αy₊) P^S, with y₊ the part of y above S ∪ S̄ and P^S = `New.Space.projOn` S. |
| 21 | * `New.Space.rho_schrodingerOp`: naming is equivariant for the Heisenberg operators of the parts of |
| 22 | vectors above S ∪ S̄. |
| 23 | * `New.Space.dataInner_schrodingerOp`: the inner product of two named vectors factors. |
| 24 | * `New.Space.schrodingerOp_union`: for disjoint `S`, `T` with `S ∪ T` disjoint from its conjugate, a |
| 25 | product of functions names the composite. |
| 26 | * `New.Space.omega_schrodingerOp`: for any `g`, `ω g (schrodingerOp Ψ f) = schrodingerOp (Ψ ∘ g_f⁻¹) |
| 27 | u`, where `u` is `ω g` applied to the name of the box function composed with `g_f`, and `u` is |
| 28 | fixed by `V.projOn S`. |
| 29 | * `New.Space.omega_schrodingerOp_of_mem_supportedOn`: `g` supported on `S ∪ S̄` acts by |
| 30 | `Ψ ↦ Ψ ∘ g⁻¹`, times the conjugate of `New.chiAdelic` at the `S`-part of `det g`. |
| 31 | |
| 32 | Notions from other files: |
| 33 | * `New.Space`: a hermitian space with a point, given by a matrix J over E and x in GL_n(𝔸) with |
| 34 | xᴴJx equal to the diagonal matrix of its signs at the infinite places and 1 at the finite places. |
| 35 | * `New.Space.ϱ`: the Heisenberg operator of an adelic vector `y` on `𝒮 V`. |
| 36 | * `New.Space.projOn`: the operator P^S on 𝒮(V), the mean over y in Ô^n of the finite Heisenberg |
| 37 | operators `New.Space.finHeisenbergOp` at the part of y above S ∪ S̄ (`S.conjClosure`). |
| 38 | * `New.localInner`: the integral of conj(Ψ) Ψ′ over the finite adelic vectors integral off S, |
| 39 | normalised so that Ô^n has mass one. |
| 40 | * `New.WeilData`: Weil data on a stably unramified E. They consist of ȷ in E with ȷ = −ȷ̄, Im τȷ > 0 |
| 41 | for every τ in the CM type and (1 − ȷ⁻¹)/2 integral; a finite idele α for which the completed |
| 42 | integers Ô are self-dual under (z, u) ↦ ψ_f(ȷαᾱzu); and a splitting character υ equal to −1 at |
| 43 | uniformisers of the places w with w = w̄. |
| 44 | |
| 45 | ## Relation to the literature |
| 46 | |
| 47 | Known; see `Lib.Weil.MixedModel.ZeroTerm` for sources. |
| 48 | -/ |
| 49 | |
| 50 | @[expose] public section |
| 51 | |
| 52 | noncomputable section |
| 53 | |
| 54 | /-! |
| 55 | ## Naming vectors by Schwartz–Bruhat functions at split places |
| 56 | |
| 57 | Transfer from the Schrödinger model at a set S of finite places to the space 𝒮(V) of the Weil |
| 58 | representation. The Heisenberg group acts on functions above S by `New.schrodingerAct`. For S |
| 59 | disjoint from its conjugate, a Schwartz–Bruhat function above S (`New.IsSchwartzBruhat`) is a |
| 60 | combination of translates of the indicator `New.boxIndicator` of the vectors integral on S. |
| 61 | |
| 62 | `New.idem` S is the idempotent of S in the finite adeles. `New.finVec` y is the adelic vector with |
| 63 | finite part αy and zero real part. |
| 64 | -/ |
| 65 | |
| 66 | namespace New.Space |
| 67 | |
| 68 | open NumberField MeasureTheory stdLattice Finset Complex AddChar Matrix IsSchwartzBruhat |
| 69 | |
| 70 | variable {E : Type*} [Field E] [CMType E] [WeilData E] |
| 71 | {n : Type*} [Fintype n] [DecidableEq n] |
| 72 | {s : n → ℤˣ} {S : Set (FinPlace E)} (hS : S.IsConjDisjoint) (V : Space E n s) |
| 73 | {Ψ Ψ' : (n → 𝔸f E) → ℂ} |
| 74 | |
| 75 | /-- The linear map sending finitely supported coefficients c_y to the operator ∑ c_y ϱ(αy₊) P^S |
| 76 | on 𝒮(V), y₊ the part of y above S ∪ S̄. -/ |
| 77 | def heisenbergCombination (S : Set (FinPlace E)) : ((n → 𝔸f E) →₀ ℂ) →ₗ[ℂ] 𝒮 V →L[ℂ] 𝒮 V := |
| 78 | Finsupp.lift (𝒮 V →L[ℂ] 𝒮 V) ℂ (n → 𝔸f E) fun y ↦ |
| 79 | V.ϱ (finVec (idem S.conjClosure • y)) ∘L V.projOn S |
| 80 | |
| 81 | /-- The linear map Ψ ↦ Ψ⊗ from functions on finite adelic vectors to operators on 𝒮(V): |
| 82 | `New.Space.heisenbergCombination` of chosen coefficients c, with `New.schrodingerCombination` c = Ψ |
| 83 | when such exist. -/ |
| 84 | def schrodingerOp (S : Set (FinPlace E)) : ((n → 𝔸f E) → ℂ) →ₗ[ℂ] 𝒮 V →L[ℂ] 𝒮 V := |
| 85 | V.heisenbergCombination S ∘ₗ (exists_generalized_inverse (schrodingerCombination S)).choose |
| 86 | |
| 87 | /-- `V.schrodingerOp S Ψ` is the operator `Ψ⊗` on `𝒮 V`: a combination of Heisenberg operators |
| 88 | composed with the projection `V.projOn S`, with chosen coefficients whose Schrödinger combination is |
| 89 | `Ψ`, when such coefficients exist. It commutes with every bounded operator `A` on `𝒮 V` that |
| 90 | commutes with `V.ϱ y` for all adelic vectors `y` with zero real part whose finite part is zero off |
| 91 | `S` and its conjugate. -/ |
| 92 | lemma commute_schrodingerOp {A : 𝒮 V →L[ℂ] 𝒮 V} |
| 93 | (h_comm : ∀ y : n → 𝔸 E, (∀ i : n, (y i).1 = 0) → |
| 94 | (∀ i : n, ∀ w ∉ S.conjClosure, (y i).2 w = 0) → Commute A (V.ϱ y)) |
| 95 | (Ψ : (n → 𝔸f E) → ℂ) : Commute A (V.schrodingerOp S Ψ) := by |
| 96 | -- The named operator is a combination of translations composed with a mean of translations, |
| 97 | -- all by vectors supported above `S.conjClosure`. |
| 98 | have h_shift (y : n → 𝔸f E) (f : 𝒮 V) : |
| 99 | A (V.ϱ (finVec (idem S.conjClosure • y)) f) = |
| 100 | V.ϱ (finVec (idem S.conjClosure • y)) (A f) := by |
| 101 | refine DFunLike.congr_fun (h_comm _ (fun _ ↦ rfl) fun i w hw ↦ ?_).eq f |
| 102 | simp [finVec, idem_of_notMem hw] |
| 103 | have h_proj (f : 𝒮 V) : A (V.projOn S f) = V.projOn S (A f) := by |
| 104 | have h_mean : A (V.projOn S f) = ∫ y : n → 𝔸f E in stdLattice E n, |
| 105 | V.finHeisenbergOp (idem S.conjClosure • y) (A f) ∂latticeMeasure E n := |
| 106 | V.map_projOn A fun y _ ↦ by simp [finHeisenbergOp, h_shift] |
| 107 | exact h_mean.trans (V.map_projOn (ContinuousLinearMap.id ℂ (𝒮 V)) fun _ _ ↦ rfl).symm |
| 108 | ext f : 1 |
| 109 | simp [schrodingerOp, heisenbergCombination, Finsupp.sum, h_shift, h_proj] |
| 110 | |
| 111 | /-- For v in the Fock space and f in 𝒮(V), v⊗(Ψ⊗f) = Ψ⊗(v⊗f): the operators `New.Space.integrated` v |
| 112 | and `New.Space.schrodingerOp` S Ψ commute. -/ |
| 113 | lemma integrated_schrodingerOp (v : Heisenberg.IsVacuum.Model (Fock.realHeisenberg (realSigns E s))) |
| 114 | (f : 𝒮 V) : |
| 115 | V.integrated v (V.schrodingerOp S Ψ f) = V.schrodingerOp S Ψ (V.integrated v f) := by |
| 116 | have h_comm : Commute (V.integrated v) (V.schrodingerOp S Ψ) := by |
| 117 | refine V.commute_schrodingerOp (fun y hy_real _ ↦ ContinuousLinearMap.ext fun u ↦ ?_) Ψ |
| 118 | exact (V.rho_integrated v u hy_real).symm |
| 119 | exact DFunLike.congr_fun h_comm.eq f |
| 120 | |
| 121 | /-- Naming ignores the projection P^S = `New.Space.projOn` S: `V.schrodingerOp S Ψ` takes the same |
| 122 | value at `P^S f` as at `f`. -/ |
| 123 | lemma schrodingerOp_projOn (f : 𝒮 V) : |
| 124 | V.schrodingerOp S Ψ (V.projOn S f) = V.schrodingerOp S Ψ f := by |
| 125 | simp [schrodingerOp, ← projOn_union, heisenbergCombination, Finsupp.sum] |
| 126 | |
| 127 | lemma smul_schrodingerOp (c : ℂ) (f : 𝒮 V) : |
| 128 | c • V.schrodingerOp S Ψ f = V.schrodingerOp S (c • Ψ) f := by simp |
| 129 | |
| 130 | /-- If the set T of finite places is disjoint from S ∪ S̄, then Ψ ⊗ vac, named at S, with |
| 131 | vac = `V.vacElem` the vacuum vector of 𝒮(V), is fixed by the projection P^T. -/ |
| 132 | lemma projOn_schrodingerOp_vacElem {T : Set (FinPlace E)} (hT : Disjoint S.conjClosure T) : |
| 133 | V.projOn T (V.schrodingerOp S Ψ V.vacElem) = V.schrodingerOp S Ψ V.vacElem := by |
| 134 | -- The projection commutes with translations by vectors that vanish at `T` and its conjugate |
| 135 | -- (`projOn_rho`), and it fixes the vacuum. |
| 136 | have h_comm (y : n → 𝔸f E) (f : 𝒮 V) : |
| 137 | V.projOn T (V.ϱ (finVec (idem S.conjClosure • y)) f) = |
| 138 | V.ϱ (finVec (idem S.conjClosure • y)) (V.projOn T f) := |
| 139 | V.projOn_rho (fun i w hw ↦ by |
| 140 | have hw_not := Set.disjoint_right.1 hT.conjClosure_right hw |
| 141 | simp [finVec, idem_of_notMem hw_not]) f |
| 142 | simp [schrodingerOp, h_comm, heisenbergCombination, Finsupp.sum] |
| 143 | |
| 144 | /-- For g ∈ GL_n(𝔸_f), take `localInner S` (∫ conj(Ψ) Ψ′ over the finite adelic vectors integral off |
| 145 | S, for the Haar measure giving Ô^n mass one) of the indicator of vectors integral at S against its |
| 146 | transform x ↦ indicator(g x). This equals `‖Δ_f(g_S)‖⁻²`, where `g_S` (`cutGL`) is `g` above `S` and |
| 147 | `1` elsewhere. Here `Δ_f` (`New.glMultiplier`) is χ_f(det u) for the chosen u with uÔ^n = Ô^n ∩ |
| 148 | g_S⁻¹Ô^n. -/ |
| 149 | lemma localInner_boxIndicator_mulVec (g : GL n (𝔸f E)) : |
| 150 | localInner S (boxIndicator n S) (fun x : n → 𝔸f E ↦ boxIndicator n S (g.val *ᵥ x)) = |
| 151 | ((‖glMultiplier (cutGL (idem_mul_self S) g)‖ ^ 2)⁻¹ : ℝ) := by |
| 152 | classical |
| 153 | -- Both sides are the volume of the set `A` of integral `x` with `g x` integral on `S`; for the |
| 154 | -- right side this is `latticeMeasure_inter_eq_glMultiplier`. |
| 155 | set A : Set (n → 𝔸f E) := |
| 156 | {x | (cutGL (idem_mul_self S) g).val *ᵥ x ∈ stdLattice E n ∧ x ∈ stdLattice E n} with hA |
| 157 | have hA_open : IsOpen A := (isOpen_stdLattice.preimage (by fun_prop)).inter isOpen_stdLattice |
| 158 | have h_volume : (((‖glMultiplier (cutGL (idem_mul_self S) g)‖ ^ 2)⁻¹ : ℝ) : ℂ) = |
| 159 | ∫ x : n → 𝔸f E, ((A.indicator 1 x : ℝ) : ℂ) ∂latticeMeasure E n := by |
| 160 | rw [← latticeMeasure_inter_eq_glMultiplier, ← hA, integral_complex_ofReal, |
| 161 | integral_indicator_one hA_open.measurableSet] |
| 162 | -- The left side is the integral of the indicators over all vectors. |
| 163 | rw [h_volume, localInner, ← integral_indicator isOpen_integralBox.measurableSet] |
| 164 | congr |
| 165 | -- Compare the two indicators place by place: the cut matrix acts as `g` on `S`, as one off `S`. |
| 166 | simp [hA, Set.indicator, mem_Ô, cutGL, add_mulVec, ↓idem_mul_mem_Ô, apply_ite, mem_integralBox, |
| 167 | smul_mulVec, mem_stdLattice, idem_apply] |
| 168 | funext x |
| 169 | rw [← ite_and, ← ite_and] |
| 170 | refine if_congr ⟨fun ⟨⟨h_off, h_mul⟩, h_on⟩ ↦ ⟨fun i w ↦ ?_, fun i w ↦ ?_⟩, |
| 171 | fun ⟨h_cut, h_int⟩ ↦ ⟨⟨fun i w _ ↦ h_int i w, fun i w hw ↦ ?_⟩, fun i w _ ↦ h_int i w⟩⟩ rfl rfl |
| 172 | · by_cases hw : w ∈ S |
| 173 | · simpa [hw] using h_mul i w hw |
| 174 | · simpa [hw] using h_off i w hw |
| 175 | · by_cases hw : w ∈ S |
| 176 | · exact h_on i w hw |
| 177 | · exact h_off i w hw |
| 178 | · simpa [hw] using h_cut i w |
| 179 | |
| 180 | omit [DecidableEq n] in |
| 181 | /-- Over the vectors x integral off S, the integral of F x = 1(x+m) χ(z*(x+m)_S) c 1(z), with 1 the |
| 182 | indicator of integrality on S and χ = `New.stdLattice.selfDualAddChar`, is c if z is integral on S ∪ |
| 183 | S̄ and 0 otherwise. The integrand `F` is given by the equation `h`. -/ |
| 184 | lemma fourier_boxIndicator {F : (n → 𝔸f E) → ℂ} (m z : n → 𝔸f E) (c : ℂ) |
| 185 | (h : ∀ x : n → 𝔸f E, |
| 186 | boxIndicator n S (x + m) * selfDualAddChar E (star z ⬝ᵥ idem S • (x + m)) * c * |
| 187 | boxIndicator n S z = F x) : |
| 188 | ∫ x : n → 𝔸f E in integralBox n Sᶜ, F x ∂latticeMeasure E n = |
| 189 | boxIndicator n S.conjClosure z * c := by |
| 190 | classical |
| 191 | -- The two boxes meet in the lattice, over which a character integrates to `1` or `0`. |
| 192 | have h_lat : |
| 193 | ∫ x in integralBox n Sᶜ, boxIndicator n S x * |
| 194 | selfDualAddChar E (star z ⬝ᵥ idem S • x) ∂latticeMeasure E n = |
| 195 | if star (idem S) • z ∈ stdLattice E n then 1 else 0 := by |
| 196 | simpa [← integralBox_compl_inter (S := S), |
| 197 | ← setIntegral_indicator isOpen_integralBox.measurableSet, Set.indicator] using |
| 198 | integral_selfDualAddChar_stdLattice (star (idem S) • z) |
| 199 | -- Shifting `x` by the part of `-m` at `S` removes `m` from the integrand. |
| 200 | have h_shift_mem : idem S • -m ∈ integralBox n Sᶜ := by |
| 201 | simp +contextual [mem_integralBox, idem_mul_mem_Ô] |
| 202 | rw [← setIntegral_add_left_eq_self_of_mem (m := idem S • -m) _ h_shift_mem, ← funext h] |
| 203 | simp_all [↓integral_mul_const, mem_integralBox, idem_mul_mem_Ô, star_idem, mem_stdLattice, |
| 204 | smul_smul, idem_mul_self] |
| 205 | -- `z` is integral on `S.conjClosure` when it is integral on `S` and on its conjugate. |
| 206 | grind |
| 207 | |
| 208 | include hS |
| 209 | |
| 210 | /-! ### Naming is well defined when `S` is disjoint from its conjugate -/ |
| 211 | |
| 212 | /-- Let S be disjoint from its conjugate, let c, c′ be finitely supported coefficients indexed by |
| 213 | finite adelic vectors y, and let f, f′ ∈ 𝒮(V). Set A_c = `V.heisenbergCombination S c`, the operator |
| 214 | ∑ c_y ϱ(αy₊) P^S on 𝒮(V) with y₊ the part of y above S ∪ S̄, and Ψ_c = `schrodingerCombination S c`, |
| 215 | the function ∑ c_y (`New.schrodingerAct` S y applied to the indicator of vectors integral on S), |
| 216 | where `schrodingerAct S y Φ` is x ↦ `selfDualAddChar E` (½ y*(2x + y)_S) · Φ(x + y). Then |
| 217 | `dataInner` (the pairing ∫ f̄ f′) gives ⟨A_c f, A_{c′} f′⟩ = `localInner S` Ψ_c Ψ_{c′} · ⟨P^S f, P^S |
| 218 | f′⟩, where `localInner S` is ∫ conj(Ψ) Ψ′ over the finite adelic vectors integral off S (Ô^n having |
| 219 | mass one), and P^S = `V.projOn S` is the mean over y ∈ Ô^n of the finite Heisenberg operators at the |
| 220 | part of y above S ∪ S̄. -/ |
| 221 | lemma dataInner_heisenbergCombination (c c' : (n → 𝔸f E) →₀ ℂ) (f f' : 𝒮 V) : |
| 222 | V.dataInner (V.heisenbergCombination S c f) (V.heisenbergCombination S c' f') = |
| 223 | localInner S (schrodingerCombination S c) (schrodingerCombination S c') * |
| 224 | V.dataInner (V.projOn S f) (V.projOn S f') := by |
| 225 | classical |
| 226 | -- Expand both sides as double sums over the supports of `c` and `c'`, and compare the terms of |
| 227 | -- the translates by `y` and `y + z`. |
| 228 | simp [mul_mul_mul_comm, |
| 229 | (integrableOn_mul (continuous_conj.comp' (locally_constant S).continuous)).const_mul, |
| 230 | heisenbergCombination, ← heisenbergRep_right_rho, Finsupp.sum, mul_sum, localInner, sum_mul, |
| 231 | integrable_finsetSum, integral_finsetSum, integral_const_mul] |
| 232 | congr! 2 with y' - y |
| 233 | obtain ⟨z, rfl⟩ := add_left_surjective y y' |
| 234 | -- On the right the integrand is a character on a translate of the box. |
| 235 | have inner_translates : |
| 236 | ∫ x in integralBox n Sᶜ, starRingEnd ℂ (schrodingerAct S y (boxIndicator n S) x) * |
| 237 | schrodingerAct S (y + z) (boxIndicator n S) x ∂latticeMeasure E n = |
| 238 | boxIndicator n S.conjClosure z * |
| 239 | schrodingerAct S (-y) (schrodingerAct S (y + z) (boxIndicator n S)) 0 := by |
| 240 | apply fourier_boxIndicator y z |
| 241 | simp [schrodingerAct, integralBox, apply_ite, ← add_assoc, ← map_add_eq_mul, |
| 242 | ← inv_eq_conj, ← map_neg_eq_inv] |
| 243 | grind [add_mem_cancel_left] |
| 244 | -- On the left translate back by `-y`, which leaves the translation by `z` between projections. |
| 245 | rw [← dataInner_rho _ (finVec (idem S.conjClosure • -y)), inner_translates] |
| 246 | by_cases hz : z ∈ integralBox n S.conjClosure |
| 247 | · -- `finHeisenbergOp` at `z` fixes the projected vector, and `schrodingerAct S z` fixes the box |
| 248 | -- up to the same semicharacter factor. |
| 249 | nth_rw 4 [← V.finHeisenbergOp_projOn hz] |
| 250 | have scalar : |
| 251 | (semichar (idem S.conjClosure • z) • schrodingerAct S z (boxIndicator n S)) 0 = |
| 252 | boxIndicator n S 0 := |
| 253 | congrFun (schrodingerAct_boxIndicator hS hz) 0 |
| 254 | simp_all [mem_integralBox, idem_mul_mem_Ô, ← heisenbergRep_right_rho, Heisenberg.Rep.mul, |
| 255 | Heisenberg.self_eq_one, schrodingerAct_schrodingerAct, finHeisenbergOp, smul_smul, |
| 256 | idem_mul_self] |
| 257 | grind |
| 258 | · -- The projection kills the translate by `z`, which is not integral. |
| 259 | have proj : |
| 260 | V.projOn S (V.finHeisenbergOp (idem S.conjClosure • z) (V.projOn S f')) = |
| 261 | boxIndicator n S.conjClosure (idem S.conjClosure • z) • |
| 262 | V.finHeisenbergOp (idem S.conjClosure • z) (V.projOn S f') := |
| 263 | V.projOn_finHeisenbergOp (V.projOn_projOn f') _ |
| 264 | simp_all [dataInner_projOn, schrodingerAct, integralBox, apply_ite, |
| 265 | finHeisenbergOp, ← heisenbergRep_right_rho, smul_smul, idem_mul_self, Heisenberg.Rep.mul] |
| 266 | |
| 267 | /-- The name does not depend on the choice of coefficients: for `S` disjoint from its conjugate, |
| 268 | the combination of translates of the indicator with coefficients `c` names |
| 269 | `V.heisenbergCombination S c`. -/ |
| 270 | lemma schrodingerOp_schrodingerCombination (c : (n → 𝔸f E) →₀ ℂ) (f : 𝒮 V) : |
| 271 | V.schrodingerOp S (schrodingerCombination S c) f = V.heisenbergCombination S c f := by |
| 272 | -- By `dataInner_heisenbergCombination` the norm of the difference depends only on the values of |
| 273 | -- `schrodingerCombination S`, and these agree on `c` and on the coefficients that `schrodingerOp` |
| 274 | -- chooses. |
| 275 | refine sub_eq_zero.mp (V.eq_zero_of_dataInner_self ?_) |
| 276 | grind [schrodingerOp, dataInner_heisenbergCombination, LinearMap.comp_apply] |
| 277 | |
| 278 | /-- Let `S` be disjoint from its conjugate. Then `schrodingerOp S` of the Schrödinger translate |
| 279 | `schrodingerAct S y` of the indicator `boxIndicator n S` sends `f` to `V.ϱ (finVec y₊)` applied to |
| 280 | P^S f = `V.projOn S f`, where y₊ = `idem S.conjClosure • y` is the part of `y` at S ∪ S̄. |
| 281 | Multiplying by `semichar y₊` gives the same rule for `finHeisenbergOp y₊`, with the phase of |
| 282 | `New.semichar_smul_schrodingerAct` on the left. -/ |
| 283 | @[local simp] |
| 284 | lemma schrodingerOp_schrodingerAct_boxIndicator (y : n → 𝔸f E) (f : 𝒮 V) : |
| 285 | V.schrodingerOp S (schrodingerAct S y (boxIndicator n S)) f = |
| 286 | V.ϱ (finVec (idem S.conjClosure • y)) (V.projOn S f) := by |
| 287 | simpa [heisenbergCombination] using V.schrodingerOp_schrodingerCombination hS (.single y 1) f |
| 288 | |
| 289 | /-- For a set S of finite places disjoint from its conjugate, the indicator of the vectors |
| 290 | integral at all places of S names the operator P^S = `New.Space.projOn` S. -/ |
| 291 | lemma schrodingerOp_boxIndicator : V.schrodingerOp S (boxIndicator n S) = V.projOn S := by |
| 292 | simpa [schrodingerAct, ← heisenbergRep_right_rho] using |
| 293 | funext (V.schrodingerOp_schrodingerAct_boxIndicator hS 0) |
| 294 | /-- Let `S` be disjoint from its conjugate and `Ψ` Schwartz–Bruhat above `S`, and write Ψ⊗ for the |
| 295 | operator `V.schrodingerOp S Ψ` on 𝒮(V). For a finite adelic vector `y`, let y' be `y` kept at S ∪ S̄ |
| 296 | and set to 0 elsewhere. Then applying the Heisenberg operator `V.ϱ` of `finVec` y' (zero archimedean |
| 297 | part, finite part αy') to Ψ⊗f gives (`schrodingerAct S y Ψ`)⊗f, where `schrodingerAct S y Ψ` is |
| 298 | x ↦ `selfDualAddChar E` (½ y*(2x + y)_S) · Ψ(x + y). -/ |
| 299 | lemma rho_schrodingerOp [IsSchwartzBruhat S Ψ] (y : n → 𝔸f E) (f : 𝒮 V) : |
| 300 | V.ϱ (finVec (idem S.conjClosure • y)) (V.schrodingerOp S Ψ f) = |
| 301 | V.schrodingerOp S (schrodingerAct S y Ψ) f := by |
| 302 | -- Write `Ψ` as a combination of translates of the box: `ϱ` and `schrodingerAct` compose by the |
| 303 | -- same rule. |
| 304 | obtain ⟨c, rfl⟩ := mem_range_schrodingerCombination hS (Φ := Ψ) inferInstance |
| 305 | simp [hS, ← heisenbergRep_right_rho, Finsupp.sum, Heisenberg.Rep.mul, |
| 306 | schrodingerAct_schrodingerAct] |
| 307 | |
| 308 | /-- Let `S` be disjoint from its conjugate and `Ψ`, `Ψ'` Schwartz–Bruhat above `S`, and write Ψ ⊗ f |
| 309 | for `V.schrodingerOp S Ψ f`. Then ⟨Ψ ⊗ f, Ψ′ ⊗ f′⟩ (the pairing `dataInner`, ∫ f̄ f′ on 𝒮(V)) equals |
| 310 | `localInner S Ψ Ψ'` times ⟨P^S f, P^S f′⟩. Here `localInner S Ψ Ψ'` is ∫ conj(Ψ) Ψ′ over the finite |
| 311 | adelic vectors integral off `S`, with Haar measure giving Ô^n mass one. P^S = `V.projOn S` is the |
| 312 | mean over y ∈ Ô^n of `finHeisenbergOp` at the part of y above S ∪ S̄. -/ |
| 313 | lemma dataInner_schrodingerOp [IsSchwartzBruhat S Ψ] [IsSchwartzBruhat S Ψ'] (f f' : 𝒮 V) : |
| 314 | V.dataInner (V.schrodingerOp S Ψ f) (V.schrodingerOp S Ψ' f') = |
| 315 | localInner S Ψ Ψ' * V.dataInner (V.projOn S f) (V.projOn S f') := by |
| 316 | -- Both functions are combinations of translates of the box. |
| 317 | obtain ⟨c, rfl⟩ := mem_range_schrodingerCombination hS (Φ := Ψ) inferInstance |
| 318 | obtain ⟨c', rfl⟩ := mem_range_schrodingerCombination hS (Φ := Ψ') inferInstance |
| 319 | rw [V.schrodingerOp_schrodingerCombination hS, V.schrodingerOp_schrodingerCombination hS, |
| 320 | V.dataInner_heisenbergCombination hS] |
| 321 | |
| 322 | attribute [irreducible] schrodingerOp |
| 323 | |
| 324 | end New.Space |
| 325 | |
| 326 | /-! |
| 327 | ## Names under changes of coordinates and products of data |
| 328 | |
| 329 | Names on the vacuum are transported by a change of coordinates |
| 330 | (`New.CoordChange.map_schrodingerOp`). |
| 331 | -/ |
| 332 | |
| 333 | namespace New |
| 334 | |
| 335 | open NumberField Matrix Finset Submodule Space Heisenberg |
| 336 | |
| 337 | variable {E : Type*} [Field E] [CMType E] [WeilData E] |
| 338 | {n : Type*} [Fintype n] [DecidableEq n] {s : n → ℤˣ} |
| 339 | {n₁ n₂ : Type*} [Fintype n₁] [DecidableEq n₁] [Fintype n₂] [DecidableEq n₂] |
| 340 | {s₁ : n₁ → ℤˣ} {s₂ : n₂ → ℤˣ} {V : Space E n s} {V₁ : Space E n₁ s₁} {V₂ : Space E n₂ s₂} |
| 341 | {S : Set (FinPlace E)} {Ψ : (n₁ → 𝔸f E) → ℂ} {Ψ' : (n₂ → 𝔸f E) → ℂ} |
| 342 | {e : n₁ ⊕ n₂ ≃ n} (hs : s ∘ e = s₁ ⊕ᵥ s₂) |
| 343 | |
| 344 | /-- Names are transported by a change of coordinates `D`. Let `S` and `S'` be disjoint from their |
| 345 | conjugates. Let the finite part `D.finEquiv` carry parts at `S'` to parts at `S`, and parts at |
| 346 | `S'.conjClosure` to parts at `S.conjClosure` (the sets with their conjugates). For `Ψ` |
| 347 | Schwartz–Bruhat above `S`, `D.map` sends the vector named by `Ψ` on the vacuum of `V₁` to the vector |
| 348 | named by `σ ∘ Ψ ∘ D.finEquiv`, at `S'`, on the vacuum of `V`. -/ |
| 349 | lemma CoordChange.map_schrodingerOp {σ : ℂ →+* ℂ} [RingHomIsometric σ] (D : CoordChange E σ s₁ s) |
| 350 | {S' : Set (FinPlace E)} |
| 351 | (h_finEquiv_idem : ∀ x : n → 𝔸f E, D.finEquiv (idem S' • x) = idem S • D.finEquiv x) |
| 352 | (h_finEquiv_idem_conj : ∀ x : n → 𝔸f E, |
| 353 | D.finEquiv (idem S'.conjClosure • x) = idem S.conjClosure • D.finEquiv x) |
| 354 | (hS : S.IsConjDisjoint) (hS' : S'.IsConjDisjoint) [hΨ : IsSchwartzBruhat S Ψ] : |
| 355 | D.map (V₁.schrodingerOp S Ψ V₁.vacElem) = |
| 356 | V.schrodingerOp S' (fun x : n → 𝔸f E ↦ σ (Ψ (D.finEquiv x))) V.vacElem := by |
| 357 | classical |
| 358 | -- Write `Ψ` as a finite combination of translates of the box function. |
| 359 | obtain ⟨c, rfl⟩ := mem_range_schrodingerCombination hS hΨ |
| 360 | -- The transported function is the combination, with coefficients `σ a`, of the translates by |
| 361 | -- `D.finEquiv.symm y`. |
| 362 | have h_comb : (fun x ↦ σ (schrodingerCombination S c (D.finEquiv x))) = |
| 363 | c.sum fun y a ↦ σ a • schrodingerAct S' (D.finEquiv.symm y) (boxIndicator n S') := by |
| 364 | simp [schrodingerAct, integralBox, ↓← D.selfDualAddChar_finEquiv, h_finEquiv_idem, apply_ite, |
| 365 | ← D.finEquiv_mem, Finsupp.sum, funext_iff] |
| 366 | have h_ϱ (x : n → 𝔸 E) : D.map (V₁.ϱ (D.φ x) V₁.vacElem) = V.ϱ x V.vacElem := by |
| 367 | rw [D.map_rho, D.map_vacElem] |
| 368 | -- On the vacuum, a translate names `ϱ` of the part of the translation vector above the places |
| 369 | -- and their conjugates, and `D.map` intertwines `ϱ`. |
| 370 | rw [h_comb] |
| 371 | simp [hS, hS', h_finEquiv_idem_conj, apply_finVec, ← h_ϱ, Finsupp.sum, |
| 372 | schrodingerOp_schrodingerAct_boxIndicator] |
| 373 | |
| 374 | /-- The projection P^S commutes with products of data: the product `V.boxProd hs` (the product of |
| 375 | the underlying functions, for a splitting `e : n₁ ⊕ n₂ ≃ n` of the coordinates compatible with the |
| 376 | signs, `hs`) of the projected vectors of `V₁` and `V₂` is the projection of their product. -/ |
| 377 | lemma Space.boxProd_projOn (f₁ : 𝒮 V₁) (f₂ : 𝒮 V₂) : |
| 378 | V.boxProd hs (V₁.projOn S f₁) (V₂.projOn S f₂) = V.projOn S (V.boxProd hs f₁ f₂) := by |
| 379 | classical |
| 380 | -- The coefficient function of a product is the product of the coefficient functions, and |
| 381 | -- `projOn S` multiplies a coefficient function by the indicator of a box. |
| 382 | refine IsVacuum.ext fun x ↦ ?_ |
| 383 | rw [projOn_val, boxProd_val, boxProd_val] |
| 384 | -- A vector lies in the box for `n` iff its two parts lie in the boxes for `n₁` and `n₂`. |
| 385 | -- (`using!`: one condition reads the finite coordinates of `x` at `e (.inl a)`, the other those |
| 386 | -- of the part `x ∘ e ∘ .inl` at `a`; these agree only by unfolding) |
| 387 | simpa [projOn_val, reindex_equiv e, ← ite_and, mem_integralBox] using! if_congr and_comm rfl rfl |
| 388 | |
| 389 | /-- For any set `S` of finite places and any function `Ψ`, the operator `V.schrodingerOp S Ψ` maps |
| 390 | the finite part `V.finitePart` (the span of the finite Heisenberg translates of the vacuum) into |
| 391 | itself: if `f` lies in `V.finitePart`, so does `V.schrodingerOp S Ψ f`. The membership of `f` is a |
| 392 | default argument proved by `simp`. -/ |
| 393 | lemma Space.schrodingerOp_mem_finitePart (S : Set (FinPlace E)) (Ψ : (n → 𝔸f E) → ℂ) {f : 𝒮 V} |
| 394 | (h : f ∈ V.finitePart := by simp [funext_iff, finVec]) : |
| 395 | V.schrodingerOp S Ψ f ∈ V.finitePart := by |
| 396 | simp [schrodingerOp, heisenbergCombination, sum_smul_mem, rho_finVec_mem_finitePart, |
| 397 | projOn_mem_finitePart h, Finsupp.sum] |
| 398 | |
| 399 | /-- Let `S` be disjoint from its conjugate, `Ψ`, `Ψ'` Schwartz–Bruhat above `S`, and |
| 400 | `e : n₁ ⊕ n₂ ≃ n` a splitting of the coordinates compatible with the signs (`hs`); write Ψ⊗ for the |
| 401 | operator `schrodingerOp S Ψ` and vac for the vacuum `vacElem`. Then `V.boxProd hs` (the product of |
| 402 | the underlying functions) of Ψ⊗vac in 𝒮(V₁) and Ψ'⊗vac in 𝒮(V₂) equals Θ⊗vac in 𝒮(V). Here |
| 403 | `Θ x = Ψ x₁ * Ψ' x₂`, with x₁, x₂ the two blocks of coordinates of `x` given by `e`. -/ |
| 404 | lemma Space.boxProd_schrodingerOp {Θ : (n → 𝔸f E) → ℂ} (hS : S.IsConjDisjoint) |
| 405 | [hΨ : IsSchwartzBruhat S Ψ] [hΨ' : IsSchwartzBruhat S Ψ'] |
| 406 | (h : Θ = fun x : n → 𝔸f E ↦ Ψ (x ∘ e ∘ Sum.inl) * Ψ' (x ∘ e ∘ Sum.inr)) : |
| 407 | V.boxProd hs (V₁.schrodingerOp S Ψ V₁.vacElem) (V₂.schrodingerOp S Ψ' V₂.vacElem) = |
| 408 | V.schrodingerOp S Θ V.vacElem := by |
| 409 | classical |
| 410 | -- Both sides are bilinear in `Ψ`, `Ψ'`; write each as a combination of translates of the box. |
| 411 | obtain ⟨c, rfl⟩ := mem_range_schrodingerCombination hS hΨ |
| 412 | obtain ⟨c', rfl⟩ := mem_range_schrodingerCombination hS hΨ' |
| 413 | -- The product of the translates by `y` and `y'` is the translate by the joined vector. |
| 414 | have h_prod (y : n₁ → 𝔸f E) (y' : n₂ → 𝔸f E) : |
| 415 | (fun x : n → 𝔸f E ↦ |
| 416 | schrodingerAct S y (boxIndicator n₁ S) (x ∘ e ∘ .inl) * |
| 417 | schrodingerAct S y' (boxIndicator n₂ S) (x ∘ e ∘ .inr)) = |
| 418 | schrodingerAct S ((y ⊕ᵥ y') ∘ e.symm) (boxIndicator n S) := by |
| 419 | simp [reindex_equiv e, dotProduct, ← e.sum_comp, AddChar.map_add_eq_mul, schrodingerAct, |
| 420 | mul_add, sum_add_distrib, mem_integralBox, funext_iff] |
| 421 | grind |
| 422 | -- Expanded, both sides are double sums of the same multiples of `V.ϱ _ V.vacElem`, up to joining |
| 423 | -- the two vectors before or after `finVec`. |
| 424 | have h_join (y₁ : n₁ → 𝔸f E) (y₂ : n₂ → 𝔸f E) : |
| 425 | (finVec (idem S.conjClosure • y₁) ⊕ᵥ finVec (idem S.conjClosure • y₂)) ∘ e.symm = |
| 426 | finVec (idem S.conjClosure • (y₁ ⊕ᵥ y₂) ∘ e.symm) := by |
| 427 | simp [reindex_equiv e, funext_iff, finVec] |
| 428 | simp [h, h_prod, h_join, hS, ← sum_fn, boxProd_rho, sum_mul, mul_sum, -smul_eq_mul, ← Pi.smul_def, |
| 429 | Finsupp.sum, schrodingerOp_schrodingerAct_boxIndicator] |
| 430 | |
| 431 | end New |
| 432 | |
| 433 | /-! ## The Weil action on names and names over disjoint sets of places -/ |
| 434 | |
| 435 | namespace New.Space |
| 436 | |
| 437 | open Matrix Gf stdLattice Finset |
| 438 | |
| 439 | variable {E : Type*} [Field E] [CMType E] [WeilData E] |
| 440 | {n : Type*} [Fintype n] [DecidableEq n] |
| 441 | {s : n → ℤˣ} {S : Set (FinPlace E)} (hS : S.IsConjDisjoint) (V : Space E n s) |
| 442 | {Ψ : (n → 𝔸f E) → ℂ} [hΨ : IsSchwartzBruhat (n := n) S Ψ] |
| 443 | |
| 444 | /-- Let S, T be disjoint sets of finite places with S ∪ T disjoint from its conjugate, let Ψ be |
| 445 | Schwartz–Bruhat above S and Ψ′ above T, and let f ∈ 𝒮(V). Then `V.schrodingerOp (S ∪ T) (Ψ * Ψ')` |
| 446 | f = `V.schrodingerOp S Ψ` (`V.schrodingerOp T Ψ'` f). Here `schrodingerOp S Ψ` is the operator Ψ⊗ on |
| 447 | 𝒮(V) given by the combination ∑ c_y ϱ(αy₊) P^S (`heisenbergCombination`) for coefficients c whose |
| 448 | matching function `schrodingerCombination S c` equals Ψ. -/ |
| 449 | lemma schrodingerOp_union {Ψ' : (n → 𝔸f E) → ℂ} {T : Set (FinPlace E)} |
| 450 | (h_half : (S ∪ T).IsConjDisjoint) (h_disj : Disjoint S T) [hΨ' : IsSchwartzBruhat T Ψ'] |
| 451 | (f : 𝒮 V) : |
| 452 | V.schrodingerOp (S ∪ T) (Ψ * Ψ') f = V.schrodingerOp S Ψ (V.schrodingerOp T Ψ' f) := by |
| 453 | obtain ⟨hS, hT⟩ : S.IsConjDisjoint ∧ T.IsConjDisjoint := by simp_all [Set.IsConjDisjoint] |
| 454 | -- Write each function as a combination of translates of its box function. |
| 455 | obtain ⟨c, rfl⟩ := mem_range_schrodingerCombination hS hΨ |
| 456 | obtain ⟨c', rfl⟩ := mem_range_schrodingerCombination hT hΨ' |
| 457 | -- Both sides are bilinear in the coefficients, so it suffices to take one translate of each box. |
| 458 | have h_term (z y : n → 𝔸f E) : |
| 459 | V.schrodingerOp (S ∪ T) |
| 460 | (schrodingerAct S z (boxIndicator n S) * schrodingerAct T y (boxIndicator n T)) f = |
| 461 | V.schrodingerOp S (schrodingerAct S z (boxIndicator n S)) |
| 462 | (V.schrodingerOp T (schrodingerAct T y (boxIndicator n T)) f) := by |
| 463 | -- The product is the box function of `S ∪ T` translated by the part of `y` above `T ∪ T̄` and |
| 464 | -- then by that of `z` above `S ∪ S̄`; the sets `S`, `S̄`, `T`, `T̄` are pairwise disjoint. |
| 465 | have h_prod : |
| 466 | schrodingerAct S z (boxIndicator n S) * schrodingerAct T y (boxIndicator n T) = |
| 467 | schrodingerAct (S ∪ T) (idem S.conjClosure • z) |
| 468 | (schrodingerAct (S ∪ T) (idem T.conjClosure • y) (boxIndicator n (S ∪ T))) := by |
| 469 | ext x |
| 470 | simp_all [schrodingerAct, ← ite_and, Set.disjoint_left, Finsupp.sum.eq_1] |
| 471 | -- One goal for the box and one for each of the two phases. |
| 472 | congr! 3 <;> simp [mem_integralBox, idem_mul_mem_Ô, DFunLike.ext_iff, idem_apply] <;> grind |
| 473 | -- The translation by the part of `y` vanishes above `S ∪ S̄`, so it commutes with `projOn S`. |
| 474 | have h_off : ∀ i, ∀ w ∈ S.conjClosure, (finVec (idem T.conjClosure • y) i).2 w = 0 := by |
| 475 | simp_all [Set.disjoint_left, finVec, Finsupp.sum.eq_1, idem_apply] |
| 476 | grind [star_star] |
| 477 | have h_idem (U : Set (FinPlace E)) (hU : U ⊆ S ∪ T) : |
| 478 | idem (S ∪ T).conjClosure * idem U.conjClosure = idem U.conjClosure := by |
| 479 | simp [DFunLike.ext_iff, idem_apply] |
| 480 | grind |
| 481 | rw [h_prod, ← rho_schrodingerOp h_half, schrodingerOp_schrodingerAct_boxIndicator h_half, |
| 482 | schrodingerOp_schrodingerAct_boxIndicator hT, schrodingerOp_schrodingerAct_boxIndicator hS] |
| 483 | simp [projOn_union, projOn_rho _ h_off, smul_smul, h_idem] |
| 484 | simp [sum_mul, mul_sum, Finsupp.sum.eq_1, h_term] |
| 485 | |
| 486 | include hS |
| 487 | /-- Let S be disjoint from its conjugate, Ψ be Schwartz–Bruhat above S, g ∈ `G E s` with finite |
| 488 | component g_f = `g.snd`, and f ∈ 𝒮(V), and write Φ⊗ = `V.schrodingerOp S Φ` for the operator ∑ c_y |
| 489 | ϱ(αy₊) P^S (`heisenbergCombination`) whose matching function `schrodingerCombination S c` is Φ. Let |
| 490 | u = `V.ω g` (B⊗ f), where B(x) = `boxIndicator n S` (g_f x) is the indicator of the x with g_f x |
| 491 | integral at every place of S. Then u is fixed by P^S = `V.projOn S` (the mean over y ∈ Ô^n of the |
| 492 | finite Heisenberg operators above S ∪ S̄), and `V.ω g` (Ψ⊗ f) = Ψ′⊗ u with Ψ′(x) = Ψ(g_f⁻¹ x). -/ |
| 493 | lemma omega_schrodingerOp (g : G E s) (f : 𝒮 V) : |
| 494 | let u : 𝒮 V := V.ω g (V.schrodingerOp S (fun x : n → 𝔸f E ↦ boxIndicator n S (g.snd *ᵥ x)) f) |
| 495 | V.projOn S u = u ∧ |
| 496 | V.ω g (V.schrodingerOp S Ψ f) = V.schrodingerOp S (fun x : n → 𝔸f E ↦ Ψ (↑g.snd⁻¹ *ᵥ x)) u := by |
| 497 | classical |
| 498 | intro u |
| 499 | -- The linear map `T Φ = ω g (Φ (g ·) ⊗ f)` sends the box function to `u`, and it turns the |
| 500 | -- action `schrodingerAct` on functions into `ϱ`. |
| 501 | let M : Matrix n n (𝔸f E) := (↑g.snd : GL n (𝔸f E)) |
| 502 | let T : ((n → 𝔸f E) → ℂ) →ₗ[ℂ] 𝒮 V := |
| 503 | (V.ω g ∘L .apply ℂ _ f).toLinearMap ∘ₗ V.schrodingerOp S ∘ₗ .funLeft ℂ ℂ M.mulVec |
| 504 | have T_schrodingerAct (y : n → 𝔸f E) : |
| 505 | T (schrodingerAct S y (boxIndicator n S)) = V.ϱ (finVec (idem S.conjClosure • y)) u := by |
| 506 | obtain ⟨y, rfl⟩ : ∃ z : n → 𝔸f E, M *ᵥ z = y := mulVec_surjective_of_invertible M y |
| 507 | -- The translation by the image of `y` is `g.adeleMatrix` applied to the translation by `y`. |
| 508 | have h_vec : finVec (idem S.conjClosure • (M *ᵥ y)) = |
| 509 | g.adeleMatrix *ᵥ finVec (idem S.conjClosure • y) := by |
| 510 | rw [mulVec_finVec] |
| 511 | change _ = finVec (M *ᵥ (idem S.conjClosure • y)) |
| 512 | rw [mulVec_smul] |
| 513 | rw [h_vec, ← omega_rho, rho_schrodingerOp hS] |
| 514 | simp [T, M, schrodingerAct, LinearMap.pi, LinearMap.funLeft, Function.comp_def, mulVec_add] |
| 515 | -- Integral translations, corrected by `semichar`, fix the box function, so their mean fixes `u`. |
| 516 | have h_fix_all : ∀ y ∈ stdLattice E n, V.finHeisenbergOp (idem S.conjClosure • y) u = u := by |
| 517 | intro y hy |
| 518 | have h_fix : |
| 519 | T (semichar (idem S.conjClosure • y) • schrodingerAct S y (boxIndicator n S)) = u := |
| 520 | congrArg T (schrodingerAct_boxIndicator hS (integralBox_compl_inter.ge hy).right) |
| 521 | simpa [finHeisenbergOp, T_schrodingerAct] using h_fix |
| 522 | have h_fixed : V.projOn S u = u := V.map_projOn_eq_const 1 h_fix_all |
| 523 | refine ⟨h_fixed, ?_⟩ |
| 524 | -- `T` and `· ⊗ u` agree on translates of the box function, hence on `Ψ (g⁻¹ ·)`. |
| 525 | obtain ⟨c, hc⟩ : ∃ c : (n → 𝔸f E) →₀ ℂ, |
| 526 | schrodingerCombination S c = fun x ↦ |
| 527 | Ψ (((↑(g.snd⁻¹) : GL n (𝔸f E)) : Matrix n n (𝔸f E)) *ᵥ x) := |
| 528 | mem_range_schrodingerCombination hS (hΨ.comp_mulVec g.snd⁻¹) |
| 529 | calc |
| 530 | _ = T (fun x ↦ Ψ (↑g.snd⁻¹ *ᵥ x)) := by simp [T, M, LinearMap.funLeft, Function.comp_def] |
| 531 | _ = _ := by |
| 532 | rw [← hc] |
| 533 | simp [T_schrodingerAct, h_fixed, schrodingerOp_schrodingerAct_boxIndicator hS, Finsupp.sum] |
| 534 | |
| 535 | /-- Let `S` be disjoint from its conjugate, `Ψ` Schwartz–Bruhat above `S`, and `g` in the finite |
| 536 | adelic unitary group (gᴴg = 1) supported on S ∪ S̄. Then `V.ω g` sends `V.schrodingerOp S Ψ f`, the |
| 537 | operator Ψ⊗ on 𝒮(V) applied to `f`, to `V.schrodingerOp S` of x ↦ Ψ(g⁻¹x) applied to `f`, times a |
| 538 | scalar. The scalar is the complex conjugate of `chiAdelic` (x ↦ υ(x)|x|^(−1/2), with υ the splitting |
| 539 | character) at the idele `detOn S g`, which equals det g at the places of `S` and 1 elsewhere. -/ |
| 540 | lemma omega_schrodingerOp_of_mem_supportedOn {g : Gf E n} (hg : g ∈ supportedOn n S) (f : 𝒮 V) : |
| 541 | V.ω g (V.schrodingerOp S Ψ f) = |
| 542 | starRingEnd ℂ (chiAdelic (detOn S g.val)) • |
| 543 | V.schrodingerOp S (fun x : n → 𝔸f E ↦ Ψ (↑g⁻¹ *ᵥ x)) f := by |
| 544 | -- By `omega_schrodingerOp` it suffices to find `ω g v` for the vector `v` below; compute |
| 545 | -- `projOn S v` twice. |
| 546 | let v : 𝒮 V := V.schrodingerOp S (fun x ↦ boxIndicator n S (↑g *ᵥ x)) f |
| 547 | let c : ℂ := (((‖glMultiplier (cutGL (idem_mul_self S) g.val)‖ ^ 2)⁻¹ : ℝ) : ℂ) |
| 548 | obtain ⟨h_fixed, h_omega_name⟩ : V.projOn S (V.ω g v) = V.ω g v ∧ |
| 549 | V.ω g (V.schrodingerOp S Ψ f) = V.schrodingerOp S (fun x ↦ Ψ (↑g⁻¹ *ᵥ x)) (V.ω g v) := |
| 550 | V.omega_schrodingerOp hS (Ψ := Ψ) g f |
| 551 | -- First, `projOn S v = c • projOn S f`: by `dataInner_schrodingerOp` the inner product of two |
| 552 | -- named vectors has the inner product of the functions, here `c`, as a factor. |
| 553 | have h_proj_v : V.projOn S v = c • V.projOn S f := by |
| 554 | have h_dataInner_projOn (w : 𝒮 V) : |
| 555 | V.dataInner (V.projOn S w) v = c * V.dataInner (V.projOn S w) (V.projOn S f) := by |
| 556 | simp only [c, v, ← localInner_boxIndicator_mulVec, ← dataInner_schrodingerOp hS V, |
| 557 | schrodingerOp_boxIndicator hS] |
| 558 | have h_sub : V.projOn S (v - c • V.projOn S f) = 0 := |
| 559 | V.eq_zero_of_dataInner_self (by simp [← dataInner_projOn, h_dataInner_projOn]) |
| 560 | simpa [← projOn_union, sub_eq_zero] using h_sub |
| 561 | -- Second, apply `projOn_omega` to `g⁻¹` and the fixed vector `ω g v`. |
| 562 | have h_projOn_omega : (finMultiplier g)⁻¹ • V.ω g v = V.projOn S v := by |
| 563 | simpa [rep_apply_apply, Prod.mk_one_one] using (V.projOn_omega (inv_mem hg) h_fixed).symm |
| 564 | -- `finMultiplier g` is `c⁻¹` times the conjugated character (`finMultiplier_eq_of_supportedOn`). |
| 565 | have h_mult : finMultiplier g * c = starRingEnd ℂ (chiAdelic (detOn S g.val)) := by |
| 566 | have h_ne := finMultiplier_ne_zero g |
| 567 | simp_all [c, finMultiplier_eq_of_supportedOn hS hg, chiFin, detOn, mul_right_comm] |
| 568 | have h_ω_v : V.ω g v = starRingEnd ℂ (chiAdelic (detOn S g.val)) • V.projOn S f := by |
| 569 | rw [← h_mult, mul_smul, ← h_proj_v, ← h_projOn_omega, smul_inv_smul₀ (finMultiplier_ne_zero g)] |
| 570 | rw [h_omega_name, h_ω_v, map_smul, schrodingerOp_projOn] |
| 571 | |
| 572 | end New.Space |
| 573 | |
| 574 | end |