Choose a statement on the pages, or with the arrows above, to see its structured proof and its Lean text here.
For a commutative ring R, finite types r and N, an embedding e \colon r \hookrightarrow N and an N\times N matrix z over R, FixesColsOff e z is the proposition z\cdot(1 - I_e\cdot I_e^{\mathsf{T}}) = 1 - I_e\cdot I_e^{\mathsf{T}}, where I_e = inclMatrix R e is the N\times r matrix whose j-th column is the standard basis vector of index e(j). Since 1 - I_e\cdot I_e^{\mathsf{T}} is the diagonal projection onto the coordinates outside e(r), this says: every column of z whose index is not in the image of e is the corresponding column of the identity matrix.
New/Rows/PartnerCut.lean · the statement, line 16abbrev FixesColsOff z :=
For commutative rings R and S, finite types r and N, a type c, a ring homomorphism \varphi \colon R \to S, a c\times N matrix w over S and an embedding e \colon r \hookrightarrow N, rowStabilizer \varphi w e is the subgroup of \mathrm{GL}_N(R) whose elements are the invertible matrices A with FixesColsOff e A (the columns of A outside the image of e are those of the identity) and w\cdot \varphi(A) = w, where \varphi(A) applies \varphi to each entry. Lean builds it as an intersection of a stabiliser and the preimage under \mathrm{GL}_N(\varphi) of the stabiliser of w for right multiplication, with its carrier replaced by (definitionally) this set.
New/Rows/PartnerCut.lean · the statement, line 21noncomputable def rowStabilizer : Subgroup (GL N R) := .copy (s := {A | FixesColsOff e A.1 ∧
For commutative rings R and S, finite types r and N, a type c, a multiplicative character \chi \colon R \to \mathbb{C}, a ring homomorphism \varphi \colon R \to S, a c\times N matrix w over S, an embedding e \colon r \hookrightarrow N and an N\times r matrix \sigma over R: columnDatum \chi \varphi w e \sigma = \chi(\det \sigma_e) if w\cdot \varphi(\sigma) = w\cdot I_e, and 0 otherwise. Here \sigma_e is the r\times r matrix of the rows e(r) of \sigma, \varphi(\sigma) applies \varphi to each entry, and I_e = inclMatrix S e is the N\times r matrix with columns the standard basis vectors of index e(j).
New/Rows/PartnerCut.lean · the statement, line 27noncomputable def columnDatum σ :=
Let R and S be commutative rings, r and N finite types, a and c types, \chi \colon R \to \mathbb{C} a multiplicative character, \varphi \colon R \to S a ring homomorphism, w a c\times N matrix over S and e \colon r \hookrightarrow N an embedding. Let F be a complex function on the N\times a matrices over R that is invariant under left multiplication by H = rowStabilizer \varphi w e (hF: F(A\cdot y) = F(y) for every A \in H and every y). Then for every N\times a matrix y over R and every N\times N matrix z over R: columnDatum \chi \varphi w e (z_e) \cdot (F(y) if FixesColsOff e z, else 0) = \chi(\det z)\cdot F(z^{-1}\cdot y) if z is the matrix of an element of H, and 0 otherwise. Here z_e is the N\times r matrix of the columns e(r) of z and z^{-1} the inverse matrix.
New/Rows/PartnerCut.lean · the statement, lines 33–35lemma columnDatum_mul_ite_eq {F : _ → ℂ} (hF : ∀ A ∈ rowStabilizer φ w e, ∀ y, F (A.1 * y) = F y) (y : Matrix N a R) z : columnDatum χ φ w e (z.submatrix id e) * ite (FixesColsOff e z) (F y) 0 = ite (∃ Z ∈ rowStabilizer φ w e, Z = z) (χ z.det * F (z⁻¹ * y)) 0 := by
For finite types \Phi and n, a proposition p, a weight \kappa (for each place \tau \in \Phi a function \mathbb{N} \to \mathbb{N} of column multiplicities), a polynomial F and a real number b: HasWeightNormLe p \kappa F b means that there is a complex coordinate vector \xi, indexed by the standard fillings of weight \kappa, with toPoly n \kappa \xi = F (that is, F = \sum_i (G\xi)_i b_i, where b_i are the basis products of minors of weight \kappa and G = weylGram n \kappa is the integer Gram matrix of the reproducing kernel), and such that if p holds then weylNormSq \xi = \operatorname{Re}(\xi *\cdot G\cdot \xi) \le b.
New/Rows/SemiInvariantNorm.lean · line 11def HasWeightNormLe (p : Prop) κ F b := ∃ ξ, toPoly (Φ := Φ) n κ ξ = F ∧ (p → weylNormSq ξ ≤ b)
Let \Phi and n be finite types, p a proposition, \iota a type, s a finite subset of \iota, and for each i \in \iota a weight \kappa i, a polynomial F i and a real number b i. If HasWeightNormLe p (\kappa i) (F i) (b i) holds for every i \in s, then HasWeightNormLe p (\sum_{i\in s} \kappa i) (\prod_{i\in s} F i) (\prod_{i\in s} b i) holds: the product of the polynomials is the polynomial of a coordinate vector of the summed weight, whose squared norm is, when p holds, at most the product of the bounds.
New/Rows/SemiInvariantNorm.lean · the statement, lines 13–15lemma HasWeightNormLe.prod {p ι} {s : Finset ι} {κ F b} : (∀ i ∈ s, @HasWeightNormLe Φ n _ _ p (κ i) (F i) (b i)) → HasWeightNormLe p (s.sum κ) (s.prod F) (s.prod b) := s.induction_on (by simpa using ⟨weylEval _
For a CM number field E (instances Field E, NumberField E, IsCMField E), level places S of E and a finite type r: S.ChosenGL r is the finite group \prod_i \mathrm{GL}_r(k_{w_i}), the product over the chosen places w_i = S.chosenPlace i of S (the places of M) of the general linear groups over the residue fields k_{w_i}.
New/Rows/StackedDeterminants.lean · line 33abbrev LevelPlaces.ChosenGL (r : Type) [Fintype r] := ∀ i, GL r (ResField (S.chosenPlace i))
For a CM number field E, level places S, finite types r and n and an embedding u \colon r \hookrightarrow n, firstBlockHom S u is the group homomorphism from S.ChosenGL r = \prod_i \mathrm{GL}_r(k_{w_i}) to \prod_p \mathrm{GL}_n(k_p) (p over all places of S, chosen and twist) that sends g = (g_i) to the family whose component at the chosen place w_i is \operatorname{diag}(g_i, 1) (extendGL u: g_i acts on the basis vectors with index in u(r), the identity on the others) and whose component at every twist place is 1. Applied to an element g of S.ChosenGL r it gives that family.
New/Rows/StackedDeterminants.lean · the statement, line 40def firstBlockHom : S.ChosenGL r →* ∀ i, GL n (ResField (S.placeAt i)) :=
For a CM number field E, level places S, finite types r and n and an embedding u \colon r \hookrightarrow n, auxLevel S u is the subgroup of \prod_p \mathrm{GL}_n(k_p) (p over the places of S) of the families g such that: at every chosen place w_i, g_{w_i}\cdot I_u = I_u, i.e. g_{w_i} fixes each basis vector e_{u(j)} (I_u = inclMatrix k_{w_i} u, the n\times r matrix with columns e_{u(j)}); and at every twist place q, g_q lies in rangeParabolic u, i.e. the entries of g_q in the rows u(r) and the columns outside u(r) vanish, so g_q maps the span of the basis vectors with index outside u(r) into itself.
New/Rows/StackedDeterminants.lean · the statement, line 45def auxLevel : Subgroup (∀ i, GL n (ResField (S.placeAt i))) := pi .univ (rec
For types E, r and n, with E a field carrying a CM type (CMType E) and Weil data (WeilData E) and r, n finite, an auxiliary pair O : AuxPair E r n consists of: level places of E (it extends LevelPlaces E: finite index types and two families of finite places of E, the chosen places w_i, whose product is M, and the twist places q_j, whose product is Q, the joint family injective and no place conjugate to another); signs s = O.signs : r \to \{\pm 1\}; a hermitian space W = O.W of rank |r| with signs s (Space E r s: a matrix J over E and a point x \in \mathrm{GL}_r(\mathbb{A}_E) with x^{\mathsf{H}}\cdot J\cdot x equal to \operatorname{diag}(s) at the infinite places and to 1 at the finite places); an embedding incl : r \hookrightarrow n; a numbering \operatorname{ord} \colon r \to \mathbb{N}; column counts colsPlus, colsMinus : InfinitePlace E \to \mathbb{N} \to \mathbb{N} (the weights k^+, k^-: the number of columns of each height at each infinite place); a character \mu of U(1)(\mathbb{A}_E) trivial on U(1)(E) (AutChar E) together with a weight (an integer at each infinite place) and a tame part \psi (a character \psi_w of the residue field at each finite place w) such that \mu has this weight and tame part (hasWeight: almost all \psi_w are trivial and \mu(u) = \prod_v u_v^{\operatorname{weight}(v)}\cdot \prod_w \psi_w(u \text{ mod } w) for u with integral finite part); the condition \psi_w = 1 at every finite place w that is not a place of the level (tame_eq_one); and |r| < |n| (rank_lt).
New/Rows/StackedDeterminants.lean · the statement, line 58structure AuxPair extends LevelPlaces E where
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n : AuxPair E r n, O.levelGroup is the open compact subgroup of the finite adelic unitary group G_f of I_n consisting of the elements of K_0 (the stabiliser of the standard lattice) whose reductions at the places of O lie in auxLevel O.1 O.incl (levelOf): modulo each chosen place they fix the basis vectors indexed by O.incl, and modulo each twist place they preserve the span of the other basis vectors.
New/Rows/StackedDeterminants.lean · line 76abbrev levelGroup := levelOf _ (auxLevel O.1 O.incl)
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, and a family X of n\times r matrices X_p over the residue fields k_p at the places p of O: O.resDetDatum X = \prod_q \psi_q(\det X_{q, \operatorname{incl}}) over the twist places q if X_{w} = I_{incl} (the inclusion matrix of O.incl) at every chosen place w, and 0 otherwise. Here X_{q, \operatorname{incl}} is the r\times r matrix of the rows O.incl of X_q and \psi the tame part of the character \mu of O.
New/Rows/StackedDeterminants.lean · the statement, line 80def resDetDatum (X : ∀ i, Matrix n r (ResField (O.placeAt i))) := if ∀ i, X (inl i) =
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, O.κ is the weight of the forms on V = I_n: the column-count function (\tau, i) \mapsto k^+(\tau, i) + k^-(\tau, |n| - i) (mixedWeight, truncated subtraction), with k^+ = O.colsPlus and k^- = O.colsMinus.
New/Rows/StackedDeterminants.lean · line 84abbrev κ := mixedWeight n O.colsPlus O.colsMinus
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, and an infinite place \tau of E: O.detExp \tau = -\sum_{1 \le i < |n|} k^-(\tau, i), an integer, with k^- = O.colsMinus; the determinant exponent that completes the weight of the forms on V = I_n.
New/Rows/StackedDeterminants.lean · line 88abbrev detExp τ := -((∑ i ∈ .Ico 1 (card n), O.colsMinus τ i :) : ℤ)
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, O.auxLevelChar is the multiplicative map from the group auxLevel O.1 O.incl to \mathbb{C} sending g to \prod_q \psi_q^{-1}(\det g_{q, 00}) over the twist places q, where g_{q, 00} is the block of g_q with rows and columns indexed by O.incl and \psi the tame part of \mu. It is a homomorphism because on the parabolic subgroup rangeParabolic the block g_{00} of a product is the product of the blocks (proved inside the definition).
New/Rows/StackedDeterminants.lean · the statement, line 92def auxLevelChar : auxLevel O.1 O.incl →* ℂ :=
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, O.levelChar is the character of O.levelGroup obtained by reducing an element at the places of O (levelOf.reduction) and applying O.auxLevelChar.
New/Rows/StackedDeterminants.lean · line 98abbrev levelChar := O.auxLevelChar.comp (levelOf.reduction ..)
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, O.FormV is the complex vector space of algebraic forms on the definite space V = I_n of weight (O.κ, O.detExp) on which the level O.levelGroup acts through the character O.levelChar (LevelForm: the level cut out by auxLevel O.1 O.incl at the places of O, with character auxLevelChar).
New/Rows/StackedDeterminants.lean · line 102abbrev FormV := O.LevelForm _ O.auxLevelChar O.κ O.detExp
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, a complex vector space W (W an additive commutative group with a \mathbb{C}-module structure) and a complex representation \pi of the finite adelic unitary group G_f of I_n on W: O.chosenGLRep \pi is the representation of O.ChosenGL r = \prod_i \mathrm{GL}_r(k_{w_i}) on the subspace levelSpace \pi _ O.levelChar of the vectors v with \pi(k)v = \operatorname{levelChar}(k)\cdot v for k \in O.levelGroup, in which g acts by (\prod_i \psi_{w_i}(\det g_i)) times \pi of a lift to K_0 of the family firstBlockHom O.1 O.incl g (\operatorname{diag}(g_i, 1) at the chosen places, 1 at the twist places) (levelRep). The definition proves that this family normalises the level and preserves the character, and that the map is multiplicative.
New/Rows/StackedDeterminants.lean · the statement, lines 106–107def chosenGLRep {W} [AddCommGroup W] [Module ℂ W] (π : Representation ℂ _ W) : Representation ℂ (O.ChosenGL r) (levelSpace π _ O.levelChar) :=
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, O.formAction is the representation of O.ChosenGL r = \prod_i \mathrm{GL}_r(k_{w_i}) on the forms O.FormV given by O.chosenGLRep applied to the representation of G_f on algebraic forms by right translation: s acts by \prod_i \psi_{w_i}(\det s_i) times right translation by a lift of \operatorname{diag}(s, 1).
New/Rows/StackedDeterminants.lean · line 115def formAction : Representation ℂ (O.ChosenGL r) O.FormV := chosenGLRep ..
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, O.tensorPoly is the \mathbb{C}-linear map from complex functions on pairs (p, q) of standard fillings (rows n; p of weight k^+ = O.colsPlus, q of weight k^- = O.colsMinus) to complex polynomials in the variables X(\tau, i, a) (\tau an infinite place, i \in n, a \in r), sending the indicator of (p, q) to \operatorname{letterPoly}(+1, k^+)(\delta_p)\cdot \operatorname{letterPoly}(-1, k^-)(\delta_q). Here \operatorname{letterPoly}(c, k)(\xi) is the polynomial toPoly \xi of weight k in which each variable (\tau, i, h) is replaced by the sum of X(\tau, i, a) over the a \in r with O.signs a = c and O.ord a = h.
New/Rows/StackedDeterminants.lean · the statement, line 119def tensorPoly := Fintype.linearCombination ℂ fun p : WeylIndex n _ × WeylIndex n _ ↦
For a field E with a CM type, finite types r and n, an auxiliary pair O : AuxPair E r n, a coordinate vector a of weight k^+ = O.colsPlus and a coordinate vector b of weight k^- = O.colsMinus: O.tensorPoly applied to the vectorisation of the outer product b\cdot a^{\mathsf{T}} (the function (p, q) \mapsto a_p\cdot b_q) equals \operatorname{letterPoly}(+1, k^+)(a)\cdot \operatorname{letterPoly}(-1, k^-)(b). The proof expands a and b in the standard basis and multiplies out.
New/Rows/StackedDeterminants.lean · the statement, lines 124–126@[simp] lemma tensorPoly_vecMulVec a b : O.tensorPoly (vecMulVec b a).vec = letterPoly O.signs O.ord 1 _ a * letterPoly O.signs O.ord (-1) _ b := by rw [pi_eq_sum_univ' a, pi_eq_sum_univ' b]; simp [tensorPoly, linearCombination_apply,
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, O.harmonicPoly is the \mathbb{C}-linear map \xi \mapsto P_\xi from coordinate vectors of weight O.κ to polynomials: multiply \xi by the integer matrix of the chosen mixed Cartan embedding \Delta_\kappa \to \Delta_{k^+} \otimes \Delta_{k^-} (mixedCartan, cast to \mathbb{C}) and apply O.tensorPoly.
New/Rows/StackedDeterminants.lean · line 131def harmonicPoly := O.tensorPoly ∘ₗ ((mixedCartan ..).1.map (↑)).mulVecLin
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, O.a = \upsilon^{r_-}, the character of U(1)(\mathbb{A}_E)/U(1)(E) obtained from the splitting character \upsilon of the Weil data restricted to the norm-one ideles (\operatorname{upsilonU}_1), raised to the number r_- of indices with sign -1 in O.signs (negCount).
New/Rows/StackedDeterminants.lean · line 134abbrev a : AutChar E := upsilonU1 ^ negCount O.signs
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, O.b = \mu \cdot \upsilon^{\lfloor |n|/2\rfloor } (rankTwist), with \mu the character of O and \upsilon the restricted splitting character.
New/Rows/StackedDeterminants.lean · line 138abbrev b := rankTwist O.μ n
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, O.pairThetaKernel is the theta kernel of the dual pair (W, I_n) with characters O.a and O.b (pairThetaKer): the Weil representation \omega_{a, b} of U(W)(\mathbb{A}) \times U(I_n)(\mathbb{A}) on the Schwartz space \mathcal{S}(\operatorname{Hom}(W, I_n)) together with the theta functional.
New/Rows/StackedDeterminants.lean · line 142abbrev pairThetaKernel := pairThetaKer O.W (stdSpace E n) O.a O.b
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, O.auxDatum is the finite datum \Upsilon on \operatorname{Hom}(W, I_n) (vacuumDatum): the function on matrices modulo M^2Q (the modulus O.levelModulus 2) given by X \mapsto O.resDetDatum of the family of reductions of X at the places of O, named at the places of the modulus and applied to the vacuum at the other places.
New/Rows/StackedDeterminants.lean · the statement, line 146def auxDatum := delta% vacuumDatum O.W (stdSpace ..) (O.levelModulus 2)
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, and a coordinate vector \xi of weight O.κ: O.fockDatum \xi = v_{P_\xi } \otimes \Upsilon, the element of \mathcal{S}(\operatorname{Hom}(W, I_n)) obtained by the bilinear map integrated from the Fock vector of the polynomial P_\xi = O.harmonicPoly \xi and the finite datum \Upsilon = O.auxDatum.
New/Rows/StackedDeterminants.lean · line 151@[simp] abbrev fockDatum ξ := integrated _ (O.harmonicPoly ξ) O.auxDatum.1
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, a point g of the adelic unitary group U(W)(\mathbb{A}) and a point h of the finite adelic unitary group of I_n: O.conjKernel g h is the \mathbb{C}-linear form on coordinate vectors \xi of weight O.κ given by \xi \mapsto \operatorname{conj} \theta(\omega_{a, b}(g, (1, h))\cdot O.\operatorname{fockDatum}(\overline{\xi})), the complex conjugate of the theta kernel pairTheta with characters O.a, O.b at the point (g, (1, h)) applied to the datum of the conjugate vector \overline{\xi} (linear because the two conjugations cancel).
New/Rows/StackedDeterminants.lean · the statement, line 155def conjKernel g h := IsLinearMap.mk' (R := ℂ) (fun ξ ↦ conj
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, O.θ is the \mathbb{C}-linear map from forms \Xi \in O.FormV to complex functions on the adelic group G E O.signs (= U(W)(\mathbb{A})) given by \theta \Xi(g) = the class sum, at the level O.levelGroup, of h \mapsto O.conjKernel g h (\Xi(h)) (stdClassSum: the sum over the double cosets U(I_n)(E)\backslash G_f/O.\operatorname{levelGroup} of the value at a representative divided by the order of its stabiliser). Applied to \Xi and to a point g it gives \theta \Xi(g).
New/Rows/StackedDeterminants.lean · the statement, line 160def θ : O.FormV →ₗ[ℂ] G E O.signs → ℂ := by use ⟨fun Ξ g ↦ stdClassSum O.levelGroup fun h ↦
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, a finite place w of E that is split (hw: w \ne \overline{w}) and lies outside the places of O and their conjugates (hS), and X \in \mathbb{C}: O.heckePolyOnForms hw hS X is the endomorphism of O.FormV obtained by restricting the Hecke polynomial operator H_w(X) = \sum_{i=0}^{|n|} (-X)^i q^{i(i-1)/2} T_{w, i} on algebraic forms (q the norm of w, T_{w, i} the Hecke operators at w); the restriction is well defined because the forms of O.FormV are spherical at w and the Hecke operators preserve the level space (proved inside the definition).
New/Rows/StackedDeterminants.lean · the statement, line 167def heckePolyOnForms (X : ℂ) : Module.End ℂ O.FormV :=
Let E be a field with a CM type, r and n finite types, O : AuxPair E r n, w a finite place of E with w \ne \overline{w} (hw) and w not a place of O nor the conjugate of one (hS). If a form y \in O.FormV is spherical at w with Hecke polynomial p (h: IsSphericalWith for the right regular representation, i.e. y is fixed by K_0 at w and \overline{w} and H_w(T)y = p(T)\cdot y for every T \in \mathbb{C}), then for every X \in \mathbb{C}: O.heckePolyOnForms hw hS X y = p(X)\cdot y. (One step: the restriction commutes with the inclusion of the subspace, map_heckePolyOp, and h gives the value.)
New/Rows/StackedDeterminants.lean · the statement, lines 173–174lemma heckePolyOnForms_eq_smul {y p} (h : IsSphericalWith (rightRegular ..) hw p y.1.1) X : O.heckePolyOnForms hw hS X y = p X • y := Subtype.ext
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair (the argument, unnamed, of type AuxPair E r n): its rank difference |n| - |r| (truncated subtraction of natural numbers): the dimension of V = I_n minus that of W. It depends only on the types r and n.
New/Rows/StackedDeterminants.lean · line 178abbrev rankDiff (_ : AuxPair E r n) := card n - card r
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, and a finite place w of E: O.testValue w = (\nu_a(w)\cdot q_w^{(|n|-|r|) - 1})^{-1}, where \nu_a(w) = O.a.frobValue r w is the Frobenius value of the character O.a in rank |r| (\chi(\varpi_w)\cdot q_w^{|r|/2} for the Hecke character \chi attached to O.a and |r|, \varpi_w the chosen uniformiser), q_w the norm of w, and the exponent is O.rankDiff - 1 in truncated subtraction.
New/Rows/StackedDeterminants.lean · line 182def testValue w := (O.a.frobValue r w * w.q ^ (O.rankDiff - 1))⁻¹
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, a form y \in O.FormV and a function z assigning to each finite place w of E a sequence z(w) of complex numbers: O.Lifts y z means that for every finite place w of E with w \ne \overline{w} that is not a place of O nor the conjugate of one, y is spherical at w (IsSphericalWith, for the right regular representation) with Hecke polynomial T \mapsto \operatorname{trivialHecke}(q_w, |n|-|r|, \nu_a(w)\cdot T) \cdot H_{z(w)}(q_w^{|n|-|r|}\cdot \nu_a(w)/\nu_b(w)\cdot T), where \operatorname{trivialHecke}(q, k, X) = \prod_{0\le l<k}(1 - q^l\cdot X), H_{z(w)}(X) = heckePolyEval r w (z w) X = \sum_{i=0}^{|r|} (-X)^i q_w^{i(i-1)/2} z(w)_i, \nu_a(w) = O.a.frobValue r w and \nu_b(w) = O.b.frobValue n w.
New/Rows/StackedDeterminants.lean · the statement, line 186def Lifts (y : O.FormV) (z : _ → _) := ∀ w (hw : _ ≠ w), w ∉ O.places.conjClosure →
For a CM number field E (instances Field E, NumberField E, IsCMField E) and level places S of E: S.chosenModulusSq is the modulus M^2 (S.levelModulus 2 false), M the product of the prime ideals of the chosen places of S.
New/Rows/StackedDeterminants.lean · line 199abbrev LevelPlaces.chosenModulusSq (S : LevelPlaces E) := S.levelModulus 2 false
Let E be a CM number field, n, N and m finite types, R a commutative ring, f \colon \hat{O}_E \to R a ring homomorphism from the integral finite adeles, \varepsilon \colon N \oplus m \simeq n a bijection, and k \in K_0(N), l \in K_0(m) (K_0 the stabiliser of the standard lattice in the finite adelic unitary group of I_N, I_m). Then the block-diagonal element U.block \varepsilon(k, l) of the unitary group of I_n lies in K_0(n) (the witness h), and its image under Kf.map n f in \mathrm{GL}_n(R) equals the relabelling along \varepsilon (reindexGL) of the block-diagonal matrix \operatorname{diag}(Kf.map N f k, Kf.map m f l) (blockGL).
New/Rows/StackedDeterminants.lean · the statement, lines 201–202lemma map_block_eq_blockGL {R} [CommRing R] f ε (k : Kf E N) (l : Kf E m) : ∃ h, Kf.map (S := R) n f ⟨U.block ε (k, l), h⟩ = reindexGL ε (blockGL (Kf.map N f k, Kf.map m f l)) := by simp [mem_Kf,
For a CM number field E and level places S of E: the ideal M^2Q of the modulus S.levelModulus 2 is contained in the ideal M^2 of S.chosenModulusSq (multiplying by the ideal Q makes an ideal smaller).
New/Rows/StackedDeterminants.lean · the statement, line 205lemma levelModulus_ideal_le : (S.levelModulus 2).ideal ≤ S.chosenModulusSq.ideal :=
For a CM number field E, level places S of E and a natural number c \ne 0: the set of places dividing the modulus M^c (S.levelModulus c false) is the set of chosen places of S (the range of S.chosenPlace).
New/Rows/StackedDeterminants.lean · the statement, lines 208–209lemma places_levelModulus_false {c} [NeZero c] : (S.levelModulus c false).places = Set.range S.chosenPlace := Set.ext (by simp [Modulus.places, levelModulus,
For a CM number field E and level places S of E: \operatorname{reduceToR}_0 is the ring homomorphism from R_1 = O_E/M^2Q (the residue ring of S.levelModulus 2) to R_0 = O_E/M^2 (the residue ring of S.chosenModulusSq) induced by the inclusion of ideals M^2Q \subseteq M^2 (levelModulus_ideal_le).
New/Rows/StackedDeterminants.lean · the statement, line 213abbrev reduceToR₀ : (S.levelModulus 2).ResRing →+* S.chosenModulusSq.ResRing :=
For a CM number field E, a finite type n, level places S of E and B \in \mathrm{GL}_n(O_E/M^2) (M^2 = S.chosenModulusSq): the chosen lift liftMod B \in K_0 of B is supported on the chosen places, i.e. lies in supportedOn n (range of S.chosenPlace): its component is 1 at every finite place outside the chosen places and their conjugates.
New/Rows/StackedDeterminants.lean · lines 216–217lemma liftMod_mem_supportedOn (B : GL n S.chosenModulusSq.ResRing) : ↑(liftMod B) ∈ supportedOn n (Set.range S.chosenPlace) := by grind [places_levelModulus_false, liftMod]
For a CM number field E with a CM type, a finite type n, level places S of E, an element k of the finite adelic unitary group of I_n that is supported on the chosen places of S (h: k \in supportedOn n (range of S.chosenPlace)), and a twist index i: the component of k at the twist place S.twistPlace i is 1. (The twist places are neither chosen places nor their conjugates, by the apartness of S.)
New/Rows/StackedDeterminants.lean · lines 224–225lemma atPlace_twistPlace_eq_one {k} (h : k ∈ supportedOn n (Set.range S.chosenPlace)) i : k.atPlace (S.twistPlace i) = 1 := S.7.rec (by simp_all [eq_comm])
For a field E with a CM type, finite types r, n, N and m, a type a, an auxiliary pair O : AuxPair E r n and an embedding z \colon r \hookrightarrow m, a divided splitting V : DividedSplitting N m a O z consists of: a bijection \varepsilon \colon N \oplus m \simeq n (the field \varepsilon, which the structure extends); the compatibility \varepsilon(inr(z i)) = O.incl i for every i \in r (\varepsilon_\iota); embeddings fixedEmb : r \hookrightarrow N and dividedEmb : a \hookrightarrow N; and the condition low: HasColumnsBelow n N O.colsPlus and HasColumnsBelow n m O.colsMinus, i.e. |N| \le |n| and k^+(\tau, h) = 0 for |N| \le h < |n|, and |m| \le |n| and k^-(\tau, h) = 0 for |m| \le h < |n|, at every infinite place \tau (FitsRanks with the vanishing of the higher columns).
New/Rows/StackedDeterminants.lean · the statement, line 229structure DividedSplitting (z : r ↪ m) extends ε : N ⊕ m ≃ n where
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, O.genIdele is the chosen generator of the modulus M = O.levelModulus 1 false (Modulus.generator): an integral finite idele t of E, equal to 1 at the places not dividing M, such that t\cdot \hat{O} is the kernel of the chosen reduction \hat{O} \to O_E/M.
New/Rows/StackedDeterminants.lean · line 236def AuxPair.genIdele := (O.levelModulus 1 false).generator
For a field E with a CM type and Weil data, finite types r and n, and an auxiliary pair O : AuxPair E r n, O.genIntAdele is the idele O.genIdele regarded as an element of the ring \hat{O} of integral finite adeles of E (it is integral, by the specification of the generator).
New/Rows/StackedDeterminants.lean · line 240abbrev AuxPair.genIntAdele : Ô E := ⟨O.genIdele, (generator_spec _).1⟩
For a field E with a CM type, finite types r and n, an auxiliary pair O : AuxPair E r n and a finite place w of E that is not a chosen place of O: the component at w of the generator O.genIdele is 1.
New/Rows/StackedDeterminants.lean · lines 244–245lemma genIdele_apply_of_notMem {w} : w ∉ Set.range O.chosenPlace → O.genIdele.1 w = 1 := by simp_all [generator_spec, AuxPair.genIdele, places_levelModulus_false]
For a field E with a CM type, finite types r and n, an auxiliary pair O : AuxPair E r n, a natural number c and an integral finite adele x \in \hat{O}_E: x reduces to 0 modulo M^c (the chosen reduction of O.levelModulus c false) if and only if t^{-c}\cdot x lies in \hat{O}_E, where t = O.genIdele is the chosen generator of M.
New/Rows/StackedDeterminants.lean · the statement, lines 247–248lemma reduction_levelModulus_eq_zero_iff {c x} : (O.levelModulus c false).reduction x = 0 ↔ O.genIdele⁻¹.1 ^ c * x ∈ Ô E := by have := (O.levelModulus 1).2; simp_all [↓generator_spec, mem_Ô,
For a field E with a CM type and Weil data, finite types r, n, N and m, a type a, an auxiliary pair O : AuxPair E r n, an embedding z \colon r \hookrightarrow m and a divided splitting (the argument, unnamed, of type DividedSplitting N m a O z): its genResidue is the image \overline{t} in R_0 = O_E/M^2 (the residue ring of O.chosenModulusSq) of the integral generator t = O.genIntAdele of M under the chosen reduction \hat{O} \to O_E/M^2. It depends on O only.
New/Rows/StackedDeterminants.lean · line 256abbrev genResidue (_ : DividedSplitting N m a O z) := O.chosenModulusSq.reduction O.genIntAdele
Let E be a field with a CM type, r, n, N, m finite types, a a type, O : AuxPair E r n, z \colon r \hookrightarrow m and V a divided splitting (DividedSplitting N m a O z); let k and c be types, S a k\times c matrix over R_1 = O_E/M^2Q (the residue ring of O.levelModulus 2) and u \colon c \to k. Then \overline{t}\cdot(S reduced to R_0) = \overline{t}\cdot I_u in R_0 = O_E/M^2 (\overline{t} = V.genResidue, reduction by \operatorname{reduceToR}_0, I_u = inclMatrix u) if and only if for every chosen place w_i of O the reduction of S to the residue field k_{w_i} equals I_u.
New/Rows/StackedDeterminants.lean · the statement, lines 258–260lemma genResidue_smul_eq_iff {k c} (S : Matrix k c (O.levelModulus 2).ResRing) u : V.genResidue • S.map reduceToR₀ = V.genResidue • inclMatrix _ u ↔ ∀ i, S.map (levelResidueAt (inl i)) = inclMatrix _ u := by
For types \Phi, l, n and n' (l \text{ and } n' finite), a point \tau \in \Phi, a complex l\times n matrix \eta and a map j \colon l \oplus n' \to n: stackedDet \tau \eta j is the complex polynomial \det(((\eta over x_\tau))_{\operatorname{columns} j}): the determinant of the square matrix indexed by l \oplus n' whose rows are those of \eta (as constants) followed by those of the n'\times n matrix x_\tau of variables X(\tau, b, c), restricted to the columns j(l \oplus n').
New/Rows/StackedDeterminants.lean · line 277def stackedDet := (((η.map C).fromRows (of fun a b ↦ X (τ, a, b))).submatrix id j).det
For a CM number field E (instances Field E, NumberField E, IsCMField E): unitModulus E is the trivial modulus of E, whose ideal is the whole ring of integers O_E.
New/Rows/StackedDeterminants.lean · line 280abbrev unitModulus : Modulus E := ⟨⊤, top_ne_bot, (by simp [·.2.1])⟩
For a field E with a CM type and Weil data and a natural number m: carrierForm E m is the carrier, the theta lift (Space.lift) of the constant function 1 from the negative definite space -I_m to the space with signs (+1 \text{ on } \operatorname{Fin} (2m), -1 \text{ on } \operatorname{Fin} m) (signedSpace, signature (2m, m)), for the theta kernel pairThetaKer with characters \upsilon^m and 1, and the datum modDatum with the trivial modulus unitModulus E, the constant function 1 on matrices and the Fock vector of the polynomial \prod_\tau \det(y^-_\tau)^{2m}, where \det(y^-_\tau) = letterMinor \tau inr \operatorname{id} is the m\times m minor of the variable matrix at \tau in the rows of the negative block. It is a complex function on the adelic unitary group of the target space.
New/Rows/StackedDeterminants.lean · the statement, line 289def carrierForm := Space.lift (pairThetaKer (stdSpace ..).neg (signedSpace E (1 ⊕ᵥ -1 :
For a field E with a CM type and Weil data, a finite type n', a natural number m, a character c of U(1)(\mathbb{A}_E)/U(1)(E) and a point h of the finite adelic unitary group of I_{n'}: carrierXi m c h = \Xi^{\circ}(h) is the class sum, over the double cosets U(I_m)(E)\backslash G_f(I_m)/K_0 (level K_0 = Kf E (\operatorname{Fin} m)), of k \mapsto \theta^{I_m, I_{n'}}_{c, 1}[1, 1]((1, k), (1, h)): the theta kernel modKernelI of the pair (I_m, I_{n'}) with characters c and 1, the trivial modulus unitModulus E, the constant datum 1 and the polynomial 1, at the point with infinite component 1 and finite component k on U(I_m) and (1, h) on U(I_{n'}).
New/Rows/StackedDeterminants.lean · the statement, line 297def carrierXi c h :=
For finite types a, L and N, a bijection e \colon L \simeq a \oplus N and a complex L\times N matrix Z, there are a complex a\times L matrix Y and a complex number \gamma such that, for every complex L\times a matrix X, \det([X | Z]_e) = \gamma \cdot \det((Y\cdot X)^{\mathsf{T}}), and |\gamma |^2\cdot |\det(Y\cdot Y^{\mathsf{H}})| \le |\det(Z^{\mathsf{H}}\cdot Z)|. Here [X | Z]_e is the L\times L matrix whose columns are those of X and Z, in the order given by e.
New/Rows/StackedDeterminants.lean · the statement, lines 304–305lemma exists_det_fromCols (e : L ≃ a ⊕ N) Z : ∃ (Y : Matrix a L ℂ) (γ : ℂ), (∀ X, ((fromCols X Z).submatrix id e).det = γ * (Y * X)ᵀ.det) ∧ ‖γ‖ ^ 2 * ‖(Y * Yᴴ).det‖ ≤ ‖(Zᴴ * Z).det‖ :=
For finite types \Phi, N and L, a family c of complex N\times N matrices and a family g of complex L\times L matrices indexed by \Phi: twoSidedSubst c g is the \mathbb{C}-algebra endomorphism of the polynomial ring in the variables X(\tau, a, b) (\tau \in \Phi, a \in N, b \in L) sending X(\tau, a, b) to \sum_{i, j} c_\tau(i, a)\cdot g_\tau(b, j)\cdot X(\tau, i, j); on the matrix x_\tau of variables at \tau it is the substitution x_\tau \mapsto c_\tau^{\mathsf{T}}\cdot x_\tau \cdot g_\tau^{\mathsf{T}}.
New/Rows/StackedDeterminants.lean · the statement, line 317abbrev twoSidedSubst := aeval (R := ℂ) fun (τ, a, b) ↦ ∑ i, ∑ j,
For finite types \Phi, N and L and a natural number p, inFirstCols is the \mathbb{C}-algebra map from polynomials in the variables X(\tau, a, b) (\tau \in \Phi, a \in N, b \in \operatorname{Fin} p \oplus L) to polynomials in the variables y_{(\tau, a), k} (rows (\tau, a), columns k \in \mathbb{N}) whose coefficients are polynomials in the variables X(\tau, a, b'), b' \in L: it sends X(\tau, a, inl k) to y_{(\tau, a), k} (the first p columns become the variables) and X(\tau, a, inr b') to the constant X(\tau, a, b').
New/Rows/StackedDeterminants.lean · the statement, line 322def inFirstCols := aeval (R := ℂ) fun (τ, a, b) ↦ (Sum.elim (X ⟨⟨τ, a⟩, @Fin.val p ·⟩)
For finite types \Phi, a, N and L, a bijection e \colon a \oplus N \simeq L and, for each \tau \in \Phi, a finite family M \tau of complex a\times L matrices indexed by a finite type \iota \tau: stackedDetProd e M = \prod_{\tau \in \Phi } \prod_{k\in \iota \tau } stackedDet \tau(M \tau k) e, the product of the determinants of the matrices M_{\tau k} stacked over the N\times L variable matrix x_\tau, columns ordered by e.
New/Rows/StackedDeterminants.lean · line 327def stackedDetProd := ∏ τ, ∏ k, stackedDet τ (M τ k) e
Let \Phi, a, N and L be finite types, e \colon a \oplus N \simeq L a bijection, \iota a family of finite types indexed by \Phi, M \tau k a complex a\times L matrix for each \tau \in \Phi and k \in \iota \tau, c a family of complex N\times N and g a family of complex L\times L matrices indexed by \Phi. Then twoSidedSubst c g (x_\tau \mapsto c_\tau^{\mathsf{T}} x_\tau g_\tau^{\mathsf{T}}) maps stackedDetProd e (\tau, k \mapsto M \tau k\cdot(g \tau)^{\mathsf{T}}) to (\prod_\tau(\det c_\tau \cdot \det g_\tau)^{|\iota \tau |})\cdot \operatorname{stackedDetProd} e M.
New/Rows/StackedDeterminants.lean · the statement, lines 332–333lemma twoSidedSubst_stackedDetProd : twoSidedSubst c g (stackedDetProd e fun τ k ↦ M τ k * (g τ)ᵀ) = (∏ τ, ((c τ).det * (g τ).det) ^ card (ι τ)) • stackedDetProd e M := funext (by
For finite types \Phi, N and L, a natural number p, a weight \kappa, a polynomial F in the variables X(\tau, a, b) (a \in N, b \in \operatorname{Fin} p \oplus L) and a standard filling l of weight \kappa: firstColsCoord \kappa F l = h_\kappa^{-1}\cdot \langle \operatorname{inFirstCols} F, b_l\rangle, the Fock pairing (over the ring of polynomials in the variables X(\tau, a, b'), b' \in L) of inFirstCols F with the basis product of minors b_l of weight \kappa (nablaBasis), divided by the hook number h_\kappa = hookNumber \kappa (rankAt N). It is the l-th coordinate of F in the first p columns, a polynomial in the remaining variables.
New/Rows/StackedDeterminants.lean · the statement, line 342def firstColsCoord κ F l :=
Let \Phi, N and L be finite types, p a natural number, c a family of complex N\times N matrices and g a family of complex L\times L matrices indexed by \Phi, F and F' polynomials in the variables X(\tau, a, b) (a \in N, b \in \operatorname{Fin} p \oplus L) and s \in \mathbb{C}, with twoSidedSubst c (\tau \mapsto \operatorname{diag}(1_p, g_\tau)) F' = s\cdot F (hypothesis H). Then for every weight \kappa and every standard filling l of weight \kappa: twoSidedSubst c g (\sum_{l'} S_\kappa(c)_{l l'}\cdot \operatorname{firstColsCoord} \kappa F' l') = s\cdot \operatorname{firstColsCoord} \kappa F l, where S_\kappa(c) = schur \kappa c is the Schur matrix of c.
New/Rows/StackedDeterminants.lean · the statement, lines 345–347lemma twoSidedSubst_firstColsCoord {F F'} {s : ℂ} (H : twoSidedSubst c (fromBlocks 1 0 0 <| g ·) F' = s • F) κ l : twoSidedSubst c g (∑ l', schur κ c l l' • firstColsCoord κ F' l') = s • firstColsCoord (p := p) κ F l := by
For finite types b, p and l and a bijection f \colon p \oplus l \simeq b, blockSigns f is the sign function b \to \{\pm 1\} equal to +1 on f(inl p) and to -1 on f(inr l); applied to a point of b it gives its sign.
New/Rows/RealMatching.lean · line 20abbrev blockSigns : b → ℤˣ := (1 ⊕ᵥ -1) ∘ f.symm
For a number field E, finite types n, m and l and a bijection j \colon m \oplus l \simeq n, posBlockEmb j is the group homomorphism from the archimedean definite unitary group GInf E 1 of rank |m| (one copy of U(m) at each infinite place) to the archimedean unitary group GInf E (blockSigns j) of signature (|m|, |l|), acting place by place as k_\tau \mapsto the matrix of n with block k_\tau on the positive block j(inl m) and the identity on the negative block j(inr l) (U.inl followed by relabelling along j). Applied to k it gives that element.
New/Rows/RealMatching.lean · the statement, line 24@[simps!] def posBlockEmb : GInf E (1 : m → _) →* GInf E (blockSigns j) :=
Let E be a field, n, m and l finite types, j \colon m \oplus l \simeq n a bijection, \tau an infinite place of E and k an element of the definite group GInf E 1 of rank |m|. Then: the matrix of (posBlockEmb j k \tau)^{-1} is that of posBlockEmb j k^{-1} \tau; the matrix of posBlockEmb j k \tau is block diagonal for the signs blockSigns j (blockDiagAlg); its principal minor on the indices of sign +1 is \det k_\tau; and its principal minor on the indices of sign -1 is 1. (By simp from the block form.)
New/Rows/RealMatching.lean · the statement, lines 28–30lemma posBlockEmb_spec k : (posBlockEmb j k τ)⁻¹.1.1 = posBlockEmb j k⁻¹ τ ∧ ↑(posBlockEmb j k τ) ∈ blockDiagAlg (blockSigns j) ∧ principalMinor (posBlockEmb j k τ) (blockSigns j · = 1) = (k τ).1.1.det ∧ principalMinor (posBlockEmb j k τ) (blockSigns j · = -1) = 1 := by
For finite types b, p and l and a bijection f \colon p \oplus l \simeq b, the number of points of b with blockSigns f equal to -1 is |l|.
New/Rows/RealMatching.lean · the statement, line 33@[simp↓] lemma card_neg_blockSigns : card {i // blockSigns f i = -1} = card l := by
For a number field E, finite types n, m, b, p and l, bijections f \colon p \oplus l \simeq b and j \colon m \oplus l \simeq n, a family \iota of finite types indexed by the infinite places, and a family \eta of complex p\times m matrices \eta \tau k (k \in \iota \tau): matchedPoly f j \eta is the complex polynomial in the variables X(\tau, i, c) (\tau an infinite place, i \in n, c \in b) equal to \prod_\tau \det(y^{--}_\tau)^{|\iota \tau | + |n| - 2|l|} \cdot \prod_{\tau, k} \det(\eta_{\tau k}\cdot y^{++}_\tau), where y^{--}_\tau is the l\times l block of the variable matrix at \tau in rows j(inr l) and columns f(inr l) (letterMinor), y^{++}_\tau the m\times p block in rows j(inl m) and columns f(inl p), and the second product is pairedDetProd (exponent in natural numbers, truncated).
New/Rows/RealMatching.lean · the statement, line 38def matchedPoly := (∏ τ, letterMinor τ (j ∘ inr) (f ∘ inr) ^
For a number field E, finite types n, m, a and l and a bijection j \colon m \oplus l \simeq n, posFockVector j is the \mathbb{C}-linear map from polynomials in the variables X(\tau, i, k) (i \in a, k \in m) to the Fock space of signs \operatorname{realSigns}(\operatorname{homSigns}(\operatorname{blockSigns} j, 1)) (the space \operatorname{Hom}(V_j, I_a), V_j of signs blockSigns j on n and I_a definite: a \times n matrices X, rows in a and columns in n, on which (g, h) \in G(V_j) \times G(I_a) acts by X \mapsto h_{Xg}^{-1}; Space.hom, G.onHom): rename the column index k into the positive block of n by j \circ inl (renameRowsCols) and take the Fock vector v_P of the polynomial (polyVector).
New/Rows/RealMatching.lean · the statement, line 43abbrev posFockVector := polyVector (realSigns E (homSigns (n' := a) (blockSigns j) 1)) ∘ₗ
Let E be a number field, n, m, a, b, p and l finite types, f \colon p \oplus l \simeq b, j \colon m \oplus l \simeq n and e \colon p \oplus a \simeq m bijections, \iota a family of finite types indexed by the infinite places of E, and \gamma the weights with \gamma_\tau = |l| - |\iota \tau | at every infinite place \tau (hypothesis hγ). Let \eta be a family of complex p\times m matrices \eta \tau k (k \in \iota \tau), k an element of the definite group GInf E 1 of rank |m| and u an element of the definite group of rank |a|. Then the real Weil representation realPairWeil \gamma 0 at the pair (posBlockEmb j k, u) maps posFockVector j (stackedDetProd e (\tau, i \mapsto \eta \tau i\cdot(k_\tau)^{-\mathsf{T}})) to (\prod_\tau(\det k_\tau)^{|\iota \tau |})^{-1}\cdot \operatorname{posFockVector} j (stackedDetProd e \eta). (One step: the polynomial identity twoSidedSubst_stackedDetProd with c = u and g = k^{-1}, carried to Fock vectors.)
New/Rows/RealMatching.lean · the statement, lines 52–55lemma realPairWeil_stackedDetProd k u : realPairWeil γ 0 (posBlockEmb j k, u) (posFockVector j (stackedDetProd e fun τ ↦ (η τ · * (k τ).1.1⁻¹ᵀ))) = (∏ τ, (k τ).1.1.det ^ card (ι τ))⁻¹ • posFockVector j (stackedDetProd e η) := have := congr(posFockVector j $(twoSidedSubst_stackedDetProd e η (u ·) (k⁻¹ ·)))
Let E be a number field, n, m, a, b, p and l finite types, f \colon p \oplus l \simeq b, j \colon m \oplus l \simeq n and e \colon p \oplus a \simeq m bijections, \iota a family of finite types indexed by the infinite places of E, and \gamma the weights with \gamma_\tau = |l| - |\iota \tau | at every infinite place \tau (hypothesis hγ). Then there is a polynomial Q_0 such that for every vector v of the Fock space of posFockVector j there is \kappa \in \mathbb{C} with the following property. Let \ell be a family of continuous linear functionals \ell_g on that Fock space, indexed by g in the archimedean group GInf E (blockSigns j) of signature (|m|, |l|), with \ell_g(\omega(x)w) = \ell_{g\cdot x_1}(w) for all g, all pairs x = (x_1, x_2) and all w (\omega = realPairWeil \gamma 0), and let \ell' be a linear functional on polynomials such that \ell_x(v) = \ell'(Q) whenever the real Weil representation for the signs blockSigns f (realPairWeil \gamma 0 at (1, x)) maps v_{Q_0} to v_Q. Then \kappa \cdot \ell_1(\operatorname{posFockVector} j (stackedDetProd e \eta)) = \ell'(\operatorname{matchedPoly} f j \eta) for every family \eta of complex p\times m matrices \eta \tau k (k \in \iota \tau).
New/Rows/RealMatching.lean · the statement, lines 61–64lemma real_matching : ∃ Q₀, ∀ v, ∃ κ, ∀ (ℓ : _ → _ →L[ℂ] ℂ) (ℓ' : _ →ₗ[ℂ] ℂ), (∀ g x w, ℓ g (realPairWeil γ 0 x w) = ℓ (g * x.1) w) → (∀ x Q, realPairWeil (s := blockSigns f) γ 0 (1, x) (polyVector _ Q₀) = polyVector _ Q → ℓ x v = ℓ' Q) → ∀ η, κ * ℓ 1 (posFockVector j (stackedDetProd e η)) = ℓ' (matchedPoly (ι := ι) f j η) := by
Let E be a field with a CM type and Weil data, n and b finite types, \mathfrak{m} a modulus of E with at least one place (h\mathfrak{m}), s and t sign vectors, S a space of rank |n| with signs s and V a space of rank |b| with signs t (Space), a and \beta characters of U(1)(\mathbb{A}_E)/U(1)(E), \Psi a complex function on the matrices modulo \mathfrak{m} that vanishes off the left-invertible matrices (hΨ: \Psi(y) \ne 0 implies that y has a left inverse), P a polynomial and h a point of the adelic group of V. Then the function g \mapsto modKernel S V a \beta \mathfrak{m} \Psi P g h = \theta^{S, V}_{a, \beta }[\Psi, P](g, h) on the adelic group of S is rapidly decreasing (S.IsRapid: for every B, |\theta(g, h)|\cdot h_{t}(g)^B is bounded in g).
New/Rows/Carrier.lean · the statement, lines 42–43lemma isRapid_modKernel {s t} (S : Space E n s) (V : Space E b t) a β (h𝔪 : Nonempty 𝔪.places) {Ψ} (hΨ : ∀ y, Ψ y ≠ 0 → HasLeftInv y) P h : S.IsRapid (modKernel S V a β 𝔪 Ψ P · h)
Let E be a field with a CM type and Weil data, n and b finite types, s and t sign vectors, V a space of rank |b| with signs t, \mathfrak{m} a modulus, U a space of rank |n| with signs s, a, \beta, \beta' characters, e a weight and \chi a character of O_E/\mathfrak{m} with \beta \beta' tame for (\mathfrak{m}, e, \chi) (hχ). Let \Xi and F be complex functions and \kappa \in \mathbb{C} with \kappa \cdot \sum_h \Xi(h)\cdot \theta^{V, I_b}_{a, \beta }[\chi \circ \det, 1](x, h) = F(x) for all x (hF; class sum over U(I_b) at level K_0). Let \mathfrak{n} be a modulus with \mathfrak{m} \subseteq \mathfrak{n} as ideals (\varphi: \mathfrak{n} divides \mathfrak{m}), f a function on matrices modulo \mathfrak{n}, P a polynomial, g a point, K a function of a datum \Phi and a point h with values functions, and \kappa' \in \mathbb{C} such that for all \chi^{-1}-partners \Phi, \Psi (IsPartner \top (refl) \chi^{-1} \Phi \Psi) and all h: \kappa'\cdot \sum_u K(\Phi, h)(u) = \int_{[U(V)]} \theta^{V, I_b \oplus U}_{a, \beta \beta'}[\Psi, P'](x, ((1, h), g)) dx (hK; class sum over U(I_n) at level K_0, P' = P renamed into the second block). Then for \Phi(x) = \chi(\det x'')\cdot \sum_{k \in \mathrm{GL}_b(O/\mathfrak{n})} f(((x'')^{-1}x' \text{ mod } \mathfrak{n})\cdot k), x = (x' | x''): \kappa'\cdot(\kappa /|\mathrm{GL}_b(O_E/\mathfrak{n})|)\cdot \sum_u \sum_h \Xi(h)\cdot K(\Phi, h)(u) = \int_{[U(V)]} F(x)\cdot \theta^{V, U}_{a, \beta'}[f, P](x, g) dx.
New/Rows/Carrier.lean · the statement, lines 52–59lemma explicit_matching_of_sum {s t} (V : Space E b t) {𝔪} (U : Space E n s) {a β β' e χ} (hχ : IsTameFor 𝔪 (β * β') e χ) {Ξ F : _ → ℂ} {κ} (hF : ∀ x, κ * stdClassSum (Kf ..) (fun h ↦ Ξ h * modKernelI V a β 𝔪 (χ ·.det) 1 x h) = F x) 𝔫 (φ : 𝔪.ideal ≤ 𝔫.ideal) f {P g} {K : _ → _ → _} {κ'} (hK : ∀ Φ Ψ, IsPartner ⊤ (.refl _) χ⁻¹ Φ Ψ → ∀ h, κ' * stdClassSum (Kf E n) (K Φ h) = ∫ x, modKernel V ((stdSpace ..).sum U) a (β * β') 𝔪 Ψ (renameRowsCols .inr id P) x (.sum ((1, h), g)) ∂V.quotMeasure) : κ' * (κ / card (GL b 𝔫.ResRing)) * stdClassSum (Kf ..) (stdClassSum (Kf ..) fun h ↦ Ξ h * K (fun x ↦ χ x.toCols₂.det * ∑ k : GL b 𝔫.ResRing, f ((x.toCols₂⁻¹ * x.toCols₁).map (factor φ) * k.1)) h ·) = ∫ x, F x * modKernel V U a β' 𝔫 f P x g ∂V.quotMeasure := by
Let E be a field with a CM type and Weil data, n and b finite types, \mathfrak{m} a modulus, r a finite type, c a type, S a commutative ring, s a sign vector, \alpha, \beta characters, \gamma a weight, \chi a multiplicative character of O_E/\mathfrak{m} with \alpha tame for (\mathfrak{m}, \gamma, \chi) (hα), P a polynomial whose Fock vector is fixed by the real Weil representation of the definite group (hP: realPairWeil \gamma 0 (1, u) v_P = v_P for all u), g a point, W a space with signs s whose hom-matrices to I_b split into x = (x' | x'') with x' a b\times n and x'' a b\times b block, \varphi \colon O_E/\mathfrak{m} \to S a ring homomorphism, w a c\times b matrix over S, e \colon r \hookrightarrow b, and F a complex function on b\times n matrices over O_E/\mathfrak{m} with F(A\cdot y) = F(y) for every A in H = rowStabilizer \varphi w e (hF). Then the class sum at the level 𝔪.levelOfSubgroup H (the elements of K_0 whose reduction modulo \mathfrak{m} lies in H) of h \mapsto \theta^{W, I_b}_{\alpha, \beta }[\Psi_H, P](g, h), \Psi_H(x) = columnDatum \chi \varphi w e (x''_e)\cdot(F(x') if FixesColsOff e x'', else 0), equals the class sum at level K_0(b) of h \mapsto \theta^{W, I_b}_{\alpha, \beta }[\Psi, P](g, h) with \Psi(x) = \chi(\det x'')\cdot F((x'')^{-1}x').
New/Rows/Carrier.lean · the statement, lines 80–86lemma stdClassSum_rowStabilizer_eq {r c S} [Fintype r] [CommRing S] {s α β γ χ P g} {W : Space E _ s} (hα : IsTameFor 𝔪 α γ χ) (hP : ∀ u, realPairWeil (s := s) (s' := 1) γ 0 (1, u) (polyVector _ P) = polyVector _ P) (φ : 𝔪.ResRing →+* S) (w : Matrix c b S) (e : r ↪ b) {F : Matrix b n _ → ℂ} (hF : ∀ A ∈ rowStabilizer φ w e, ∀ y, F (A.1 * y) = F y) : stdClassSum (𝔪.levelOfSubgroup (rowStabilizer φ w e)) (modKernelI W α β 𝔪 (fun x ↦ columnDatum χ φ w e (x.toCols₂.submatrix id e) * ite (FixesColsOff e x.toCols₂) (F x.toCols₁) 0) P g) = stdClassSum (Kf E b) (modKernelI W α β 𝔪 (fun x ↦ χ x.toCols₂.det * F (x.toCols₂⁻¹ * x.toCols₁)) P g) := by
Let E be a field with a CM type and Weil data; n, m, a, b, p, l finite types; s a sign vector on n and W a space of rank |n| with signs s; f \colon p \oplus l \simeq b a bijection and V' a space of rank |b| with signs blockSigns f; \sigma an identification of index types used for the partners; e \colon p \oplus a \simeq m and j \colon m \oplus l \simeq n bijections with s = blockSigns j (hj); d a natural number with |a| = |b| + 2d (hd); 2|l| + 2 \le |n| (hn); and \iota a family of finite types indexed by the infinite places. Then there is C such that for every modulus \mathfrak{m}, character \alpha, weight \gamma and multiplicative character \chi of O_E/\mathfrak{m} with \alpha tame for (\mathfrak{m}, \gamma, \chi) and \gamma_\tau = |l| - |\iota \tau | at every infinite place, there is c with |c|^2 = C / \operatorname{lValueProd}(\operatorname{places} \text{ of } \mathfrak{m}, \alpha^{-1}\cdot \upsilon^{|b|+d}, d) such that for every family \eta of complex p\times m matrices \eta \tau k (k \in \iota \tau), all \chi^{-1}-partners \Phi, \Psi (IsPartner \top \sigma \chi^{-1} \Phi \Psi), every character \beta and every point g: c\cdot \sum_h \theta^{W, I_a}_{\alpha, \beta }[\Phi, P_\eta](g, h) = \int_{[U(V')]} \theta^{V', W}_{\alpha /\beta, \alpha }[\Psi, matchedPoly f j \eta](x, g) dx, where P_\eta = stackedDetProd e \eta with its columns renamed into the positive block of n (renameRowsCols \operatorname{id} (j \circ inl)), and the sum is the class sum over U(I_a) at level K_0.
New/Rows/Carrier.lean · the statement, lines 112–119lemma explicit_matching {E} [Field E] [CMType E] [WeilData E] {n m a b p l} [Fintype n] [Fintype m] [Fintype a] [Fintype b] [Fintype p] [Fintype l] {s} (W : Space E n s) (f : p ⊕ l ≃ b) (V' : Space E _ (blockSigns f)) σ e (j : m ⊕ l ≃ n) (hj : s = blockSigns j) {d} (hd : card a = card b + 2 * d) (hn : 2 * card l + 2 ≤ card n) ι [∀ τ, Fintype (ι τ)] : ∃ C, ∀ {𝔪 α γ χ}, IsTameFor 𝔪 α γ χ → (∀ τ, γ τ = card l - card (ι τ)) → ∃ c, ‖c‖ ^ 2 = C / lValueProd 𝔪.places (α⁻¹ * upsilonU1 ^ (card b + d)) d ∧ ∀ η {Φ Ψ}, IsPartner ⊤ σ χ⁻¹ Φ Ψ → ∀ β g, c * stdClassSum (Kf E a) (modKernelI W α β 𝔪 Φ (renameRowsCols id (j ∘ .inl) (stackedDetProd e η)) g ·) = ∫ x, modKernel V' W (α / β) α 𝔪 Ψ (matchedPoly (ι := ι) f j η) x g ∂V'.quotMeasure := by
Let E be a field with a CM type and Weil data, m a natural number with m \ne 0 (instance NeZero m) and m even (he), and c : InfinitePlace E \to \mathbb{N}. Then there is C such that for every modulus \mathfrak{m}, character \alpha and multiplicative character \chi of O_E/\mathfrak{m} with \alpha tame for (\mathfrak{m}, -c, \chi), there is \gamma with |\gamma |^2 = C / \operatorname{lValueProd}(\operatorname{places} \text{ of } \mathfrak{m}, \alpha^{-1}\cdot \upsilon^{m/2}, m/2) and, for every point g, \gamma \cdot \sum_h \theta^{I_m, I_m}_{\alpha, \alpha }[\chi \circ \det, \prod_\tau \det(x_\tau)^{c_\tau }](g, h) = 1, the sum being the class sum over U(I_m) at level K_0 (Kf E (\operatorname{Fin} m)).
New/Rows/Carrier.lean · the statement, lines 159–162lemma stdClassSum_det_modKernel_eq (he : Even m) (c : _ → ℕ) : ∃ C, ∀ {𝔪 α χ}, IsTameFor 𝔪 α (-c ·) χ → ∃ γ, ‖γ‖ ^ 2 = C / lValueProd 𝔪.places (α⁻¹ * upsilonU1 ^ (m / 2)) (m / 2) ∧ ∀ g, γ * stdClassSum (Kf E (Fin m)) (modKernelI (stdSpace ..) α α 𝔪 (χ ·.det) (∏ τ, letterMinor τ id id ^ c τ) g) = 1 := by
Let E be a field with a CM type and Weil data, and m a natural number with m \ne 0 (instance NeZero m) and m even (he). Then there is C such that for every modulus \mathfrak{m}, character c and multiplicative character \chi of O_E/\mathfrak{m} with c tame for (\mathfrak{m}, 0, \chi) (weight 0), there is \gamma with |\gamma |^2 = C / (\operatorname{lValueProd}(\operatorname{places} \text{ of } \mathfrak{m}, c^{-1}\cdot \upsilon^m, m)\cdot \operatorname{lValueProd}(\operatorname{places} \text{ of } \mathfrak{m}, c\cdot \upsilon^{m/2}, m/2)) and, for every point x, \gamma \cdot \sum_h carrierXi m c h\cdot \theta^{S, I_{3m}}_{\upsilon^m, c}[\chi \circ \det, 1](x, h) = carrierForm E m x, where S = signedSpace with signs (+1 \text{ on } \operatorname{Fin} (2m), -1 \text{ on } \operatorname{Fin} m), of signature (2m, m); the outer kernel pairs S with the definite space I_{3m} on the same index set \operatorname{Fin} (2m) \oplus \operatorname{Fin} m (the determinant datum \chi \circ \det needs square matrices), and the outer sum is the class sum over U(I_{3m}) at level K_0, h running over its classes; carrierXi m c h is itself a class sum over U(I_m) (of the kernel of the pair (I_m, I_{3m})). The constant C comes first; \gamma depends on (\mathfrak{m}, c, \chi).
New/Rows/Carrier.lean · the statement, lines 178–181lemma stdClassSum_carrierXi_eq_carrierForm (he : Even m) : ∃ C, ∀ {𝔪 c χ}, IsTameFor 𝔪 c 0 χ → ∃ γ, ‖γ‖ ^ 2 = C / (lValueProd 𝔪.places (c⁻¹ * upsilonU1 ^ m) m * lValueProd 𝔪.places (c * upsilonU1 ^ (m / 2)) (m / 2)) ∧ ∀ x, γ * stdClassSum (Kf ..) (fun h ↦ carrierXi m c h * modKernelI (signedSpace ..) (upsilonU1 ^ m) c 𝔪 (χ ·.det) 1 x h) = carrierForm E m x := by