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

| 1 | module |
| 2 | |
| 3 | import Mathlib.Analysis.Complex.MeanValue |
| 4 | import Mathlib.Topology.UniformSpace.Uniformizable |
| 5 | public import New.OneLift.ComparisonOperator.DeterminantProducts |
| 6 | public import Lib.SiegelWeil.Tower.FiniteTateIntegral |
| 7 | public import New.Determinant.Exchange.MatchingPartners |
| 8 | import Lib.DiscreteSeries.Haar.TotalMass |
| 9 | import Lib.DiscreteSeries.Holomorphic.MaximalCompactMinors |
| 10 | import Lib.GLn.SchurModule.Polarisation |
| 11 | import Lib.PadicComparison.Descent.TestCategory |
| 12 | import Lib.Weil.Construction.CanonicalTheta |
| 13 | import New.Determinant.Exchange.TheoremForPartners |
| 14 | import New.OneLift.ComparisonOperator.OneExchange |
| 15 | |
| 16 | /-! |
| 17 | # Explicit real data: the exchange identity for a definite space with determinant data |
| 18 | |
| 19 | `New.Rows.exists_stdClassSum_eq_mul_integral_modKernel` follows from the identity |
| 20 | `New.Exchange.exchange_identity` for the positive definite standard space `I_a` of rank `card a`, |
| 21 | with the real data made explicit as products of determinants. |
| 22 | |
| 23 | Its archimedean step, `New.Rows.exists_mul_apply_eq_apply_matchedPoly`, takes an identity between |
| 24 | functionals on two Fock spaces that holds for one polynomial and its translates, and moves it to |
| 25 | explicit products of determinants. |
| 26 | |
| 27 | ## Main definitions and results |
| 28 | |
| 29 | * `New.Rows.matchedPoly`: the explicit polynomial for the pair of signs on `b` and on `n`. |
| 30 | * `New.Rows.realPairWeil_stackedDetProd`, `New.Rows.realPairWeil_matchedPoly`: the laws of |
| 31 | `New.Rows.stackedDetProd` and `New.Rows.matchedPoly` under the real Weil representation |
| 32 | `New.realPairWeil`. |
| 33 | * `New.Rows.exists_mul_apply_eq_apply_matchedPoly`: the matching of `New.Rows.stackedDetProd` with |
| 34 | `New.Rows.matchedPoly`. |
| 35 | * `New.Rows.exists_stdClassSum_eq_mul_integral_modKernel`: a multiple, possibly zero, of the class |
| 36 | sum equals a non-zero multiple of the integral over the group of the complementary space. |
| 37 | * `New.Rows.exists_mul_stdClassSum_eq_integral_modKernel`: the same identity divided by its non-zero |
| 38 | constant, with the characters absorbed into the kernels and a free character for `I_a`. |
| 39 | |
| 40 | Notions from other files: |
| 41 | * `New.GInf`: The archimedean unitary group G_∞ for signs s: one copy of the complex unitary group |
| 42 | U(diag s) for each infinite place of E. |
| 43 | * `New.PairFock`, `New.Fock.polyVector`, `New.realPairWeil`: the Fock space of a pair of signs, the |
| 44 | vector in it attached to a polynomial, and the real Weil representation of the pair on it. |
| 45 | * `New.Rows.stackedDetProd`: The product over τ and k of the determinants of M_{τk} stacked over the |
| 46 | variable matrix x_τ (`New.Rows.stackedDet`), columns ordered by e. |
| 47 | * `New.AreMatched`: Φ lives on the rows `a` of k⁻¹ and Ψ on the columns `b` of k, for k in GL_n(O), |
| 48 | and there the values differ by the factor χ(det k). Here the subring O is always `⊤`. |
| 49 | * `New.Exchange.lValueProd`: The number (∏_{w ∈ S} Nw)^(e²) · ∏_{z=1}^{e} |L^S(z, ν)|², for a |
| 50 | natural number e. |
| 51 | |
| 52 | ## Relation to the literature |
| 53 | |
| 54 | A multiple of a theta kernel summed over a definite unitary group equals a kernel integrated over a |
| 55 | unitary group of no larger rank, with explicit determinant polynomials on both sides. The size of |
| 56 | the multiple is given by Hecke L-values and the conductor up to one fixed factor, which may be zero. |
| 57 | The first term identity between theta integrals of complementary spaces and the harmonic polynomials |
| 58 | given by determinants are known in the literature. Related work: Gan–Qiu–Takeda, The regularized |
| 59 | Siegel–Weil formula, 2014 (after Kudla–Rallis, 1994; Ichino, 2004); Kashiwara–Vergne, On the |
| 60 | Segal–Shale–Weil representations and harmonic polynomials, 1978; Böcherer–Schulze-Pillot, Siegel |
| 61 | modular forms and theta series attached to quaternion algebras, 1991. |
| 62 | -/ |
| 63 | |
| 64 | @[expose] public section |
| 65 | |
| 66 | noncomputable section |
| 67 | |
| 68 | /-! |
| 69 | ## Archimedean step for products of determinants in Fock space |
| 70 | |
| 71 | Let the pair be U(signs on `n`) × U(`a`). As seen by functionals invariant under U(`a`), a mean over |
| 72 | a circle in the torus removes all variables but one square block, and averaging over U(`a`) |
| 73 | (`New.exists_forall_eq_mul_map_det_pow`) leaves a multiple of the product of determinants for the |
| 74 | standard frame `(1 0)`. Polarisation passes from the unitary translates of that frame to all |
| 75 | matrices, since the products of determinants lie in a module that is irreducible under the unitary |
| 76 | group (`New.exists_pairedDetProd_eq_sum_unitary`). |
| 77 | -/ |
| 78 | |
| 79 | section RealMatching |
| 80 | |
| 81 | namespace New.Rows |
| 82 | |
| 83 | open NumberField Finset Matrix MvPolynomial Sum Fock Fintype Function Real ComplexOrder |
| 84 | |
| 85 | variable {E n m a b p l : Type} [Field E] [NumberField E] [Fintype n] [DecidableEq n] [Fintype m] |
| 86 | [DecidableEq m] [Fintype a] [DecidableEq a] [Fintype b] [Fintype p] [DecidableEq p] [Fintype l] |
| 87 | [DecidableEq l] |
| 88 | |
| 89 | section Blocks |
| 90 | |
| 91 | variable (f : p ⊕ l ≃ b) (j : m ⊕ l ≃ n) (e : p ⊕ a ≃ m) |
| 92 | {ι : InfinitePlace E → Type} [∀ τ : InfinitePlace E, Fintype (ι τ)] |
| 93 | |
| 94 | /-- The signs on `b ≃ p ⊕ l` that are `+1` on `p` and `-1` on `l`. -/ |
| 95 | abbrev blockSigns : b → ℤˣ := (1 ⊕ᵥ -1) ∘ f.symm |
| 96 | |
| 97 | /-- The embedding of the compact groups `U(m)`, one for each infinite place, as the positive block |
| 98 | of the unitary group of signs `blockSigns j`. -/ |
| 99 | @[simps! -isSimp] |
| 100 | def posBlockEmb : GInf E (1 : m → ℤˣ) →* GInf E (blockSigns j) := |
| 101 | ((U.reindex j (by simp [signMatrix])).toMonoidHom.comp (U.inl 1 (-1))).compLeft (InfinitePlace E) |
| 102 | |
| 103 | attribute [simp] val_posBlockEmb_apply_coe |
| 104 | |
| 105 | omit [NumberField E] in |
| 106 | /-- At each place, the inverse of the image of `k` has the matrix of the image of `k⁻¹`. -/ |
| 107 | lemma coe_inv_posBlockEmb (τ : InfinitePlace E) (k : GInf E (1 : m → ℤˣ)) : |
| 108 | (((posBlockEmb j k τ)⁻¹ : U (signMatrix (blockSigns j))) : Matrix n n ℂ) = |
| 109 | (posBlockEmb j k⁻¹ τ : Matrix n n ℂ) := by |
| 110 | simp |
| 111 | |
| 112 | omit [NumberField E] in |
| 113 | /-- At each place, the image of `k` lies in `blockDiagAlg (blockSigns j)`, the algebra of matrices |
| 114 | that commute with the diagonal matrix of the signs, that is, are block diagonal for them. -/ |
| 115 | lemma posBlockEmb_mem_blockDiagAlg (τ : InfinitePlace E) (k : GInf E (1 : m → ℤˣ)) : |
| 116 | (posBlockEmb j k τ : Matrix n n ℂ) ∈ blockDiagAlg (blockSigns j) := by |
| 117 | simp [mem_blockDiagAlg, reindex_equiv j] |
| 118 | |
| 119 | omit [NumberField E] in |
| 120 | /-- At each place `τ`, the principal minor of `posBlockEmb j k τ` on the indices `i` with |
| 121 | `blockSigns j i = 1` (the positive block) equals the determinant of `k τ`. -/ |
| 122 | lemma principalMinor_posBlockEmb_eq_det (τ : InfinitePlace E) (k : GInf E (1 : m → ℤˣ)) : |
| 123 | principalMinor (posBlockEmb j k τ) (fun i : n ↦ blockSigns j i = 1) = |
| 124 | (k τ : Matrix m m ℂ).det := by |
| 125 | simp [← principalMinor_submatrix j, principalMinor_fromBlocks, principalMinor_of_forall, |
| 126 | DiscreteSeries.principalMinor_of_forall_not] |
| 127 | |
| 128 | omit [NumberField E] in |
| 129 | /-- At each place, the negative block of the image of `k` has determinant `1`. -/ |
| 130 | lemma principalMinor_posBlockEmb_eq_one (τ : InfinitePlace E) (k : GInf E (1 : m → ℤˣ)) : |
| 131 | principalMinor (posBlockEmb j k τ) (fun i : n ↦ blockSigns j i = -1) = 1 := by |
| 132 | simp [← principalMinor_submatrix j, principalMinor_fromBlocks, principalMinor_of_forall, |
| 133 | DiscreteSeries.principalMinor_of_forall_not] |
| 134 | |
| 135 | omit [DecidableEq p] [DecidableEq l] in |
| 136 | @[simp↓] |
| 137 | lemma card_neg_blockSigns : card {i : b // blockSigns f i = -1} = card l := by |
| 138 | simp [Fintype.card_subtype, card_filter, reindex_equiv f, -sum_boole] |
| 139 | |
| 140 | omit [NumberField E] in |
| 141 | lemma continuous_posBlockEmb : Continuous (posBlockEmb (E := E) j) := by |
| 142 | simp only [continuous_pi_iff, continuous_U_iff_matrix, val_posBlockEmb_apply_coe] |
| 143 | fun_prop |
| 144 | |
| 145 | /-- The polynomial `∏_τ det (y⁻_τ) ^ (card (ι τ) + card n - 2 * card l) ∏_{τ, k} det (η_{τ k} y_τ)`, |
| 146 | where `y⁻_τ` is the `l × l` block of variables with both signs negative and `y_τ` the `m × p` block |
| 147 | with both signs positive. The first determinant is `variableMinor` (a minor of the matrix of |
| 148 | variables at `τ`) and the last product is `pairedDetProd`. The subtraction in the exponent is |
| 149 | truncated; it is exact when `2 * card l ≤ card n`. -/ |
| 150 | def matchedPoly (η : (τ : InfinitePlace E) → ι τ → Matrix p m ℂ) : |
| 151 | MvPolynomial (InfinitePlace E × n × b) ℂ := |
| 152 | (∏ τ : InfinitePlace E, |
| 153 | variableMinor τ (j ∘ inr) (f ∘ inr) ^ (card (ι τ) + card n - 2 * card l)) * |
| 154 | pairedDetProd (fun τ i k ↦ X (τ, j (inl i), f (inl k))) η |
| 155 | |
| 156 | omit [DecidableEq n] [Fintype b] [DecidableEq m] in |
| 157 | /-- Scaling all matrices by `w` multiplies `matchedPoly` by `(w ^ card p) ^ card (ι τ)` for each |
| 158 | place `τ`, as each factor that depends on the matrices is a `p × p` determinant. -/ |
| 159 | lemma matchedPoly_smul (η : (τ : InfinitePlace E) → ι τ → Matrix p m ℂ) (w : ℂ) : |
| 160 | matchedPoly f j (fun (τ : InfinitePlace E) (i : ι τ) ↦ w • η τ i) = |
| 161 | (∏ τ : InfinitePlace E, (w ^ Fintype.card p) ^ Fintype.card (ι τ)) • matchedPoly f j η := by |
| 162 | simp [matchedPoly, pairedDetProd, Matrix.map_smul, ↓C_mul', ↓prod_smul] |
| 163 | |
| 164 | /-- The Fock vector of a polynomial in the variables `a × m`. The map `renameRowsCols` reads them as |
| 165 | variables `a × n` through the positive block of `j`, and `polyVector` sends a polynomial to its |
| 166 | product with the Gaussian in the Fock space `fockSpace`. The signs of the variables are the products |
| 167 | `homSigns` of a row sign and a column sign, repeated at every infinite place by `realSigns`. -/ |
| 168 | abbrev posFockVector : |
| 169 | MvPolynomial (InfinitePlace E × a × m) ℂ →ₗ[ℂ] |
| 170 | fockSpace (realSigns E (homSigns (blockSigns j) (1 : a → ℤˣ))) := |
| 171 | polyVector (realSigns E (homSigns (n' := a) (blockSigns j) 1)) ∘ₗ |
| 172 | (renameRowsCols id (j ∘ inl)).toLinearMap |
| 173 | |
| 174 | /-- For a linear form `L` on polynomials and exponents `w`, the value of `L` at `P` with each |
| 175 | variable `x` multiplied by `s ^ w x` is differentiable in `s`. -/ |
| 176 | lemma differentiable_apply_bind₁_pow_smul {σ : Type} (L : MvPolynomial σ ℂ →ₗ[ℂ] ℂ) (w : σ → ℕ) |
| 177 | (P : MvPolynomial σ ℂ) : |
| 178 | Differentiable ℂ fun s : ℂ ↦ L (aeval (fun x : σ ↦ s ^ w x • X (R := ℂ) x) P) := by |
| 179 | simp only [aeval_def, eval₂_eq, algebraMap_eq, C_mul', smul_pow, prod_smul, |
| 180 | map_sum, map_smul, smul_eq_mul] |
| 181 | fun_prop |
| 182 | |
| 183 | /-- Fix `j : m ⊕ l ≃ n`, with signs `blockSigns j` equal to `+1` on `m` and `-1` on `l`, and fix |
| 184 | `e : p ⊕ a ≃ m`. `ι τ` indexes `p × m` matrices `η τ i` at each infinite place `τ`. The polynomial |
| 185 | `stackedDetProd e η` is the product of the determinants of `η τ i` stacked over the `a × m` matrix |
| 186 | of variables, with columns ordered by `e`. `posFockVector j` turns it into a vector in the Fock |
| 187 | space of the pair U(`blockSigns j`) × U(`a`). |
| 188 | |
| 189 | Let `γ τ = card l - card (ι τ)`, so that `realPairWeil γ 0` is the real Weil representation in which |
| 190 | `(x, u)` is twisted by `∏_τ (det u_τ) ^ γ τ` and not by `det x`. Let `k` be in the group `GInf E 1`, |
| 191 | one copy of U(`m`) for each infinite place, and let `posBlockEmb j k` be its image in the block with |
| 192 | signs `+1`. Then `(posBlockEmb j k, u)` carries this vector for the matrices `η * (kᵀ)⁻¹` to that |
| 193 | for `η`, times the factor `∏_τ (det k_τ) ^ (- card (ι τ))`, which does not depend on `u`. -/ |
| 194 | lemma realPairWeil_stackedDetProd {γ : InfinitePlace E → ℤ} |
| 195 | (hγ : γ = fun τ : InfinitePlace E ↦ (card l - card (ι τ) : ℤ)) |
| 196 | (η : (τ : InfinitePlace E) → ι τ → Matrix p m ℂ) |
| 197 | (k : GInf E (1 : m → ℤˣ)) (u : GInf E (1 : a → ℤˣ)) : |
| 198 | realPairWeil γ 0 (posBlockEmb j k, u) |
| 199 | (posFockVector j (stackedDetProd e fun (τ : InfinitePlace E) (i : ι τ) ↦ |
| 200 | η τ i * (k τ : Matrix m m ℂ)⁻¹ᵀ)) = |
| 201 | (∏ τ : InfinitePlace E, (k τ : Matrix m m ℂ).det ^ Fintype.card (ι τ))⁻¹ • |
| 202 | posFockVector j (stackedDetProd e η) := by |
| 203 | -- The pair acts by the substitution of `twoSidedSubst_stackedDetProd` and the vacuum character |
| 204 | -- `det u ^ (γ τ - card l) = det u ^ (-card (ι τ))`, which cancels the powers of `det u`. |
| 205 | have h_act (P : MvPolynomial (InfinitePlace E × a × m) ℂ) : |
| 206 | realPairWeil γ 0 (posBlockEmb j k, u) (posFockVector j P) = |
| 207 | (∏ τ, (u τ : Matrix a a ℂ).det ^ card (ι τ))⁻¹ • posFockVector j |
| 208 | (twoSidedSubst (fun τ ↦ (u τ : Matrix a a ℂ)) (fun τ ↦ (k⁻¹ τ : Matrix m m ℂ)) P) := by |
| 209 | simp [hγ, rename_eq_aeval, reindex_equiv j, principalMinor_of_forall, |
| 210 | DiscreteSeries.principalMinor_of_forall_not, ↓comp_aeval_apply, ↓coe_inv_posBlockEmb, |
| 211 | ↓posBlockEmb_mem_blockDiagAlg, ↓principalMinor_posBlockEmb_eq_det, |
| 212 | ↓principalMinor_posBlockEmb_eq_one, ↓realPairWeil_polyVector, ↓prod_pair, |
| 213 | ↓Nat.card_eq_fintype_card, ↓val_posBlockEmb_apply_coe] |
| 214 | have h_inv (τ : InfinitePlace E) : (k τ : Matrix m m ℂ)⁻¹ = (k⁻¹ τ : Matrix m m ℂ) := by simp |
| 215 | simp only [h_act, h_inv, twoSidedSubst_stackedDetProd, map_smul, smul_smul] |
| 216 | simp [mul_pow, prod_mul_distrib, ↓prod_ne_zero_iff, GeneralLinearGroup.det_ne_zero] |
| 217 | |
| 218 | /-- Let `γ τ = card l - card (ι τ)` and take the real Weil representation `realPairWeil γ 0` of the |
| 219 | pair of unitary groups with signs `blockSigns f`, `blockSigns j`, in which `(x, y)` is twisted by |
| 220 | `∏_τ (det y_τ) ^ γ τ` and not by `det x`. For `k` in U(`m`) at each place, the point |
| 221 | `posBlockEmb j k`, its image in the positive block of the second group, carries the Fock vector |
| 222 | (`polyVector`) of `matchedPoly` for `η` to that for `η * kᵀ`, times the factor |
| 223 | `∏_τ (det k_τ) ^ (- card (ι τ))`. -/ |
| 224 | lemma realPairWeil_matchedPoly [DecidableEq b] {γ : InfinitePlace E → ℤ} |
| 225 | (hγ : γ = fun τ : InfinitePlace E ↦ (card l - card (ι τ) : ℤ)) |
| 226 | (η : (τ : InfinitePlace E) → ι τ → Matrix p m ℂ) (k : GInf E (1 : m → ℤˣ)) : |
| 227 | realPairWeil (s := blockSigns f) γ 0 (1, posBlockEmb j k) |
| 228 | (polyVector (realSigns E (homSigns (blockSigns f) (blockSigns j))) (matchedPoly f j η)) = |
| 229 | (∏ τ : InfinitePlace E, (k τ : Matrix m m ℂ).det ^ card (ι τ))⁻¹ • |
| 230 | polyVector (realSigns E (homSigns (blockSigns f) (blockSigns j))) |
| 231 | (matchedPoly f j fun (τ : InfinitePlace E) (i : ι τ) ↦ |
| 232 | η τ i * (k τ : Matrix m m ℂ)ᵀ) := by |
| 233 | -- The vacuum character gives `det k ^ (γ τ - card l)`. The substitution fixes the block of |
| 234 | -- variables with negative signs and multiplies the block `y` with positive signs by `kᵀ`. |
| 235 | simp [hγ, Matrix.map, reindex_equiv j, ↓posBlockEmb_mem_blockDiagAlg, |
| 236 | ↓principalMinor_posBlockEmb_eq_det, ↓principalMinor_posBlockEmb_eq_one, |
| 237 | ↓realPairWeil_polyVector, |
| 238 | ↓prod_pair, ↓Nat.card_eq_fintype_card, ↓val_posBlockEmb_apply_coe, Matrix.one_apply, |
| 239 | ↓matchedPoly, ↓variableMinor, ↓pairedDetProd, ↓AlgHom.map_det, ↓prod_ne_zero_iff, |
| 240 | GeneralLinearGroup.det_ne_zero] |
| 241 | -- Entry by entry, `η * (kᵀ * y) = (η * kᵀ) * y`. |
| 242 | congr! with τ _ i _ |
| 243 | refine Matrix.ext fun r s ↦ ?_ |
| 244 | trans ∑ x : m, ∑ x' : m, (η τ i r x * (k τ : Matrix m m ℂ) x' x) • X (τ, j (inl x'), f (inl s)) |
| 245 | · simp [Matrix.mul_apply, ↓C_mul', smul_sum, smul_smul] |
| 246 | · rw [sum_comm] |
| 247 | simp only [Matrix.mul_apply, of_apply, transpose_apply, C_mul', sum_smul] |
| 248 | |
| 249 | /-- The standard frame `(1 0)` for `m ≃ p ⊕ a`: the `p × m` matrix whose row `k` is the standard |
| 250 | basis vector at `e (inl k)`. -/ |
| 251 | def standardFrame : Matrix p m ℂ := (1 : Matrix m m ℂ).submatrix (e ∘ inl) id |
| 252 | |
| 253 | variable (E) in |
| 254 | /-- For `|z| = 1`, the point of `U(m)` that is, at every infinite place, the diagonal matrix with |
| 255 | entries `z⁻¹ ^ 2` on `p` and `z⁻¹` on `a`, for `m ≃ p ⊕ a`. -/ |
| 256 | def frameTorus (z : Circle) : GInf E (1 : m → ℤˣ) := |
| 257 | fun _ : InfinitePlace E ↦ diagTorus 1 fun i : m ↦ z⁻¹ ^ (if (e.symm i).isLeft then 2 else 1) |
| 258 | |
| 259 | omit [NumberField E] [DecidableEq a] [DecidableEq p] in |
| 260 | /-- At each place, `frameTorus E e z` has determinant `z⁻¹ ^ (2 * card p + card a)`. -/ |
| 261 | lemma det_frameTorus (z : Circle) (τ : InfinitePlace E) : |
| 262 | (frameTorus E e z τ : Matrix m m ℂ).det = ((z⁻¹ : Circle) : ℂ) ^ (2 * card p + card a) := by |
| 263 | simp [frameTorus, diagTorus, reindex_equiv e, pow_add, pow_mul] |
| 264 | |
| 265 | omit [NumberField E] [Fintype m] in |
| 266 | /-- For the standard frame `(1 0)`, the stacked determinant at `τ` is the minor of the variables in |
| 267 | the columns `e ∘ inr`. -/ |
| 268 | lemma stackedDet_standardFrame (τ : InfinitePlace E) : |
| 269 | stackedDet τ (standardFrame e) e = variableMinor τ id (e ∘ inr) := by |
| 270 | trans det (fromBlocks 1 0 (of fun i k ↦ X (τ, i, e (inl k))) (of fun i k ↦ X (τ, i, e (inr k)))) |
| 271 | · refine congrArg det (Matrix.ext ?_) |
| 272 | rintro (i | i) (k | k) <;> simp [standardFrame, Matrix.one_apply, apply_ite C] |
| 273 | · simp [variableMinor] |
| 274 | |
| 275 | /-- The determinant-normalized circle action on a polynomial Fock vector fixes the variables in |
| 276 | the columns `j ∘ inl ∘ e ∘ inr` and multiplies every other variable by `z`. -/ |
| 277 | private lemma frameTorus_polyVector_eq {γ : InfinitePlace E → ℤ} |
| 278 | (hγ : γ = fun τ : InfinitePlace E ↦ (Fintype.card l - Fintype.card (ι τ) : ℤ)) |
| 279 | (P : MvPolynomial (InfinitePlace E × a × n) ℂ) (z : Circle) : |
| 280 | (∏ τ : InfinitePlace E, (diagTorus 1 (const a z⁻¹) : Matrix a a ℂ).det ^ card (ι τ)) • |
| 281 | realPairWeil γ 0 (posBlockEmb j (frameTorus E e z), fun _ ↦ diagTorus 1 (const a z⁻¹)) |
| 282 | (polyVector _ P) = |
| 283 | polyVector _ (aeval (fun (τ, i, k) ↦ |
| 284 | (z : ℂ) ^ extend (j ∘ inl ∘ e ∘ inr) 0 1 k • X (R := ℂ) (τ, i, k)) P) := by |
| 285 | simp [hγ, principalMinor_of_forall, DiscreteSeries.principalMinor_of_forall_not, |
| 286 | ↓coe_inv_posBlockEmb, ↓posBlockEmb_mem_blockDiagAlg, ↓principalMinor_posBlockEmb_eq_det, |
| 287 | ↓principalMinor_posBlockEmb_eq_one, ↓realPairWeil_polyVector, ↓prod_pair, |
| 288 | ↓Nat.card_eq_fintype_card, ↓val_posBlockEmb_apply_coe, ↓prod_ne_zero_iff, |
| 289 | GeneralLinearGroup.det_ne_zero] |
| 290 | -- The scalars cancel; it remains to compare the substitutions variable by variable. |
| 291 | congr |
| 292 | simp [frameTorus, extend, reindex_equiv j, reindex_equiv e, inv_diagonal, Ring.inverse, |
| 293 | Pi.isUnit_iff, sq, ↓_root_.funext_iff, ↓diagTorus, ↓diagonal_apply, Matrix.one_apply] |
| 294 | |
| 295 | end Blocks |
| 296 | |
| 297 | /-- Given bijections `j : m ⊕ l ≃ n` and `e : p ⊕ a ≃ m`, finite index types `ι τ` at each infinite |
| 298 | place `τ` of `E`, `γ τ = card l - card (ι τ)`, and a polynomial |
| 299 | `P : MvPolynomial (InfinitePlace E × a × n) ℂ`, there is `κ : ℂ` such that for every continuous |
| 300 | linear functional `ℓ` on `PairFock E (blockSigns j) (1 : a → ℤˣ)` invariant under |
| 301 | `realPairWeil γ 0 (1, u)` for all `u : GInf E (1 : a → ℤˣ)`, `κ` times `ℓ` at `posFockVector j` of |
| 302 | `stackedDetProd e` for the standard frame equals the circle mean over `z = Circle.exp θ` of `ℓ` at |
| 303 | `polyVector _ P` moved by |
| 304 | `realPairWeil γ 0 (posBlockEmb j (frameTorus E e z), fun _ ↦ diagTorus 1 (const a z⁻¹))` and scaled |
| 305 | by `∏ τ, det (diagTorus 1 (const a z⁻¹)) ^ card (ι τ)`. -/ |
| 306 | private lemma exists_mul_eq_circle_mean_polyVector (j : m ⊕ l ≃ n) (e : p ⊕ a ≃ m) |
| 307 | {ι : InfinitePlace E → Type} [∀ τ : InfinitePlace E, Fintype (ι τ)] {γ : InfinitePlace E → ℤ} |
| 308 | (hγ : γ = fun τ : InfinitePlace E ↦ (Fintype.card l - Fintype.card (ι τ) : ℤ)) |
| 309 | (P : MvPolynomial (InfinitePlace E × a × n) ℂ) : |
| 310 | ∃ κ : ℂ, ∀ ℓ : PairFock E (blockSigns j) (1 : a → ℤˣ) →L[ℂ] ℂ, |
| 311 | (∀ (u : GInf E (1 : a → ℤˣ)) (w : PairFock E (blockSigns j) (1 : a → ℤˣ)), |
| 312 | ℓ (realPairWeil γ 0 (1, u) w) = ℓ w) → |
| 313 | κ * ℓ (posFockVector j |
| 314 | (stackedDetProd e fun (τ : InfinitePlace E) (_ : ι τ) ↦ standardFrame e)) = |
| 315 | (2 * π)⁻¹ • ∫ θ : ℝ in 0..2 * π, |
| 316 | ℓ ((∏ τ : InfinitePlace E, |
| 317 | (diagTorus 1 (const a (Circle.exp θ)⁻¹) : Matrix a a ℂ).det ^ card (ι τ)) • |
| 318 | realPairWeil γ 0 (posBlockEmb j (frameTorus E e (Circle.exp θ)), |
| 319 | fun _ ↦ diagTorus 1 (const a (Circle.exp θ)⁻¹)) (polyVector _ P)) := by |
| 320 | let cols : a → n := j ∘ inl ∘ e ∘ inr |
| 321 | -- `P₀` is `P` with variables outside the columns `cols` set to zero. Averaged over U(`a`) with |
| 322 | -- the weight `∏ τ, det (u τ) ^ (-card (ι τ))`, it is `κ` times `∏ τ, det ^ card (ι τ)`. |
| 323 | let P₀ : MvPolynomial (InfinitePlace E × a × a) ℂ := |
| 324 | aeval (fun (τ, i, k) ↦ extend cols (fun k' ↦ X (τ, i, k')) 0 k) P |
| 325 | obtain ⟨κ, hκ⟩ := exists_forall_eq_mul_map_det_pow (fun τ ↦ card (ι τ)) P₀ |
| 326 | refine ⟨κ, fun ℓ hℓ ↦ ?_⟩ |
| 327 | -- The torus scales the variables outside the columns `cols` by `z`; the result is polynomial in |
| 328 | -- `z`, so its circle mean is the value `scaled 0`. |
| 329 | let scaled (s : ℂ) : ℂ := |
| 330 | ℓ (polyVector _ (aeval (fun (τ, i, k) ↦ s ^ extend cols 0 1 k • X (R := ℂ) (τ, i, k)) P)) |
| 331 | have h_torus (z : Circle) : |
| 332 | ℓ ((∏ τ : InfinitePlace E, (diagTorus 1 (const a z⁻¹) : Matrix a a ℂ).det ^ card (ι τ)) • |
| 333 | realPairWeil γ 0 (posBlockEmb j (frameTorus E e z), fun _ ↦ diagTorus 1 (const a z⁻¹)) |
| 334 | (polyVector _ P)) = scaled z := by |
| 335 | simpa only [scaled, cols] using congrArg ℓ (frameTorus_polyVector_eq j e hγ P z) |
| 336 | have h_diff : Differentiable ℂ scaled := |
| 337 | differentiable_apply_bind₁_pow_smul (ℓ.toLinearMap ∘ₗ polyVector _) _ P |
| 338 | have mean_eq : |
| 339 | (2 * π)⁻¹ • ∫ θ : ℝ in 0..2 * π, |
| 340 | ℓ ((∏ τ : InfinitePlace E, |
| 341 | (diagTorus 1 (const a (Circle.exp θ)⁻¹) : Matrix a a ℂ).det ^ card (ι τ)) • |
| 342 | realPairWeil γ 0 (posBlockEmb j (frameTorus E e (Circle.exp θ)), |
| 343 | fun _ ↦ diagTorus 1 (const a (Circle.exp θ)⁻¹)) (polyVector _ P)) = |
| 344 | scaled 0 := by |
| 345 | simp [h_torus, ← h_diff.diffContOnCl.circleAverage (c := 0) (R := 1), circleAverage, circleMap] |
| 346 | -- `evalCols` reads a polynomial in square matrices in the columns `cols` and applies `ℓ`. As `ℓ` |
| 347 | -- is invariant, its value at the translate of `P₀` by `u` is `scaled 0` times powers of `det u`. |
| 348 | let evalCols : MvPolynomial (InfinitePlace E × a × a) ℂ →ₗ[ℂ] ℂ := |
| 349 | ℓ.toLinearMap ∘ₗ polyVector _ ∘ₗ (renameRowsCols id cols).toLinearMap |
| 350 | have h_average : scaled 0 = κ * evalCols (∏ τ, variableMinor τ id id ^ card (ι τ)) := by |
| 351 | refine hκ evalCols (scaled 0) fun u ↦ ?_ |
| 352 | unfold scaled |
| 353 | rw [← hℓ u] |
| 354 | have h_det : ∏ τ, (u τ : Matrix a a ℂ).det ^ card (ι τ) ≠ 0 := |
| 355 | prod_ne_zero_iff.2 fun τ _ ↦ pow_ne_zero _ (GeneralLinearGroup.det_ne_zero _) |
| 356 | simp [hγ, field, rename_eq_aeval, evalCols, P₀, principalMinor_of_forall, |
| 357 | DiscreteSeries.principalMinor_of_forall_not, ↓comp_aeval_apply, |
| 358 | ↓realPairWeil_polyVector, ↓prod_pair, ↓Nat.card_eq_fintype_card, Matrix.one_apply] |
| 359 | -- Both substitutions keep the columns `cols`, mixed by `u`, and kill the other variables. |
| 360 | congr |
| 361 | simp [reindex_equiv j, reindex_equiv e, cols, extend, ↓_root_.funext_iff] |
| 362 | -- For the standard frame, `det (standardFrame e; x)` is the minor of `x` in the columns |
| 363 | -- `e ∘ inr`. |
| 364 | rw [mean_eq] |
| 365 | simpa [stackedDet_standardFrame, stackedDetProd, det_apply', evalCols, cols, |
| 366 | ↓variableMinor] using h_average.symm |
| 367 | |
| 368 | /-- Let `γ τ = card l - card (ι τ)` and let `y` lie in `PairFock`, the Fock space of the pair |
| 369 | U(signs on `n`) × U(`a`), on which `(x, u)` acts by the real Weil representation `realPairWeil γ 0`, |
| 370 | twisted by `∏_τ (det u_τ) ^ γ τ` and not by `det x`. |
| 371 | |
| 372 | For `|z| = 1`, `frameTorus E e z` is the diagonal point of U(`m`) with entries `z⁻²` on `p` and |
| 373 | `z⁻¹` on `a`, put by `posBlockEmb j` in the positive block, and `diagTorus 1 t` is the diagonal |
| 374 | matrix with entries `t`. The vector `Ω z` is `y` moved by the pair of this point and the scalar |
| 375 | `z⁻¹` in U(`a`), times `z⁻¹ ^ (card a * ∑ τ, card (ι τ))`. There is a number `κ` such that, for |
| 376 | every functional `ℓ` invariant under U(`a`), the mean of `ℓ (Ω z)` over the circle is `κ` times `ℓ` |
| 377 | at the Fock vector (`posFockVector`) of `stackedDetProd e` for the standard frame. -/ |
| 378 | lemma exists_mul_eq_circle_mean (j : m ⊕ l ≃ n) (e : p ⊕ a ≃ m) |
| 379 | {ι : InfinitePlace E → Type} [∀ τ : InfinitePlace E, Fintype (ι τ)] {γ : InfinitePlace E → ℤ} |
| 380 | (hγ : γ = fun τ : InfinitePlace E ↦ (Fintype.card l - Fintype.card (ι τ) : ℤ)) |
| 381 | (y : PairFock E (blockSigns j) (1 : a → ℤˣ)) |
| 382 | {Ω : Circle → PairFock E (blockSigns j) (1 : a → ℤˣ)} |
| 383 | (hΩ : ∀ z : Circle, Ω z = (z⁻¹ : ℂ) ^ (card a * ∑ τ : InfinitePlace E, card (ι τ)) • |
| 384 | realPairWeil γ 0 (posBlockEmb j (frameTorus E e z), |
| 385 | fun _ : InfinitePlace E ↦ diagTorus 1 (const a z⁻¹)) y) : |
| 386 | ∃ κ : ℂ, ∀ ℓ : PairFock E (blockSigns j) (1 : a → ℤˣ) →L[ℂ] ℂ, |
| 387 | (∀ (u : GInf E (1 : a → ℤˣ)) (w : PairFock E (blockSigns j) (1 : a → ℤˣ)), |
| 388 | ℓ (realPairWeil γ 0 (1, u) w) = ℓ w) → |
| 389 | κ * ℓ (posFockVector j |
| 390 | (stackedDetProd e fun (τ : InfinitePlace E) (_ : ι τ) ↦ standardFrame e)) = |
| 391 | (2 * π)⁻¹ • ∫ θ : ℝ in 0..2 * π, ℓ (Ω (Circle.exp θ)) := by |
| 392 | -- `orbit y` is `Ω`, with the scalar written through determinants; `mean y ℓ` is the right side. |
| 393 | let η (τ : InfinitePlace E) (_ : ι τ) : Matrix p m ℂ := standardFrame e |
| 394 | let orbit (y : PairFock E (blockSigns j) (1 : a → ℤˣ)) (z : Circle) : |
| 395 | PairFock E (blockSigns j) 1 := |
| 396 | (∏ τ : InfinitePlace E, (diagTorus 1 (const a z⁻¹) : Matrix a a ℂ).det ^ card (ι τ)) • |
| 397 | realPairWeil γ 0 (posBlockEmb j (frameTorus E e z), fun _ ↦ diagTorus 1 (const a z⁻¹)) y |
| 398 | obtain rfl : Ω = orbit y := by |
| 399 | funext z |
| 400 | simp [hΩ, orbit, diagTorus, pow_mul, prod_pow_eq_pow_sum] |
| 401 | let mean (y : PairFock E (blockSigns j) 1) |
| 402 | (ℓ : {ℓ : PairFock E (blockSigns j) 1 →L[ℂ] ℂ // |
| 403 | ∀ u w, ℓ (realPairWeil γ 0 (1, u) w) = ℓ w}) : ℂ := |
| 404 | (2 * π)⁻¹ • ∫ θ : ℝ in 0..2 * π, ℓ.val (orbit y (Circle.exp θ)) |
| 405 | suffices h_mem : mean y ∈ |
| 406 | Set.range fun κ : ℂ ↦ κ • fun ℓ ↦ ℓ.val (posFockVector j (stackedDetProd e η)) by |
| 407 | exact h_mem.imp fun κ hκ ℓ hℓ ↦ congrFun hκ ⟨ℓ, hℓ⟩ |
| 408 | -- A line of functions of `ℓ` is closed and `mean` is continuous, so it is enough to treat Fock |
| 409 | -- vectors of polynomials (`exists_mul_eq_circle_mean_polyVector`). |
| 410 | have h_cont := continuous_posBlockEmb (E := E) j |
| 411 | have h_cont_torus : Continuous (frameTorus E e) := by fun_prop [frameTorus] |
| 412 | refine isClosed_property denseRange_polyVector |
| 413 | ((isClosedMap_smul_left _).isClosed_range.preimage_of_continuous (f := mean)) (fun P ↦ ?_) y |
| 414 | obtain ⟨κ, hκ⟩ := exists_mul_eq_circle_mean_polyVector j e hγ P |
| 415 | exact ⟨κ, funext fun ⟨ℓ, hℓ⟩ ↦ hκ ℓ hℓ⟩ |
| 416 | |
| 417 | omit [NumberField E] in |
| 418 | /-- At each point `x` there are an `m × p` matrix `Y` and a number `d` with |
| 419 | `det (ξ; x τ) = d * det (ξ * Y)` for all `p × m` matrices `ξ`; here `ξ` is stacked over `x τ`, with |
| 420 | columns ordered by `e`. -/ |
| 421 | lemma exists_eval_stackedDet_eq (e : p ⊕ a ≃ m) (τ : InfinitePlace E) |
| 422 | (x : InfinitePlace E × a × m → ℂ) : |
| 423 | ∃ (Y : m → p → ℂ) (d : ℂ), ∀ ξ : Matrix p m ℂ, |
| 424 | (stackedDet τ ξ e).eval x = d * (ξ * of Y).det := by |
| 425 | obtain ⟨Z, d, hZ⟩ := exists_det_fromCols_eq_mul_det e.symm fun i k ↦ x (τ, k, i) |
| 426 | refine ⟨of.symm Zᵀ, d, fun ξ ↦ ?_⟩ |
| 427 | have h_eval : (stackedDet τ ξ e).eval x = |
| 428 | ((ξ.fromRows (of fun i k ↦ x (τ, i, k))).submatrix id e).det := by |
| 429 | rw [stackedDet, RingHom.map_det] |
| 430 | congr 1 |
| 431 | ext (i | i) k <;> simp |
| 432 | rw [h_eval, Equiv.apply_symm_apply, ← transpose_transpose ξ, ← transpose_mul, ← hZ ξᵀ, |
| 433 | ← det_transpose, ← det_submatrix_equiv_self e] |
| 434 | simp [det_apply', fromCols] |
| 435 | |
| 436 | omit [DecidableEq n] [Fintype b] in |
| 437 | /-- Let `a` be non-empty and fix `f : p ⊕ l ≃ b`, `j : m ⊕ l ≃ n`, `e : p ⊕ a ≃ m`. For `p × m` |
| 438 | matrices `ξ τ i`, indexed by `ι τ` at each infinite place `τ`, `stackedDetProd e ξ` is the product |
| 439 | of the determinants of `ξ τ i` stacked over an `a × m` matrix of variables, and `matchedPoly f j ξ` |
| 440 | the product of the `det (ξ τ i * y_τ)`, with `y_τ` an `m × p` block of variables, and a fixed |
| 441 | polynomial. Both are finite combinations, with the same coefficients, of the same polynomials for |
| 442 | the unitary translates `frame k τ i = standardFrame e * (k τ)ᵀ` of `standardFrame e`, the `p × m` |
| 443 | matrix `(1 0)`, with `k τ` in U(`m`). -/ |
| 444 | lemma exists_stackedDetProd_eq_sum_unitary (f : p ⊕ l ≃ b) (j : m ⊕ l ≃ n) (e : p ⊕ a ≃ m) |
| 445 | {ι : InfinitePlace E → Type} [∀ τ : InfinitePlace E, Fintype (ι τ)] [Nonempty a] |
| 446 | (ξ : (τ : InfinitePlace E) → ι τ → Matrix p m ℂ) : |
| 447 | let frame (k : GInf E (1 : m → ℤˣ)) (τ : InfinitePlace E) (_ : ι τ) : Matrix p m ℂ := |
| 448 | standardFrame e * (k τ : Matrix m m ℂ)ᵀ |
| 449 | ∃ c : GInf E (1 : m → ℤˣ) →₀ ℂ, |
| 450 | (stackedDetProd e ξ = |
| 451 | c.sum fun (k : GInf E (1 : m → ℤˣ)) (z : ℂ) ↦ z • stackedDetProd e (frame k)) ∧ |
| 452 | matchedPoly f j ξ = |
| 453 | c.sum fun (k : GInf E (1 : m → ℤˣ)) (z : ℂ) ↦ z • matchedPoly f j (frame k) := by |
| 454 | -- By irreducibility, `∏ det (ξ τ i * Y τ)` is such a combination, the same for all `Y`. |
| 455 | intro frame |
| 456 | have h_card : card p < card m := by simp [← card_congr e, Fintype.card_pos] |
| 457 | obtain ⟨c, hc⟩ : ∃ c : GInf E (1 : m → ℤˣ) →₀ ℂ, |
| 458 | ∀ (S : Type) [CommRing S] [Algebra ℂ S] (Y : InfinitePlace E → m → p → S), |
| 459 | pairedDetProd Y ξ = c.sum fun k z ↦ z • pairedDetProd Y (frame k) := |
| 460 | exists_pairedDetProd_eq_sum_unitary h_card (e.injective.comp inl_injective) ξ |
| 461 | refine ⟨c, MvPolynomial.funext fun x ↦ ?_, ?_⟩ |
| 462 | · -- At the point `x`, `stackedDetProd e` is a fixed multiple of the product for complex `Y τ`. |
| 463 | choose Y d hY using fun τ : InfinitePlace E ↦ exists_eval_stackedDet_eq e τ x |
| 464 | have h_eval (ζ : (τ : InfinitePlace E) → ι τ → Matrix p m ℂ) : |
| 465 | (stackedDetProd e ζ).eval x = |
| 466 | (∏ τ : InfinitePlace E, d τ ^ card (ι τ)) * pairedDetProd Y ζ := by |
| 467 | simp [stackedDetProd, pairedDetProd, hY, prod_mul_distrib] |
| 468 | simp [h_eval, hc ℂ Y, Finsupp.sum, mul_sum, mul_left_comm] |
| 469 | · -- `matchedPoly f j` is a fixed polynomial times the product for the matrices of variables. |
| 470 | simp only [matchedPoly, hc, Finsupp.mul_sum, mul_smul_comm] |
| 471 | |
| 472 | /-- Let `a` be non-empty, fix `f : p ⊕ l ≃ b`, `j : m ⊕ l ≃ n`, which give signs `+1` on `p`, `m` |
| 473 | and `-1` on `l` (`blockSigns`), and `e : p ⊕ a ≃ m`, and let `γ τ = card l - card (ι τ)`. |
| 474 | |
| 475 | There is a polynomial `Q₀` such that every vector `v` has a number `κ` with the following property. |
| 476 | Let `ℓ g` be continuous functionals and `ℓ'` a linear form on polynomials such that (a) |
| 477 | `ℓ g (realPairWeil γ 0 (x₁, x₂) w) = ℓ (g x₁) w`; (b) `ℓ x v = ℓ' Q` whenever `x` carries the Fock |
| 478 | vector of `Q₀` to that of a polynomial `Q`. Then `κ * ℓ 1` at the Fock vector of |
| 479 | `stackedDetProd e η` is `ℓ' (matchedPoly f j η)` for all matrices `η`. -/ |
| 480 | lemma exists_mul_apply_eq_apply_matchedPoly (f : p ⊕ l ≃ b) (j : m ⊕ l ≃ n) (e : p ⊕ a ≃ m) |
| 481 | {ι : InfinitePlace E → Type} [∀ τ : InfinitePlace E, Fintype (ι τ)] {γ : InfinitePlace E → ℤ} |
| 482 | (hγ : γ = fun τ : InfinitePlace E ↦ (Fintype.card l - Fintype.card (ι τ) : ℤ)) |
| 483 | [DecidableEq b] [Nonempty a] : |
| 484 | ∃ Q₀ : MvPolynomial (InfinitePlace E × n × b) ℂ, ∀ v : PairFock E (blockSigns j) (1 : a → ℤˣ), |
| 485 | ∃ κ : ℂ, |
| 486 | ∀ (ℓ : GInf E (blockSigns j) → PairFock E (blockSigns j) (1 : a → ℤˣ) →L[ℂ] ℂ) |
| 487 | (ℓ' : MvPolynomial (InfinitePlace E × n × b) ℂ →ₗ[ℂ] ℂ), |
| 488 | -- (a) `ℓ` is equivariant under the first group and invariant under the second |
| 489 | (∀ (g : GInf E (blockSigns j)) (x : GInf E (blockSigns j) × GInf E (1 : a → ℤˣ)) |
| 490 | (w : PairFock E (blockSigns j) 1), |
| 491 | ℓ g (realPairWeil γ 0 x w) = ℓ (g * x.1) w) → |
| 492 | -- (b) `ℓ` at `v` matches `ℓ'` on the polynomial translates of `Q₀` |
| 493 | (∀ (x : GInf E (blockSigns j)) (Q : MvPolynomial (InfinitePlace E × n × b) ℂ), |
| 494 | realPairWeil (s := blockSigns f) γ 0 (1, x) |
| 495 | (polyVector (realSigns E (homSigns (blockSigns f) (blockSigns j))) Q₀) = |
| 496 | polyVector (realSigns E (homSigns (blockSigns f) (blockSigns j))) Q → |
| 497 | ℓ x v = ℓ' Q) → |
| 498 | ∀ η : (τ : InfinitePlace E) → ι τ → Matrix p m ℂ, |
| 499 | κ * ℓ 1 (posFockVector j (stackedDetProd e η)) = ℓ' (matchedPoly (ι := ι) f j η) := by |
| 500 | -- Take `Q₀ = matchedPoly η` for the standard frame `η`. On functionals invariant under the second |
| 501 | -- group, the circle mean of `Ω v` is a multiple `κ` of the value at `stackedDetProd η`. This |
| 502 | -- gives the identity for the unitary translates of `η`, and polarisation |
| 503 | -- (`exists_stackedDetProd_eq_sum_unitary`) extends it to all matrices. |
| 504 | let η (τ : InfinitePlace E) (_ : ι τ) : Matrix p m ℂ := standardFrame e |
| 505 | let t : Circle → GInf E (1 : m → ℤˣ) := frameTorus E e |
| 506 | let Ω (y : PairFock E (blockSigns j) (1 : a → ℤˣ)) (z : Circle) : PairFock E (blockSigns j) 1 := |
| 507 | (z⁻¹ : ℂ) ^ (card a * ∑ τ, card (ι τ)) • |
| 508 | realPairWeil γ 0 (posBlockEmb j (t z), fun _ ↦ diagTorus 1 (const a z⁻¹)) y |
| 509 | let c (τ : InfinitePlace E) : ℕ := card (ι τ) |
| 510 | refine ⟨matchedPoly f j η, fun v ↦ |
| 511 | (exists_mul_eq_circle_mean j e hγ v (Ω := Ω v) fun _ ↦ rfl).imp |
| 512 | fun κ hκ ℓ ℓ' hℓ h_match ↦ ?_⟩ |
| 513 | -- The identity for the translate of `η` by a unitary `k`. |
| 514 | have h_unitary (k : GInf E (1 : m → ℤˣ)) : |
| 515 | let ξ (τ : InfinitePlace E) (i : ι τ) : Matrix p m ℂ := η τ i * (k τ : Matrix m m ℂ)ᵀ |
| 516 | κ * ℓ 1 (posFockVector j (stackedDetProd e ξ)) = ℓ' (matchedPoly f j ξ) := by |
| 517 | intro ξ |
| 518 | -- By `realPairWeil_matchedPoly`, `posBlockEmb j (k * t z)` carries `matchedPoly η` to a |
| 519 | -- multiple of `matchedPoly (z⁻¹ ^ 2 • ξ)`, so `h_match` applies. |
| 520 | have h_frame (z : Circle) (τ : InfinitePlace E) (i : ι τ) : |
| 521 | η τ i * ((k * t z) τ : Matrix m m ℂ)ᵀ = (z⁻¹ : Circle).val ^ 2 • ξ τ i := by |
| 522 | simp [η, ξ, ← ext_iff, Matrix.mul_apply, t, standardFrame, frameTorus, ↓diagTorus, |
| 523 | Matrix.one_apply, ↓diagonal_apply] |
| 524 | have h_transl (z : Circle) : ℓ (posBlockEmb j (k * t z)) v = |
| 525 | ℓ' ((∏ τ, ((k * t z) τ : Matrix m m ℂ).det ^ c τ)⁻¹ • |
| 526 | matchedPoly f j fun τ i ↦ (z⁻¹ : Circle).val ^ 2 • ξ τ i) := by |
| 527 | exact h_match _ _ (by simp only [realPairWeil_matchedPoly f j hγ, h_frame, map_smul, c]) |
| 528 | calc |
| 529 | _ = κ * ((∏ τ, (k τ : Matrix m m ℂ).det ^ c τ) • ℓ (posBlockEmb j k)) |
| 530 | (posFockVector j (stackedDetProd e η)) := by |
| 531 | simpa [hℓ, c] using congrArg (fun w ↦ κ * ℓ (posBlockEmb j k) w) |
| 532 | (realPairWeil_stackedDetProd j e hγ η k⁻¹ 1) |
| 533 | _ = (2 * π)⁻¹ • ∫ θ in 0..2 * π, |
| 534 | ((∏ τ, (k τ : Matrix m m ℂ).det ^ c τ) • ℓ (posBlockEmb j k)) (Ω v (.exp θ)) := |
| 535 | hκ _ (by simp [hℓ]) |
| 536 | _ = ℓ' (matchedPoly f j ξ) := by |
| 537 | -- The integrand is constant: the powers of `z` and of `det k` cancel. |
| 538 | have h_integrand (z : Circle) : |
| 539 | ((∏ τ, (k τ : Matrix m m ℂ).det ^ c τ) • ℓ (posBlockEmb j k)) (Ω v z) = |
| 540 | ℓ' (matchedPoly f j ξ) := by |
| 541 | simp [Ω, hℓ, h_transl, matchedPoly_smul, t, det_frameTorus, c, pow_mul, |
| 542 | ← prod_pow_eq_pow_sum, ← map_mul, mul_pow, prod_mul_distrib] |
| 543 | -- What is left is an equation between powers of `z` and of `det k τ ≠ 0`. |
| 544 | field_simp [↓prod_ne_zero_iff, GeneralLinearGroup.det_ne_zero] |
| 545 | simp [pow_add, ← pow_mul, mul_pow, prod_mul_distrib, mul_comm, mul_assoc] |
| 546 | simp [field, h_integrand] |
| 547 | -- Both sides are linear in the polynomials, so the identity passes to combinations. |
| 548 | intro ξ |
| 549 | obtain ⟨w, h_stacked, h_matched⟩ := exists_stackedDetProd_eq_sum_unitary f j e ξ |
| 550 | simp only [h_stacked, h_matched, map_finsuppSum, map_smul, Finsupp.mul_sum, mul_smul_comm] |
| 551 | exact Finsupp.sum_congr fun k _ ↦ congrArg (w k • ·) (h_unitary k) |
| 552 | |
| 553 | end New.Rows |
| 554 | |
| 555 | end RealMatching |
| 556 | |
| 557 | section ExplicitMatching |
| 558 | |
| 559 | open MeasureTheory New WeilData Exchange Fock Fintype Space NumberField |
| 560 | |
| 561 | namespace New.Rows |
| 562 | |
| 563 | variable {E : Type} [Field E] [CMType E] [WeilData E] {n m a b p l : Type} |
| 564 | [Fintype n] [DecidableEq n] [Fintype m] [Fintype a] [DecidableEq a] [Fintype b] [DecidableEq b] |
| 565 | [Fintype p] [DecidableEq p] [Fintype l] [DecidableEq l] |
| 566 | |
| 567 | /-- Let `I_a` be the positive definite standard space `stdSpace E a` and let `Φ` be a function on |
| 568 | matrices modulo `𝔪`. The theta integral over `U(I_a)` with characters `α`, `β`, at a point `g` of |
| 569 | `U(S)`, is a continuous linear functional of the real part `w` of the datum `modDatum`, whose finite |
| 570 | part is given by `Φ`. -/ |
| 571 | lemma exists_clm_eq_thetaIntegral_modDatum {s : n → ℤˣ} (S : Space E n s) (α β : AutChar E) |
| 572 | {𝔪 : Modulus E} (Φ : Matrix a n 𝔪.ResidueRing → ℂ) : |
| 573 | ∃ L : G E s → PairFock E s (1 : a → ℤˣ) →L[ℂ] ℂ, |
| 574 | ∀ (g : G E s) (w : PairFock E s (1 : a → ℤˣ)), |
| 575 | L g w = thetaIntegral S (stdSpace E a) α β (modDatum S (stdSpace E a) 𝔪 Φ w) g := by |
| 576 | -- The theta integral is the lift of the constant function `1`, which is of rapid decay on a |
| 577 | -- definite group; the datum is `w` tensored with a fixed finite part `φ`. |
| 578 | have h_one : (fun _ : G E (1 : a → ℤˣ) ↦ (1 : ℂ)) ∈ (stdSpace E a).rapidFunctions := |
| 579 | (isAutomorphic_const _ 1).mem_rapidFunctions fun _ _ ↦ rfl |
| 580 | obtain ⟨L, hL⟩ : ∃ L : G E s → 𝒮 (S.hom (stdSpace E a)) →L[ℂ] ℂ, ∀ f g, |
| 581 | lift (pairThetaKer S (stdSpace E a) α β).swap f (fun _ ↦ (1 : ℂ)) g = L g f := |
| 582 | (pairThetaKer S (stdSpace E a) α β).swap.exists_clm_lift h_one |
| 583 | let φ : 𝒮 (S.hom (stdSpace E a)) := |
| 584 | schrodingerOp (S.hom (stdSpace E a)) 𝔪.places (𝔪.liftFn (Φ ∘ vecToMatrix)) (vacElem _) |
| 585 | refine ⟨fun g ↦ L g ∘L (integrated (S.hom (stdSpace E a))).flip φ, fun g w ↦ ?_⟩ |
| 586 | change L g (integrated _ w φ) = thetaIntegral S (stdSpace E a) α β (integrated _ w φ) g |
| 587 | simp [← hL, lift, thetaIntegral, pairTheta] |
| 588 | |
| 589 | omit [Fintype a] [DecidableEq a] in |
| 590 | /-- Let `𝔪` not be the unit ideal, and let `Φ`, `Ψ` be matched functions for `χ` (`AreMatched`). Fix |
| 591 | `g` in `G E t`. Integrate over the quotient of `G E s` by the rational points of `S` |
| 592 | (`quotMeasure`). The integrand is the theta kernel `modKernel` of `(S, T)` at `(x, g)`, twisted by |
| 593 | `α`, `β`, with data `Ψ`, `Q`. The integral is a linear form `ℓ` in the polynomial `Q`. -/ |
| 594 | lemma exists_linearMap_eq_integral_modKernel {s : b → ℤˣ} {t : n → ℤˣ} (S : Space E b s) |
| 595 | (T : Space E n t) (α β : AutChar E) {𝔪 : Modulus E} (h𝔪 : Nonempty 𝔪.places) {σ : b ⊕ a ≃ n} |
| 596 | {χ : MulChar 𝔪.ResidueRing ℂ} {Φ : Matrix a n 𝔪.ResidueRing → ℂ} |
| 597 | {Ψ : Matrix n b 𝔪.ResidueRing → ℂ} (h_matched : AreMatched ⊤ σ χ Φ Ψ) (g : G E t) : |
| 598 | ∃ ℓ : MvPolynomial (InfinitePlace E × n × b) ℂ →ₗ[ℂ] ℂ, |
| 599 | ∀ Q : MvPolynomial (InfinitePlace E × n × b) ℂ, |
| 600 | ℓ Q = ∫ x : G E s, modKernel S T α β 𝔪 Ψ Q x g ∂S.quotMeasure := by |
| 601 | -- `Ψ` lives on left invertible matrices, so the kernels are rapidly decreasing, hence integrable. |
| 602 | have hΨ (y : Matrix n b 𝔪.ResidueRing) (hy : Ψ y ≠ 0) : HasLeftInv y := by |
| 603 | obtain ⟨k, -, rfl⟩ := h_matched.supp_right y hy -- `y` is the matrix of first columns of `k` |
| 604 | exact ⟨invFirstRows σ k, invFirstRows_mul_firstCols σ k⟩ |
| 605 | have h_int (Q : MvPolynomial (InfinitePlace E × n × b) ℂ) : |
| 606 | Integrable (fun x : G E s ↦ modKernelBilin S T α β 𝔪 x g Ψ Q) S.quotMeasure := |
| 607 | (isRapid_modKernel S T α β h𝔪 hΨ Q g).integrable (by fun_prop [modKernel]) |
| 608 | exact ⟨{ toFun Q := ∫ x : G E s, modKernelBilin S T α β 𝔪 x g Ψ Q ∂S.quotMeasure |
| 609 | map_add' Q Q' := by simp only [map_add, integral_add (h_int Q) (h_int Q')] |
| 610 | map_smul' c Q := by simp [integral_const_mul] }, |
| 611 | fun Q ↦ rfl⟩ -- by definition of `modKernelBilin` |
| 612 | |
| 613 | omit [DecidableEq b] in |
| 614 | /-- Let `W` have `card l` negative signs and let `I_a` be the positive definite standard space |
| 615 | `stdSpace E a`. Let the character `α` be tame for `(𝔪, χ)` of weight `card l - card (ι τ)`. Let `Φ` |
| 616 | have a matched function `Ψ` for `χ⁻¹` (`AreMatched`): for invertible `k` modulo `𝔪` they vanish off |
| 617 | the rows `a` of `k⁻¹` and the columns `b` of `k` respectively, with `Φ = χ⁻¹ (det k) Ψ` there. Take |
| 618 | the theta kernel `modKernel` of `(W, I_a)` with the characters `α`, `1` and the data `Φ`, |
| 619 | `stackedDetProd e η`; `modKernelStdSpace` is its restriction to the finite points `h` of `U(I_a)`. |
| 620 | The integral of the kernel over `U(I_a)` is the class sum of this restriction: the sum of its values |
| 621 | over the double cosets of the rational points and of the integral finite points `stdLevel E a`, each |
| 622 | divided by the number of automorphisms of the class. -/ |
| 623 | lemma integral_modKernel_stackedDetProd (j : m ⊕ l ≃ n) (W : Space E n (blockSigns j)) |
| 624 | (σ : b ⊕ a ≃ n) (e : p ⊕ a ≃ m) |
| 625 | {ι : InfinitePlace E → Type} [∀ τ : InfinitePlace E, Fintype (ι τ)] |
| 626 | {𝔪 : Modulus E} {α : AutChar E} {χ : MulChar 𝔪.ResidueRing ℂ} |
| 627 | (h_tame : IsTameFor 𝔪 α (fun τ : InfinitePlace E ↦ card l - card (ι τ)) χ) |
| 628 | (η : (τ : InfinitePlace E) → ι τ → Matrix p m ℂ) |
| 629 | {Φ : Matrix a n 𝔪.ResidueRing → ℂ} {Ψ : Matrix n b 𝔪.ResidueRing → ℂ} |
| 630 | (h_matched : AreMatched ⊤ σ χ⁻¹ Φ Ψ) (g : G E (blockSigns j)) : |
| 631 | ∫ h : G E (1 : a → ℤˣ), modKernel W (stdSpace E a) α 1 𝔪 Φ |
| 632 | (renameRowsCols id (j ∘ Sum.inl) (stackedDetProd e η)) g h ∂(stdSpace E a).quotMeasure = |
| 633 | stdClassSum (stdLevel E a) fun h : Gf E a ↦ |
| 634 | modKernelStdSpace W α 1 𝔪 Φ (renameRowsCols id (j ∘ Sum.inl) (stackedDetProd e η)) g h := by |
| 635 | classical |
| 636 | set Q : MvPolynomial (InfinitePlace E × a × n) ℂ := |
| 637 | renameRowsCols id (j ∘ Sum.inl) (stackedDetProd e η) |
| 638 | set K : G E (1 : a → ℤˣ) → ℂ := modKernel W (stdSpace E a) α 1 𝔪 Φ Q g with hK |
| 639 | -- The kernel is invariant under right translation by the real points and by `stdLevel E a`, so |
| 640 | -- its integral is a class sum. `h_weight` is the instance that `pairWeil_integrated_right` reads. |
| 641 | obtain ⟨ψ, (h_weight : α.HasWeight _ ψ), -⟩ := h_tame.2 |
| 642 | -- The kernel does not depend on the real part of `h`, since `U(I_a)(ℝ)` fixes the vector of `Q`. |
| 643 | have h_real (u : GInf E (1 : a → ℤˣ)) (h : Gf E a) : K (u, h) = K (1, h) := by |
| 644 | have h_fixed : realPairWeil (s := blockSigns j) |
| 645 | (fun τ : InfinitePlace E ↦ (card l - card (ι τ) : ℤ)) 0 (1, u) (polyVector _ Q) = |
| 646 | polyVector _ Q := by |
| 647 | simpa using realPairWeil_stackedDetProd j e rfl η 1 u |
| 648 | simp only [hK, modKernel, modDatum] |
| 649 | conv_rhs => rw [← h_fixed, ← pairWeil_integrated_right α, ← pairTheta_mul] |
| 650 | simp |
| 651 | -- Translation by `k` in `stdLevel E a` replaces `Φ` by `α (det k) Φ (k⁻¹ ·)`, which is `Φ` since |
| 652 | -- `α (det k) = χ (det k)` and `Φ (k⁻¹ y) = χ (det k)⁻¹ Φ y`. |
| 653 | have h_level : stdLevel E a ≤ rightStabilizer fun h : Gf E a ↦ K (1, h) := by |
| 654 | intro k hk h |
| 655 | have h_datum : ((α.val (detFin (1 : a → ℤˣ) k) : ℂ) • |
| 656 | fun y : Matrix a n 𝔪.ResidueRing ↦ Φ ((𝔪.reductionGL ⟨k, hk⟩)⁻¹.val * y)) = Φ := |
| 657 | funext fun y ↦ |
| 658 | by simpa [h_tame.apply_det ⟨k, hk⟩, χ.inv_apply, Ring.inverse_inverse] using |
| 659 | h_matched.left_mul (g := (𝔪.reductionGL ⟨k, hk⟩)⁻¹) (x := y) (by simp [mem_intGL]) |
| 660 | simp only [hK, modKernel_mul_stdLevel_right W (stdSpace E a) α 1 𝔪 ⟨k, hk⟩ Φ Q g 1 h, h_datum] |
| 661 | have h_left : (stdSpace E a).Γ.FixesLeft K := (pairThetaKer W _ α 1).swap.theta_rat_mul |
| 662 | rw [integral_quotMeasure_eq_classSum h_left (fun h ↦ integral_eq_const (.of_forall (h_real · h))) |
| 663 | (stdLevel E a) h_level (by fun_prop [modKernel])] |
| 664 | simp [hK] |
| 665 | |
| 666 | /-- Let `W` and `V'` both have `card l` negative signs (`j` and `f` split their bases by sign), let |
| 667 | `I_a` be the positive definite standard space `stdSpace E a` with `a` non-empty, and let `σ` give |
| 668 | `n = b ⊕ a`; `e` orders the columns of the determinants, of which `ι τ` indexes those at the place |
| 669 | `τ`. There is a polynomial `Q₀` such that every real datum `v`, a vector in the Fock space |
| 670 | `PairFock` of `(W, I_a)`, has a number `c'` with the following property. Let the character `α` be |
| 671 | tame for `(𝔪, χ)` of weight `card l - card (ι τ)`, let `Φ`, `Ψ` be matched functions for `χ⁻¹`, and |
| 672 | suppose that at every point the theta integral over `U(I_a)` with datum `Φ`, `v` is `c` times the |
| 673 | integral over `U(V')` of the kernel with data `Ψ`, `Q₀`. Then `c'` times the class sum for `Φ`, |
| 674 | `stackedDetProd e η` is `c` times the integral for `Ψ`, `matchedPoly f j η`. Here |
| 675 | `stackedDetProd e η` is the product of the determinants of the `p × m` matrices `η τ i` stacked over |
| 676 | the variables `a × m`, and `matchedPoly f j η` the product of the `det (η τ i * y_τ)`, with `y_τ` |
| 677 | the block of `n × b` variables with both signs `+1`, and of powers of the determinants of the blocks |
| 678 | with both signs `-1`. The class sum `stdClassSum` runs over the double cosets of the finite points |
| 679 | of `U(I_a)` by the rational points and the integral points `stdLevel E a`, each weighted by the |
| 680 | inverse of its number of automorphisms. -/ |
| 681 | lemma exists_stdClassSum_eq_of_exchange (f : p ⊕ l ≃ b) (V' : Space E b (blockSigns f)) |
| 682 | (σ : b ⊕ a ≃ n) (e : p ⊕ a ≃ m) (j : m ⊕ l ≃ n) (W : Space E n (blockSigns j)) |
| 683 | (ι : InfinitePlace E → Type) [∀ τ : InfinitePlace E, Fintype (ι τ)] [Nonempty a] : |
| 684 | ∃ Q₀ : MvPolynomial (InfinitePlace E × n × b) ℂ, |
| 685 | ∀ v : PairFock E (blockSigns j) (1 : a → ℤˣ), ∃ c' : ℂ, |
| 686 | ∀ {𝔪 : Modulus E} {α : AutChar E} {χ : MulChar 𝔪.ResidueRing ℂ}, |
| 687 | IsTameFor 𝔪 α (fun τ : InfinitePlace E ↦ card l - card (ι τ)) χ → |
| 688 | ∀ {Φ : Matrix a n 𝔪.ResidueRing → ℂ} {Ψ : Matrix n b 𝔪.ResidueRing → ℂ}, |
| 689 | AreMatched ⊤ σ χ⁻¹ Φ Ψ → |
| 690 | ∀ c : ℂ, |
| 691 | (∀ y : G E (blockSigns j), |
| 692 | thetaIntegral W (stdSpace E a) α 1 (modDatum W (stdSpace E a) 𝔪 Φ v) y = |
| 693 | c * ∫ x : G E (blockSigns f), modKernel V' W α α 𝔪 Ψ Q₀ x y ∂V'.quotMeasure) → |
| 694 | ∀ (η : (τ : InfinitePlace E) → ι τ → Matrix p m ℂ) (g : G E (blockSigns j)), |
| 695 | c' * stdClassSum (stdLevel E a) (fun h : Gf E a ↦ |
| 696 | modKernelStdSpace W α 1 𝔪 Φ (renameRowsCols id (j ∘ Sum.inl) (stackedDetProd e η)) g |
| 697 | h) = |
| 698 | c * ∫ x : G E (blockSigns f), |
| 699 | modKernel V' W α α 𝔪 Ψ (matchedPoly f j η) x g ∂V'.quotMeasure := by |
| 700 | -- Both sides of the hypothesis are functionals of the real datum, so |
| 701 | -- `exists_mul_apply_eq_apply_matchedPoly` moves it from `v`, `Q₀` to the products of |
| 702 | -- determinants. The integral over `U(I_a)` is then a class sum. |
| 703 | classical |
| 704 | obtain ⟨Q₀, h_match_real⟩ := exists_mul_apply_eq_apply_matchedPoly f j e (ι := ι) rfl |
| 705 | refine ⟨Q₀, fun v ↦ (h_match_real v).imp fun c' hc' ↦ ?_⟩ |
| 706 | intro 𝔪 α χ h_tame Φ Ψ h_matched c h_exchange η g |
| 707 | -- The two functionals: `L (g * (y, 1))` of the real datum on the left and `ℓ'` of the polynomial |
| 708 | -- on the right. `h_weight` is the instance that `pairWeil_integrated` reads. |
| 709 | obtain ⟨ψ, (h_weight : α.HasWeight _ ψ), -⟩ := h_tame.2 |
| 710 | obtain ⟨L, hL⟩ := exists_clm_eq_thetaIntegral_modDatum (a := a) W α 1 Φ |
| 711 | obtain ⟨ℓ', hℓ'⟩ := exists_linearMap_eq_integral_modKernel V' W α α h_tame.1 h_matched g |
| 712 | have h_equivariant (y : GInf E (blockSigns j)) |
| 713 | (z : GInf E (blockSigns j) × GInf E (1 : a → ℤˣ)) (w : PairFock E (blockSigns j) 1) : |
| 714 | L (g * (y, 1)) (realPairWeil (fun τ ↦ card l - card (ι τ)) 0 z w) = |
| 715 | L (g * (y * z.1, 1)) w := by |
| 716 | simp [hL, modDatum, ← pairWeil_integrated W (stdSpace E a) α 1, thetaIntegral_pairWeil, |
| 717 | mul_assoc] |
| 718 | have h_match : c' * L (g * (1, 1)) (posFockVector j (stackedDetProd e η)) = |
| 719 | (c • ℓ') (matchedPoly f j η) := by |
| 720 | refine hc' (fun y ↦ L (g * (y, 1))) (c • ℓ') h_equivariant (fun y Q hQ ↦ ?_) η |
| 721 | -- If `y` carries `Q₀` to `Q`, this is the hypothesis at `g * (y, 1)`. |
| 722 | have h_translate (x : G E (blockSigns f)) : |
| 723 | modKernel V' W α α 𝔪 Ψ Q₀ x (g * (y, 1)) = modKernel V' W α α 𝔪 Ψ Q x g := by |
| 724 | simp [modKernel, modDatum, ← hQ, ← pairWeil_integrated_right α α, ← pairTheta_mul] |
| 725 | change L (g * (y, 1)) v = c * ℓ' Q |
| 726 | rw [hL, h_exchange, hℓ'] |
| 727 | simp only [h_translate] |
| 728 | rw [← integral_modKernel_stackedDetProd j W σ e h_tame η h_matched g, ← hℓ'] |
| 729 | rw [hL, Prod.mk_one_one, mul_one] at h_match |
| 730 | exact h_match |
| 731 | |
| 732 | /-- Explicit exchange of theta kernels. Index types stand for their cardinalities. Let `W` of rank |
| 733 | `n` and `V'` of rank `b` both have `l` negative signs (`j : m ⊕ l ≃ n` and `f : p ⊕ l ≃ b` split |
| 734 | their bases by sign), let `I_a` be the positive definite standard space, and let `n = b + a` (by |
| 735 | `σ`), `a = b + 2 d` and `n = 2 l + 2 s₀` with `s₀ ≥ 1`; `e : p ⊕ a ≃ m` orders the columns of the |
| 736 | determinants, of which `ι τ` indexes those at the place `τ`. The kernels carry the standard |
| 737 | characters: `υ ^ l` for `W` and `V'`, and `1` for `I_a`, where `υ` is `upsilonU1`, the character of |
| 738 | the Weil data on `U(1)`. |
| 739 | |
| 740 | There are numbers `C > 0` and `c'`, possibly `c' = 0`, such that every character `α` of weight |
| 741 | `-card (ι τ)` that is tamely ramified exactly at the places of `𝔪 ≠ 1`, with character `χ` of the |
| 742 | residue ring, has a number `c` with (a) and (b). (a) `‖c‖² = C * lValueProd 𝔪.places ν⁻¹ d ≠ 0` for |
| 743 | `ν = α / υ ^ s₀`. Here `lValueProd 𝔪.places μ d`, for a character `μ`, is the norm factor |
| 744 | `(∏_{w ∣ 𝔪} Nw) ^ (d ^ 2)` times `∏_{1 ≤ z ≤ d} |L^S(z, μ)| ^ 2`, where `L^S(z, μ)` is the Euler |
| 745 | product at `z` of the base change of `μ` outside the places `S` of `𝔪` and their conjugates. |
| 746 | (b) For all matrices `η`, all `g` and all matched functions `Φ`, `Ψ` for `χ⁻¹` (`AreMatched`: for |
| 747 | invertible `k` modulo `𝔪` they vanish off the rows `a` of `k⁻¹` and the columns `b` of `k` |
| 748 | respectively, with `Φ = χ⁻¹ (det k) Ψ` there), the number `c'` times the class sum at the level |
| 749 | `stdLevel E a` over finite points `h` of `U(I_a)` of `α (det h)` times the kernel of `(W, I_a)` with |
| 750 | data `Φ`, `stackedDetProd e η` (read in the variables `a × n` through `j`) equals `c α (det g)` |
| 751 | times the integral over `x` in `U(V')` of `α (det x)⁻¹` times the kernel of `(V', W)` with data `Ψ`, |
| 752 | `matchedPoly f j η`. The first polynomial is the product of the determinants of `η τ k` stacked over |
| 753 | the `a × m` matrix of variables; the second is the product of the `det (η τ k * y_τ)`, for `y_τ` the |
| 754 | `m × p` block of variables with positive signs, and of powers of the determinants of the `l × l` |
| 755 | blocks with negative signs. -/ |
| 756 | theorem exists_stdClassSum_eq_mul_integral_modKernel (j : m ⊕ l ≃ n) (W : Space E n (blockSigns j)) |
| 757 | (f : p ⊕ l ≃ b) (V' : Space E b (blockSigns f)) (σ : b ⊕ a ≃ n) (e : p ⊕ a ≃ m) |
| 758 | {d s₀ : ℕ} (hd : card a = card b + 2 * d) |
| 759 | (hs₀ : card n = 2 * card l + 2 * s₀) (hs₀_pos : 1 ≤ s₀) |
| 760 | (ι : InfinitePlace E → Type) [∀ τ : InfinitePlace E, Fintype (ι τ)] : |
| 761 | ∃ C : ℝ, 0 < C ∧ ∃ c' : ℂ, |
| 762 | ∀ {𝔪 : Modulus E} {α : AutChar E} {χ : MulChar 𝔪.ResidueRing ℂ}, |
| 763 | IsTameFor 𝔪 α (fun τ : InfinitePlace E ↦ -card (ι τ)) χ → |
| 764 | ∃ c : ℂ, |
| 765 | -- (a) the size of `c` |
| 766 | ‖c‖ ^ 2 = C * lValueProd 𝔪.places (α / upsilonU1 ^ s₀)⁻¹ d ∧ |
| 767 | C * lValueProd 𝔪.places (α / upsilonU1 ^ s₀)⁻¹ d ≠ 0 ∧ |
| 768 | -- (b) the class sum for `I_a` against the integral over the group of `V'` |
| 769 | ∀ (η : (τ : InfinitePlace E) → ι τ → Matrix p m ℂ) (g : G E (blockSigns j)) |
| 770 | (Φ : Matrix a n 𝔪.ResidueRing → ℂ) (Ψ : Matrix n b 𝔪.ResidueRing → ℂ), |
| 771 | AreMatched ⊤ σ χ⁻¹ Φ Ψ → |
| 772 | c' * stdClassSum (stdLevel E a) (fun h : Gf E a ↦ |
| 773 | α.val (detFin (1 : a → ℤˣ) h) * |
| 774 | modKernelStdSpace W (upsilonU1 ^ card l) 1 𝔪 Φ |
| 775 | (renameRowsCols id (j ∘ Sum.inl) (stackedDetProd e η)) g h) = |
| 776 | c * α.val g.det * |
| 777 | ∫ x : G E (blockSigns f), |
| 778 | (α.val x.det : ℂ)⁻¹ * |
| 779 | modKernel V' W (upsilonU1 ^ card l) (upsilonU1 ^ card l) 𝔪 Ψ |
| 780 | (matchedPoly f j η) x g ∂V'.quotMeasure := by |
| 781 | -- The exchange identity for the polynomial `Q₀` of `exists_stdClassSum_eq_of_exchange` gives `C`, |
| 782 | -- a real datum `v` and `c`. That lemma moves it from `v`, `Q₀` to the products of determinants, |
| 783 | -- at the cost of the factor `c'`. |
| 784 | have h_card : card n = card b + card a := by rw [← card_congr σ, card_sum] |
| 785 | have h_neg : negCount (blockSigns j) = card l := by simp [negCount] |
| 786 | have h_nonempty : Nonempty a := card_pos_iff.1 (by omega) |
| 787 | obtain ⟨Q₀, h_transfer⟩ := exists_stdClassSum_eq_of_exchange f V' σ e j W ι |
| 788 | obtain ⟨C, hC, v, -, h_exch⟩ := |
| 789 | exchange_identity W (stdSpace E a) V' σ (by simp [negCount]) hd |
| 790 | (μ := fun τ : InfinitePlace E ↦ card (ι τ) + s₀) (by omega) (fun τ ↦ by omega) |
| 791 | fun k : ℕ ↦ fockMoment_polyVector_ne_top k Q₀ |
| 792 | obtain ⟨c', hc'⟩ := h_transfer v |
| 793 | refine ⟨C, hC, c', fun {𝔪 α χ} hα ↦ ?_⟩ |
| 794 | set ν : AutChar E := α / upsilonU1 ^ s₀ with hν |
| 795 | have h_tame_inv : IsTameFor 𝔪 ν⁻¹ (fun τ : InfinitePlace E ↦ card (ι τ) + s₀) χ⁻¹ := by |
| 796 | rw [hν, inv_div, div_eq_inv_mul] |
| 797 | simpa [Pi.add_def, Pi.neg_def] using hα.inv.mul (hasWeight_upsilonU1_pow s₀) |
| 798 | obtain ⟨c, hc_norm, h_size_ne, hc⟩ := h_exch 𝔪 ν⁻¹ χ⁻¹ h_tame_inv |
| 799 | refine ⟨c, hc_norm, h_size_ne, fun η g Φ Ψ h_matched ↦ ?_⟩ |
| 800 | -- In the exchange identity `W` and `V'` have the character `γ = υ ^ l α`, and `I_a` has `1`. |
| 801 | set γ : AutChar E := upsilonU1 ^ card l * α with hγ |
| 802 | have h_tame : IsTameFor 𝔪 γ (fun τ : InfinitePlace E ↦ card l - card (ι τ)) χ := by |
| 803 | rw [hγ, mul_comm] |
| 804 | simpa [Pi.add_def, neg_add_eq_sub] using hα.mul (hasWeight_upsilonU1_pow (card l)) |
| 805 | have h_rank : rankTwist ν⁻¹⁻¹ n = γ := by |
| 806 | rw [inv_inv, rankTwist, show card n / 2 = s₀ + card l by omega, pow_add, ← mul_assoc, hν, |
| 807 | div_mul_cancel, mul_comm] |
| 808 | have h_split : (1 : AutChar E).spaceChar (card a) * γ.spaceChar (card b) = ν⁻¹.baseChange⁻¹ := by |
| 809 | rw [← map_inv, ← spaceChar_rankTwist (n := n) ⟨card l + s₀, by omega⟩, h_rank, h_card] |
| 810 | simp [AutChar.spaceChar, pow_add, mul_comm (υ ^ card a)⁻¹, mul_assoc] |
| 811 | have h_exchange (y : G E (blockSigns j)) : |
| 812 | thetaIntegral W (stdSpace E a) γ 1 (modDatum W (stdSpace E a) 𝔪 Φ v) y = |
| 813 | c * ∫ x : G E (blockSigns f), modKernel V' W γ γ 𝔪 Ψ Q₀ x y ∂V'.quotMeasure := by |
| 814 | simpa only [h_rank, modKernel] using hc 1 γ h_split Φ Ψ h_matched y |
| 815 | -- Twisting the standard characters by `α` multiplies the kernels by values of `α`. |
| 816 | have h_left (Q : MvPolynomial (InfinitePlace E × a × n) ℂ) (h : Gf E a) : |
| 817 | α.val (detFin (1 : a → ℤˣ) h) * modKernelStdSpace W (upsilonU1 ^ card l) 1 𝔪 Φ Q g h = |
| 818 | modKernelStdSpace W γ 1 𝔪 Φ Q g h := by |
| 819 | simpa using (modKernel_twist W (stdSpace E a) (upsilonU1 ^ card l) 1 𝔪 α 1 Φ Q g (1, h)).symm |
| 820 | have h_right (Q : MvPolynomial (InfinitePlace E × n × b) ℂ) (x : G E (blockSigns f)) : |
| 821 | α.val g.det * ((α.val x.det : ℂ)⁻¹ * |
| 822 | modKernel V' W (upsilonU1 ^ card l) (upsilonU1 ^ card l) 𝔪 Ψ Q x g) = |
| 823 | modKernel V' W γ γ 𝔪 Ψ Q x g := by |
| 824 | rw [modKernel_twist, div_eq_mul_inv, mul_assoc] |
| 825 | rw [mul_assoc c, ← integral_const_mul] |
| 826 | simp only [h_left, h_right] |
| 827 | exact hc' h_tame h_matched c h_exchange η g |
| 828 | |
| 829 | /-- Index types stand for their cardinalities. Let `W` of rank `n` and `V'` of rank `b` both have |
| 830 | `l` negative signs, let `I_a` be the positive definite standard space, and let `n = b + a` (by `σ`), |
| 831 | `a = b + 2 d` and `2 l + 2 ≤ n`; `e : p ⊕ a ≃ m` orders the columns of the determinants. The finite |
| 832 | sets `ι τ` index the determinants at the infinite place `τ`, and `η` gives one `p × m` matrix for |
| 833 | each of them. |
| 834 | |
| 835 | There is a number `C`, which may be `0`, with the following property. Every character `α` of weight |
| 836 | `l - card (ι τ)` that is tame for `(𝔪, χ)` has a number `c` with (a) and (b). (a) |
| 837 | `‖c‖² = C / lValueProd 𝔪.places μ d` for `μ = α⁻¹ υ ^ (b + d)`, where `υ` is `upsilonU1`, the |
| 838 | character of the Weil data on `U(1)`, and the denominator, which is non-zero here, is `(∏_{w ∣ 𝔪} |
| 839 | Nw) ^ (d ^ 2) * ∏_{1 ≤ z ≤ d} |L^S(z, μ)| ^ 2`, with `L^S` the Euler product of the base change of |
| 840 | `μ` outside the places `S` of `𝔪` and their conjugates. (b) Let `η`, `β`, `g` be given and let `Φ`, |
| 841 | `Ψ` be matched functions for `χ⁻¹` (`AreMatched`: for invertible `k` modulo `𝔪` they vanish off the |
| 842 | rows `a` of `k⁻¹` and the columns `b` of `k` respectively, with `Φ = χ⁻¹ (det k) Ψ` there). Then `c` |
| 843 | times the class sum over `U(I_a)` of the kernel of `(W, I_a)` with characters `α`, `β` and data `Φ`, |
| 844 | `stackedDetProd e η` equals the integral over `U(V')` of the kernel of `(V', W)` with characters |
| 845 | `α / β`, `α` and data `Ψ`, `matchedPoly f j η`. -/ |
| 846 | lemma exists_mul_stdClassSum_eq_integral_modKernel {s : n → ℤˣ} (W : Space E n s) (f : p ⊕ l ≃ b) |
| 847 | (V' : Space E b (blockSigns f)) (σ : b ⊕ a ≃ n) (e : p ⊕ a ≃ m) (j : m ⊕ l ≃ n) |
| 848 | (hj : s = blockSigns j) {d : ℕ} (hd : card a = card b + 2 * d) (hn : 2 * card l + 2 ≤ card n) |
| 849 | (ι : InfinitePlace E → Type) [∀ τ : InfinitePlace E, Fintype (ι τ)] : |
| 850 | ∃ C : ℝ, |
| 851 | ∀ {𝔪 : Modulus E} {α : AutChar E} {χ : MulChar 𝔪.ResidueRing ℂ}, |
| 852 | IsTameFor 𝔪 α (fun τ : InfinitePlace E ↦ card l - card (ι τ)) χ → |
| 853 | ∃ c : ℂ, |
| 854 | -- (a) the size of the constant |
| 855 | ‖c‖ ^ 2 = C / lValueProd 𝔪.places (α⁻¹ * upsilonU1 ^ (card b + d)) d ∧ |
| 856 | -- (b) `c` times the class sum for `I_a` is the integral over the group of `V'` |
| 857 | ∀ (η : (τ : InfinitePlace E) → ι τ → Matrix p m ℂ) |
| 858 | {Φ : Matrix a n 𝔪.ResidueRing → ℂ} {Ψ : Matrix n b 𝔪.ResidueRing → ℂ}, |
| 859 | AreMatched ⊤ σ χ⁻¹ Φ Ψ → |
| 860 | ∀ (β : AutChar E) (g : G E s), |
| 861 | c * stdClassSum (stdLevel E a) (fun h : Gf E a ↦ |
| 862 | modKernelStdSpace W α β 𝔪 Φ (renameRowsCols id (j ∘ Sum.inl) (stackedDetProd e η)) g |
| 863 | h) = |
| 864 | ∫ x : G E (blockSigns f), |
| 865 | modKernel V' W (α / β) α 𝔪 Ψ (matchedPoly f j η) x g ∂V'.quotMeasure := by |
| 866 | -- Apply `exists_stdClassSum_eq_mul_integral_modKernel` to `α₀ = α / υ ^ l` and divide by `c₀`; |
| 867 | -- both kernels differ from the standard ones by values of `α₀` and by `β (det g)⁻¹`. |
| 868 | subst hj |
| 869 | have h_card : card n = card b + card a := by rw [← card_congr σ, card_sum] |
| 870 | obtain ⟨s₀, hs₀⟩ : ∃ s₀ : ℕ, card b + d = s₀ + card l := ⟨card b + d - card l, by omega⟩ |
| 871 | obtain ⟨C, -, c', h_data⟩ := |
| 872 | exists_stdClassSum_eq_mul_integral_modKernel j W f V' σ e hd (s₀ := s₀) (by omega) (by omega) ι |
| 873 | refine ⟨‖c'‖ ^ 2 / C, fun {𝔪 α χ} hα ↦ ?_⟩ |
| 874 | obtain ⟨α₀, rfl⟩ : ∃ α₀, α = upsilonU1 ^ card l * α₀ := ⟨_, (mul_inv_cancel_left _ α).symm⟩ |
| 875 | have h_tame : IsTameFor 𝔪 α₀ (fun τ : InfinitePlace E ↦ -card (ι τ)) χ := by |
| 876 | -- Multiplying `α` by `υ ^ (-l)` lowers its weight by `l` and leaves the tame part. |
| 877 | simpa [Pi.add_def, sub_add_eq_add_sub, zpow_neg, mul_comm (upsilonU1 ^ card l) α₀] using |
| 878 | hα.mul (hasWeight_upsilonU1_zpow (-card l)) |
| 879 | obtain ⟨c₀, hc₀_norm, h_size_ne, hc₀⟩ := h_data h_tame |
| 880 | have h_char : (upsilonU1 ^ card l * α₀)⁻¹ * upsilonU1 ^ (card b + d) = |
| 881 | (α₀ / upsilonU1 ^ s₀)⁻¹ := by |
| 882 | rw [hs₀, pow_add, inv_div, mul_inv, mul_comm (upsilonU1 ^ s₀), mul_mul_mul_comm, |
| 883 | inv_mul_cancel, one_mul, div_eq_inv_mul] |
| 884 | have hc₀_ne : c₀ ≠ 0 := fun h_zero ↦ h_size_ne (hc₀_norm.symm.trans (by simp [h_zero])) |
| 885 | refine ⟨c' / c₀, ?_, fun η Φ Ψ h_matched β g ↦ ?_⟩ |
| 886 | · rw [norm_div, div_pow, hc₀_norm, div_div, h_char] |
| 887 | have h_left (Q : MvPolynomial (InfinitePlace E × a × n) ℂ) (h : Gf E a) : |
| 888 | modKernelStdSpace W (upsilonU1 ^ card l * α₀) β 𝔪 Φ Q g h = |
| 889 | (β.val g.det : ℂ)⁻¹ * |
| 890 | (α₀.val (detFin (1 : a → ℤˣ) h) * modKernelStdSpace W (upsilonU1 ^ card l) 1 𝔪 Φ Q g |
| 891 | h) := by |
| 892 | simpa [div_eq_inv_mul, mul_assoc] using |
| 893 | modKernel_twist W (stdSpace E a) (upsilonU1 ^ card l) 1 𝔪 α₀ β Φ Q g (1, h) |
| 894 | have h_right (Q : MvPolynomial (InfinitePlace E × n × b) ℂ) (x : G E (blockSigns f)) : |
| 895 | modKernel V' W (upsilonU1 ^ card l * α₀ / β) (upsilonU1 ^ card l * α₀) 𝔪 Ψ Q x g = |
| 896 | (β.val g.det : ℂ)⁻¹ * α₀.val g.det * ((α₀.val x.det : ℂ)⁻¹ * |
| 897 | modKernel V' W (upsilonU1 ^ card l) (upsilonU1 ^ card l) 𝔪 Ψ Q x g) := by |
| 898 | rw [mul_div_assoc, modKernel_twist, div_eq_mul_inv] |
| 899 | simp [div_eq_inv_mul, mul_assoc] |
| 900 | simp only [h_left, h_right, ← mul_classSum, integral_const_mul] |
| 901 | -- By `hc₀` the class sum, times `c'`, is `c₀ α₀ (det g)` times the integral, and `c₀` cancels. |
| 902 | calc |
| 903 | _ = (β.val g.det : ℂ)⁻¹ / c₀ * (c' * classSum (stdSpace E a).Γf (stdLevel E a) fun h : Gf E a ↦ |
| 904 | α₀.val (detFin (1 : a → ℤˣ) h) * modKernelStdSpace W (upsilonU1 ^ card l) 1 𝔪 Φ |
| 905 | (renameRowsCols id (j ∘ Sum.inl) (stackedDetProd e η)) g h) := by ring |
| 906 | _ = (β.val g.det : ℂ)⁻¹ / c₀ * (c₀ * α₀.val g.det * ∫ x : G E (blockSigns f), |
| 907 | (α₀.val x.det : ℂ)⁻¹ * modKernel V' W (upsilonU1 ^ card l) (upsilonU1 ^ card l) 𝔪 Ψ |
| 908 | (matchedPoly f j η) x g ∂V'.quotMeasure) := by rw [hc₀ η g Φ Ψ h_matched] |
| 909 | _ = _ := by field_simp |
| 910 | |
| 911 | /-- Let `b` be empty, so that `σ` identifies `a` with `n`. The functions `χ ∘ det` on `a × n` |
| 912 | matrices and `1` on `n × b` matrices are matched functions for `χ⁻¹` (`AreMatched`): they live on |
| 913 | the rows of the inverses and on the columns of invertible matrices, with values differing by `χ⁻¹` |
| 914 | of the determinant. -/ |
| 915 | lemma areMatched_det_one [IsEmpty b] (σ : b ⊕ a ≃ n) {R : Type} [CommRing R] (χ : MulChar R ℂ) : |
| 916 | AreMatched ⊤ σ χ⁻¹ (fun x : Matrix a n R ↦ χ (x.submatrix id (σ ∘ Sum.inr)).det) |
| 917 | (1 : Matrix n b R → ℂ) := by |
| 918 | -- These are the matched functions of `areMatched_block` for the constant function `1`. |
| 919 | have h_row : (fun x : Matrix a n R ↦ χ (x.submatrix id (σ ∘ Sum.inr)).det) = |
| 920 | blockRowDatum σ χ⁻¹ 1 := by |
| 921 | simp [funext_iff, blockRowDatum, Matrix.toCols₂, Matrix.submatrix] |
| 922 | have h_col : (1 : Matrix n b R → ℂ) = blockColDatum σ χ⁻¹ 1 := by |
| 923 | simp [funext_iff, blockColDatum, Matrix.det_isEmpty] |
| 924 | simpa only [h_row, h_col] using areMatched_block σ χ⁻¹ 1 |
| 925 | |
| 926 | omit [WeilData E] in |
| 927 | /-- Let `V'` be a hermitian space over the CM field `E` of rank zero (`b` is empty), with signs `t` |
| 928 | at the infinite places. The quotient of its adelic unitary group `G E t` by the rational points, |
| 929 | with the measure `quotMeasure`, has volume `1`. -/ |
| 930 | lemma integral_one_quotMeasure_of_isEmpty [IsEmpty b] {t : b → ℤˣ} (V' : Space E b t) : |
| 931 | ∫ _ : G E t, (1 : ℂ) ∂V'.quotMeasure = 1 := by |
| 932 | -- The space is definite, so the volume is a class sum; the group is trivial, so there is one |
| 933 | -- class, with one automorphism. |
| 934 | obtain rfl : t = 1 := Subsingleton.elim t 1 |
| 935 | have h_sub : Subsingleton (DoubleCoset.Quotient (V'.Γf : Set (Gf E b)) (stdLevel E b)) := |
| 936 | Quotient.mk''_surjective.subsingleton |
| 937 | let h_class : Unique (DoubleCoset.Quotient (V'.Γf : Set (Gf E b)) (stdLevel E b)) := |
| 938 | uniqueOfSubsingleton (DoubleCoset.mk V'.Γf (stdLevel E b) 1) |
| 939 | have h_left : V'.Γ.FixesLeft (fun _ : G E (1 : b → ℤˣ) ↦ (1 : ℂ)) := fun _ _ _ ↦ rfl |
| 940 | have h_level : stdLevel E b ≤ rightStabilizer fun _ : Gf E b ↦ (1 : ℂ) := fun _ _ _ ↦ rfl |
| 941 | rw [integral_quotMeasure_eq_classSum h_left (by simp) (stdLevel E b) h_level |
| 942 | continuous_const, classSum, finsum_unique, Nat.card_unique] |
| 943 | simp |
| 944 | |
| 945 | omit [WeilData E] [DecidableEq n] [Fintype b] [DecidableEq b] in |
| 946 | /-- For `b` empty the polynomial `matchedPoly` is `1`, being a product of empty determinants. -/ |
| 947 | lemma matchedPoly_of_isEmpty [IsEmpty b] (f : p ⊕ l ≃ b) (j : m ⊕ l ≃ n) |
| 948 | {ι : InfinitePlace E → Type} [∀ τ : InfinitePlace E, Fintype (ι τ)] |
| 949 | (η : (τ : InfinitePlace E) → ι τ → Matrix p m ℂ) : |
| 950 | matchedPoly f j η = 1 := by |
| 951 | have hp : IsEmpty p := Function.isEmpty (f ∘ Sum.inl) |
| 952 | have hl : IsEmpty l := Function.isEmpty (f ∘ Sum.inr) |
| 953 | simp [matchedPoly, pairedDetProd, variableMinor, Matrix.det_isEmpty] |
| 954 | |
| 955 | /-- Let `V'`, `W` be hermitian spaces over the CM field `E` with signs `t`, `s` at the infinite |
| 956 | places, and let `V'` have rank zero. The theta kernel `modKernel` of `(V', W)` twisted by the |
| 957 | characters `α`, `β` of the norm-one ideles, for the constant function `1` modulo `𝔪` and the |
| 958 | constant polynomial `1`, takes the value `α (det g)` at `(x, g)`: the theta series is a sum over |
| 959 | the zero space. -/ |
| 960 | lemma modKernel_one_of_isEmpty [IsEmpty b] {t : b → ℤˣ} {s : n → ℤˣ} (V' : Space E b t) |
| 961 | (W : Space E n s) (α β : AutChar E) (𝔪 : Modulus E) (x : G E t) (g : G E s) : |
| 962 | modKernel V' W α β 𝔪 1 1 x g = α.val g.det := by |
| 963 | obtain rfl : x = 1 := Subsingleton.eq_one x |
| 964 | have h_triv : G.onHom ((1 : G E t), g) = 1 := Subsingleton.eq_one _ |
| 965 | -- The datum is the vacuum, and the only lattice vector is `0`. |
| 966 | have h_vac : (V'.hom W).vacElem 0 = 1 := by |
| 967 | simp [vacElem_apply_eq_prod_lineTheta, funext_iff, Fintype.prod_empty] |
| 968 | simp [modKernel, modDatum, pairTheta, pairWeil, h_triv, h_vac, Modulus.liftFn_one, |
| 969 | schrodingerOp_boxIndicator, Modulus.isConjDisjoint_places] |
| 970 | |
| 971 | /-- For a space `V'` of rank zero and a hermitian space `W` with signs `s`, the integral over the |
| 972 | quotient of `U(V')` by its rational points (`quotMeasure`) of `α (det x)⁻¹` times the theta kernel |
| 973 | `modKernel` of `(V', W)` at `(x, g)`, with both characters `υ ^ l` (`upsilonU1` is `υ`) and data the |
| 974 | constant function `1` modulo `𝔪` and `matchedPoly f j η` (here the constant polynomial `1`), is |
| 975 | `1`. -/ |
| 976 | lemma integral_modKernel_matchedPoly_of_isEmpty [IsEmpty b] {s : n → ℤˣ} (W : Space E n s) |
| 977 | (f : p ⊕ l ≃ b) (V' : Space E b (blockSigns f)) (j : m ⊕ l ≃ n) {𝔪 : Modulus E} |
| 978 | (α : AutChar E) {ι : InfinitePlace E → Type} [∀ τ : InfinitePlace E, Fintype (ι τ)] |
| 979 | (η : (τ : InfinitePlace E) → ι τ → Matrix p m ℂ) (g : G E s) : |
| 980 | ∫ x : G E (blockSigns f), |
| 981 | (α.val x.det : ℂ)⁻¹ * |
| 982 | modKernel V' W (upsilonU1 ^ card l) (upsilonU1 ^ card l) 𝔪 1 (matchedPoly f j η) x g |
| 983 | ∂V'.quotMeasure = 1 := by |
| 984 | have hl : IsEmpty l := Function.isEmpty (f ∘ Sum.inr) |
| 985 | have h_integrand (x : G E (blockSigns f)) : (α.val x.det : ℂ)⁻¹ * |
| 986 | modKernel V' W (upsilonU1 ^ card l) (upsilonU1 ^ card l) 𝔪 1 (matchedPoly f j η) x g = 1 := by |
| 987 | simp [matchedPoly_of_isEmpty, modKernel_one_of_isEmpty, Subsingleton.eq_one x] |
| 988 | simpa only [h_integrand] using integral_one_quotMeasure_of_isEmpty V' |
| 989 | |
| 990 | end New.Rows |
| 991 | |
| 992 | end ExplicitMatching |
| 993 | |
| 994 | end |