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 TauCeti.Topology.Algebra.Group.Units |
| 4 | import TauCeti.Topology.Instances.Matrix |
| 5 | public import Lib.Weil.Seesaw |
| 6 | public import New.Determinant.Chain.SquareLaw |
| 7 | public import Lib.ClassField.HeckeCharacter.TameModulus |
| 8 | public import Lib.SiegelWeil.Tower.FiniteTateIntegral |
| 9 | import Lib.Adelic.AutomorphicForms.Cuspidality |
| 10 | import Lib.Adelic.Unitary.RationalPoints |
| 11 | import Lib.General.Algebra.MultivariatePolynomials |
| 12 | import New.Determinant.Exchange.TheoremForPartners |
| 13 | |
| 14 | /-! |
| 15 | # One square: up then down against down then up |
| 16 | |
| 17 | The exchange identity `New.Exchange.exchange_identity` for the space `U₁ ⊕ U₂`, read as a statement |
| 18 | on theta lifts of forms from `U₁` to `U₂`: its kernels are products of kernels for `U₁` and `U₂`. |
| 19 | |
| 20 | * `New.Exchange.pairTransposedLift_comp_pairLift_mul`, |
| 21 | `New.Exchange.pairLift_comp_pairTransposedLift_mul`: the path up to `A` and down, and the path |
| 22 | down to `A'` and up, transform by the tame character. |
| 23 | * `New.Exchange.IsSquare`: the conditions on the four pairs of a square. |
| 24 | * `New.Exchange.exists_sum_pairLift_comp_pairTransposedLift_eq_smul`: for four pairs with their own |
| 25 | splitting characters, the two paths agree on matched functions up to the factor `κ / c`, where `κ` |
| 26 | may be zero. |
| 27 | * `New.Exchange.one_square_identity_of_isEdgeFamily`: the case of two families of characters indexed |
| 28 | by finite types, in the form of the relation `New.Exchange.SquareLaw`. |
| 29 | |
| 30 | Notions from other files: |
| 31 | * `New.modDatum S T 𝔪 Ψ v`: the theta datum on `Hom(S, T)` with real part the Fock vector `v`, given |
| 32 | by the function `Ψ` on matrices modulo `𝔪` at the places dividing `𝔪` and by the vacuum elsewhere. |
| 33 | The point datum at `x` is the case `Ψ = Pi.single x 1`, the indicator function of `x`; |
| 34 | * `New.Fock.fockMoment N v` is `∫ (1 + ‖z‖) ^ N * |v z| dz`, the moment of order `N` of the Fock |
| 35 | vector `v`; |
| 36 | * a type of forms on a space is a function on its real unitary group, which prescribes the |
| 37 | behavior of a form at the infinite places; |
| 38 | * `New.AutChar E`: the continuous characters of `[U(1)]`, the norm-one ideles of `E` modulo those |
| 39 | from `E`; |
| 40 | * `New.Exchange.pairLift`, `New.Exchange.pairTransposedLift`: the lift and the transposed lift; |
| 41 | * `New.Exchange.IsPairEdge a b e e' P`, an edge `e → e'`: each of the families of characters `a`, |
| 42 | `b` has a fixed weight, and for these weights the types `e`, `e'` and the Fock vector of `P` are |
| 43 | such that the theta integral lifts forms of type `e` to forms of type `e'`; |
| 44 | `New.Exchange.IsEdgeFamily` asks this of one family of characters indexed by finite types; |
| 45 | |
| 46 | ## Relation to the literature |
| 47 | |
| 48 | A transposed lift followed by a lift is a multiple, possibly zero, of a lift followed by a |
| 49 | transposed lift. For forms on two unitary groups, the theta liftings through a group `A` and through |
| 50 | a group `A'` of no larger rank agree on matched ramified data, up to the L-value constant of the |
| 51 | exchange theorem and a factor free of the twist that may be zero. This moves lifts past each other |
| 52 | in chains. The seesaw principle and a rank-one exchange of periods are known in the literature. |
| 53 | Related work: Kudla, Seesaw dual reductive pairs, 1984; Chan, Period identities of CM forms on |
| 54 | quaternion algebras, 2020; He, Compositions of theta correspondences, 2005. |
| 55 | -/ |
| 56 | |
| 57 | @[expose] public section |
| 58 | |
| 59 | noncomputable section |
| 60 | |
| 61 | namespace New.Exchange |
| 62 | |
| 63 | open MeasureTheory Matrix Fintype Fock Space WeilData Rows NumberField |
| 64 | |
| 65 | variable {E n n' n₁ n₂ : Type} [Field E] [CMType E] [WeilData E] [Fintype n] [DecidableEq n] |
| 66 | [Fintype n'] [DecidableEq n'] [Fintype n₁] [DecidableEq n₁] [Fintype n₂] [DecidableEq n₂] |
| 67 | {s : n → ℤˣ} {s' : n' → ℤˣ} {s₁ : n₁ → ℤˣ} {s₂ : n₂ → ℤˣ} |
| 68 | |
| 69 | /-! ### Point data and characters -/ |
| 70 | |
| 71 | /-- Let `k = liftMod g` be the chosen integral finite adelic point of `U(T)` with residue `g` modulo |
| 72 | `𝔪`. In the Weil representation `pairWeil S T α β` of `U(S) × U(T)`, twisted by the characters `α`, |
| 73 | `β`, let `k⁻¹` act in the finite part of `U(T)`, all other components being `1`. It sends the point |
| 74 | datum at `g x` to `(α (det k))⁻¹` times the point datum at `x`. -/ |
| 75 | lemma pairWeil_modDatum_single_mul_left (S : Space E n s) (T : Space E n' s') {𝔪 : Modulus E} |
| 76 | (α β : AutChar E) (g : GL n' 𝔪.ResidueRing) (x : Matrix n' n 𝔪.ResidueRing) |
| 77 | (v : PairFock E s s') : |
| 78 | pairWeil S T α β ((1, 1), 1, (liftMod g).val⁻¹) (modDatum S T 𝔪 (Pi.single (g.val * x) 1) v) = |
| 79 | (α⁻¹.val (detFin s' (liftMod g).val) : ℂ) • modDatum S T 𝔪 (Pi.single x 1) v := by |
| 80 | have h_coe (z : Circle) : Circle.coeHom z = (z : ℂ) := rfl |
| 81 | simpa [pairChar, h_coe, Prod.mk_one_one, ← map_inv] using pairWeil_modDatum_single |
| 82 | (a := α) (b := β) (v := v) (x := g.val * x) (y := x) 1 (liftMod g)⁻¹ (by simp) |
| 83 | |
| 84 | /-- Let `k = liftMod g` be the chosen integral finite adelic point of `U(S)` with residue `g` modulo |
| 85 | `𝔪`. In the Weil representation `pairWeil S T α β` of `U(S) × U(T)`, twisted by the characters `α`, |
| 86 | `β`, let `k` act in the finite part of `U(S)`, all other components being `1`. It sends the point |
| 87 | datum at `y g` to `(β (det k))⁻¹` times the point datum at `y`. -/ |
| 88 | lemma pairWeil_modDatum_single_mul_right (S : Space E n s) (T : Space E n' s') {𝔪 : Modulus E} |
| 89 | (α β : AutChar E) (g : GL n 𝔪.ResidueRing) (y : Matrix n' n 𝔪.ResidueRing) |
| 90 | (v : PairFock E s s') : |
| 91 | pairWeil S T α β ((1, (liftMod g).val), 1, 1) (modDatum S T 𝔪 (Pi.single (y * g.val) 1) v) = |
| 92 | (β⁻¹.val (detFin s (liftMod g).val) : ℂ) • modDatum S T 𝔪 (Pi.single y 1) v := by |
| 93 | have h_coe (z : Circle) : Circle.coeHom z = (z : ℂ) := rfl |
| 94 | simpa [pairChar, h_coe, Prod.mk_one_one] using pairWeil_modDatum_single |
| 95 | (a := α) (b := β) (v := v) (x := y * g.val) (y := y) (liftMod g) 1 (by simp) |
| 96 | |
| 97 | omit [WeilData E] [Fintype n] [DecidableEq n] [Fintype n'] in |
| 98 | /-- Let `Ψ`, `Ψ'` be matched for the character `χ` over the whole residue ring (`⊤`), the indices |
| 99 | being split by `σ`; in particular `Ψ` vanishes off the blocks of rows `n'` of invertible matrices. |
| 100 | Then `Ψ` vanishes off the onto matrices, those whose transpose has a left inverse. -/ |
| 101 | lemma hasLeftInv_transpose_of_areMatched {𝔪 : Modulus E} {σ : n ⊕ n' ≃ n₁ ⊕ n₂} |
| 102 | {χ : MulChar 𝔪.ResidueRing ℂ} {Ψ : Matrix n' (n₁ ⊕ n₂) 𝔪.ResidueRing → ℂ} |
| 103 | {Ψ' : Matrix (n₁ ⊕ n₂) n 𝔪.ResidueRing → ℂ} (h_part : AreMatched ⊤ σ χ Ψ Ψ') |
| 104 | {x : Matrix n' (n₁ ⊕ n₂) 𝔪.ResidueRing} (hx : Ψ x ≠ 0) : HasLeftInv xᵀ := by |
| 105 | obtain ⟨k, -, rfl⟩ := h_part.supp_left x hx |
| 106 | exact hasLeftInv_invLastRows_transpose σ k |
| 107 | |
| 108 | omit [WeilData E] [Fintype n] [Fintype n'] [DecidableEq n'] in |
| 109 | /-- Let `Ψ`, `Ψ'` be matched for the character `χ` over the whole residue ring (`⊤`), the indices |
| 110 | being split by `σ`; in particular `Ψ'` vanishes off the blocks of columns `n` of invertible |
| 111 | matrices. Then `Ψ'` vanishes off the left invertible matrices. -/ |
| 112 | lemma hasLeftInv_of_areMatched {𝔪 : Modulus E} {σ : n ⊕ n' ≃ n₁ ⊕ n₂} |
| 113 | {χ : MulChar 𝔪.ResidueRing ℂ} {Ψ : Matrix n' (n₁ ⊕ n₂) 𝔪.ResidueRing → ℂ} |
| 114 | {Ψ' : Matrix (n₁ ⊕ n₂) n 𝔪.ResidueRing → ℂ} (h_part : AreMatched ⊤ σ χ Ψ Ψ') |
| 115 | {y : Matrix (n₁ ⊕ n₂) n 𝔪.ResidueRing} (hy : Ψ' y ≠ 0) : HasLeftInv y := by |
| 116 | obtain ⟨k, -, rfl⟩ := h_part.supp_right y hy |
| 117 | exact ⟨_, invFirstRows_mul_firstCols σ k⟩ |
| 118 | |
| 119 | /-- Let the character `ν` of `[U(1)]` be tame of weight `μ` for `(𝔪, χ)`: `𝔪 ≠ 1`, `ν` has weight |
| 120 | `μ` at the infinite places, its tame part is nontrivial exactly at the places dividing `𝔪`, and `χ` |
| 121 | is the character of the residue ring that the tame part defines. Then the inverse of |
| 122 | `rankTwist ν⁻¹ N = ν⁻¹ * upsilonU1 ^ (card N / 2)` is tame for `(𝔪, χ)`, of some weight `μ'`. -/ |
| 123 | lemma IsTameFor.exists_inv_rankTwist_inv {𝔪 : Modulus E} {ν : AutChar E} {μ : InfinitePlace E → ℤ} |
| 124 | {χ : MulChar 𝔪.ResidueRing ℂ} (h_tame : IsTameFor 𝔪 ν μ χ) (N : Type) [Fintype N] : |
| 125 | ∃ μ' : InfinitePlace E → ℤ, IsTameFor 𝔪 (rankTwist ν⁻¹ N)⁻¹ μ' χ := by |
| 126 | -- inverting turns `χ` into `χ⁻¹`; a power of `upsilonU1` changes only the weight |
| 127 | have h_twist : IsTameFor 𝔪 (rankTwist ν⁻¹ N) (-μ + fun _ ↦ (↑(card N / 2) : ℤ)) χ⁻¹ := |
| 128 | h_tame.inv.mul (hasWeight_upsilonU1_pow _) |
| 129 | exact ⟨_, by simpa only [inv_inv] using h_twist.inv⟩ |
| 130 | |
| 131 | omit [WeilData E] in |
| 132 | /-- Suppose each `F i` with nonzero coefficient `c i` is integrable for the product of the quotient |
| 133 | measures of `U₁`, `U₂` and `A`, with integral `r i`. Then the iterated integral of `∑ i, c i • F i` |
| 134 | equals `∑ i, c i • r i`. The inner integral is over `A` and the outer one over `U₁ × U₂`. -/ |
| 135 | lemma integral_integral_sum_eq {A : Space E n' s'} {U₁ : Space E n₁ s₁} {U₂ : Space E n₂ s₂} |
| 136 | {ι : Type*} [Fintype ι] {c r : ι → ℂ} {F : ι → (G E s₁ × G E s₂) × G E s' → ℂ} |
| 137 | (hF_int : ∀ i : ι, c i ≠ 0 → |
| 138 | Integrable (F i) ((U₁.quotMeasure.prod U₂.quotMeasure).prod A.quotMeasure)) |
| 139 | (hF_val : ∀ i : ι, c i ≠ 0 → ∫ q : (G E s₁ × G E s₂) × G E s', F i q |
| 140 | ∂(U₁.quotMeasure.prod U₂.quotMeasure).prod A.quotMeasure = r i) : |
| 141 | ∫ g : G E s₁ × G E s₂, ∫ h : G E s', ∑ i : ι, c i • F i (g, h) ∂A.quotMeasure |
| 142 | ∂U₁.quotMeasure.prod U₂.quotMeasure = ∑ i : ι, c i • r i := by |
| 143 | set μ : Measure (G E s₁ × G E s₂) := U₁.quotMeasure.prod U₂.quotMeasure |
| 144 | -- a term with `c i = 0` vanishes, whether or not `F i` is integrable |
| 145 | have h_int (i : ι) : Integrable (fun q ↦ c i • F i q) (μ.prod A.quotMeasure) := by |
| 146 | by_cases hc : c i = 0 |
| 147 | · simp [hc] |
| 148 | · exact (hF_int i hc).const_mul (c i) |
| 149 | rw [integral_integral (integrable_finsetSum _ fun i _ ↦ h_int i), |
| 150 | integral_finsetSum _ fun i _ ↦ h_int i] |
| 151 | refine Finset.sum_congr rfl fun i _ ↦ ?_ |
| 152 | by_cases hc : c i = 0 |
| 153 | · simp [hc] |
| 154 | · simp [integral_const_mul, hF_val i hc] |
| 155 | |
| 156 | omit [WeilData E] in |
| 157 | /-- Let `s` be any sign vector and `fockSpace s` its Fock space. For `v` in it with finite moment |
| 158 | `fockMoment N v = ∫ (1 + ‖z‖) ^ N * |v z| dz`, let `K v` be a continuous kernel on `U₁ ⊕ U₂` and |
| 159 | `A`, bounded by a multiple of that moment times a power of the height on `U₁ ⊕ U₂`, uniformly in the |
| 160 | variable of `A`. Let `φ₁`, `φ₂` be rapidly decreasing functions on the adelic unitary groups of |
| 161 | `U₁`, `U₂`, and `ν₀` a character of `[U(1)]`. Then `φ₁ g₁ * φ₂ g₂ * ν₀ (det g₂) * K v (g₁ ⊕ g₂) z`, |
| 162 | as a function on `(U₁ × U₂) × A`, is integrable and bounded by a constant times a moment of `v`. -/ |
| 163 | lemma exists_integrable_kernel_bound {A : Space E n' s'} {U₁ : Space E n₁ s₁} |
| 164 | {U₂ : Space E n₂ s₂} {φ₁ : G E s₁ → ℂ} {φ₂ : G E s₂ → ℂ} (hφ₁ : φ₁ ∈ U₁.rapidFunctions) |
| 165 | (hφ₂ : φ₂ ∈ U₂.rapidFunctions) (ν₀ : AutChar E) |
| 166 | {K : fockSpace s → G E (s₁ ⊕ᵥ s₂) → G E s' → ℂ} |
| 167 | (hK_le : ∃ (B N : ℕ) (C : ℝ), ∀ (v : fockSpace s) (g : G E (s₁ ⊕ᵥ s₂)) (z : G E s'), |
| 168 | fockMoment N v ≠ ⊤ → ‖K v g z‖ ≤ C * (fockMoment N v).toReal * (U₁.sum U₂).height g ^ B) |
| 169 | (hK_cont : ∀ v : fockSpace s, Continuous ↿(K v)) : |
| 170 | ∃ (N : ℕ) (C : ℝ), ∀ v : fockSpace s, fockMoment N v ≠ ⊤ → |
| 171 | let F : (G E s₁ × G E s₂) × G E s' → ℂ := fun ((g₁, g₂), z) ↦ |
| 172 | φ₁ g₁ * φ₂ g₂ * (ν₀.val g₂.det * K v (G.sum (g₁, g₂)) z) |
| 173 | Integrable F ((U₁.quotMeasure.prod U₂.quotMeasure).prod A.quotMeasure) ∧ |
| 174 | ∀ q : (G E s₁ × G E s₂) × G E s', ‖F q‖ ≤ C * (fockMoment N v).toReal := by |
| 175 | -- The kernel grows at most like `(height g₁ * height g₂) ^ B`, which the rapid decay of `φ₁` and |
| 176 | -- `φ₂` absorbs; the character has modulus one. A bounded continuous function is integrable. |
| 177 | obtain ⟨B, N, C, hK_le⟩ := hK_le |
| 178 | obtain ⟨⟨hφ₁_cont, -⟩, hφ₁_decay⟩ := hφ₁ |
| 179 | obtain ⟨⟨hφ₂_cont, -⟩, hφ₂_decay⟩ := hφ₂ |
| 180 | obtain ⟨D, hD⟩ : ∃ D : ℝ, ∀ g : G E s₁, ‖φ₁ g‖ * U₁.height g ^ B ≤ D := hφ₁_decay B |
| 181 | obtain ⟨D', hD'⟩ : ∃ D' : ℝ, ∀ g : G E s₂, ‖φ₂ g‖ * U₂.height g ^ B ≤ D' := hφ₂_decay B |
| 182 | use N, |C| * |D| * D' |
| 183 | intro v hv F |
| 184 | set m : ℝ := (fockMoment N v).toReal |
| 185 | have h_bound : ∀ q : (G E s₁ × G E s₂) × G E s', ‖F q‖ ≤ |C| * |D| * D' * m := by |
| 186 | rintro ⟨⟨g₁, g₂⟩, z⟩ |
| 187 | have h_height₂ : 0 ≤ U₂.height g₂ := by simp [le_of_lt] |
| 188 | have h_height : 0 ≤ (U₁.sum U₂).height (G.sum (g₁, g₂)) := by simp [le_of_lt] |
| 189 | have h_sum : (U₁.sum U₂).height (G.sum (g₁, g₂)) ≤ U₁.height g₁ * U₂.height g₂ := by |
| 190 | rw [height_sum] |
| 191 | exact max_le (le_mul_of_one_le_right (height_pos g₁).le (one_le_height g₂)) |
| 192 | (le_mul_of_one_le_left h_height₂ (one_le_height g₁)) |
| 193 | have h_K : ‖K v (G.sum (g₁, g₂)) z‖ ≤ |C| * m * (U₁.height g₁ * U₂.height g₂) ^ B := by |
| 194 | grw [hK_le v _ z hv, le_abs_self C, h_sum] |
| 195 | simp only [F, norm_mul, Circle.norm_coe, one_mul] |
| 196 | calc |
| 197 | _ ≤ ‖φ₁ g₁‖ * ‖φ₂ g₂‖ * (|C| * m * (U₁.height g₁ * U₂.height g₂) ^ B) := by gcongr |
| 198 | _ = |C| * (‖φ₁ g₁‖ * U₁.height g₁ ^ B) * (‖φ₂ g₂‖ * U₂.height g₂ ^ B) * m := by ring |
| 199 | _ ≤ |C| * |D| * D' * m := by grw [(hD g₁).trans (le_abs_self D), hD' g₂] |
| 200 | have h_cont : Continuous F := by fun_prop |
| 201 | exact ⟨.of_bound h_cont.aestronglyMeasurable _ (.of_forall h_bound), h_bound⟩ |
| 202 | |
| 203 | /-- Let `s` be a sign vector on a finite index type `n`, so that a polynomial `P` in variables |
| 204 | indexed by `n` has a Fock vector `polyVector s P`. Let numbers `Λ j v` depend on a Fock vector `v`, |
| 205 | each being Lipschitz for one moment `fockMoment N v = ∫ (1 + ‖z‖) ^ N * |v z| dz`. If, for every |
| 206 | polynomial `P`, the numbers `Λ j (polyVector s P)` are one multiple of given numbers `ρ j`, the same |
| 207 | holds for every vector `x` whose moments are all finite. -/ |
| 208 | lemma exists_eq_mul_of_forall_polyVector {J : Type*} {Λ : J → fockSpace s → ℂ} {ρ : J → ℂ} |
| 209 | (h_lipschitz : ∀ j : J, ∃ (N : ℕ) (D : ℝ), ∀ v w : fockSpace s, |
| 210 | fockMoment N v ≠ ⊤ → fockMoment N w ≠ ⊤ → fockMoment N (w - v) ≠ ⊤ → |
| 211 | ‖Λ j v - Λ j w‖ ≤ D * (fockMoment N (w - v)).toReal) |
| 212 | (h_poly : ∀ P : MvPolynomial n ℂ, ∃ r : ℂ, ∀ j : J, Λ j (polyVector s P) = r * ρ j) |
| 213 | {x : fockSpace s} (hx : IsSchwartzVector x) : ∃ κ : ℂ, ∀ j : J, Λ j x = κ * ρ j := by |
| 214 | -- The functions `j ↦ Λ j (polyVector s (P m))` lie on the line through `ρ`, which is closed. |
| 215 | obtain ⟨P, hP⟩ := exists_tendsto_fockMoment hx |
| 216 | have h_tendsto (j : J) : |
| 217 | Filter.Tendsto (fun m : ℕ ↦ Λ j (polyVector s (P m))) .atTop (nhds (Λ j x)) := by |
| 218 | obtain ⟨N, D, h_le⟩ := h_lipschitz j |
| 219 | have h_error : Filter.Tendsto |
| 220 | (fun m : ℕ ↦ D * (fockMoment N (x - polyVector s (P m))).toReal) .atTop (nhds 0) := by |
| 221 | simpa using ((ENNReal.tendsto_toReal ENNReal.zero_ne_top).comp (hP N)).const_mul D |
| 222 | refine tendsto_sub_nhds_zero_iff.1 (squeeze_zero_norm' ?_ h_error) |
| 223 | filter_upwards [(hP N).eventually_ne ENNReal.zero_ne_top] with m hm |
| 224 | exact h_le _ _ (fockMoment_polyVector_ne_top N (P m)) (hx N) hm |
| 225 | have h_span (v : fockSpace s) : |
| 226 | (fun j : J ↦ Λ j v) ∈ Submodule.span ℂ {ρ} ↔ ∃ r : ℂ, ∀ j : J, Λ j v = r * ρ j := by |
| 227 | simp [Submodule.mem_span_singleton, funext_iff, eq_comm] |
| 228 | exact (h_span x).1 ((Submodule.isClosed_of_finiteDimensional _).isSeqClosed |
| 229 | (fun m ↦ (h_span _).2 (h_poly (P m))) (tendsto_pi_nhds.2 h_tendsto)) |
| 230 | |
| 231 | /-! ### The kernels multiply -/ |
| 232 | |
| 233 | section Kernels |
| 234 | |
| 235 | variable (A' : Space E n s) (A : Space E n' s') (U₁ : Space E n₁ s₁) (U₂ : Space E n₂ s₂) |
| 236 | {𝔪 : Modulus E} (ν₀ γ b : AutChar E) {f₁ : G E s₁ → ℂ} {f₂ : G E s₂ → ℂ} |
| 237 | |
| 238 | /-- A point mass factors into the point masses of two coordinates that determine the point. -/ |
| 239 | lemma single_one_eq_mul_of_coordinates {α β γ : Type*} [DecidableEq α] [DecidableEq β] |
| 240 | [DecidableEq γ] (x : α) (f : α → β) (g : α → γ) |
| 241 | (h : ∀ y, (f y = f x ∧ g y = g x) ↔ y = x) : |
| 242 | (Pi.single x 1 : α → ℂ) = fun y ↦ |
| 243 | (Pi.single (f x) 1 : β → ℂ) (f y) * (Pi.single (g x) 1 : γ → ℂ) (g y) := by |
| 244 | funext y |
| 245 | simp only [Pi.single_apply, ite_zero_mul_ite_zero, one_mul, h] |
| 246 | |
| 247 | /-- Let `U₁`, `U₂`, `A` be hermitian spaces, `ν₀` and `aᵢ`, `bᵢ` characters of `[U(1)]` with |
| 248 | `b₂ * ν₀ = b₁`. Take the indicator function of `x` and the product of `P₁` and `P₂`, read by |
| 249 | `renameRowsCols` in the variables of the two column blocks. Then the kernel of `(U₁ ⊕ U₂, A)` at |
| 250 | `g₁ ⊕ g₂`, for the characters `a₁ a₂` and `b₁`, is the product of the kernels of `(U₁, A)` and |
| 251 | `(U₂, A)`, for the column blocks of `x`, divided by `ν₀ (det g₂)`. -/ |
| 252 | lemma modKernel_single_sum_left {a₁ a₂ b₁ b₂ : AutChar E} (hb : b₂ * ν₀ = b₁) |
| 253 | (x : Matrix n' (n₁ ⊕ n₂) 𝔪.ResidueRing) (P₁ : MvPolynomial (InfinitePlace E × n' × n₁) ℂ) |
| 254 | (P₂ : MvPolynomial (InfinitePlace E × n' × n₂) ℂ) (g₁ : G E s₁) (g₂ : G E s₂) (h : G E s') : |
| 255 | ν₀.val g₂.det * modKernel (U₁.sum U₂) A (a₁ * a₂) b₁ 𝔪 (Pi.single x 1) |
| 256 | (renameRowsCols id Sum.inl P₁ * renameRowsCols id Sum.inr P₂) (G.sum (g₁, g₂)) h = |
| 257 | modKernel U₁ A a₁ b₁ 𝔪 (Pi.single x.toCols₁ 1) P₁ g₁ h * |
| 258 | modKernel U₂ A a₂ b₂ 𝔪 (Pi.single x.toCols₂ 1) P₂ g₂ h := by |
| 259 | have h_single := single_one_eq_mul_of_coordinates x Matrix.toCols₁ Matrix.toCols₂ |
| 260 | (fun _ ↦ by simp only [← fromCols_ext_iff, fromCols_toCols]) |
| 261 | have h_twist : modKernel U₂ A a₂ b₁ 𝔪 (Pi.single x.toCols₂ 1) P₂ g₂ h = |
| 262 | 1 / ν₀.val g₂.det * modKernel U₂ A a₂ b₂ 𝔪 (Pi.single x.toCols₂ 1) P₂ g₂ h := by |
| 263 | simpa [hb] using modKernel_twist U₂ A a₂ b₂ 𝔪 1 ν₀ _ P₂ g₂ h |
| 264 | rw [h_single, modKernel_sum_left, h_twist] |
| 265 | field_simp [Circle.coe_ne_zero] |
| 266 | |
| 267 | /-- Let `A'`, `U₁`, `U₂` be hermitian spaces, `ν₀` and `aᵢ`, `bᵢ` characters of `[U(1)]` with |
| 268 | `b₁ * ν₀ = b₂`. Take the indicator function of `y` and the product of `P₁` and `P₂`, read by |
| 269 | `renameRowsCols` in the variables of the two row blocks. Then the kernel of `(A', U₁ ⊕ U₂)` at |
| 270 | `g₁ ⊕ g₂`, for the characters `b₁` and `a₁ a₂`, is the product of the kernels of `(A', U₁)` and |
| 271 | `(A', U₂)`, for the row blocks of `y`, divided by `ν₀ (det g₂)`. -/ |
| 272 | lemma modKernel_single_sum_right {a₁ a₂ b₁ b₂ : AutChar E} (hb : b₁ * ν₀ = b₂) |
| 273 | (y : Matrix (n₁ ⊕ n₂) n 𝔪.ResidueRing) (P₁ : MvPolynomial (InfinitePlace E × n₁ × n) ℂ) |
| 274 | (P₂ : MvPolynomial (InfinitePlace E × n₂ × n) ℂ) (h : G E s) (g₁ : G E s₁) (g₂ : G E s₂) : |
| 275 | ν₀.val g₂.det * modKernel A' (U₁.sum U₂) b₁ (a₁ * a₂) 𝔪 (Pi.single y 1) |
| 276 | (renameRowsCols Sum.inl id P₁ * renameRowsCols Sum.inr id P₂) h (G.sum (g₁, g₂)) = |
| 277 | modKernel A' U₁ b₁ a₁ 𝔪 (Pi.single y.toRows₁ 1) P₁ h g₁ * |
| 278 | modKernel A' U₂ b₂ a₂ 𝔪 (Pi.single y.toRows₂ 1) P₂ h g₂ := by |
| 279 | have h_single := single_one_eq_mul_of_coordinates y Matrix.toRows₁ Matrix.toRows₂ |
| 280 | (fun _ ↦ by simp only [← fromRows_ext_iff, fromRows_toRows]) |
| 281 | have h_twist : modKernel A' U₂ b₂ a₂ 𝔪 (Pi.single y.toRows₂ 1) P₂ h g₂ = |
| 282 | ν₀.val g₂.det * modKernel A' U₂ b₁ a₂ 𝔪 (Pi.single y.toRows₂ 1) P₂ h g₂ := by |
| 283 | simpa [hb] using modKernel_twist A' U₂ b₁ a₂ 𝔪 ν₀ 1 _ P₂ h g₂ |
| 284 | rw [h_single, modKernel_sum_right, h_twist, mul_left_comm] |
| 285 | |
| 286 | /-- The theta kernel of `(U₁ ⊕ U₂, A)` for the point datum at `x` with real part `w`, at |
| 287 | `(g₁ ⊕ g₂, h)`, times `f₁ g₁ * f₂ g₂ * ν₀ (det g₂)`. The characters `γ`, `b` of `[U(1)]` twist the |
| 288 | Weil representation in the kernel by `γ (det h) * (b (det (g₁ ⊕ g₂)))⁻¹`. -/ |
| 289 | def upIntegrand (f₁ : G E s₁ → ℂ) (f₂ : G E s₂ → ℂ) (x : Matrix n' (n₁ ⊕ n₂) 𝔪.ResidueRing) |
| 290 | (w : PairFock E (s₁ ⊕ᵥ s₂) s') (q : (G E s₁ × G E s₂) × G E s') : ℂ := |
| 291 | f₁ q.1.1 * f₂ q.1.2 * (ν₀.val q.1.2.det * |
| 292 | pairTheta (U₁.sum U₂) A γ b (modDatum (U₁.sum U₂) A 𝔪 (Pi.single x 1) w) (G.sum q.1, q.2)) |
| 293 | |
| 294 | /-- The theta kernel of `(A', U₁ ⊕ U₂)` for the point datum at `y` with real part `w`, at |
| 295 | `(h, g₁ ⊕ g₂)`, times `f₁ g₁ * f₂ g₂ * ν₀ (det g₂)`. The characters `γ`, `b` of `[U(1)]` twist the |
| 296 | Weil representation in the kernel by `(γ (det h))⁻¹ * b (det (g₁ ⊕ g₂))`. -/ |
| 297 | def downIntegrand (f₁ : G E s₁ → ℂ) (f₂ : G E s₂ → ℂ) (y : Matrix (n₁ ⊕ n₂) n 𝔪.ResidueRing) |
| 298 | (w : PairFock E s (s₁ ⊕ᵥ s₂)) (q : (G E s₁ × G E s₂) × G E s) : ℂ := |
| 299 | f₁ q.1.1 * f₂ q.1.2 * (ν₀.val q.1.2.det * |
| 300 | pairTheta A' (U₁.sum U₂) b γ (modDatum A' (U₁.sum U₂) 𝔪 (Pi.single y 1) w) (q.2, G.sum q.1)) |
| 301 | |
| 302 | /-- The function `upIntegrand` is additive in its real datum, the Fock vector in |
| 303 | `PairFock E (s₁ ⊕ᵥ s₂) s'`: its value at `v + w` is the sum of its values at `v` and at `w`. -/ |
| 304 | lemma upIntegrand_add (f₁ : G E s₁ → ℂ) (f₂ : G E s₂ → ℂ) (x : Matrix n' (n₁ ⊕ n₂) 𝔪.ResidueRing) |
| 305 | (v w : PairFock E (s₁ ⊕ᵥ s₂) s') : upIntegrand A U₁ U₂ ν₀ γ b f₁ f₂ x (v + w) = |
| 306 | upIntegrand A U₁ U₂ ν₀ γ b f₁ f₂ x v + upIntegrand A U₁ U₂ ν₀ γ b f₁ f₂ x w := by |
| 307 | ext q |
| 308 | simp [upIntegrand, pairTheta, modDatum, mul_add] |
| 309 | |
| 310 | /-- The function `upIntegrand` respects differences in its real datum, the Fock vector in |
| 311 | `PairFock E (s₁ ⊕ᵥ s₂) s'`: its value at `v - w` is its value at `v` minus its value at `w`. -/ |
| 312 | lemma upIntegrand_sub (f₁ : G E s₁ → ℂ) (f₂ : G E s₂ → ℂ) (x : Matrix n' (n₁ ⊕ n₂) 𝔪.ResidueRing) |
| 313 | (v w : PairFock E (s₁ ⊕ᵥ s₂) s') : upIntegrand A U₁ U₂ ν₀ γ b f₁ f₂ x (v - w) = |
| 314 | upIntegrand A U₁ U₂ ν₀ γ b f₁ f₂ x v - upIntegrand A U₁ U₂ ν₀ γ b f₁ f₂ x w := by |
| 315 | rw [eq_sub_iff_add_eq, ← upIntegrand_add, sub_add_cancel] |
| 316 | |
| 317 | /-- Let `x` be onto modulo an ideal `𝔪` with at least one prime divisor (`𝔪 ≠ 1`), let `f₁`, `f₂` |
| 318 | be automorphic functions of rapid decay for the hermitian spaces `U₁`, `U₂`, and let `ν₀`, `γ`, `b` |
| 319 | be any characters of `[U(1)]`. At `((g₁, g₂), h)`, `upIntegrand` is `f₁ g₁ * f₂ g₂ * ν₀ (det g₂)` |
| 320 | times the theta kernel of `(U₁ ⊕ U₂, A)`, twisted by `γ (det h) * (b (det (g₁ ⊕ g₂)))⁻¹`, for the |
| 321 | point datum at `x` with real part `w`: the theta datum whose part at `𝔪` is the indicator function |
| 322 | of `x` and whose part at infinity is `w`, a vector of the Fock space of the pair (`PairFock`). |
| 323 | There are `N` and `D` such that, whenever `fockMoment N w = ∫ (1 + ‖z‖) ^ N * |w z| dz` is finite, |
| 324 | this function is integrable for the product of the quotient measures of `U₁`, `U₂`, `A` and |
| 325 | bounded by `D * fockMoment N w`. -/ |
| 326 | lemma exists_upIntegrand_bound (h𝔪 : Nonempty 𝔪.places) (hf₁ : f₁ ∈ U₁.rapidFunctions) |
| 327 | (hf₂ : f₂ ∈ U₂.rapidFunctions) {x : Matrix n' (n₁ ⊕ n₂) 𝔪.ResidueRing} (hx : HasLeftInv xᵀ) : |
| 328 | ∃ (N : ℕ) (D : ℝ), ∀ w : PairFock E (s₁ ⊕ᵥ s₂) s', fockMoment N w ≠ ⊤ → |
| 329 | Integrable (upIntegrand A U₁ U₂ ν₀ γ b f₁ f₂ x w) |
| 330 | ((U₁.quotMeasure.prod U₂.quotMeasure).prod A.quotMeasure) ∧ |
| 331 | ∀ q : (G E s₁ × G E s₂) × G E s', |
| 332 | ‖upIntegrand A U₁ U₂ ν₀ γ b f₁ f₂ x w q‖ ≤ D * (fockMoment N w).toReal := by |
| 333 | let K (w : PairFock E (s₁ ⊕ᵥ s₂) s') (g : G E (s₁ ⊕ᵥ s₂)) (h : G E s') : ℂ := |
| 334 | pairTheta (U₁.sum U₂) A γ b (modDatum (U₁.sum U₂) A 𝔪 (Pi.single x 1) w) (g, h) |
| 335 | have h_le : ∃ (B N : ℕ) (C : ℝ), ∀ w g h, fockMoment N w ≠ ⊤ → |
| 336 | ‖K w g h‖ ≤ C * (fockMoment N w).toReal * (U₁.sum U₂).height g ^ B := by |
| 337 | simpa only [pow_zero, mul_one] using pairTheta_modDatum_decay_of_rightInv (U₁.sum U₂) A γ b |
| 338 | (Ψ := Pi.single x 1) h𝔪 (by simpa using hx) 0 |
| 339 | exact exists_integrable_kernel_bound hf₁ hf₂ ν₀ (K := K) h_le fun w ↦ by fun_prop |
| 340 | |
| 341 | /-- Let `𝔪` have at least one prime divisor (`𝔪.places` nonempty), and let `x` be a matrix modulo |
| 342 | `𝔪` whose transpose `xᵀ` has a left inverse. Let `f₁`, `f₂` be automorphic functions of rapid decay |
| 343 | for `U₁`, `U₂`. Let all moments `fockMoment N w` of the Fock vector `w` be finite. Then |
| 344 | `upIntegrand` at `x` and `w`, for any characters `ν₀`, `γ`, `b` of `[U(1)]`, is integrable for the |
| 345 | product of the quotient measures of `U₁`, `U₂`, `A`. -/ |
| 346 | lemma integrable_upIntegrand (h𝔪 : Nonempty 𝔪.places) (hf₁ : f₁ ∈ U₁.rapidFunctions) |
| 347 | (hf₂ : f₂ ∈ U₂.rapidFunctions) {x : Matrix n' (n₁ ⊕ n₂) 𝔪.ResidueRing} (hx : HasLeftInv xᵀ) |
| 348 | {w : PairFock E (s₁ ⊕ᵥ s₂) s'} (hw : IsSchwartzVector w) : |
| 349 | Integrable (upIntegrand A U₁ U₂ ν₀ γ b f₁ f₂ x w) |
| 350 | ((U₁.quotMeasure.prod U₂.quotMeasure).prod A.quotMeasure) := by |
| 351 | obtain ⟨N, D, h_bound⟩ := exists_upIntegrand_bound A U₁ U₂ ν₀ γ b h𝔪 hf₁ hf₂ hx |
| 352 | exact (h_bound w (hw N)).left |
| 353 | |
| 354 | /-- Let `x` be onto modulo `𝔪 ≠ 1`, let `f₁`, `f₂` be automorphic functions of rapid decay for `U₁`, |
| 355 | `U₂`, and let `ν₀`, `γ`, `b` be any characters of `[U(1)]`. Here `upIntegrand` is the product of |
| 356 | `f₁ g₁`, `f₂ g₂`, `ν₀ (det g₂)` and the theta kernel of `(U₁ ⊕ U₂, A)`, twisted by `γ`, `b`, for the |
| 357 | indicator of `x` modulo `𝔪` and a vector `v` of the Fock space, the real part of the datum. Let |
| 358 | `J v` be its integral for `μA`, the product of the quotient measures of `U₁`, `U₂`, `A`. There are |
| 359 | `N` and `D` with `‖J v - J v'‖ ≤ D * fockMoment N (v' - v)` whenever `v`, `v'` and `v' - v` have a |
| 360 | finite moment of order `N`. -/ |
| 361 | lemma exists_norm_integral_upIntegrand_sub_le (h𝔪 : Nonempty 𝔪.places) |
| 362 | (hf₁ : f₁ ∈ U₁.rapidFunctions) (hf₂ : f₂ ∈ U₂.rapidFunctions) |
| 363 | {x : Matrix n' (n₁ ⊕ n₂) 𝔪.ResidueRing} (hx : HasLeftInv xᵀ) : |
| 364 | let μA : Measure ((G E s₁ × G E s₂) × G E s') := |
| 365 | (U₁.quotMeasure.prod U₂.quotMeasure).prod A.quotMeasure |
| 366 | ∃ (N : ℕ) (D : ℝ), ∀ v v' : PairFock E (s₁ ⊕ᵥ s₂) s', |
| 367 | fockMoment N v ≠ ⊤ → fockMoment N v' ≠ ⊤ → fockMoment N (v' - v) ≠ ⊤ → |
| 368 | ‖∫ q : (G E s₁ × G E s₂) × G E s', upIntegrand A U₁ U₂ ν₀ γ b f₁ f₂ x v q ∂μA - |
| 369 | ∫ q : (G E s₁ × G E s₂) × G E s', upIntegrand A U₁ U₂ ν₀ γ b f₁ f₂ x v' q ∂μA‖ ≤ |
| 370 | D * (fockMoment N (v' - v)).toReal := by |
| 371 | intro μA |
| 372 | obtain ⟨N, D, h_bound⟩ := exists_upIntegrand_bound A U₁ U₂ ν₀ γ b h𝔪 hf₁ hf₂ hx |
| 373 | refine ⟨N, D * μA.real .univ, fun v v' hv hv' hvv' ↦ ?_⟩ |
| 374 | rw [norm_sub_rev, ← integral_sub (h_bound v' hv').left (h_bound v hv).left, mul_right_comm] |
| 375 | refine norm_integral_le_of_norm_le_const (.of_forall fun q ↦ ?_) |
| 376 | simpa only [upIntegrand_sub, Pi.sub_apply] using (h_bound (v' - v) hvv').right q |
| 377 | |
| 378 | /-- Let `y` be left invertible modulo `𝔪 ≠ 1`, let `f₁`, `f₂` be automorphic functions of rapid |
| 379 | decay for `U₁`, `U₂`, and let `ν₀`, `γ`, `b` be any characters of `[U(1)]`. At `((g₁, g₂), h)`, |
| 380 | `downIntegrand` is `f₁ g₁ * f₂ g₂ * ν₀ (det g₂)` times the theta kernel of `(A', U₁ ⊕ U₂)`, twisted |
| 381 | by `(γ (det h))⁻¹ * b (det (g₁ ⊕ g₂))`, for the point datum at `y` with real part the Fock vector |
| 382 | `w`. If all moments `fockMoment N w = ∫ (1 + ‖z‖) ^ N * |w z| dz` are finite, it is integrable for |
| 383 | the product of the quotient measures of `U₁`, `U₂`, `A'`. -/ |
| 384 | lemma integrable_downIntegrand (h𝔪 : Nonempty 𝔪.places) (hf₁ : f₁ ∈ U₁.rapidFunctions) |
| 385 | (hf₂ : f₂ ∈ U₂.rapidFunctions) {y : Matrix (n₁ ⊕ n₂) n 𝔪.ResidueRing} (hy : HasLeftInv y) |
| 386 | {w : PairFock E s (s₁ ⊕ᵥ s₂)} (hw : IsSchwartzVector w) : |
| 387 | Integrable (downIntegrand A' U₁ U₂ ν₀ γ b f₁ f₂ y w) |
| 388 | ((U₁.quotMeasure.prod U₂.quotMeasure).prod A'.quotMeasure) := by |
| 389 | let K (v : PairFock E s (s₁ ⊕ᵥ s₂)) (g : G E (s₁ ⊕ᵥ s₂)) (h : G E s) : ℂ := |
| 390 | pairTheta A' (U₁.sum U₂) b γ (modDatum A' (U₁.sum U₂) 𝔪 (Pi.single y 1) v) (h, g) |
| 391 | have h_le : ∃ (B N : ℕ) (C : ℝ), ∀ v g h, fockMoment N v ≠ ⊤ → |
| 392 | ‖K v g h‖ ≤ C * (fockMoment N v).toReal * (U₁.sum U₂).height g ^ B := by |
| 393 | simpa only [pow_zero, mul_one] using pairTheta_modDatum_decay A' (U₁.sum U₂) b γ |
| 394 | (Ψ := Pi.single y 1) h𝔪 (by simpa using hy) 0 |
| 395 | obtain ⟨N, D, h_bound⟩ := |
| 396 | exists_integrable_kernel_bound (A := A') hf₁ hf₂ ν₀ (K := K) h_le fun v ↦ by fun_prop |
| 397 | exact (h_bound w (hw N)).left |
| 398 | |
| 399 | /-- Let `μ` and `ν` be s-finite measures on `X` and `Y`, with functions `F₁ : X → ℂ` and |
| 400 | `F₂ : Y → ℂ`. Suppose a kernel `K : X → Y → ℂ` factors as `K x y = K₁ x * K₂ y`, where |
| 401 | `K₁ : X → ℂ` and `K₂ : Y → ℂ`. The integral of `F₁ x * F₂ y * K x y` against `μ.prod ν` is |
| 402 | `(∫ x, K₁ x * F₁ x ∂μ) * (∫ y, K₂ y * F₂ y ∂ν)`. -/ |
| 403 | private lemma integral_prod_mul_of_kernel_eq_mul {X Y : Type*} |
| 404 | [MeasurableSpace X] [MeasurableSpace Y] {μ : Measure X} {ν : Measure Y} [SFinite μ] [SFinite ν] |
| 405 | (F₁ : X → ℂ) (F₂ : Y → ℂ) |
| 406 | {K : X → Y → ℂ} {K₁ : X → ℂ} {K₂ : Y → ℂ} (hK : ∀ x y, K x y = K₁ x * K₂ y) : |
| 407 | ∫ g : X × Y, F₁ g.1 * F₂ g.2 * K g.1 g.2 ∂μ.prod ν = |
| 408 | (∫ x, K₁ x * F₁ x ∂μ) * (∫ y, K₂ y * F₂ y ∂ν) := by |
| 409 | rw [← integral_prod_mul] |
| 410 | refine integral_congr_ae (.of_forall fun ⟨x, y⟩ ↦ ?_) |
| 411 | dsimp only |
| 412 | rw [hK] |
| 413 | ac_rfl |
| 414 | |
| 415 | /-- Let `b₂ * ν₀ = b₁`, let `x` be a matrix modulo `𝔪` and let `P₁`, `P₂` be polynomials on the |
| 416 | pairs `(U₁, A)`, `(U₂, A)`. `upIntegrand` is `f₁ g₁ * f₂ g₂ * ν₀ (det g₂)` times the theta kernel of |
| 417 | `(U₁ ⊕ U₂, A)`. Here it is taken for the point datum at `x`, the Fock vector of `P₁ P₂` and the |
| 418 | characters `a₁ a₂`, `b₁`. If it is integrable, its integral is the integral over `A` of the product |
| 419 | of the theta lifts of `f₁`, `f₂`. -/ |
| 420 | lemma integral_upIntegrand {a₁ a₂ b₁ b₂ : AutChar E} (hb : b₂ * ν₀ = b₁) |
| 421 | {x : Matrix n' (n₁ ⊕ n₂) 𝔪.ResidueRing} {P₁ : MvPolynomial (InfinitePlace E × n' × n₁) ℂ} |
| 422 | {P₂ : MvPolynomial (InfinitePlace E × n' × n₂) ℂ} |
| 423 | (h_int : Integrable (upIntegrand A U₁ U₂ ν₀ (a₁ * a₂) b₁ f₁ f₂ x |
| 424 | (polyVector (realSigns E (homSigns (s₁ ⊕ᵥ s₂) s')) |
| 425 | (renameRowsCols id Sum.inl P₁ * renameRowsCols id Sum.inr P₂))) |
| 426 | ((U₁.quotMeasure.prod U₂.quotMeasure).prod A.quotMeasure)) : |
| 427 | ∫ q : (G E s₁ × G E s₂) × G E s', upIntegrand A U₁ U₂ ν₀ (a₁ * a₂) b₁ f₁ f₂ x |
| 428 | (polyVector (realSigns E (homSigns (s₁ ⊕ᵥ s₂) s')) |
| 429 | (renameRowsCols id Sum.inl P₁ * renameRowsCols id Sum.inr P₂)) q |
| 430 | ∂(U₁.quotMeasure.prod U₂.quotMeasure).prod A.quotMeasure = |
| 431 | ∫ h : G E s', lift (pairThetaKer U₁ A a₁ b₁) |
| 432 | (modDatum U₁ A 𝔪 (Pi.single x.toCols₁ 1) (polyVector (realSigns E (homSigns s₁ s')) P₁)) |
| 433 | f₁ h * |
| 434 | lift (pairThetaKer U₂ A a₂ b₂) |
| 435 | (modDatum U₂ A 𝔪 (Pi.single x.toCols₂ 1) (polyVector (realSigns E (homSigns s₂ s')) P₂)) |
| 436 | f₂ h ∂A.quotMeasure := by |
| 437 | rw [integral_prod_symm _ h_int] |
| 438 | -- `modKernel` is by definition the theta kernel at the datum of a polynomial. |
| 439 | exact integral_congr_ae (.of_forall fun h ↦ integral_prod_mul_of_kernel_eq_mul f₁ f₂ |
| 440 | (fun g₁ g₂ ↦ modKernel_single_sum_left A U₁ U₂ ν₀ hb x P₁ P₂ g₁ g₂ h)) |
| 441 | |
| 442 | /-- Let `b₂ = b₁ ν₀`, let `y` be a matrix modulo `𝔪` and let `P₁`, `P₂` be polynomials on the pairs |
| 443 | `(A', U₁)`, `(A', U₂)` of spaces. Suppose `downIntegrand` is integrable for `y` and the Fock vector |
| 444 | `polyVector` of `P₁ P₂`, with the characters `a₁ a₂` and `b₁`. Then its integral is the integral |
| 445 | over `A'` of a product of two transposed lifts (`swap`). These are the lifts of `f₁` and `f₂` for |
| 446 | the theta kernels `pairThetaKer A' Uᵢ bᵢ aᵢ`. -/ |
| 447 | lemma integral_downIntegrand {a₁ a₂ b₁ b₂ : AutChar E} (hb : b₁ * ν₀ = b₂) |
| 448 | {y : Matrix (n₁ ⊕ n₂) n 𝔪.ResidueRing} {P₁ : MvPolynomial (InfinitePlace E × n₁ × n) ℂ} |
| 449 | {P₂ : MvPolynomial (InfinitePlace E × n₂ × n) ℂ} |
| 450 | (h_int : Integrable (downIntegrand A' U₁ U₂ ν₀ (a₁ * a₂) b₁ f₁ f₂ y |
| 451 | (polyVector (realSigns E (homSigns s (s₁ ⊕ᵥ s₂))) |
| 452 | (renameRowsCols Sum.inl id P₁ * renameRowsCols Sum.inr id P₂))) |
| 453 | ((U₁.quotMeasure.prod U₂.quotMeasure).prod A'.quotMeasure)) : |
| 454 | ∫ q : (G E s₁ × G E s₂) × G E s, downIntegrand A' U₁ U₂ ν₀ (a₁ * a₂) b₁ f₁ f₂ y |
| 455 | (polyVector (realSigns E (homSigns s (s₁ ⊕ᵥ s₂))) |
| 456 | (renameRowsCols Sum.inl id P₁ * renameRowsCols Sum.inr id P₂)) q |
| 457 | ∂(U₁.quotMeasure.prod U₂.quotMeasure).prod A'.quotMeasure = |
| 458 | ∫ h : G E s, lift (pairThetaKer A' U₁ b₁ a₁).swap |
| 459 | (modDatum A' U₁ 𝔪 (Pi.single y.toRows₁ 1) (polyVector (realSigns E (homSigns s s₁)) P₁)) |
| 460 | f₁ h * |
| 461 | lift (pairThetaKer A' U₂ b₂ a₂).swap |
| 462 | (modDatum A' U₂ 𝔪 (Pi.single y.toRows₂ 1) (polyVector (realSigns E (homSigns s s₂)) P₂)) |
| 463 | f₂ h ∂A'.quotMeasure := by |
| 464 | rw [integral_prod_symm _ h_int] |
| 465 | -- `modKernel` is by definition the theta kernel at the datum of a polynomial. |
| 466 | exact integral_congr_ae (.of_forall fun h ↦ integral_prod_mul_of_kernel_eq_mul f₁ f₂ |
| 467 | (fun g₁ g₂ ↦ modKernel_single_sum_right A' U₁ U₂ ν₀ hb y P₁ P₂ h g₁ g₂)) |
| 468 | |
| 469 | /-- Suppose that at `g = (g₁, g₂)` the theta integral `thetaIntegral` of `(U₁ ⊕ U₂, A)` with the |
| 470 | datum `modDatum` of `Ψ` and `w` is `c` times the integral over `A'` of the theta kernel `pairTheta` |
| 471 | of `(A', U₁ ⊕ U₂)` with the datum of `Ψ'` and `v`. Then the integral over `A` in `k` of |
| 472 | `∑ x, Ψ x • upIntegrand … x w (g, k)` is `c` times the integral over `A'` in `k` of |
| 473 | `∑ y, Ψ' y • downIntegrand … y v (g, k)`. -/ |
| 474 | lemma integral_sum_upIntegrand_eq_mul {a b₀ b₀' : AutChar E} {w : PairFock E (s₁ ⊕ᵥ s₂) s'} |
| 475 | {v : PairFock E s (s₁ ⊕ᵥ s₂)} {Ψ : Matrix n' (n₁ ⊕ n₂) 𝔪.ResidueRing → ℂ} |
| 476 | {Ψ' : Matrix (n₁ ⊕ n₂) n 𝔪.ResidueRing → ℂ} {c : ℂ} {g : G E s₁ × G E s₂} |
| 477 | (h_theta : thetaIntegral (U₁.sum U₂) A a b₀ (modDatum (U₁.sum U₂) A 𝔪 Ψ w) (G.sum g) = |
| 478 | c * ∫ k : G E s, pairTheta A' (U₁.sum U₂) b₀' a |
| 479 | (modDatum A' (U₁.sum U₂) 𝔪 Ψ' v) (k, G.sum g) ∂A'.quotMeasure) : |
| 480 | ∫ k : G E s', ∑ x : Matrix n' (n₁ ⊕ n₂) 𝔪.ResidueRing, |
| 481 | Ψ x • upIntegrand A U₁ U₂ ν₀ a b₀ f₁ f₂ x w (g, k) ∂A.quotMeasure = |
| 482 | c * ∫ k : G E s, ∑ y : Matrix (n₁ ⊕ n₂) n 𝔪.ResidueRing, |
| 483 | Ψ' y • downIntegrand A' U₁ U₂ ν₀ a b₀' f₁ f₂ y v (g, k) ∂A'.quotMeasure := by |
| 484 | -- expand both data in point data; the factors that depend on `g` alone leave the integrals |
| 485 | simp only [thetaIntegral, pairTheta, modDatum_eq_sum _ _ Ψ, modDatum_eq_sum _ _ Ψ', map_sum, |
| 486 | map_smul] at h_theta |
| 487 | simp only [upIntegrand, downIntegrand, pairTheta, ← mul_smul_comm, ← Finset.mul_sum, |
| 488 | integral_const_mul, h_theta, mul_left_comm c] |
| 489 | |
| 490 | end Kernels |
| 491 | |
| 492 | section Edges |
| 493 | |
| 494 | variable (A' : Space E n s) (A : Space E n' s') (U₁ : Space E n₁ s₁) (U₂ : Space E n₂ s₂) |
| 495 | {I : Type*} {e : GInf E s' → ℂ} {e' : GInf E s → ℂ} {e₁ : GInf E s₁ → ℂ} |
| 496 | {e₂ : GInf E s₂ → ℂ} {a₁ a₂ b₁ b₂ a₁' a₂' b₁' b₂' : I → AutChar E} |
| 497 | {P₁ : MvPolynomial (InfinitePlace E × n' × n₁) ℂ} |
| 498 | {P₂ : MvPolynomial (InfinitePlace E × n' × n₂) ℂ} |
| 499 | {P₁' : MvPolynomial (InfinitePlace E × n₁ × n) ℂ} |
| 500 | {P₂' : MvPolynomial (InfinitePlace E × n₂ × n) ℂ} |
| 501 | |
| 502 | /-- Let `(U₁, A)` and `(U₂, A)` be edges `e₁ → e` and `ē₂ → ē`: with the real data of the |
| 503 | polynomials `P₁`, `P₂`, the theta integrals lift forms of type `e₁`, `ē₂` to forms of type `e`, `ē` |
| 504 | on `A`. Let `w` be a real datum with finite moments, and let `b₂ i * ν₀ i = b₁ i` and `𝔪 i ≠ 1` for |
| 505 | all `i`. There is one number `κ` such that for every member `i` of the family, every `x` onto modulo |
| 506 | `𝔪 i` and all forms `f₁`, `f₂`, the integral of `upIntegrand` is `κ` times the pairing of `f₂` with |
| 507 | the lift of `f₁` to `A` followed by the transposed lift to `U₂`. -/ |
| 508 | lemma exists_integral_upIntegrand_eq_mul_integral_lift {ν₀ : I → AutChar E} {𝔪 : I → Modulus E} |
| 509 | (h₁ : IsPairEdge a₁ b₁ e₁ e P₁) (h₂ : IsPairEdge a₂ b₂ (star e₂) (star e) P₂) |
| 510 | (hb : ∀ i : I, b₂ i * ν₀ i = b₁ i) (h𝔪 : ∀ i : I, Nonempty (𝔪 i).places) |
| 511 | {w : PairFock E (s₁ ⊕ᵥ s₂) s'} (hw : IsSchwartzVector w) : |
| 512 | ∃ κ : ℂ, ∀ (i : I) (x : Matrix n' (n₁ ⊕ n₂) (𝔪 i).ResidueRing), HasLeftInv xᵀ → |
| 513 | ∀ (f₁ : U₁.Form e₁) (f₂ : U₂.Form (star e₂)), |
| 514 | ∫ q : (G E s₁ × G E s₂) × G E s', upIntegrand A U₁ U₂ (ν₀ i) (a₁ i * a₂ i) (b₁ i) f₁ f₂ x w q |
| 515 | ∂(U₁.quotMeasure.prod U₂.quotMeasure).prod A.quotMeasure = |
| 516 | κ * ∫ g : G E s₂, f₂ g * pairTransposedLift U₂ A (a₂ i) (b₂ i) P₂ (Pi.single x.toCols₂ 1) |
| 517 | e e₂ (pairLift U₁ A (a₁ i) (b₁ i) P₁ (Pi.single x.toCols₁ 1) e₁ e f₁) g |
| 518 | ∂U₂.quotMeasure := by |
| 519 | -- A case is a member of the family, an onto matrix and a form on each `Uᵢ`. |
| 520 | let Case : Type _ := Σ i : I, {x : Matrix n' (n₁ ⊕ n₂) (𝔪 i).ResidueRing // HasLeftInv xᵀ} × |
| 521 | U₁.Form e₁ × U₂.Form (star e₂) |
| 522 | let μA : Measure ((G E s₁ × G E s₂) × G E s') := |
| 523 | (U₁.quotMeasure.prod U₂.quotMeasure).prod A.quotMeasure |
| 524 | let F : Case → PairFock E (s₁ ⊕ᵥ s₂) s' → (G E s₁ × G E s₂) × G E s' → ℂ := |
| 525 | fun ⟨i, x, f₁, f₂⟩ ↦ upIntegrand A U₁ U₂ (ν₀ i) (a₁ i * a₂ i) (b₁ i) f₁ f₂ x.val |
| 526 | let path : Case → ℂ := fun ⟨i, x, f₁, f₂⟩ ↦ |
| 527 | ∫ h, pairLift U₁ A (a₁ i) (b₁ i) P₁ (Pi.single x.val.toCols₁ 1) e₁ e f₁ h * |
| 528 | pairLift U₂ A (a₂ i) (b₂ i) P₂ (Pi.single x.val.toCols₂ 1) (star e₂) (star e) f₂ h |
| 529 | ∂A.quotMeasure |
| 530 | have hf₁ (f : U₁.Form e₁) : f.val ∈ U₁.rapidFunctions := f.prop.mem_rapidFunctions h₁.isCuspKernel |
| 531 | have hf₂ (f : U₂.Form (star e₂)) : f.val ∈ U₂.rapidFunctions := |
| 532 | f.prop.mem_rapidFunctions h₂.isCuspKernel |
| 533 | have h_int : ∀ (j : Case) (P : MvPolynomial (InfinitePlace E × n' × (n₁ ⊕ n₂)) ℂ), |
| 534 | Integrable (F j (polyVector _ P)) μA := fun ⟨i, x, f₁, f₂⟩ P ↦ |
| 535 | integrable_upIntegrand A U₁ U₂ _ _ _ (h𝔪 i) (hf₁ f₁) (hf₂ f₂) x.prop |
| 536 | fun N ↦ fockMoment_polyVector_ne_top N P |
| 537 | -- A polynomial is a sum of products `Q₁ Q₂` of polynomials on `(U₁, A)` and `(U₂, A)`. |
| 538 | have h_poly (Q : MvPolynomial (InfinitePlace E × n' × (n₁ ⊕ n₂)) ℂ) : |
| 539 | ∃ r : ℂ, ∀ j : Case, ∫ q, F j (polyVector _ Q) q ∂μA = r * path j := by |
| 540 | refine Submodule.mul_induction_on (mem_rename_range_mul (Prod.map id (Prod.map id Sum.inl)) |
| 541 | (Prod.map id (Prod.map id Sum.inr)) (by simp) Q) ?_ ?_ |
| 542 | · rintro _ ⟨Q₁, rfl⟩ _ ⟨Q₂, rfl⟩ |
| 543 | -- The lifts with `Q₁`, `Q₂` are real averages of the lifts along the edges, and averaging |
| 544 | -- multiplies the pairing on `A` by a number fixed by the real data. |
| 545 | obtain ⟨α₁, h_lift₁⟩ := h₁.exists_lift_eq_realConv Q₁ |
| 546 | obtain ⟨α₂, h_lift₂⟩ := h₂.exists_lift_eq_realConv Q₂ |
| 547 | obtain ⟨r, h_avg⟩ := exists_integral_realConv_mul_realConv A h₁.isCuspKernel_star α₁ α₂ |
| 548 | refine ⟨r, fun ⟨i, x, f₁, f₂⟩ ↦ ?_⟩ |
| 549 | refine (integral_upIntegrand A U₁ U₂ (ν₀ i) (hb i) (h_int ⟨i, x, f₁, f₂⟩ _)).trans ?_ |
| 550 | rw [h_lift₁, h_lift₂, h_avg] |
| 551 | · rintro Q Q' ⟨r, hr⟩ ⟨r', hr'⟩ |
| 552 | refine ⟨r + r', fun j ↦ ?_⟩ |
| 553 | rw [map_add, add_mul, ← hr j, ← hr' j, ← integral_add (h_int j Q) (h_int j Q')] |
| 554 | obtain ⟨i, x, f₁, f₂⟩ := j |
| 555 | simp only [F, upIntegrand_add, Pi.add_apply] |
| 556 | -- The integral is Lipschitz in the real datum, so the relation passes from polynomials to `w`. |
| 557 | obtain ⟨κ, hκ⟩ : ∃ κ : ℂ, ∀ j : Case, ∫ q, F j w q ∂μA = κ * path j := by |
| 558 | refine exists_eq_mul_of_forall_polyVector (Λ := fun j v ↦ ∫ q, F j v q ∂μA) |
| 559 | (fun ⟨i, x, f₁, f₂⟩ ↦ ?_) h_poly hw |
| 560 | exact exists_norm_integral_upIntegrand_sub_le A U₁ U₂ _ _ _ (h𝔪 i) (hf₁ f₁) (hf₂ f₂) x.prop |
| 561 | refine ⟨κ, fun i x hx f₁ f₂ ↦ (hκ ⟨i, ⟨x, hx⟩, f₁, f₂⟩).trans (congrArg (κ * ·) ?_)⟩ |
| 562 | -- the lift from `U₂` to `A` is adjoint to the transposed lift |
| 563 | obtain ⟨h_arrow, -⟩ := h₂.isArrow (S := U₂) (T := A) (Ψ := Pi.single x.toCols₂ 1) i |
| 564 | exact h_arrow.integral_mul_formLift_swap (h₂.isArrow_swap i) f₂ _ |
| 565 | |
| 566 | omit [WeilData E] [Fintype n'] [DecidableEq n'] in |
| 567 | /-- If a finite adelic element `u` of `U(M)` scales the data of two composable arrows `K₁ : S → M` |
| 568 | and `K₂ : M → T` by `c₁` and `c₂`, then the composition of their theta lifts scales by `c₂ * c₁`. -/ |
| 569 | lemma formLift_comp_eq_smul {X₁ X₂ : Type*} [NormedAddCommGroup X₁] [NormedSpace ℂ X₁] |
| 570 | [CompleteSpace X₁] [NormedAddCommGroup X₂] [NormedSpace ℂ X₂] [CompleteSpace X₂] |
| 571 | {S : Space E n₁ s₁} {M : Space E n s} {T : Space E n₂ s₂} |
| 572 | {K₁ : ThetaKernel X₁ S M} {K₂ : ThetaKernel X₂ M T} |
| 573 | {e₁ : GInf E s₁ → ℂ} {e : GInf E s → ℂ} {e₂ : GInf E s₂ → ℂ} |
| 574 | {φ₁ φ₁' : X₁} {φ₂ φ₂' : X₂} (h₁ : IsArrow K₁ e₁ e φ₁) (h₂ : IsArrow K₂ e e₂ φ₂) |
| 575 | {u : Gf E n} {c c₁ c₂ : ℂ} (hω₁ : K₁.ω ((1, 1), 1, u) φ₁ = c₁ • φ₁') |
| 576 | (hω₂ : K₂.ω ((1, u), 1, 1) φ₂ = c₂ • φ₂') (hc : c₂ * c₁ = c) : |
| 577 | formLift K₂ e e₂ φ₂ ∘ₗ formLift K₁ e₁ e φ₁ = |
| 578 | c • (formLift K₂ e e₂ φ₂' ∘ₗ formLift K₁ e₁ e φ₁') := by |
| 579 | ext1 f |
| 580 | have h_first := h₁.formRep_formLift_of_eq_smul hω₁ f |
| 581 | have h_second := h₂.formRep_formLift_of_eq_smul hω₂ (formLift K₁ e₁ e φ₁ f) |
| 582 | simp only [map_one, one_apply_eq_self] at h_first h_second |
| 583 | rw [h_first, map_smul, smul_smul, hc] at h_second |
| 584 | exact h_second |
| 585 | |
| 586 | /-- Let `U₁`, `U₂`, `A` be hermitian spaces, `I` a set and, for `i` in `I`, let `(a₁ i, b₁ i)`, |
| 587 | `(a₂ i, b₂ i)` be the characters of `[U(1)]` on the pairs `(U₁, A)`, `(U₂, A)`. Let these pairs be |
| 588 | edges `e₁ → e` and `ē₂ → ē` (`IsPairEdge`): with the real data of the polynomials `P₁`, `P₂`, theta |
| 589 | integrals lift forms of the first type to forms of the second, a bar being complex conjugation. Take |
| 590 | the lift from `U₁` to `A` followed by the transposed lift to `U₂`, the data modulo `𝔪` being the |
| 591 | indicator functions of the two column blocks of a matrix `x` with rows `n'`, the index set of `A`. |
| 592 | Replacing `x` by `g x` multiplies this map by `χ (det g)`, if `(a₁ i * a₂ i)⁻¹` is tame for |
| 593 | `(𝔪, χ)`: it has some weight `μ` at the infinite places, and its tame part is nontrivial exactly at |
| 594 | the places dividing `𝔪 ≠ 1` and defines `χ` on the residue ring. -/ |
| 595 | lemma pairTransposedLift_comp_pairLift_mul (h₁ : IsPairEdge a₁ b₁ e₁ e P₁) |
| 596 | (h₂ : IsPairEdge a₂ b₂ (star e₂) (star e) P₂) (i : I) {𝔪 : Modulus E} {μ : InfinitePlace E → ℤ} |
| 597 | {χ : MulChar 𝔪.ResidueRing ℂ} (h_tame : IsTameFor 𝔪 (a₁ i * a₂ i)⁻¹ μ χ) |
| 598 | (g : GL n' 𝔪.ResidueRing) (x : Matrix n' (n₁ ⊕ n₂) 𝔪.ResidueRing) : |
| 599 | pairTransposedLift U₂ A (a₂ i) (b₂ i) P₂ (Pi.single (g.val * x).toCols₂ 1) e e₂ ∘ₗ |
| 600 | pairLift U₁ A (a₁ i) (b₁ i) P₁ (Pi.single (g.val * x).toCols₁ 1) e₁ e = |
| 601 | χ g.val.det • (pairTransposedLift U₂ A (a₂ i) (b₂ i) P₂ (Pi.single x.toCols₂ 1) e e₂ ∘ₗ |
| 602 | pairLift U₁ A (a₁ i) (b₁ i) P₁ (Pi.single x.toCols₁ 1) e₁ e) := by |
| 603 | -- Translate the lifted form by the inverse of an integral point of `U(A)` with residue `g`; |
| 604 | -- the column blocks of `g * x` are by definition `g` times those of `x`. |
| 605 | exact formLift_comp_eq_smul (h₁.isArrow i).left (h₂.isArrow_swap i) |
| 606 | (pairWeil_modDatum_single_mul_left U₁ A (a₁ i) (b₁ i) g x.toCols₁ _) |
| 607 | (pairWeil_modDatum_single_mul_left U₂ A (a₂ i) (b₂ i) g x.toCols₂ _) |
| 608 | (by simpa using h_tame.apply_det (s := s') (liftMod g)) |
| 609 | |
| 610 | /-- Let `A'`, `U₁`, `U₂` be hermitian spaces, `I` a set and, for `i` in `I`, let `(b₁' i, a₁' i)`, |
| 611 | `(b₂' i, a₂' i)` be the characters of `[U(1)]` on the pairs `(A', U₁)`, `(A', U₂)`. Let these pairs |
| 612 | be edges `ē' → ē₁` and `e' → e₂` (`IsPairEdge`): with the real data of the polynomials `P₁'`, `P₂'`, |
| 613 | theta integrals lift forms of the first type to forms of the second, a bar being complex |
| 614 | conjugation. Take the transposed lift from `U₁` to `A'` followed by the lift to `U₂`, the data |
| 615 | modulo `𝔪` being the indicator functions of the two row blocks of a matrix `y` with columns `n`, |
| 616 | the index set of `A'`. Replacing `y` by `y g` multiplies this map by `χ (det g)`, if |
| 617 | `(a₁' i * a₂' i)⁻¹` is tame for `(𝔪, χ)`: it has some weight `μ` at the infinite places, and its |
| 618 | tame part is nontrivial exactly at the places dividing `𝔪 ≠ 1` and defines `χ` on the residue |
| 619 | ring. -/ |
| 620 | lemma pairLift_comp_pairTransposedLift_mul (h₁ : IsPairEdge b₁' a₁' (star e') (star e₁) P₁') |
| 621 | (h₂ : IsPairEdge b₂' a₂' e' e₂ P₂') (i : I) {𝔪 : Modulus E} {μ : InfinitePlace E → ℤ} |
| 622 | {χ : MulChar 𝔪.ResidueRing ℂ} (h_tame : IsTameFor 𝔪 (a₁' i * a₂' i)⁻¹ μ χ) |
| 623 | (g : GL n 𝔪.ResidueRing) (y : Matrix (n₁ ⊕ n₂) n 𝔪.ResidueRing) : |
| 624 | pairLift A' U₂ (b₂' i) (a₂' i) P₂' (Pi.single (y * g.val).toRows₂ 1) e' e₂ ∘ₗ |
| 625 | pairTransposedLift A' U₁ (b₁' i) (a₁' i) P₁' (Pi.single (y * g.val).toRows₁ 1) e₁ e' = |
| 626 | χ g.val.det • (pairLift A' U₂ (b₂' i) (a₂' i) P₂' (Pi.single y.toRows₂ 1) e' e₂ ∘ₗ |
| 627 | pairTransposedLift A' U₁ (b₁' i) (a₁' i) P₁' (Pi.single y.toRows₁ 1) e₁ e') := by |
| 628 | -- Translate the transposed lift by an integral point of `U(A')` with residue `g`; |
| 629 | -- the row blocks of `y * g` are by definition those of `y` times `g`. |
| 630 | exact formLift_comp_eq_smul (h₁.isArrow_swap i) (h₂.isArrow i).left |
| 631 | (pairWeil_modDatum_single_mul_right A' U₁ (b₁' i) (a₁' i) g y.toRows₁ _) |
| 632 | (pairWeil_modDatum_single_mul_right A' U₂ (b₂' i) (a₂' i) g y.toRows₂ _) |
| 633 | (by simpa using h_tame.apply_det (s := s) (liftMod g)) |
| 634 | |
| 635 | /-- Let `A'`, `U₁`, `U₂` be hermitian spaces with signs `s`, `s₁`, `s₂`, let the characters |
| 636 | `(b₁' i, a₁' i)`, `(b₂' i, a₂' i)` of `[U(1)]` be attached to the pairs `(A', U₁)`, `(A', U₂)`, and |
| 637 | let these be edges `ē' → ē₁` and `e' → e₂` (`IsPairEdge`): with the real data of `P₁'`, `P₂'`, theta |
| 638 | integrals lift forms of the first type to forms of the second. For forms `f₁`, `f₂` on `U₁`, `U₂` of |
| 639 | types `e₁`, `ē₂`, the integral over the adelic unitary group of `A'`, for its quotient measure |
| 640 | `quotMeasure`, of the product of the transposed lifts of `f₁` and `f₂` is the pairing on `U₂` of |
| 641 | `f₂` with the transposed lift of `f₁` to `A'` followed by the lift to `U₂`. -/ |
| 642 | lemma integral_transposedLift_mul_transposedLift (h₁ : IsPairEdge b₁' a₁' (star e') (star e₁) P₁') |
| 643 | (h₂ : IsPairEdge b₂' a₂' e' e₂ P₂') (i : I) {𝔪 : Modulus E} (Ψ₁ : Matrix n₁ n 𝔪.ResidueRing → ℂ) |
| 644 | (Ψ₂ : Matrix n₂ n 𝔪.ResidueRing → ℂ) (f₁ : U₁.Form e₁) (f₂ : U₂.Form (star e₂)) : |
| 645 | ∫ h : G E s, lift (pairThetaKer A' U₁ (b₁' i) (a₁' i)).swap |
| 646 | (modDatum A' U₁ 𝔪 Ψ₁ (polyVector (realSigns E (homSigns s s₁)) P₁')) f₁ h * |
| 647 | lift (pairThetaKer A' U₂ (b₂' i) (a₂' i)).swap |
| 648 | (modDatum A' U₂ 𝔪 Ψ₂ (polyVector (realSigns E (homSigns s s₂)) P₂')) f₂ h |
| 649 | ∂A'.quotMeasure = |
| 650 | ∫ g : G E s₂, f₂ g * pairLift A' U₂ (b₂' i) (a₂' i) P₂' Ψ₂ e' e₂ |
| 651 | (pairTransposedLift A' U₁ (b₁' i) (a₁' i) P₁' Ψ₁ e₁ e' f₁) g ∂U₂.quotMeasure := by |
| 652 | obtain ⟨h_lift, h_descent⟩ := h₂.isArrow (S := A') (T := U₂) (Ψ := Ψ₂) i |
| 653 | rw [h_lift.integral_mul_formLift_swap h_descent, (h₁.isArrow_swap i).coe_formLift, |
| 654 | h_descent.coe_formLift] |
| 655 | |
| 656 | /-- Let `A'`, `U₁`, `U₂` be hermitian spaces with pairs `(A', U₁)`, `(A', U₂)` that are edges |
| 657 | `star e' → star e₁`, `e' → e₂` for the characters `(b₁' i, a₁' i)`, `(b₂' i, a₂' i)` of `[U(1)]`. |
| 658 | Let `b₁' i * ν₀ = b₂' i`, let `𝔪 ≠ 1`, let `Ψ'` vanish off the left invertible matrices, and let the |
| 659 | forms `f₁`, `f₂` of types `e₁`, `star e₂` be rapidly decreasing (`rapidFunctions`). Here |
| 660 | `downIntegrand` at `y` is the theta kernel of `(A', U₁ ⊕ U₂)` for the point datum at `y` with real |
| 661 | part the Fock vector of `P₁' P₂'`, the variables renamed to the two row blocks by `renameRowsCols`, |
| 662 | times `f₁`, `f₂` and `ν₀ ∘ det`. The integral over `U₁ × U₂` and `A'` (quotient measures) of its sum |
| 663 | over `y`, weighted by `Ψ'`, is the sum, weighted by `Ψ'`, of the pairings of `f₂` with the |
| 664 | transposed lift of `f₁` to `A'` followed by the lift to `U₂`. -/ |
| 665 | lemma integral_integral_sum_downIntegrand (h₁ : IsPairEdge b₁' a₁' (star e') (star e₁) P₁') |
| 666 | (h₂ : IsPairEdge b₂' a₂' e' e₂ P₂') (i : I) {ν₀ : AutChar E} (hb : b₁' i * ν₀ = b₂' i) |
| 667 | {𝔪 : Modulus E} (h𝔪 : Nonempty 𝔪.places) {Ψ' : Matrix (n₁ ⊕ n₂) n 𝔪.ResidueRing → ℂ} |
| 668 | (hΨ' : ∀ y : Matrix (n₁ ⊕ n₂) n 𝔪.ResidueRing, Ψ' y ≠ 0 → HasLeftInv y) {f₁ : U₁.Form e₁} |
| 669 | {f₂ : U₂.Form (star e₂)} (hf₁ : f₁.val ∈ U₁.rapidFunctions) (hf₂ : f₂.val ∈ U₂.rapidFunctions) : |
| 670 | ∫ g : G E s₁ × G E s₂, ∫ h : G E s, ∑ y : Matrix (n₁ ⊕ n₂) n 𝔪.ResidueRing, |
| 671 | Ψ' y • downIntegrand A' U₁ U₂ ν₀ (a₁' i * a₂' i) (b₁' i) f₁ f₂ y |
| 672 | (polyVector (realSigns E (homSigns s (s₁ ⊕ᵥ s₂))) |
| 673 | (renameRowsCols Sum.inl id P₁' * renameRowsCols Sum.inr id P₂')) (g, h) |
| 674 | ∂A'.quotMeasure ∂U₁.quotMeasure.prod U₂.quotMeasure = |
| 675 | ∑ y : Matrix (n₁ ⊕ n₂) n 𝔪.ResidueRing, Ψ' y • ∫ g : G E s₂, f₂ g * |
| 676 | pairLift A' U₂ (b₂' i) (a₂' i) P₂' (Pi.single y.toRows₂ 1) e' e₂ |
| 677 | (pairTransposedLift A' U₁ (b₁' i) (a₁' i) P₁' (Pi.single y.toRows₁ 1) e₁ e' f₁) g |
| 678 | ∂U₂.quotMeasure := by |
| 679 | let v : PairFock E s (s₁ ⊕ᵥ s₂) := |
| 680 | polyVector _ (renameRowsCols Sum.inl id P₁' * renameRowsCols Sum.inr id P₂') |
| 681 | have hv : IsSchwartzVector v := fun N ↦ fockMoment_polyVector_ne_top N _ |
| 682 | have h_int (y : Matrix (n₁ ⊕ n₂) n 𝔪.ResidueRing) (hy : Ψ' y ≠ 0) : |
| 683 | Integrable (downIntegrand A' U₁ U₂ ν₀ (a₁' i * a₂' i) (b₁' i) f₁ f₂ y v) |
| 684 | ((U₁.quotMeasure.prod U₂.quotMeasure).prod A'.quotMeasure) := |
| 685 | integrable_downIntegrand A' U₁ U₂ ν₀ (a₁' i * a₂' i) (b₁' i) h𝔪 hf₁ hf₂ (hΨ' y hy) hv |
| 686 | refine integral_integral_sum_eq h_int fun y hy ↦ ?_ |
| 687 | rw [integral_downIntegrand A' U₁ U₂ ν₀ hb (h_int y hy), |
| 688 | integral_transposedLift_mul_transposedLift _ _ _ h₁ h₂] |
| 689 | |
| 690 | lemma ne_zero_of_norm_sq_eq {c : ℂ} {r : ℝ} (h : ‖c‖ ^ 2 = r) (hr : r ≠ 0) : c ≠ 0 := by |
| 691 | rintro rfl |
| 692 | exact hr (by simpa using h.symm) |
| 693 | |
| 694 | variable (e e' e₁ e₂ a₁ a₂ b₁ b₂ a₁' a₂' b₁' b₂' P₁ P₂ P₁' P₂') in |
| 695 | /-- A family of squares with the same real data. The corners are spaces `U₁`, `U₂`, `A`, `A'` with |
| 696 | signs `s₁`, `s₂`, `s'`, `s`, and `W = U₁ ⊕ U₂`. The pairs `(U₁, A)`, `(U₂, A)`, `(A', U₁)`, |
| 697 | `(A', U₂)` carry the characters `(a₁, b₁)`, `(a₂, b₂)`, `(b₁', a₁')`, `(b₂', a₂')`, which depend on |
| 698 | the member `i` of the family, and the polynomials `P₁`, `P₂`, `P₁'`, `P₂'`. For a character `α` of |
| 699 | `[U(1)]`, `α.baseChange` is the Hecke character `x ↦ α (x / x̄)`, and the splitting character of a |
| 700 | space of rank `m` that carries `α` is `α.spaceChar m = α.baseChange * υ⁻¹ ^ m`. -/ |
| 701 | structure IsSquare (t : ℕ) (μ : InfinitePlace E → ℤ) (𝔪 : I → Modulus E) (ν : I → AutChar E) |
| 702 | (χ : ∀ i : I, MulChar (𝔪 i).ResidueRing ℂ) : Prop where |
| 703 | /-- `W` has as many negative signs as `A` and `A'` together. -/ |
| 704 | negCount_eq : negCount (s₁ ⊕ᵥ s₂) = negCount s' + negCount s |
| 705 | /-- The ranks of `A` and `A'` differ by `2 t`. -/ |
| 706 | card_eq : card n' = card n + 2 * t |
| 707 | /-- Half the rank of `W` exceeds the number of its negative signs. -/ |
| 708 | negCount_lt_half : 2 * negCount (s₁ ⊕ᵥ s₂) + 2 ≤ card (n₁ ⊕ n₂) |
| 709 | /-- The weights are at least this excess. -/ |
| 710 | card_le_weight (τ : InfinitePlace E) : card (n₁ ⊕ n₂) ≤ 2 * μ τ + 2 * negCount (s₁ ⊕ᵥ s₂) |
| 711 | /-- The character `ν i` of `[U(1)]` is tame of weight `μ` for `(𝔪 i, χ i)`. -/ |
| 712 | tame (i : I) : IsTameFor (𝔪 i) (ν i) μ (χ i) |
| 713 | /-- The pair `(U₁, A)` is an edge `e₁ → e`. -/ |
| 714 | edge₁ : IsPairEdge a₁ b₁ e₁ e P₁ |
| 715 | /-- The pair `(U₂, A)` is an edge `ē₂ → ē`. -/ |
| 716 | edge₂ : IsPairEdge a₂ b₂ (star e₂) (star e) P₂ |
| 717 | /-- The pair `(A', U₁)` is an edge `ē' → ē₁`. -/ |
| 718 | edge₁' : IsPairEdge b₁' a₁' (star e') (star e₁) P₁' |
| 719 | /-- The pair `(A', U₂)` is an edge `e' → e₂`. -/ |
| 720 | edge₂' : IsPairEdge b₂' a₂' e' e₂ P₂' |
| 721 | /-- On the side of `A`, the splitting characters of `U₁`, `U₂` multiply to `ν̃⁻¹`, the inverse |
| 722 | base change of `ν`. -/ |
| 723 | spaceChar_mul_up (i : I) : (a₁ i).spaceChar (card n₁) * (a₂ i).spaceChar (card n₂) = |
| 724 | (ν i).baseChange⁻¹ |
| 725 | /-- So do those on the side of `A'`. -/ |
| 726 | spaceChar_mul_down (i : I) : |
| 727 | (a₁' i).spaceChar (card n₁) * (a₂' i).spaceChar (card n₂) = (ν i).baseChange⁻¹ |
| 728 | /-- At `U₁`, the splitting characters of `A`, `A'` multiply to `ν̃⁻¹`. -/ |
| 729 | spaceChar_mul_first (i : I) : (b₁ i).spaceChar (card n') * (b₁' i).spaceChar (card n) = |
| 730 | (ν i).baseChange⁻¹ |
| 731 | /-- So do those at `U₂`. -/ |
| 732 | spaceChar_mul_second (i : I) : |
| 733 | (b₂ i).spaceChar (card n') * (b₂' i).spaceChar (card n) = (ν i).baseChange⁻¹ |
| 734 | |
| 735 | variable {t : ℕ} {μ : InfinitePlace E → ℤ} {𝔪 : I → Modulus E} {ν : I → AutChar E} |
| 736 | {χ : ∀ i : I, MulChar (𝔪 i).ResidueRing ℂ} |
| 737 | |
| 738 | /-- The path from `U₁` through `A` to `U₂`, using the indicators of the two column blocks of `x`. -/ |
| 739 | noncomputable abbrev IsSquare.columnLift |
| 740 | (_square : IsSquare e e' e₁ e₂ a₁ a₂ b₁ b₂ a₁' a₂' b₁' b₂' P₁ P₂ P₁' P₂' t μ 𝔪 ν χ) |
| 741 | (A : Space E n' s') (U₁ : Space E n₁ s₁) (U₂ : Space E n₂ s₂) |
| 742 | (i : I) (x : Matrix n' (n₁ ⊕ n₂) (𝔪 i).ResidueRing) : U₁.Form e₁ →ₗ[ℂ] U₂.Form e₂ := |
| 743 | pairTransposedLift U₂ A (a₂ i) (b₂ i) P₂ (Pi.single x.toCols₂ 1) e e₂ ∘ₗ |
| 744 | pairLift U₁ A (a₁ i) (b₁ i) P₁ (Pi.single x.toCols₁ 1) e₁ e |
| 745 | |
| 746 | /-- The path from `U₁` through `A'` to `U₂`, using the indicators of the two row blocks of `y`. -/ |
| 747 | noncomputable abbrev IsSquare.rowLift |
| 748 | (_square : IsSquare e e' e₁ e₂ a₁ a₂ b₁ b₂ a₁' a₂' b₁' b₂' P₁ P₂ P₁' P₂' t μ 𝔪 ν χ) |
| 749 | (A' : Space E n s) (U₁ : Space E n₁ s₁) (U₂ : Space E n₂ s₂) |
| 750 | (i : I) (y : Matrix (n₁ ⊕ n₂) n (𝔪 i).ResidueRing) : U₁.Form e₁ →ₗ[ℂ] U₂.Form e₂ := |
| 751 | pairLift A' U₂ (b₂' i) (a₂' i) P₂' (Pi.single y.toRows₂ 1) e' e₂ ∘ₗ |
| 752 | pairTransposedLift A' U₁ (b₁' i) (a₁' i) P₁' (Pi.single y.toRows₁ 1) e₁ e' |
| 753 | |
| 754 | end Edges |
| 755 | |
| 756 | private lemma two_dvd_of_rank_difference {a b c t : ℕ} |
| 757 | (h_card : a = b + c) (h_rank : b = c + 2 * t) : 2 ∣ a := |
| 758 | ⟨c + t, by omega⟩ |
| 759 | |
| 760 | /-- Fix a square (`h_square`) and an index `i`, matched `Ψ`, `Ψ'` (`h_part`), and constants `κ` and |
| 761 | `c ≠ 0` such that the integral of `upIntegrand` is `κ` times the pairing with `columnLift` (`hκ`) |
| 762 | and the theta integral is `c` times the paired theta integral (`h_theta`). Then the matched sum of |
| 763 | `rowLift` is `κ / c` times the matched sum of `columnLift`. -/ |
| 764 | private lemma sum_rowLift_eq_div_smul_sum_columnLift |
| 765 | (A' : Space E n s) (A : Space E n' s') (U₁ : Space E n₁ s₁) (U₂ : Space E n₂ s₂) |
| 766 | {I : Type*} {e : GInf E s' → ℂ} {e' : GInf E s → ℂ} {e₁ : GInf E s₁ → ℂ} {e₂ : GInf E s₂ → ℂ} |
| 767 | {a₁ a₂ b₁ b₂ a₁' a₂' b₁' b₂' : I → AutChar E} |
| 768 | {P₁ : MvPolynomial (InfinitePlace E × n' × n₁) ℂ} |
| 769 | {P₂ : MvPolynomial (InfinitePlace E × n' × n₂) ℂ} |
| 770 | {P₁' : MvPolynomial (InfinitePlace E × n₁ × n) ℂ} |
| 771 | {P₂' : MvPolynomial (InfinitePlace E × n₂ × n) ℂ} (σ : n ⊕ n' ≃ n₁ ⊕ n₂) {t : ℕ} |
| 772 | {μ : InfinitePlace E → ℤ} {𝔪 : I → Modulus E} {ν : I → AutChar E} |
| 773 | {χ : ∀ i : I, MulChar (𝔪 i).ResidueRing ℂ} |
| 774 | (h_square : IsSquare e e' e₁ e₂ a₁ a₂ b₁ b₂ a₁' a₂' b₁' b₂' P₁ P₂ P₁' P₂' t μ 𝔪 ν χ) |
| 775 | (i : I) {ν₀ : I → AutChar E} (hν₀' : b₁' i * ν₀ i = b₂' i) |
| 776 | (ha : a₁ i * a₂ i = rankTwist (ν i)⁻¹ (n₁ ⊕ n₂)) |
| 777 | (ha' : a₁' i * a₂' i = rankTwist (ν i)⁻¹ (n₁ ⊕ n₂)) |
| 778 | (h𝔪 : Nonempty (𝔪 i).places) {w : PairFock E (s₁ ⊕ᵥ s₂) s'} (hw : IsSchwartzVector w) |
| 779 | {κ c : ℂ} (hc : c ≠ 0) |
| 780 | (hκ : ∀ x : Matrix n' (n₁ ⊕ n₂) (𝔪 i).ResidueRing, HasLeftInv xᵀ → |
| 781 | ∀ (f₁ : U₁.Form e₁) (f₂ : U₂.Form (star e₂)), |
| 782 | ∫ q : (G E s₁ × G E s₂) × G E s', |
| 783 | upIntegrand A U₁ U₂ (ν₀ i) (a₁ i * a₂ i) (b₁ i) f₁ f₂ x w q |
| 784 | ∂(U₁.quotMeasure.prod U₂.quotMeasure).prod A.quotMeasure = |
| 785 | κ * ∫ g : G E s₂, f₂ g * h_square.columnLift A U₁ U₂ i x f₁ g ∂U₂.quotMeasure) |
| 786 | {Ψ : Matrix n' (n₁ ⊕ n₂) (𝔪 i).ResidueRing → ℂ} |
| 787 | {Ψ' : Matrix (n₁ ⊕ n₂) n (𝔪 i).ResidueRing → ℂ} |
| 788 | (h_part : AreMatched ⊤ σ (χ i) Ψ Ψ') |
| 789 | (h_theta : ∀ g : G E s₁ × G E s₂, |
| 790 | thetaIntegral (U₁.sum U₂) A (rankTwist (ν i)⁻¹ (n₁ ⊕ n₂)) (b₁ i) |
| 791 | (modDatum (U₁.sum U₂) A (𝔪 i) Ψ w) (G.sum g) = |
| 792 | c * ∫ h, pairTheta A' (U₁.sum U₂) (b₁' i) (rankTwist (ν i)⁻¹ (n₁ ⊕ n₂)) |
| 793 | (modDatum A' (U₁.sum U₂) (𝔪 i) Ψ' |
| 794 | (polyVector _ (renameRowsCols Sum.inl id P₁' * renameRowsCols Sum.inr id P₂'))) |
| 795 | (h, G.sum g) ∂A'.quotMeasure) : |
| 796 | ∑ y : Matrix (n₁ ⊕ n₂) n (𝔪 i).ResidueRing, Ψ' y • h_square.rowLift A' U₁ U₂ i y = |
| 797 | (κ / c) • |
| 798 | ∑ x : Matrix n' (n₁ ⊕ n₂) (𝔪 i).ResidueRing, Ψ x • h_square.columnLift A U₁ U₂ i x := by |
| 799 | let Θ := h_square.columnLift A U₁ U₂ |
| 800 | let Θ' := h_square.rowLift A' U₁ U₂ |
| 801 | let v : PairFock E s (s₁ ⊕ᵥ s₂) := |
| 802 | polyVector _ (renameRowsCols Sum.inl id P₁' * renameRowsCols Sum.inr id P₂') |
| 803 | -- Forms are determined by their pairings with the forms `f₂ = conj z` of type `ē₂`. |
| 804 | refine LinearMap.ext fun f₁ ↦ ext_inner_left ℂ fun z ↦ ?_ |
| 805 | let f₂ : U₂.Form (star e₂) := conjForm rfl z |
| 806 | have hf₁ : f₁.val ∈ U₁.rapidFunctions := f₁.prop.mem_rapidFunctions h_square.edge₁.isCuspKernel |
| 807 | have hf₂ : f₂.val ∈ U₂.rapidFunctions := f₂.prop.mem_rapidFunctions h_square.edge₂.isCuspKernel |
| 808 | have h_inner (L : U₂.Form e₂) : inner ℂ z L = ∫ g, f₂ g * L g ∂U₂.quotMeasure := rfl |
| 809 | let μU : Measure (G E s₁ × G E s₂) := U₁.quotMeasure.prod U₂.quotMeasure |
| 810 | let F (x : Matrix n' (n₁ ⊕ n₂) (𝔪 i).ResidueRing) : (G E s₁ × G E s₂) × G E s' → ℂ := |
| 811 | upIntegrand A U₁ U₂ (ν₀ i) (a₁ i * a₂ i) (b₁ i) f₁ f₂ x w |
| 812 | let F' (y : Matrix (n₁ ⊕ n₂) n (𝔪 i).ResidueRing) : (G E s₁ × G E s₂) × G E s → ℂ := |
| 813 | downIntegrand A' U₁ U₂ (ν₀ i) (a₁' i * a₂' i) (b₁' i) f₁ f₂ y v |
| 814 | -- The exchange identity at `g₁ ⊕ g₂`, expanded in point data and multiplied by |
| 815 | -- `f₁ g₁ * f₂ g₂ * ν₀ (det g₂)`. |
| 816 | have h_exch_at (g : G E s₁ × G E s₂) : ∫ h, ∑ x, Ψ x • F x (g, h) ∂A.quotMeasure = |
| 817 | c * ∫ h, ∑ y, Ψ' y • F' y (g, h) ∂A'.quotMeasure := by |
| 818 | simp only [F, F', ha, ha'] |
| 819 | exact integral_sum_upIntegrand_eq_mul A' A U₁ U₂ (ν₀ i) (h_theta g) |
| 820 | -- The side of `A`: `Ψ` lives on onto matrices. |
| 821 | have h_up : ∫ g, ∫ h, ∑ x, Ψ x • F x (g, h) ∂A.quotMeasure ∂μU = |
| 822 | ∑ x, Ψ x • (κ * inner ℂ z (Θ i x f₁)) := by |
| 823 | refine integral_integral_sum_eq (fun x hx ↦ ?_) fun x hx ↦ ?_ |
| 824 | · exact integrable_upIntegrand A U₁ U₂ (ν₀ i) (a₁ i * a₂ i) (b₁ i) h𝔪 hf₁ hf₂ |
| 825 | (hasLeftInv_transpose_of_areMatched h_part hx) hw |
| 826 | · rw [h_inner] |
| 827 | exact hκ x (hasLeftInv_transpose_of_areMatched h_part hx) f₁ f₂ |
| 828 | -- The side of `A'`: `Ψ'` lives on left invertible matrices. |
| 829 | have h_down : ∫ g, ∫ h, ∑ y, Ψ' y • F' y (g, h) ∂A'.quotMeasure ∂μU = |
| 830 | ∑ y, Ψ' y • inner ℂ z (Θ' i y f₁) := by |
| 831 | simp only [h_inner] |
| 832 | exact integral_integral_sum_downIntegrand A' U₁ U₂ h_square.edge₁' h_square.edge₂' i hν₀' h𝔪 |
| 833 | (fun y hy ↦ hasLeftInv_of_areMatched h_part hy) hf₁ hf₂ |
| 834 | have h_scalar : κ * ∑ x, Ψ x * inner ℂ z (Θ i x f₁) = |
| 835 | c * ∑ y, Ψ' y * inner ℂ z (Θ' i y f₁) := by |
| 836 | -- integrate `h_exch_at` over `U₁ × U₂` |
| 837 | have h_eq : ∑ x, Ψ x • (κ * inner ℂ z (Θ i x f₁)) = |
| 838 | c * ∑ y, Ψ' y • inner ℂ z (Θ' i y f₁) := by |
| 839 | rw [← h_up, ← h_down, ← integral_const_mul] |
| 840 | exact integral_congr_ae (.of_forall h_exch_at) |
| 841 | simpa only [smul_eq_mul, mul_left_comm (Ψ _), ← Finset.mul_sum] using h_eq |
| 842 | calc |
| 843 | inner ℂ z ((∑ y, Ψ' y • Θ' i y) f₁) = ∑ y, Ψ' y * inner ℂ z (Θ' i y f₁) := by |
| 844 | simp |
| 845 | _ = κ / c * ∑ x, Ψ x * inner ℂ z (Θ i x f₁) := by |
| 846 | rw [div_mul_eq_mul_div, h_scalar, mul_div_cancel_left₀ _ hc] |
| 847 | _ = inner ℂ z (((κ / c) • ∑ x, Ψ x • Θ i x) f₁) := by simp |
| 848 | |
| 849 | /-- On matched functions, a transposed lift followed by a lift is a multiple, possibly zero, of a |
| 850 | lift followed by a transposed lift. |
| 851 | |
| 852 | The family satisfies `IsSquare`: the four pairs are edges; `ν i` is tame for `𝔪 i ≠ 1`: weight `μ` |
| 853 | at infinity, tame part nontrivial exactly at the places dividing `𝔪 i`, defining `χ i` on the |
| 854 | residue ring; `card n' = card n + 2 t`; the number `N` of negative signs of `W = U₁ ⊕ U₂` is that of |
| 855 | `A` and `A'` together, with `2 N + 2 ≤ card (n₁ ⊕ n₂) ≤ 2 μ τ + 2 N`; the splitting characters |
| 856 | `x ↦ α (x / x̄) * υ x ^ (-m)` of spaces of rank `m` with character `α`, `υ` being the splitting |
| 857 | character of the Weil data, multiply in pairs to the inverse base change of `ν i`. Let `σ` order the |
| 858 | index set of `W` as that of `A'` followed by that of `A`. Let `Θ i x` be the lift from `U₁` to `A` |
| 859 | followed by the transposed lift to `U₂`, and `Θ' i y` the transposed lift to `A'` followed by the |
| 860 | lift to `U₂`, the data modulo `𝔪 i` being the indicator functions of the blocks of `x`, `y`. |
| 861 | |
| 862 | There are `C > 0` and `κ`, possibly zero, and for each `i` a number `c` with |
| 863 | `‖c‖ ^ 2 = C * lValueProd (𝔪 i).places (ν i) t ≠ 0`, such that |
| 864 | `∑ Ψ' y • Θ' i y = (κ / c) • ∑ Ψ x • Θ i x` for all matched functions `Ψ`, `Ψ'` of matrices modulo |
| 865 | `𝔪 i`. Here `lValueProd S ν t = ∏_{w ∈ S} q_w ^ (t ^ 2) ∏_{1 ≤ z ≤ t} |L^S(z, ν)| ^ 2`, with `q_w` |
| 866 | the residue cardinality and `L^S(z, ν)` the Euler product of the base change of `ν` outside |
| 867 | `S ∪ S̄`. Matched over the whole residue ring (`⊤`) means: as `k` runs over the invertible matrices |
| 868 | indexed by `n₁ ⊕ n₂`, `Ψ` vanishes off the blocks `x` of rows `n'` of `k⁻¹`, `Ψ'` vanishes off the |
| 869 | blocks `y` of columns `n` of `k`, and `Ψ x = χ i (det k) * Ψ' y` for the two blocks of one `k`. -/ |
| 870 | theorem exists_sum_pairLift_comp_pairTransposedLift_eq_smul |
| 871 | (A' : Space E n s) (A : Space E n' s') (U₁ : Space E n₁ s₁) (U₂ : Space E n₂ s₂) |
| 872 | {I : Type*} {e : GInf E s' → ℂ} {e' : GInf E s → ℂ} {e₁ : GInf E s₁ → ℂ} {e₂ : GInf E s₂ → ℂ} |
| 873 | {a₁ a₂ b₁ b₂ a₁' a₂' b₁' b₂' : I → AutChar E} |
| 874 | {P₁ : MvPolynomial (InfinitePlace E × n' × n₁) ℂ} |
| 875 | {P₂ : MvPolynomial (InfinitePlace E × n' × n₂) ℂ} |
| 876 | {P₁' : MvPolynomial (InfinitePlace E × n₁ × n) ℂ} |
| 877 | {P₂' : MvPolynomial (InfinitePlace E × n₂ × n) ℂ} (σ : n ⊕ n' ≃ n₁ ⊕ n₂) {t : ℕ} |
| 878 | {μ : InfinitePlace E → ℤ} {𝔪 : I → Modulus E} {ν : I → AutChar E} |
| 879 | {χ : ∀ i : I, MulChar (𝔪 i).ResidueRing ℂ} |
| 880 | (h_square : IsSquare e e' e₁ e₂ a₁ a₂ b₁ b₂ a₁' a₂' b₁' b₂' P₁ P₂ P₁' P₂' t μ 𝔪 ν χ) : |
| 881 | let Θ := h_square.columnLift A U₁ U₂ |
| 882 | let Θ' := h_square.rowLift A' U₁ U₂ |
| 883 | ∃ C : ℝ, 0 < C ∧ ∃ κ : ℂ, ∀ i : I, ∃ c : ℂ, |
| 884 | ‖c‖ ^ 2 = C * lValueProd (𝔪 i).places (ν i) t ∧ |
| 885 | C * lValueProd (𝔪 i).places (ν i) t ≠ 0 ∧ |
| 886 | ∀ (Ψ : Matrix n' (n₁ ⊕ n₂) (𝔪 i).ResidueRing → ℂ) |
| 887 | (Ψ' : Matrix (n₁ ⊕ n₂) n (𝔪 i).ResidueRing → ℂ), |
| 888 | AreMatched ⊤ σ (χ i) Ψ Ψ' → |
| 889 | ∑ y : Matrix (n₁ ⊕ n₂) n (𝔪 i).ResidueRing, Ψ' y • Θ' i y = |
| 890 | (κ / c) • ∑ x : Matrix n' (n₁ ⊕ n₂) (𝔪 i).ResidueRing, Ψ x • Θ i x := by |
| 891 | intro Θ Θ' |
| 892 | have ⟨h_signs, h_rank, h_few_neg, hμ, h_tame, h₁, h₂, _, _, ha, ha', hb₁, hb₂⟩ := h_square |
| 893 | -- All four products of characters of `[U(1)]` are the character `rankTwist ν⁻¹` of `W`. |
| 894 | have h_card : card (n₁ ⊕ n₂) = card n' + card n := by simp [← card_congr σ, add_comm] |
| 895 | have h_even := two_dvd_of_rank_difference h_card h_rank |
| 896 | replace ha (i : I) : a₁ i * a₂ i = rankTwist (ν i)⁻¹ (n₁ ⊕ n₂) := |
| 897 | (spaceChar_mul_spaceChar_eq_iff card_sum h_even).1 (ha i) |
| 898 | replace ha' (i : I) : a₁' i * a₂' i = rankTwist (ν i)⁻¹ (n₁ ⊕ n₂) := |
| 899 | (spaceChar_mul_spaceChar_eq_iff card_sum h_even).1 (ha' i) |
| 900 | have hb (i : I) : b₁ i * b₁' i = b₂ i * b₂' i := by |
| 901 | rw [(spaceChar_mul_spaceChar_eq_iff h_card h_even).1 (hb₁ i), |
| 902 | (spaceChar_mul_spaceChar_eq_iff h_card h_even).1 (hb₂ i)] |
| 903 | have h𝔪 (i : I) : Nonempty (𝔪 i).places := by |
| 904 | obtain ⟨h_places, -⟩ := h_tame i |
| 905 | exact h_places |
| 906 | -- One character `ν₀` relates both pairs: `b₂ * ν₀ = b₁` on `A` and `b₁' * ν₀ = b₂'` on `A'`. |
| 907 | let ν₀ (i : I) : AutChar E := b₁ i / b₂ i |
| 908 | have hν₀ (i : I) : b₂ i * ν₀ i = b₁ i := mul_div_cancel (b₂ i) (b₁ i) |
| 909 | have hν₀' (i : I) : b₁' i * ν₀ i = b₂' i := by |
| 910 | rw [← mul_div_assoc, mul_comm, hb, mul_div_cancel_left] |
| 911 | -- Apply the exchange identity to the Fock vector `v` of the product of `P₁'` and `P₂'`. |
| 912 | let v : PairFock E s (s₁ ⊕ᵥ s₂) := |
| 913 | polyVector _ (renameRowsCols Sum.inl id P₁' * renameRowsCols Sum.inr id P₂') |
| 914 | have hv : IsSchwartzVector v := fun N ↦ fockMoment_polyVector_ne_top N _ |
| 915 | obtain ⟨C, hC, w, hw, h_exch⟩ := |
| 916 | exchange_identity (U₁.sum U₂) A A' σ h_signs h_rank h_few_neg hμ hv |
| 917 | obtain ⟨κ, hκ⟩ := exists_integral_upIntegrand_eq_mul_integral_lift A U₁ U₂ h₁ h₂ hν₀ h𝔪 hw |
| 918 | refine ⟨C, hC, κ, fun i ↦ ?_⟩ |
| 919 | obtain ⟨c, h_size, h_ne, h_exch_i⟩ := h_exch (𝔪 i) (ν i) (χ i) (h_tame i) |
| 920 | refine ⟨c, h_size, h_ne, fun Ψ Ψ' h_part ↦ ?_⟩ |
| 921 | have hc : c ≠ 0 := ne_zero_of_norm_sq_eq h_size h_ne |
| 922 | exact sum_rowLift_eq_div_smul_sum_columnLift A' A U₁ U₂ σ h_square i (hν₀' i) (ha i) (ha' i) |
| 923 | (h𝔪 i) hw hc (hκ i) h_part fun g ↦ h_exch_i (b₁ i) (b₁' i) (hb₁ i) Ψ Ψ' h_part (G.sum g) |
| 924 | |
| 925 | /-- One square: two ways to lift forms from `U₁` to `U₂`, through `A` or through `A'`, transform by |
| 926 | the same character and agree on matched functions up to a constant. |
| 927 | |
| 928 | Let `E` be a CM field with Weil data, which fix a splitting Hecke character `υ` of `E`. Let `A'`, |
| 929 | `A`, `U₁`, `U₂` be hermitian spaces over `E` with index sets `n`, `n'`, `n₁`, `n₂` and signs `s`, |
| 930 | `s'`, `s₁`, `s₂` at the infinite places (`A'` goes with the unprimed letters). Let `σ` order the |
| 931 | index set of `W = U₁ ⊕ U₂` as `n` followed by `n'`. The types `e'`, `e`, `e₁`, `e₂` are functions on |
| 932 | the real unitary groups (`GInf`) of the four spaces; a type prescribes the behavior of a form at the |
| 933 | infinite places, and `U₁.Form e₁` is the space of forms of type `e₁` on `U₁`. For `i` in a set `I`, |
| 934 | the pairs `(U₁, A)`, `(U₂, A)`, `(A', U₁)`, `(A', U₂)` carry the characters `(a₁ i, b₁ i)`, |
| 935 | `(a₂ i, b₂ i)`, `(b₁' i, a₁' i)`, `(b₂' i, a₂' i)` of `[U(1)]`, the norm-one ideles of `E` modulo |
| 936 | those from `E`, and the polynomials `P₁`, `P₂`, `P₁'`, `P₂'`, whose Fock vectors are the real theta |
| 937 | data. |
| 938 | |
| 939 | The hypothesis `IsSquare` says: |
| 940 | * the rank of `A` is that of `A'` plus `2 t`; |
| 941 | * the number `N` of negative signs of `W` is that of `A` and `A'` together, and |
| 942 | `2 N + 2 ≤ card (n₁ ⊕ n₂) ≤ 2 μ τ + 2 N` at every infinite place `τ`; |
| 943 | * `ν i` is tame for `𝔪 i ≠ 1`: it has weight `μ` at the infinite places, and its tame part is |
| 944 | nontrivial exactly at the places dividing `𝔪 i` and defines the character `χ i` of the residue |
| 945 | ring `R = 𝓞 E / 𝔪 i`; |
| 946 | * the four pairs are edges `e₁ → e`, `ē₂ → ē`, `ē' → ē₁`, `e' → e₂`, a bar being complex conjugation |
| 947 | (`New.Exchange.IsPairEdge`): the characters have weights independent of `i`, and the theta |
| 948 | integral lifts forms of the first type to forms of the second; |
| 949 | * with `α[m]` the Hecke character `x ↦ α (x / x̄) * υ x ^ (-m)`, each of the four products |
| 950 | `a₁[card n₁] a₂[card n₂]`, `a₁'[card n₁] a₂'[card n₂]`, `b₁[card n'] b₁'[card n]`, |
| 951 | `b₂[card n'] b₂'[card n]` at `i` is the inverse of the base change `x ↦ ν i (x / x̄)`. |
| 952 | |
| 953 | For a matrix `x` over `R`, `Θ i x` is the theta lift (`pairLift`) from `U₁` to `A` followed by the |
| 954 | transposed lift (`pairTransposedLift`) to `U₂`; the data modulo `𝔪 i` are the indicator functions of |
| 955 | the two column blocks of `x`. For a matrix `y` over `R`, `Θ' i y` is the transposed lift from `U₁` |
| 956 | to `A'` followed by the lift to `U₂`, for the indicator functions of the two row blocks of `y`. |
| 957 | Then: |
| 958 | |
| 959 | (a) `Θ i (g x) = χ i (det g) • Θ i x` and `Θ' i (y g) = χ i (det g) • Θ' i y` for invertible `g`. |
| 960 | |
| 961 | (b) There are `C > 0` and a number `κ`, possibly zero, both independent of `i`, and for each `i` a |
| 962 | number `c` with `‖c‖ ^ 2 = C * lValueProd S (ν i) t ≠ 0`, such that |
| 963 | `∑ Ψ' y • Θ' i y = (κ / c) • ∑ Ψ x • Θ i x` for all matched `Ψ`, `Ψ'`. Here `S` is the set of places |
| 964 | dividing `𝔪 i`, and `lValueProd S ν t = ∏_{w ∈ S} q_w ^ (t ^ 2) ∏_{1 ≤ z ≤ t} |L^S(z, ν)| ^ 2`, with |
| 965 | `q_w` the residue cardinality and `L^S(z, ν)` the Euler product of the base change of `ν` outside |
| 966 | `S ∪ S̄`. -/ |
| 967 | theorem equivariant_and_exists_sum_eq_of_areMatched {E n n' n₁ n₂ : Type} [Field E] [CMType E] |
| 968 | [WeilData E] [Fintype n] [DecidableEq n] [Fintype n'] [DecidableEq n'] |
| 969 | [Fintype n₁] [DecidableEq n₁] [Fintype n₂] [DecidableEq n₂] |
| 970 | {s : n → ℤˣ} {s' : n' → ℤˣ} {s₁ : n₁ → ℤˣ} {s₂ : n₂ → ℤˣ} |
| 971 | (A' : Space E n s) (A : Space E n' s') (U₁ : Space E n₁ s₁) (U₂ : Space E n₂ s₂) {I : Type*} |
| 972 | {e : GInf E s' → ℂ} {e' : GInf E s → ℂ} {e₁ : GInf E s₁ → ℂ} {e₂ : GInf E s₂ → ℂ} |
| 973 | {a₁ a₂ b₁ b₂ a₁' a₂' b₁' b₂' : I → AutChar E} |
| 974 | {P₁ : MvPolynomial (InfinitePlace E × n' × n₁) ℂ} |
| 975 | {P₂ : MvPolynomial (InfinitePlace E × n' × n₂) ℂ} |
| 976 | {P₁' : MvPolynomial (InfinitePlace E × n₁ × n) ℂ} |
| 977 | {P₂' : MvPolynomial (InfinitePlace E × n₂ × n) ℂ} (σ : n ⊕ n' ≃ n₁ ⊕ n₂) {t : ℕ} |
| 978 | {μ : InfinitePlace E → ℤ} {𝔪 : I → Modulus E} {ν : I → AutChar E} |
| 979 | {χ : ∀ i : I, MulChar (𝔪 i).ResidueRing ℂ} |
| 980 | (h_square : IsSquare e e' e₁ e₂ a₁ a₂ b₁ b₂ a₁' a₂' b₁' b₂' P₁ P₂ P₁' P₂' t μ 𝔪 ν χ) : |
| 981 | let Θ := h_square.columnLift A U₁ U₂ |
| 982 | let Θ' := h_square.rowLift A' U₁ U₂ |
| 983 | -- (a) |
| 984 | (∀ (i : I) (g : GL n' (𝔪 i).ResidueRing) (x : Matrix n' (n₁ ⊕ n₂) (𝔪 i).ResidueRing), |
| 985 | Θ i (g.val * x) = χ i g.val.det • Θ i x) ∧ |
| 986 | (∀ (i : I) (g : GL n (𝔪 i).ResidueRing) (y : Matrix (n₁ ⊕ n₂) n (𝔪 i).ResidueRing), |
| 987 | Θ' i (y * g.val) = χ i g.val.det • Θ' i y) ∧ |
| 988 | -- (b) |
| 989 | ∃ C : ℝ, 0 < C ∧ ∃ κ : ℂ, ∀ i : I, ∃ c : ℂ, |
| 990 | ‖c‖ ^ 2 = C * lValueProd (𝔪 i).places (ν i) t ∧ |
| 991 | C * lValueProd (𝔪 i).places (ν i) t ≠ 0 ∧ |
| 992 | ∀ (Ψ : Matrix n' (n₁ ⊕ n₂) (𝔪 i).ResidueRing → ℂ) |
| 993 | (Ψ' : Matrix (n₁ ⊕ n₂) n (𝔪 i).ResidueRing → ℂ), |
| 994 | AreMatched ⊤ σ (χ i) Ψ Ψ' → |
| 995 | ∑ y : Matrix (n₁ ⊕ n₂) n (𝔪 i).ResidueRing, Ψ' y • Θ' i y = |
| 996 | (κ / c) • ∑ x : Matrix n' (n₁ ⊕ n₂) (𝔪 i).ResidueRing, Ψ x • Θ i x := by |
| 997 | intro Θ Θ' |
| 998 | -- Both products of characters of `U₁` and `U₂` are the character `rankTwist ν⁻¹` of `W`, whose |
| 999 | -- inverse is tame for `(𝔪, χ)`. |
| 1000 | have h_card : card (n₁ ⊕ n₂) = card n' + card n := by simp [← card_congr σ, add_comm] |
| 1001 | have h_rank : card n' = card n + 2 * t := h_square.card_eq |
| 1002 | have h_even := two_dvd_of_rank_difference h_card h_rank |
| 1003 | have h_tame_inv (i : I) {α₁ α₂ : AutChar E} |
| 1004 | (hα : α₁.spaceChar (card n₁) * α₂.spaceChar (card n₂) = (ν i).baseChange⁻¹) : |
| 1005 | ∃ μ' : InfinitePlace E → ℤ, IsTameFor (𝔪 i) (α₁ * α₂)⁻¹ μ' (χ i) := by |
| 1006 | rw [(spaceChar_mul_spaceChar_eq_iff card_sum h_even).1 hα] |
| 1007 | exact (h_square.tame i).exists_inv_rankTwist_inv (n₁ ⊕ n₂) |
| 1008 | refine ⟨fun i ↦ ?_, fun i ↦ ?_, ?_⟩ |
| 1009 | · obtain ⟨μ', h_tame'⟩ : ∃ μ' : InfinitePlace E → ℤ, |
| 1010 | IsTameFor (𝔪 i) (a₁ i * a₂ i)⁻¹ μ' (χ i) := h_tame_inv i (h_square.spaceChar_mul_up i) |
| 1011 | exact pairTransposedLift_comp_pairLift_mul A U₁ U₂ h_square.edge₁ h_square.edge₂ i h_tame' |
| 1012 | · obtain ⟨μ', h_tame'⟩ : ∃ μ' : InfinitePlace E → ℤ, |
| 1013 | IsTameFor (𝔪 i) (a₁' i * a₂' i)⁻¹ μ' (χ i) := h_tame_inv i (h_square.spaceChar_mul_down i) |
| 1014 | exact pairLift_comp_pairTransposedLift_mul A' U₁ U₂ h_square.edge₁' h_square.edge₂' i h_tame' |
| 1015 | · exact exists_sum_pairLift_comp_pairTransposedLift_eq_smul A' A U₁ U₂ σ h_square |
| 1016 | |
| 1017 | /-- The case of `New.Exchange.equivariant_and_exists_sum_eq_of_areMatched` in which the characters |
| 1018 | of `[U(1)]` come from two families `a`, `b` indexed by finite types: `a` on the pairs `(U₁, A)` and |
| 1019 | `(A', U₂)`, `b` on `(U₂, A)` and `(A', U₁)`, with `a i p * b i q = rankTwist (ν i)⁻¹ (n₁ ⊕ n₂)` |
| 1020 | whenever `card p + card q = card n₁ + card n₂`; here `rankTwist α N = α * upsilonU1 ^ (card N / 2)`, |
| 1021 | with `upsilonU1` the restriction to `[U(1)]` of the fixed splitting character. A type of forms is a |
| 1022 | function on the real unitary group (`GInf`); `k₁`, `k₂`, `k`, `k'` are pairs of conjugate types on |
| 1023 | `U₁`, `U₂`, `A`, `A'`, the edges `h₂`, `h₁'` of the family `b` are taken at `d`, the edges `h₁`, |
| 1024 | `h₂'` of the family `a` at `!d`, and the forms in the conclusion have types `k₁ !d`, `k₂ !d`. The |
| 1025 | four edges are edge families: the characters of each family have fixed weights, a common tame part, |
| 1026 | and the theta integral with the Fock vector of the given polynomial lifts forms of the type at that |
| 1027 | edge's index (`d` or `!d`) to forms of the type at the same index. The number `N` of negative signs |
| 1028 | of `W = U₁ ⊕ U₂` is that of `A` and `A'` together, the rank of `A` is that of `A'` plus `2 t`, |
| 1029 | `2 N + 2 ≤ card (n₁ ⊕ n₂) ≤ 2 μ τ + 2 N` at every infinite place `τ`, and `ν i` is tame of weight |
| 1030 | `μ` for the modulus `𝔪 i`: it has weight `μ` at infinity, and its tame part is ramified exactly at |
| 1031 | the primes of `𝔪 i` and defines the character `χ i` of the residue ring. |
| 1032 | |
| 1033 | Send a form `f` from `U₁` to `U₂` through `A` (`Θ i x`: lift, then transposed lift) or through `A'` |
| 1034 | (`Θ' i y`: transposed lift, then lift), the data modulo `𝔪 i` being the indicator functions of the |
| 1035 | blocks of `x` or `y`. There are `C` and `κ`, and for each `i` some `c ≠ 0` with |
| 1036 | `‖c‖ ^ 2 = C * lValueProd (𝔪 i).places (ν i) t`, such that for every functional `l` the functions |
| 1037 | `L x = l (Θ i x f)` and `L' y = l (Θ' i y f)` satisfy `New.Exchange.SquareLaw` with constant |
| 1038 | `κ / c`: both transform by `χ i ∘ det`, and `∑ Ψ' L' = (κ / c) ∑ Ψ L` for all matched `Ψ`, `Ψ'`. -/ |
| 1039 | lemma one_square_identity_of_isEdgeFamily (A' : Space E n s) (A : Space E n' s') |
| 1040 | (U₁ : Space E n₁ s₁) (U₂ : Space E n₂ s₂) {I : Type*} |
| 1041 | {k₁ : Bool → GInf E s₁ → ℂ} {k₂ : Bool → GInf E s₂ → ℂ} {d : Bool} |
| 1042 | {k : Bool → GInf E s' → ℂ} {Φ₁ : MvPolynomial (InfinitePlace E × n' × n₁) ℂ} |
| 1043 | {Φ₂ : MvPolynomial (InfinitePlace E × n' × n₂) ℂ} {k' : Bool → GInf E s → ℂ} |
| 1044 | {Φ₁' : MvPolynomial (InfinitePlace E × n₁ × n) ℂ} |
| 1045 | {Φ₂' : MvPolynomial (InfinitePlace E × n₂ × n) ℂ} |
| 1046 | {a b : I → ∀ (m : Type) [Fintype m], AutChar E} {ν : I → AutChar E} {𝔪 : I → Modulus E} |
| 1047 | {χ : ∀ i : I, MulChar (𝔪 i).ResidueRing ℂ} |
| 1048 | (h₂ : IsEdgeFamily b k₂ k d Φ₂) (h₁ : IsEdgeFamily a k₁ k (!d) Φ₁) |
| 1049 | (h₂' : IsEdgeFamily a k' k₂ (!d) Φ₂') (h₁' : IsEdgeFamily b k' k₁ d Φ₁') (σ : n ⊕ n' ≃ n₁ ⊕ n₂) |
| 1050 | (h_signs : negCount (s₁ ⊕ᵥ s₂) = negCount s' + negCount s) (t : ℕ) |
| 1051 | (h_rank : card n' = card n + 2 * t) (h_few_neg : 2 * negCount (s₁ ⊕ᵥ s₂) + 2 ≤ card (n₁ ⊕ n₂)) |
| 1052 | {μ : InfinitePlace E → ℤ} |
| 1053 | (hμ : ∀ τ : InfinitePlace E, card (n₁ ⊕ n₂) ≤ 2 * μ τ + 2 * negCount (s₁ ⊕ᵥ s₂)) |
| 1054 | (h_tame : ∀ i : I, IsTameFor (𝔪 i) (ν i) μ (χ i)) |
| 1055 | (h_chars : ∀ (i : I) {p q : Type} [Fintype p] [Fintype q], |
| 1056 | card p + card q = card n₁ + card n₂ → a i p * b i q = rankTwist (ν i)⁻¹ (n₁ ⊕ n₂)) : |
| 1057 | let Θ (i : I) (x : Matrix n' (n₁ ⊕ n₂) (𝔪 i).ResidueRing) : |
| 1058 | U₁.Form (k₁ !d) →ₗ[ℂ] U₂.Form (k₂ !d) := |
| 1059 | modTransposedLift U₂ A (b i) Φ₂ (Pi.single x.toCols₂ 1) (k !d) (k₂ !d) ∘ₗ |
| 1060 | modLift U₁ A (a i) Φ₁ (Pi.single x.toCols₁ 1) (k₁ !d) (k !d) |
| 1061 | let Θ' (i : I) (y : Matrix (n₁ ⊕ n₂) n (𝔪 i).ResidueRing) : |
| 1062 | U₁.Form (k₁ !d) →ₗ[ℂ] U₂.Form (k₂ !d) := |
| 1063 | modLift A' U₂ (a i) Φ₂' (Pi.single y.toRows₂ 1) (k' !d) (k₂ !d) ∘ₗ |
| 1064 | modTransposedLift A' U₁ (b i) Φ₁' (Pi.single y.toRows₁ 1) (k₁ !d) (k' !d) |
| 1065 | ∃ (C : ℝ) (κ : ℂ), ∀ i : I, ∃ c : ℂ, |
| 1066 | c ≠ 0 ∧ |
| 1067 | ‖c‖ ^ 2 = C * lValueProd (𝔪 i).places (ν i) t ∧ |
| 1068 | ∀ (f : U₁.Form (k₁ !d)) (l : U₂.Form (k₂ !d) →ₗ[ℂ] ℂ), |
| 1069 | SquareLaw (χ i) σ (κ / c) (fun x : Matrix n' (n₁ ⊕ n₂) (𝔪 i).ResidueRing ↦ l (Θ i x f)) |
| 1070 | (fun y : Matrix (n₁ ⊕ n₂) n (𝔪 i).ResidueRing ↦ l (Θ' i y f)) := by |
| 1071 | intro Θ Θ' |
| 1072 | have h_card : card (n₁ ⊕ n₂) = card n' + card n := by simp [← card_congr σ, add_comm] |
| 1073 | have h_card' : card n' + card n = card n₁ + card n₂ := h_card.symm.trans card_sum |
| 1074 | have h_even := two_dvd_of_rank_difference h_card h_rank |
| 1075 | -- in each pair of ranks the two splitting characters multiply to the inverse base change of `ν` |
| 1076 | have h_ab (i : I) {p q : Type} [Fintype p] [Fintype q] |
| 1077 | (hpq : card p + card q = card n₁ + card n₂) : |
| 1078 | (a i p).spaceChar (card p) * (b i q).spaceChar (card q) = (ν i).baseChange⁻¹ := |
| 1079 | (spaceChar_mul_spaceChar_eq_iff (card_sum.trans hpq.symm) h_even).2 (h_chars i hpq) |
| 1080 | have h_ba (i : I) {p q : Type} [Fintype p] [Fintype q] |
| 1081 | (hpq : card p + card q = card n₁ + card n₂) : |
| 1082 | (b i p).spaceChar (card p) * (a i q).spaceChar (card q) = (ν i).baseChange⁻¹ := by |
| 1083 | rw [mul_comm, h_ab i ((add_comm (card q) (card p)).trans hpq)] |
| 1084 | obtain ⟨h_left, h_right, C, -, κ, h_law⟩ := |
| 1085 | equivariant_and_exists_sum_eq_of_areMatched A' A U₁ U₂ σ |
| 1086 | { negCount_eq := h_signs |
| 1087 | card_eq := h_rank |
| 1088 | negCount_lt_half := h_few_neg |
| 1089 | card_le_weight := hμ |
| 1090 | tame := h_tame |
| 1091 | edge₁ := h₁.isPairEdge |
| 1092 | edge₂ := h₂.isPairEdge_star |
| 1093 | edge₁' := h₁'.isPairEdge_star |
| 1094 | edge₂' := h₂'.isPairEdge |
| 1095 | spaceChar_mul_up := fun i ↦ h_ab i rfl |
| 1096 | spaceChar_mul_down := fun i ↦ h_ba i rfl |
| 1097 | spaceChar_mul_first := fun i ↦ h_ab i h_card' |
| 1098 | spaceChar_mul_second := fun i ↦ h_ba i h_card' } |
| 1099 | refine ⟨C, κ, fun i ↦ ?_⟩ |
| 1100 | obtain ⟨c, h_size, h_ne, h_part⟩ := h_law i |
| 1101 | have hc : c ≠ 0 := ne_zero_of_norm_sq_eq h_size h_ne |
| 1102 | -- each clause is an identity of linear maps, evaluated at `f` and followed by `l` |
| 1103 | refine ⟨c, hc, h_size, fun f l ↦ |
| 1104 | { left_mul := fun g x ↦ ?_ |
| 1105 | right_mul := fun g y ↦ ?_ |
| 1106 | sum_eq_of_areMatched := fun Ψ Ψ' hΨ ↦ ?_ }⟩ |
| 1107 | · have h_map : Θ i (g.val * x) = χ i g.val.det • Θ i x := h_left i g x |
| 1108 | rw [h_map, LinearMap.smul_apply, map_smul, smul_eq_mul] |
| 1109 | · have h_map : Θ' i (y * g.val) = χ i g.val.det • Θ' i y := h_right i g y |
| 1110 | rw [h_map, LinearMap.smul_apply, map_smul, smul_eq_mul] |
| 1111 | · have h_map : ∑ y, Ψ' y • Θ' i y = (κ / c) • ∑ x, Ψ x • Θ i x := h_part Ψ Ψ' hΨ |
| 1112 | simpa using congrArg (fun L ↦ l (L f)) h_map |
| 1113 | |
| 1114 | end New.Exchange |
| 1115 | |
| 1116 | end |