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 | public import New.Determinant.Exchange.MatchingPartners |
| 4 | public import Lib.Weil.DualPair.ThetaIntegrals |
| 5 | public import Lib.Weil.DualPair.WeilAction |
| 6 | import Lib.ClassField.HeckeCharacter.TameModulus |
| 7 | import Lib.SiegelWeil.Tower.LineGaussSums |
| 8 | |
| 9 | /-! |
| 10 | # The difference in the exchange identity as an equivariant lift |
| 11 | |
| 12 | This file is a step towards the identity between theta integrals over `U(V)` and `U(V')`, where |
| 13 | `rk W = rk V + rk V'`. The identity is taken for matched functions `Φ`, `Ψ` at the ramified places |
| 14 | of the tame character `𝔠`. This file defines the small side `New.Exchange.thetaSmall`. It proves |
| 15 | how `thetaLarge` and `thetaSmall` change under translation at the ramified places, and that both |
| 16 | are invariant under the integral points of `U(W)` that are trivial there. From this it shows that |
| 17 | the difference of the two sides is an equivariant lift. |
| 18 | |
| 19 | ## Main definitions and results |
| 20 | |
| 21 | * `New.Exchange.thetaSmall`: the theta integral for `V'` of the datum `Ψ`. |
| 22 | * `New.Exchange.exists_isEquivariantLift_eq_thetaLarge_sub_smul`: the difference |
| 23 | `thetaLarge Φ - c • thetaSmall Ψ` is a linear map of `Ψ` alone, on a `GL_n`-stable space, and is |
| 24 | equivariant (`New.Exchange.IsEquivariantLift`). |
| 25 | |
| 26 | Notions from other files: |
| 27 | * `thetaIntegral S T α β f`: the integral over `[U(T)]` of the theta kernel of the datum `f`. |
| 28 | * `thetaLarge W V 𝔠 v Φ`: the theta integral over `[U(V)]` of the datum `v ⊗ Φ`. |
| 29 | * `localChar P ξ k`: the character `t ↦ ξ t * |t| ^ (k / 2)` of the completions at `P`. |
| 30 | * `sameSectionPairs χ σ`: pairs `(Φ, Ψ)` of Schwartz–Bruhat functions on `a × n` and `n × b` |
| 31 | matrices, `σ : b ⊕ a ≃ n`, whose values of `localSection χ` at the blocks of `k` differ by |
| 32 | `χ (det k)`. |
| 33 | |
| 34 | ## Relation to the literature |
| 35 | |
| 36 | See `New.Determinant.Exchange.TheoremForPartners` for related work. |
| 37 | -/ |
| 38 | |
| 39 | @[expose] public section |
| 40 | |
| 41 | namespace New.Exchange |
| 42 | |
| 43 | open RingHom Matrix Pi WeilData SemilocalField Fintype SplitTameChar GeneralLinearGroup |
| 44 | |
| 45 | variable {E : Type} [Field E] [CMType E] [WeilData E] |
| 46 | {n a b : Type} [Fintype n] [DecidableEq n] [Fintype a] [DecidableEq a] [Fintype b] [DecidableEq b] |
| 47 | {s : n → ℤˣ} {t : a → ℤˣ} {t' : b → ℤˣ} {μ : NumberField.InfinitePlace E → ℤ} (W : Space E n s) |
| 48 | (V : Space E a t) (V' : Space E b t') (𝔠 : SplitTameChar E μ) |
| 49 | |
| 50 | /-- The small side: the theta integral over `U(V)`, as a function on `U(W)`, of the datum with real |
| 51 | part `v` and component `y ↦ Ψ yᵀ`, read in the model at the conjugates of the ramified places of |
| 52 | `𝔠`. The two characters of `U(1)` are `ν υ ^ ⌊rk W / 2⌋` (`rankTwist`) and `υ ^ rk V`, where |
| 53 | `ν = 𝔠.character`. Here `υ` is the splitting character of the Weil data, restricted to the norm-one |
| 54 | ideles (`upsilonU1`). In the exchange identity it is applied to the space `V'`. -/ |
| 55 | noncomputable abbrev thetaSmall |
| 56 | (v : (Fock.isVacuum_realVac (ε := realSigns E (homSigns s t))).Model) |
| 57 | (Ψ : Matrix n a (LocProd 𝔠.ramifiedPlaces) → ℂ) : G E s → ℂ := |
| 58 | thetaIntegral W V (rankTwist 𝔠.character n) (upsilonU1 ^ card a) |
| 59 | (localDatum W V v (fun y : Matrix a n (LocProd 𝔠.ramifiedPlaces) ↦ Ψ yᵀ) 𝔠.readsAt.star) |
| 60 | |
| 61 | /-- Polynomial growth of the theta kernel on `U(W)`, uniform on `U(V)` (`IsTargetBounded`), is kept |
| 62 | when the datum is moved by an element `k` of `U(V)`. -/ |
| 63 | lemma IsTargetBounded.pairWeil_one_left {W : Space E n s} {V : Space E a t} {f : 𝒮 (W.hom V)} |
| 64 | (hf : IsTargetBounded W V f) (α β : AutChar E) (k : G E t) : |
| 65 | IsTargetBounded W V (pairWeil W V α β (1, k) f) := by |
| 66 | obtain ⟨B, C, h_bound⟩ := hf |
| 67 | refine ⟨B, C, fun α' β' g h ↦ ?_⟩ |
| 68 | -- the kernel at `(g, h)` becomes the kernel at `(g, h * k)`, times a scalar of modulus `1` |
| 69 | have h_norm : ‖pairTheta W V α' β' (pairWeil W V α β (1, k) f) (g, h)‖ = |
| 70 | ‖pairTheta W V α' β' f (g, h * k)‖ := by |
| 71 | simp [pairTheta, pairWeil, rep_apply_apply, ← map_mul, Circle.norm_coe] |
| 72 | exact h_norm.trans_le (h_bound α' β' g (h * k)) |
| 73 | |
| 74 | /-- The theta integral is homogeneous in the datum. -/ |
| 75 | lemma thetaIntegral_smul (α β : AutChar E) (c : ℂ) (f : 𝒮 (W.hom V)) (x : G E s) : |
| 76 | thetaIntegral W V α β (c • f) x = c * thetaIntegral W V α β f x := by |
| 77 | simp [thetaIntegral, pairTheta, MeasureTheory.integral_const_mul] |
| 78 | |
| 79 | /-- Let `π` be a ring map from the finite adeles of the CM field `E` to `F` that reads the |
| 80 | components at a set `A` of places (`ReadsAt`): `A` is disjoint from its conjugate, `π` has a |
| 81 | continuous additive section onto the `A`-part, and `π x` is integral exactly if `x` is so at `A`. |
| 82 | Let `φ` be Schwartz–Bruhat, vanishing outside some set `U`, and let `g ∈ U(W)`, `h ∈ U(V)` be finite |
| 83 | points supported on `A` and its conjugate. In the Weil representation (`pairWeil`), `(g, h)` moves |
| 84 | the datum of `φ` to that of `x ↦ φ (π h⁻¹ * x * π g)`. Here the datum (`localDatum`) is the vector |
| 85 | `v` of the Fock space `PairFock` at the infinite places, `φ` at `A` and the vacuum elsewhere. The |
| 86 | new datum is multiplied by `χ_W (det h) / χ_V (det g) * |det g| ^ (rk V / 2) / |det h| ^ (rk |
| 87 | W / 2)`. The determinants are taken on `A` (`detOn`) and `|·|` is `ideleAbs`. |
| 88 | `χ_W = α.spaceChar (rk W)` and `χ_V = β.spaceChar (rk V)`. -/ |
| 89 | lemma ReadsAt.pairWeil_localDatum_of_mem_supportedOn {F : Type} [SemilocalField F] |
| 90 | {A : Set (FinPlace E)} {π : 𝔸f E →+* F} (hπ : ReadsAt A π) (α β : AutChar E) |
| 91 | (v : PairFock E s t) {U : Set (Matrix a n F)} {φ : Matrix a n F → ℂ} |
| 92 | (hφ : φ ∈ schwartzBruhat U) {g : Gf E n} {h : Gf E a} (hg : g ∈ Gf.supportedOn n A) |
| 93 | (hh : h ∈ Gf.supportedOn a A) : |
| 94 | pairWeil W V α β ((1, g), 1, h) (localDatum W V v φ hπ) = |
| 95 | ((α.spaceChar (card n)).val (detOn A h.val) / (β.spaceChar (card a)).val (detOn A g.val) * |
| 96 | √(ideleAbs (detOn A g.val)) ^ card a / √(ideleAbs (detOn A h.val)) ^ card n : ℂ) • |
| 97 | localDatum W V v |
| 98 | (fun x : Matrix a n F ↦ φ (h⁻¹.val.val.map π * x * g.val.val.map π)) hπ := by |
| 99 | rw [pairWeil_integrated_fin, pairWeil_schrodingerOp_of_mem_supportedOn hπ.disjoint_star |
| 100 | (hΨ := hπ.isSchwartzBruhat hφ) hg hh] |
| 101 | simp |
| 102 | |
| 103 | /-- Let `𝔠` be a split tame character: a character `ν = 𝔠.character` of the norm-one ideles, tamely |
| 104 | ramified exactly at a finite set `S = 𝔠.ramifiedPlaces` of places disjoint from its conjugate. Let |
| 105 | `rk W` be even and let `k ∈ U(V)` be finite (`Gf`), supported at `S` and its conjugate, with |
| 106 | component `k_S` at `S`. Consider the datum `localDatum W V v Φ 𝔠.readsAt`: `v` at the infinite |
| 107 | places, the function `Φ` at `S` and the vacuum elsewhere. It lies in the Weil representation |
| 108 | `pairWeil` of `(W, V)` with both characters `ν⁻¹ υ ^ ⌊rk W / 2⌋` (`rankTwist`), `υ` being the |
| 109 | splitting character of the Weil data. Then `k⁻¹` moves it to the same datum with `x ↦ Φ (k_S * x)` |
| 110 | in place of `Φ`, times the value at `det k_S` of `t ↦ ν (t / t̄) |t| ^ (rk W / 2)` (`localChar`). |
| 111 | Here `Φ` is Schwartz–Bruhat on the matrices `x` of full row rank. -/ |
| 112 | lemma pairWeil_inv_localDatum (hn : 2 ∣ card n) (v : PairFock E s t) |
| 113 | {Φ : Matrix a n (LocProd 𝔠.ramifiedPlaces) → ℂ} (hΦ : Φ ∈ schwartzBruhat {x | HasLeftInv xᵀ}) |
| 114 | {k : Gf E a} (hk : k ∈ Gf.supportedOn a 𝔠.ramifiedPlaces) : |
| 115 | pairWeil W V (rankTwist 𝔠.character⁻¹ n) (rankTwist 𝔠.character⁻¹ n) ((1, 1), 1, k⁻¹) |
| 116 | (localDatum W V v Φ 𝔠.readsAt) = |
| 117 | localChar 𝔠.ramifiedPlaces 𝔠.character.baseChange (card n) |
| 118 | (atPlaces 𝔠.ramifiedPlaces k).val.det • |
| 119 | localDatum W V v (fun x ↦ Φ ((atPlaces 𝔠.ramifiedPlaces k).val * x)) 𝔠.readsAt := by |
| 120 | rw [𝔠.readsAt.pairWeil_localDatum_of_mem_supportedOn W V _ _ v hΦ (one_mem _) (inv_mem hk)] |
| 121 | simp [spaceChar_rankTwist hn, atPlaces_star] |
| 122 | |
| 123 | omit [DecidableEq b] in |
| 124 | /-- Let `𝔠` be a split tame character, with character `ν` of the norm-one ideles and finite set `S` |
| 125 | of ramified places. Let `rk W = card b + rk V` (`σ`) be even and write `χ` for the character |
| 126 | `t ↦ ν (t / t̄) |t| ^ (rk W / 2)` at `S` (`localChar`). Let `g ∈ U(W)` be finite, supported at `S` |
| 127 | and its conjugate, with component `g_S` at `S`. For any Schwartz–Bruhat function `Φ`, the value of |
| 128 | `thetaLarge` for `y ↦ χ (det g_S⁻¹) Φ (y g_S⁻¹)` at `x g` equals that for `Φ` at `x` divided by |
| 129 | `(υ |·| ^ (1 / 2)) (det g_S) ^ card b`, where `υ` is the splitting Hecke character. -/ |
| 130 | lemma thetaLarge_translate_mul (σ : b ⊕ a ≃ n) (hn : 2 ∣ card n) (v : PairFock E s t) |
| 131 | {U : Set (Matrix a n (LocProd 𝔠.ramifiedPlaces))} |
| 132 | {Φ : Matrix a n (LocProd 𝔠.ramifiedPlaces) → ℂ} |
| 133 | (hΦ : Φ ∈ schwartzBruhat U) {g : Gf E n} (hg : g ∈ Gf.supportedOn n 𝔠.ramifiedPlaces) |
| 134 | (x : G E s) : |
| 135 | thetaLarge W V 𝔠 v |
| 136 | (localChar 𝔠.ramifiedPlaces 𝔠.character.baseChange (card n) |
| 137 | (atPlaces 𝔠.ramifiedPlaces g⁻¹).val.det • |
| 138 | fun y : Matrix a n (LocProd 𝔠.ramifiedPlaces) ↦ |
| 139 | Φ (y * (atPlaces 𝔠.ramifiedPlaces g⁻¹).val)) (x * (1, g)) = |
| 140 | thetaLarge W V 𝔠 v Φ x / localChar 𝔠.ramifiedPlaces υ 1 (atPlaces 𝔠.ramifiedPlaces g).val.det |
| 141 | ^ card b := by |
| 142 | let k := atPlaces 𝔠.ramifiedPlaces g⁻¹ |
| 143 | have h_trans : (fun y ↦ Φ (y * k.val)) ∈ schwartzBruhat Set.univ := |
| 144 | schwartzBruhat.comp hΦ (fun y ↦ y * k⁻¹.val) (fun y ↦ by simp) (Set.mapsTo_univ _ _) |
| 145 | have h_char : (rankTwist 𝔠.character⁻¹ n).spaceChar (card a) = 𝔠.character⁻¹.baseChange * υ ^ card |
| 146 | b := by |
| 147 | rw [← spaceChar_rankTwist (n := n) hn] |
| 148 | simp [AutChar.spaceChar, ← card_congr σ, pow_add, mul_assoc, mul_comm (υ ^ card a)⁻¹] |
| 149 | -- `pairWeil` undoes the translation; its scalar combines with the factor `χ (det g_S⁻¹)` |
| 150 | let d : (𝔸 E)ˣ := detOn 𝔠.ramifiedPlaces g.val |
| 151 | have h_scalar : (((𝔠.character⁻¹.baseChange * υ ^ card b).val d : ℂ)⁻¹ * √(ideleAbs d) ^ card a) * |
| 152 | localChar 𝔠.ramifiedPlaces 𝔠.character.baseChange (card n) |
| 153 | (atPlaces 𝔠.ramifiedPlaces g⁻¹).val.det = |
| 154 | (localChar 𝔠.ramifiedPlaces υ 1 (atPlaces 𝔠.ramifiedPlaces g).val.det ^ card b)⁻¹ := by |
| 155 | rw [localChar_det, localChar_det, ← card_congr σ] |
| 156 | simp [mul_pow, zpow_add₀, field] |
| 157 | rw [thetaLarge, ← thetaIntegral_pairWeil ((1, g), 1, 1), |
| 158 | 𝔠.readsAt.pairWeil_localDatum_of_mem_supportedOn W V _ _ v |
| 159 | (Submodule.smul_mem _ _ h_trans) hg (one_mem _), h_char, |
| 160 | div_eq_inv_mul (thetaLarge W V 𝔠 v Φ x), ← h_scalar, ← thetaIntegral_smul, mul_smul] |
| 161 | simp [k, d, localDatum, atPlaces_star, ← Pi.smul_def, -smul_eq_mul, -localChar_det] |
| 162 | |
| 163 | /-- By `thetaSmall W V' 𝔠 v' Ψ` is meant the function on `U(W)` that integrates over `[U(V')]` the |
| 164 | theta kernel of the datum `v'` at the infinite places and `y ↦ Ψ yᵀ` at the conjugates of the |
| 165 | ramified places `S` of `𝔠`; the space `V'` has rank `card b`. Let `g ∈ U(W)` be finite, supported at |
| 166 | `S` and its conjugate, with component `g_S` at `S`. If `y ↦ Ψ (g_S y)` is Schwartz–Bruhat, its |
| 167 | `thetaSmall` at `x g` is `thetaSmall Ψ` at `x` divided by `(υ |·| ^ (1 / 2)) (det g_S) ^ card b`, |
| 168 | where `υ` is the splitting Hecke character of the Weil data. -/ |
| 169 | lemma thetaSmall_translate_mul (v' : PairFock E s t') |
| 170 | {Ψ : Matrix n b (LocProd 𝔠.ramifiedPlaces) → ℂ} |
| 171 | {g : Gf E n} (hg : g ∈ Gf.supportedOn n 𝔠.ramifiedPlaces) |
| 172 | (hΨ : (fun y : Matrix n b (LocProd 𝔠.ramifiedPlaces) ↦ |
| 173 | Ψ ((atPlaces 𝔠.ramifiedPlaces g).val * y)) ∈ |
| 174 | schwartzBruhat {y | HasLeftInv y}) (x : G E s) : |
| 175 | thetaSmall W V' 𝔠 v' (fun y ↦ Ψ ((atPlaces 𝔠.ramifiedPlaces g).val * y)) (x * (1, g)) = |
| 176 | thetaSmall W V' 𝔠 v' Ψ x / localChar 𝔠.ramifiedPlaces υ 1 |
| 177 | (atPlaces 𝔠.ramifiedPlaces g).val.det ^ card b := by |
| 178 | have hg_star : g ∈ Gf.supportedOn n (star ⁻¹' (𝔠.ramifiedPlaces : Set (FinPlace E))) := by |
| 179 | simp +contextual [Gf.mem_supportedOn.1 hg] |
| 180 | -- `pairWeil` undoes the translation, up to a scalar in the determinant `d̄⁻¹` on the conjugates |
| 181 | let d : (𝔸 E)ˣ := detOn 𝔠.ramifiedPlaces g.val |
| 182 | have h_scalar : (((upsilonU1 ^ card b : AutChar E).spaceChar (card b)).val (star d⁻¹) : ℂ)⁻¹ * |
| 183 | √(ideleAbs (star d⁻¹)) ^ card b = |
| 184 | (localChar 𝔠.ramifiedPlaces υ 1 (atPlaces 𝔠.ramifiedPlaces g).val.det ^ card b)⁻¹ := by |
| 185 | simp [AutChar.spaceChar, υ_star, sq, mul_pow, field] |
| 186 | rw [thetaSmall, ← thetaIntegral_pairWeil ((1, g), 1, 1), |
| 187 | 𝔠.readsAt.star.pairWeil_localDatum_of_mem_supportedOn W V' _ _ v' |
| 188 | hΨ.transpose_mem_schwartzBruhat hg_star (one_mem _), |
| 189 | thetaIntegral_smul, detOn_preimage_star g, div_eq_inv_mul (thetaSmall W V' 𝔠 v' Ψ x), |
| 190 | ← h_scalar] |
| 191 | simp [d, thetaSmall, atPlaces_star, -coe_comp] |
| 192 | |
| 193 | /-- For Schwartz–Bruhat `Φ`, `thetaLarge Φ` is right invariant under the integral points `k` of |
| 194 | `U(W)` that are trivial at the ramified places of `𝔠`. -/ |
| 195 | lemma thetaLarge_mul_of_mem_stdLevel (v : PairFock E s t) |
| 196 | {Φ : Matrix a n (LocProd 𝔠.ramifiedPlaces) → ℂ} |
| 197 | (hΦ : Φ ∈ schwartzBruhat {x : Matrix a n (LocProd 𝔠.ramifiedPlaces) | HasLeftInv xᵀ}) |
| 198 | {k : Gf E n} |
| 199 | (hk_int : k ∈ stdLevel E n) (hk_triv : k ∈ Gf.trivialOn n 𝔠.ramifiedPlaces) (x : G E s) : |
| 200 | thetaLarge W V 𝔠 v Φ (x * (1, k)) = thetaLarge W V 𝔠 v Φ x := by |
| 201 | have h_one : k.val.val.map (evalPlaces 𝔠.ramifiedPlaces) = 1 := |
| 202 | congrArg Units.val (atPlaces_eq_one_of_mem_trivialOn hk_triv) |
| 203 | rw [thetaLarge, ← thetaIntegral_pairWeil ((1, k), 1, 1), |
| 204 | 𝔠.readsAt.pairWeil_localDatum_of_mem_stdLevel hΦ hk_int (one_mem _)] |
| 205 | simp [rankTwist, character_detFin_eq_of_mem_stdLevel, atPlaces_eq_one_of_mem_trivialOn, h_one, |
| 206 | hk_int, hk_triv] |
| 207 | |
| 208 | /-- For Schwartz–Bruhat `Ψ`, `thetaSmall Ψ` is right invariant under the integral points `k` of |
| 209 | `U(W)` that are trivial at the ramified places of `𝔠`. -/ |
| 210 | lemma thetaSmall_mul_of_mem_stdLevel (v' : PairFock E s t') |
| 211 | {Ψ : Matrix n b (LocProd 𝔠.ramifiedPlaces) → ℂ} |
| 212 | (hΨ : Ψ ∈ schwartzBruhat {y | HasLeftInv y}) {k : Gf E n} |
| 213 | (hk_int : k ∈ stdLevel E n) (hk_triv : k ∈ Gf.trivialOn n 𝔠.ramifiedPlaces) (x : G E s) : |
| 214 | thetaSmall W V' 𝔠 v' Ψ (x * (1, k)) = thetaSmall W V' 𝔠 v' Ψ x := by |
| 215 | rw [thetaSmall, ← thetaIntegral_pairWeil ((1, k), 1, 1), |
| 216 | 𝔠.readsAt.star.pairWeil_localDatum_of_mem_stdLevel hΨ.transpose_mem_schwartzBruhat hk_int |
| 217 | (one_mem _)] |
| 218 | simp [-coe_comp, rankTwist, character_detFin_eq_of_mem_stdLevel, |
| 219 | atPlaces_eq_one_of_mem_trivialOn, |
| 220 | atPlaces_star, hk_int, hk_triv] |
| 221 | |
| 222 | /-- For `v'` with all moments finite, `thetaSmall` is linear on Schwartz–Bruhat functions. -/ |
| 223 | lemma exists_linear_thetaSmall {v' : PairFock E s t'} (hv' : IsSchwartzVector v') : |
| 224 | ∃ T : (Matrix n b (LocProd 𝔠.ramifiedPlaces) → ℂ) →ₗ[ℂ] G E s → ℂ, |
| 225 | ∀ Ψ ∈ schwartzBruhat {y | HasLeftInv y}, T Ψ = thetaSmall W V' 𝔠 v' Ψ := by |
| 226 | -- `Λ` is linear and is the theta integral on data of polynomial growth |
| 227 | obtain ⟨Λ, hΛ⟩ := exists_linear_thetaIntegral W V' (rankTwist 𝔠.character n) (upsilonU1 ^ card b) |
| 228 | let D : (Matrix n b (LocProd 𝔠.ramifiedPlaces) → ℂ) →ₗ[ℂ] 𝒮 (W.hom V') := |
| 229 | IsLinearMap.mk' (fun Ψ ↦ localDatum W V' v' (fun y ↦ Ψ yᵀ) 𝔠.readsAt.star) |
| 230 | ⟨by simp [localDatum, ← add_def], by simp [localDatum, ← Pi.smul_def, -smul_eq_mul]⟩ |
| 231 | refine ⟨Λ ∘ₗ D, fun Ψ hΨ ↦ ?_⟩ |
| 232 | have h_bdd : IsTargetBounded W V' (localDatum W V' v' (fun y ↦ Ψ yᵀ) 𝔠.readsAt.star) := |
| 233 | 𝔠.readsAt.star.isTargetBounded hv' hΨ.transpose_mem_schwartzBruhat |
| 234 | rw [thetaSmall, ← hΛ h_bdd, LinearMap.comp_apply, IsLinearMap.mk'_apply] |
| 235 | |
| 236 | /-- Let `rk W = rk V' + rk V` be even and `v` have all moments finite. Let `ν` be the character of |
| 237 | `𝔠`, `S` its ramified places, and let `thetaLarge W V 𝔠 v Φ` be the theta integral over `[U(V)]` of |
| 238 | the datum `v` at the infinite places and `Φ` at `S`, as a function on `U(W)`. A same-section pair |
| 239 | `(Φ, Ψ)` for `χ t = ν (t / t̄) |t| ^ (rk W / 2)` consists of Schwartz–Bruhat functions on `a × n` |
| 240 | and `n × b` matrices at `S` whose coset sums `localSection χ` at complementary blocks of each |
| 241 | invertible `k` differ by the factor `χ (det k)`. On these pairs `thetaLarge Φ` is a linear function |
| 242 | of `Ψ`. -/ |
| 243 | lemma exists_linear_thetaLarge (σ : b ⊕ a ≃ n) (hn : 2 ∣ card n) {v : PairFock E s t} |
| 244 | (hv : IsSchwartzVector v) : |
| 245 | ∃ T : (Matrix n b (LocProd 𝔠.ramifiedPlaces) → ℂ) →ₗ[ℂ] G E s → ℂ, |
| 246 | ∀ (Φ : Matrix a n (LocProd 𝔠.ramifiedPlaces) → ℂ) |
| 247 | (Ψ : Matrix n b (LocProd 𝔠.ramifiedPlaces) → ℂ), |
| 248 | (Φ, Ψ) ∈ sameSectionPairs (localChar 𝔠.ramifiedPlaces 𝔠.character.baseChange (card n)) σ → |
| 249 | T Ψ = thetaLarge W V 𝔠 v Φ := by |
| 250 | let ρ : AutChar E := rankTwist 𝔠.character⁻¹ n |
| 251 | -- `Λ` is linear and is the theta integral on data of polynomial growth |
| 252 | obtain ⟨Λ, hΛ⟩ := exists_linear_thetaIntegral W V ρ ρ |
| 253 | let D : (Matrix a n (LocProd 𝔠.ramifiedPlaces) → ℂ) →ₗ[ℂ] 𝒮 (W.hom V) := |
| 254 | IsLinearMap.mk' (localDatum W V v · 𝔠.readsAt) |
| 255 | ⟨by simp [localDatum, ← add_def], by simp [localDatum, ← Pi.smul_def, -smul_eq_mul]⟩ |
| 256 | -- the theta integral does not see the action of `U(V)` on the datum |
| 257 | have h_invariant (g : GL a (LocProd 𝔠.ramifiedPlaces)) |
| 258 | (Φ : Matrix a n (LocProd 𝔠.ramifiedPlaces) → ℂ) |
| 259 | (hΦ : Φ ∈ schwartzBruhat {x | HasLeftInv xᵀ}) : |
| 260 | localChar 𝔠.ramifiedPlaces 𝔠.character.baseChange (card n) g.val.det • Λ |
| 261 | (D fun x ↦ Φ (g.val * x)) = Λ (D Φ) := by |
| 262 | obtain ⟨k, hk, rfl⟩ := 𝔠.exists_atPlaces_eq g |
| 263 | have h_bdd : IsTargetBounded W V (D Φ) := 𝔠.readsAt.isTargetBounded hv hΦ |
| 264 | have h_move : pairWeil W V ρ ρ ((1, 1), 1, k⁻¹) (D Φ) = |
| 265 | localChar 𝔠.ramifiedPlaces 𝔠.character.baseChange (card n) |
| 266 | (atPlaces 𝔠.ramifiedPlaces k).val.det • |
| 267 | D fun x ↦ Φ ((atPlaces 𝔠.ramifiedPlaces k).val * x) := |
| 268 | pairWeil_inv_localDatum W V 𝔠 hn v hΦ hk |
| 269 | ext x |
| 270 | rw [← map_smul, ← h_move, hΛ h_bdd, Prod.mk_one_one, |
| 271 | hΛ (h_bdd.pairWeil_one_left ρ ρ (1, k⁻¹)), thetaIntegral_pairWeil, mul_one] |
| 272 | -- so `Λ (D Φ) = T Ψ` on same-section pairs, for a linear `T` |
| 273 | obtain ⟨T, hT⟩ := sameSectionPairs.exists_linear_factor _ σ (Λ ∘ₗ D) h_invariant |
| 274 | refine ⟨T, fun Φ Ψ hp ↦ (hT Φ Ψ hp).trans (hΛ ?_)⟩ |
| 275 | obtain ⟨⟨h_sb, -⟩, -⟩ := hp |
| 276 | exact 𝔠.readsAt.isTargetBounded hv h_sb |
| 277 | |
| 278 | /-- Given `c ∈ ℂ` and a linear map `𝒟` that agrees with `thetaLarge Φ - c • thetaSmall Ψ` on every |
| 279 | same-section pair `(Φ, Ψ)`, `𝒟` is an equivariant lift (`IsEquivariantLift`) on the projection of |
| 280 | `sameSectionPairs` to its second coordinate. -/ |
| 281 | private lemma isEquivariantLift_thetaLarge_sub_smul (σ : b ⊕ a ≃ n) (hn : 2 ∣ card n) |
| 282 | {v : PairFock E s t} {v' : PairFock E s t'} (hv : IsSchwartzVector v) |
| 283 | (hv' : IsSchwartzVector v') (c : ℂ) |
| 284 | {𝒟 : (Matrix n b (LocProd 𝔠.ramifiedPlaces) → ℂ) →ₗ[ℂ] G E s → ℂ} |
| 285 | (h_diff : ∀ {Φ : Matrix a n (LocProd 𝔠.ramifiedPlaces) → ℂ} |
| 286 | {Ψ : Matrix n b (LocProd 𝔠.ramifiedPlaces) → ℂ}, |
| 287 | (Φ, Ψ) ∈ sameSectionPairs (localChar 𝔠.ramifiedPlaces 𝔠.character.baseChange (card n)) σ → |
| 288 | 𝒟 Ψ = thetaLarge W V 𝔠 v Φ - c • thetaSmall W V' 𝔠 v' Ψ) : |
| 289 | IsEquivariantLift 𝔠 W |
| 290 | ((sameSectionPairs (localChar 𝔠.ramifiedPlaces 𝔠.character.baseChange (card n)) σ).map |
| 291 | (.snd ℂ _ _)) |
| 292 | 𝒟 := by |
| 293 | let χ : MulChar (LocProd 𝔠.ramifiedPlaces) ℂ := |
| 294 | localChar 𝔠.ramifiedPlaces 𝔠.character.baseChange (card n) |
| 295 | have h_sb {Φ : Matrix a n (LocProd 𝔠.ramifiedPlaces) → ℂ} |
| 296 | {Ψ : Matrix n b (LocProd 𝔠.ramifiedPlaces) → ℂ} |
| 297 | (hp : (Φ, Ψ) ∈ sameSectionPairs χ σ) : (Φ ∈ schwartzBruhat {x | HasLeftInv xᵀ}) ∧ |
| 298 | Ψ ∈ schwartzBruhat {y | HasLeftInv y} := (Submodule.mem_inf.1 hp).1 |
| 299 | refine ⟨?_, ?_, ?_, ?_⟩ |
| 300 | · rintro _ ⟨⟨Φ, Ψ⟩, hp, rfl⟩ |
| 301 | exact (h_sb hp).right |
| 302 | · -- both theta integrals are automorphic |
| 303 | rintro _ ⟨⟨Φ, Ψ⟩, hp, rfl⟩ |
| 304 | obtain ⟨h_cont, h_inv⟩ : IsAutFunction W (thetaLarge W V 𝔠 v Φ) := |
| 305 | (𝔠.readsAt.isTargetBounded hv (h_sb hp).left).isAutFunction_thetaIntegral |
| 306 | obtain ⟨h_cont', h_inv'⟩ : IsAutFunction W (thetaSmall W V' 𝔠 v' Ψ) := |
| 307 | (𝔠.readsAt.star.isTargetBounded hv' |
| 308 | (h_sb hp).right.transpose_mem_schwartzBruhat).isAutFunction_thetaIntegral |
| 309 | rw [LinearMap.snd_apply, h_diff hp] |
| 310 | exact ⟨by fun_prop, fun γ hγ x ↦ by simp [h_inv γ hγ x, h_inv' γ hγ x]⟩ |
| 311 | · -- the translate of a same-section pair by the inverse of the component of `g` at |
| 312 | -- `𝔠.ramifiedPlaces` is again a same-section pair |
| 313 | rintro _ ⟨⟨Φ, Ψ⟩, hp, rfl⟩ g hg |
| 314 | have hq : (χ (atPlaces 𝔠.ramifiedPlaces g⁻¹).val.det • fun x ↦ |
| 315 | Φ (x * (atPlaces 𝔠.ramifiedPlaces g⁻¹).val), |
| 316 | fun y ↦ Ψ ((atPlaces 𝔠.ramifiedPlaces g).val * y)) ∈ sameSectionPairs χ σ := by |
| 317 | simpa only [map_inv (atPlaces 𝔠.ramifiedPlaces), inv_inv] using |
| 318 | sameSectionPairs.translate_mem χ σ hp (atPlaces 𝔠.ramifiedPlaces g⁻¹) |
| 319 | refine ⟨⟨_, hq, rfl⟩, fun x ↦ ?_⟩ |
| 320 | simp only [LinearMap.snd_apply, h_diff hp, h_diff hq, Pi.sub_apply, Pi.smul_apply] |
| 321 | rw [thetaSmall_translate_mul W V' 𝔠 v' hg (h_sb hq).right, |
| 322 | thetaLarge_translate_mul W V 𝔠 σ hn v (h_sb hp).left hg, sub_div, smul_eq_mul, smul_eq_mul, |
| 323 | mul_div_assoc] |
| 324 | · rintro _ ⟨⟨Φ, Ψ⟩, hp, rfl⟩ k ⟨hk_int, hk_triv⟩ x |
| 325 | simp only [LinearMap.snd_apply, h_diff hp, Pi.sub_apply, Pi.smul_apply] |
| 326 | rw [thetaLarge_mul_of_mem_stdLevel W V 𝔠 v (h_sb hp).left hk_int hk_triv, |
| 327 | thetaSmall_mul_of_mem_stdLevel W V' 𝔠 v' (h_sb hp).right hk_int hk_triv] |
| 328 | |
| 329 | /-- Let `𝔠` be a split tame character, with character `ν` of the norm-one ideles and finite set `S` |
| 330 | of ramified places, and let `υ` be the splitting Hecke character of the Weil data. Let |
| 331 | `rk W = rk V' + rk V` be even, `v`, `v'` real data with all moments finite, `c ∈ ℂ`. There are a |
| 332 | space `M` of functions on matrices at `S` and a linear map `𝒟` with (a) and (b). (a) `M` consists of |
| 333 | Schwartz–Bruhat functions and is stable under translation. `𝒟` maps `M` to automorphic functions on |
| 334 | `U(W)`. It is equivariant at `S` for the inverse of `υ ^ card b |·| ^ (card b / 2)` of the |
| 335 | determinant. It is invariant under the integral points elsewhere (`IsEquivariantLift`). (b) Let `Ψ` |
| 336 | be locally constant with a matched function `Φ`: both are supported on blocks of integral invertible |
| 337 | `k`, where their values differ by `𝔠.semilocalChar (det k)`, for the character |
| 338 | `𝔠.semilocalChar : t ↦ ν (t / t̄)` at `S`. Then `Ψ` lies in `M`, and |
| 339 | `𝒟 Ψ = thetaLarge Φ - c • thetaSmall Ψ`. -/ |
| 340 | lemma exists_isEquivariantLift_eq_thetaLarge_sub_smul (σ : b ⊕ a ≃ n) (hn : 2 ∣ card n) |
| 341 | {v : PairFock E s t} |
| 342 | {v' : PairFock E s t'} (hv : IsSchwartzVector v) (hv' : IsSchwartzVector v') (c : ℂ) : |
| 343 | ∃ (M : Submodule ℂ (Matrix n b (LocProd 𝔠.ramifiedPlaces) → ℂ)) |
| 344 | (𝒟 : (Matrix n b (LocProd 𝔠.ramifiedPlaces) → ℂ) →ₗ[ℂ] G E s → ℂ), |
| 345 | -- (a) `𝒟` is an equivariant map from `M` to automorphic functions |
| 346 | IsEquivariantLift 𝔠 W M 𝒟 ∧ |
| 347 | -- (b) on the second member of a pair of matched functions it is the difference of the two |
| 348 | -- sides |
| 349 | ∀ {Φ : Matrix a n (LocProd 𝔠.ramifiedPlaces) → ℂ} |
| 350 | {Ψ : Matrix n b (LocProd 𝔠.ramifiedPlaces) → ℂ}, |
| 351 | IsLocallyConstant Ψ → AreMatched O σ 𝔠.semilocalChar Φ Ψ → |
| 352 | Ψ ∈ M ∧ 𝒟 Ψ = thetaLarge W V 𝔠 v Φ - c • thetaSmall W V' 𝔠 v' Ψ := by |
| 353 | -- Let `M` be the space of second members of same-section pairs `(Φ, Ψ)`. The theta integral of |
| 354 | -- `Φ` for `V` depends only on `Ψ`, linearly; subtract `c` times the theta integral of `Ψ` for |
| 355 | -- `V'`. The laws of `IsEquivariantLift` hold for each of the two integrals. |
| 356 | let χ : MulChar (LocProd 𝔠.ramifiedPlaces) ℂ := |
| 357 | localChar 𝔠.ramifiedPlaces 𝔠.character.baseChange (card n) |
| 358 | obtain ⟨T, hT⟩ := exists_linear_thetaLarge W V 𝔠 σ hn hv |
| 359 | obtain ⟨T', hT'⟩ := exists_linear_thetaSmall W V' 𝔠 hv' |
| 360 | have h_diff {Φ : Matrix a n (LocProd 𝔠.ramifiedPlaces) → ℂ} |
| 361 | {Ψ : Matrix n b (LocProd 𝔠.ramifiedPlaces) → ℂ} |
| 362 | (hp : (Φ, Ψ) ∈ sameSectionPairs χ σ) : |
| 363 | (T - c • T') Ψ = thetaLarge W V 𝔠 v Φ - c • thetaSmall W V' 𝔠 v' Ψ := by |
| 364 | rw [LinearMap.sub_apply, LinearMap.smul_apply, hT Φ Ψ hp, |
| 365 | hT' Ψ (Submodule.mem_inf.1 hp).1.right] |
| 366 | refine ⟨(sameSectionPairs χ σ).map (.snd ℂ _ _), T - c • T', |
| 367 | isEquivariantLift_thetaLarge_sub_smul W V V' 𝔠 σ hn hv hv' c h_diff, |
| 368 | fun {Φ Ψ} hΨ ⟨h_left, h_right, h_eq⟩ ↦ ?_⟩ |
| 369 | -- matched functions form a same-section pair: on integral units the factor `|·| ^ (n / 2)` of |
| 370 | -- `χ` is `1` |
| 371 | have h_char (k : GL n (LocProd 𝔠.ramifiedPlaces)) (hk : k ∈ intGL n O) : |
| 372 | χ k.val.det = 𝔠.semilocalChar k.val.det := by |
| 373 | obtain ⟨k, rfl⟩ := hk |
| 374 | simp only [χ, ← val_det_apply, GeneralLinearGroup.map_det] |
| 375 | simp [localChar_apply_of_isUnit] |
| 376 | have h_match : (Φ, Ψ) ∈ sameSectionPairs χ σ := |
| 377 | AreMatched.mem_sameSectionPairs (𝔠.tameLocalChar _) |
| 378 | ⟨h_left, h_right, fun k hk ↦ by rw [h_eq k hk, h_char k hk]⟩ hΨ |
| 379 | exact ⟨⟨_, h_match, rfl⟩, h_diff h_match⟩ |
| 380 | |
| 381 | end New.Exchange |