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 W, a commutative ring O, a ring homomorphism \iota : W \to O, k \in \mathbb{N} and a \in \mathrm{GL}_k(W): conjSubst \iota a is the O-algebra endomorphism of O[x_{\mathit{ij}} : i, j \in Fin k] (polynomials in the entries of a generic k\times k matrix x) that substitutes \iota(a^{-1})\cdot x\cdot \iota(a) for x: x_{i'j'} \mapsto \sum_{i,j} \iota((a^{-1})_{i'i})\cdot \iota(a_{\mathit{jj}'})\cdot x_{\mathit{ij}} (linSubst of the Kronecker product of (a^{-1})^{\mathsf{T}} and a, mapped by \iota).
New/TwistedHecke/ClassMeans.lean · the statement, line 23noncomputable def ClassMean.conjSubst (a : GL (Fin k) W) :=
For a commutative ring O, a finite type \sigma, a type \nu, matrices A, B \in Mat_{\sigma}(O), a matrix X \in Mat_{\sigma}(O[x_{\nu}]) and an O-linear form l : O[x_{\nu}] \to O: l applied entrywise to C(A)\cdot X\cdot C(B) (A and B as matrices of constant polynomials) equals A\cdot l(X)\cdot B.
New/TwistedHecke/ClassMeans.lean · the statement, lines 26–27lemma ClassMean.map_C_mul_mul_C {ν} (A B : Matrix σ σ O) (X : Matrix σ σ (MvPolynomial ν O)) (l : Dual O _) : (A.map C * X * B.map C).map l = A * X.map l * B := ext
Zariski density. Let W be a commutative local ring, O a commutative ring, \iota : W \to O a ring homomorphism, \sigma a finite type, n, e natural numbers, d \in W[x_{\sigma}] homogeneous of degree e (hd) with n + e \le Nat.card of the residue field of W (hW; Nat.card is 0 for an infinite field), and b_{0} \in W^{\sigma} with d(b_{0}) a unit (hb). If an O-submodule p of O^{\text{Monomials} \sigma n} contains the vector (\iota(b^{\gamma}))_{\gamma \in \text{Monomials} \sigma n} for every b \in W^{\sigma} with d(b) a unit (hp), then p = O^{\text{Monomials} \sigma n}.
New/TwistedHecke/ClassMeans.lean · the statement, lines 36–38lemma ClassMean.eq_top_of_eval_monomial n {e d} (hd : d.IsHomogeneous e) (hW : n + e ≤ .card (ResidueField W)) {b} (hb : IsUnit (eval b d)) {p : Submodule O (Monomials σ n → O)} (hp : ∀ b, IsUnit (eval b d) → (ι <| eval b <| monomial ·.1 1) ∈ p) : p = ⊤ := by
Let O be a valuation domain of characteristic zero, \sigma a finite type, k a prime number (named k here) whose image in O is not a unit (hp), and f \in \mathbb{N}. There is q : (\sigma \to_{0} \mathbb{N}) \to O such that (i) for every exponent vector \gamma of total degree |\gamma | < k^{f}: k^{|\sigma |\cdot f} = multinomial(\gamma)\cdot q(\gamma) in O, multinomial(\gamma) = |\gamma |!/\Pi_{b} \gamma_{b}!; and (ii) for every square matrix A \in Mat_{\sigma}(O) and all exponent vectors \alpha, \beta: (coefficient of x^{\alpha} in linSubst A (x^{\beta}))\cdot q(\alpha) = q(\beta)\cdot(coefficient of x^{\beta} in linSubst A^{\mathsf{T}} (x^{\alpha})).
New/TwistedHecke/ClassMeans.lean · the statement, lines 57–59lemma ClassMean.exists_invariant_diagonal_form (pp : k.Prime) (hp : ¬IsUnit (k : O)) f : ∃ q : _ → O, (∀ γ : σ →₀ ℕ, γ.degree < k ^ f → k ^ (Fintype.card σ * f) = γ.multinomial * q γ) ∧ ∀ A α β, (linSubst A (monomial β 1)).coeff α * q α = q β * (linSubst Aᵀ (monomial α 1)).coeff β := by
An approximate projector from Levi-invariant means. Let W be a commutative local ring, O a valuation domain of characteristic zero, k, D \in \mathbb{N}, \tau : Fin k \to \mathbb{N} a labelling, \iota : W \to O a ring homomorphism, p a prime number whose image in O is not a unit (\mathit{pp}, \mathit{hp}), f \in \mathbb{N} with D < p^{f} (hD) and D + k < Nat.card of the residue field of W (hW), x : Fin k \to \mathbb{R} (weights of the indices) and P a property of real numbers. For an exponent \alpha on the entries (i, j) of a generic k\times k matrix, let its row weight be \sum_{(i,j)} \alpha_{\mathit{ij}}x(i) and its column weight \sum_{(i,j)} \alpha_{\mathit{ij}}x(j). Then there is an O-linear form \kappa : O[x_{\mathit{ij}}] \to O such that (a) \kappa(conjSubst \iota a g) = \kappa(g) for every a in the Levi subgroup levi W \tau and every polynomial g; (b) \kappa(x^{\alpha}) = 0 whenever the row weight of \alpha differs from its column weight; (c) for \alpha whose row weight satisfies P: \kappa(x^{\alpha}) = p^{k^{2}f}\cdot(x^{\alpha} evaluated at the identity matrix) if \deg \alpha \le D, and \kappa(x^{\alpha}) = 0 otherwise; (d) \kappa lies in the O-span of the forms l \circ conjSubst \iota u with u \in levi W \tau and l an O-linear form vanishing on every x^{\alpha} whose row weight does not satisfy P.
New/TwistedHecke/ClassMeans.lean · the statement, lines 80–85lemma ClassMean.exists_mean {p : ℕ} (pp : p.Prime) (hp : ¬IsUnit (p : O)) f (hD : D < p ^ f) (hW : D + k < .card (ResidueField W)) (x : _ → ℝ) (P : ℝ → _) : ∃ κ : Dual O _, (∀ a ∈ levi W τ, ∀ g, κ (conjSubst ι a g) = κ g) ∧ (∀ α, weight (x ·.1) α ≠ weight (x ·.2) α → κ (monomial α 1) = 0) ∧ (∀ α, P (weight (x ·.1) α) → κ (monomial α 1) = if degree α ≤ D then p ^ (k ^ 2 * f) • eval (vec 1) (monomial α 1) else 0) ∧ κ ∈ span O {l ∘ₗ (conjSubst ι u).toLinearMap | (u ∈ levi W τ) (l : Dual O _) (_ : ∀ α, ¬P (weight (x ·.1) α) → l (monomial α 1) = 0)} := by
For a finite field K with q = Nat.card K elements and k \in \mathbb{N}: the index in \mathrm{GL}_k(K) of the subgroup of lower triangular matrices (the parabolic subgroup for the labelling b \mapsto b in the order dual: g_{\mathit{ij}} = 0 whenever i < j) is at most \Pi_{l=1}^{k}(q^{l} - 1)/(q - 1) (in \mathbb{R}), the number of full flags of K^{k}.
New/TwistedHecke/Counting.lean · the statement, lines 29–30lemma index_borel_le [Finite K] : (parabolic (R := K) (OrderDual.toDual ∘ @Fin.val k)).index ≤ ∏ l : Fin k, ((Nat.card K : ℝ) ^ (l.1 + 1) - 1) / (Nat.card K - 1) := by
Let N \ne 0, W a commutative local ring, K a field and T : TwistingData N W K (prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to K, parity isEven), k \in \mathbb{N}, an index a \in Fin k and h \in \mathbb{R}: excessCone T a h is the set of \beta \in \mathbb{R}^{Fin k \times \mathbb{Z}/N} such that for every letter i and consecutive indices b, b' = b + 1 in Fin k: \sum_{x} excessWeight T i b b' x\cdot \beta(x) \le h if b' = a, and \le 0 otherwise. (The text reading lists a twice: as the implicit section variable and as the explicit argument made by variable (a) in; Lean takes it once, explicitly — expected.)
New/TwistedHecke/Counting.lean · the statement, line 43def TwistingData.excessCone (h : ℝ) :=
Let N \ne 0, W a commutative local ring, K a field and T : TwistingData N W K (prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to K, parity isEven), K of characteristic p, k \in \mathbb{N}, indices a, a' \in Fin k with a + 1 = a' (ha), n \in \mathbb{N} and h \in \mathbb{R}: \dim_K excessCond T n a a' \perp h \le [L : L \cap \mathcal{I}]\cdot \operatorname{vol}(excessCone T a' (h + N(k+1)) \cap slab k (fun \_ \mapsto n + k + 1)), where L = levi W (twoBlock k a') (block diagonal for the blocks \{b < a'\}, \{b \ge a'\}), \mathcal{I} = parahoric W (\uparrow) the parahoric subgroup for the labelling b \mapsto b (the lower Iwahori subgroup), [L : L \cap \mathcal{I}] = relIndex of \mathcal{I} in L, and the slab asks \sum_{b} \beta(b, s) \in [n + k, n + k + 1] for every letter s (volume as a real number).
New/TwistedHecke/Counting.lean · the statement, lines 49–51lemma TwistingData.finrank_excessCond_le_volume [CharP K T.p] (ha : a.1 + 1 = a') n h : finrank K (T.excessCond n a a' ⊥ h) ≤ (parahoric W (↑)).relIndex (levi W (twoBlock k a')) * volume.real (T.excessCone a' (h + N * (k + 1)) ∩ slab k fun _ ↦ n + k + 1) := by
Let N \ne 0, W a commutative local ring, K a field and T : TwistingData N W K (prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to K, parity isEven), k \in \mathbb{N}, indices a, a' \in Fin k, a letter i and \nu \in \mathbb{R}^{Fin k \times \mathbb{Z}/N}: with \beta = permStep T.isEven P 1 \nu (signs by parity, trivial permutations, P = T.P as a real number) and u_i = rootVar T a a' i: \sum_{x} excessWeight T i a a' x\cdot \beta(x) =(1 - 1/q)\cdot(\beta(u_i) -(\nu(a, i) - \nu(a', i))).
New/TwistedHecke/Counting.lean · the statement, lines 120–122lemma TwistingData.excessWeight_dotProduct_permStep i ν : T.excessWeight i a a' ⬝ᵥ permStep T.isEven T.P 1 ν = (1 - 1 / T.q) * (permStep T.isEven T.P 1 ν (T.rootVar a a' i) - (ν (a, i) - ν (a', i))) := by
Let N \ne 0, W a commutative local ring, K a field and T : TwistingData N W K (prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to K, parity isEven), k \in \mathbb{N} and indices a, a' \in Fin k with a + 1 = a' (ha): there is \sigma \in excessCone T a' (-1) with 0 \le \sigma(x) \le P^{3a'} for every coordinate x.
New/TwistedHecke/Counting.lean · the statement, lines 131–132lemma TwistingData.exists_mem_excessCone_mem_Icc (ha : a.1 + 1 = a') : ∃ σ ∈ T.excessCone a' (-1), σ ∈ Set.Icc 0 fun _ ↦ (T.P ^ (3 * a'.1) : ℝ) := by
For n \in \mathbb{N} and reals d \le D (hd), D of either sign: the Lebesgue measure of \{y \in \mathbb{R}^{n+1} : y \ge 0 and \sum_{b} y(b) \in [d - 1, d]\} is at most \lVert D^{n}/n!\rVert_{e} = |D^{n}/n!| (as an extended nonnegative real). (When d \le D < 0 the set is empty, since \sum_{b} y(b) \ge 0 > d.)
New/TwistedHecke/Counting.lean · the statement, lines 149–150lemma volume_sum_mem_Icc_le {n} {d D : ℝ} (hd : d ≤ D) : volume {y : Fin n.succ → ℝ | (∀ b, 0 ≤ y b) ∧ univ.sum y ∈ Set.Icc (d - 1) d} ≤ ‖D ^ n / n !‖ₑ := by
For natural numbers P, d, N, k, n, r, \ell and reals \kappa, y, z: HeckeSizes P d N k n r \ell \kappa y z is the conjunction of the size conditions 0 < r; 2r \le k; \kappa \le 1; 1 \le y; \ell + \ell = N; N\cdot n\cdot k\cdot(\ell +2) + n + k < P^{\ell} (in \mathbb{N}); 6\cdot(2\cdot(k + k^{2})\cdot d\cdot N\cdot N + 2) + 2 \le y; 2(N + 2)k/y \le \kappa; (y + N(k+1))\cdot k\cdot P^{3r} + k + 2 \le n/y; and N\cdot n\cdot(1/P^{2r} + r^{2}/(k\cdot P)) \le z (the last five in \mathbb{R}; with c = 2(k+k^{2})dN^{2} + 2 the third reads 6c + 2 \le y).
New/TwistedHecke/Counting.lean · the statement, line 163def HeckeSizes (P d N k n r ℓ : ℕ) (κ y z : ℝ) := 0 < r ∧ 2 * r ≤ k ∧ κ ≤ 1 ∧ 1 ≤ y ∧ ℓ + ℓ = N ∧
Let N \ne 0, W a commutative local ring, K a field and T : TwistingData N W K (prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to K, parity isEven), K of characteristic p, k \in \mathbb{N}, indices a, a' \in Fin k with a + 1 = a' (ha), natural numbers n, \ell and reals h, \kappa, z with HeckeSizes P o_{0} N k n a' \ell \kappa h z (big; r = a' and y = h). Then [\mathrm{GL}_k(W) : \mathcal{P}]\cdot \dim_K excessCond T n a a' \perp h \le(1 + \kappa)\cdot m^{N} (in \mathbb{R}), where \mathcal{P} = parahoric W (twoBlock k a') and m = \#Monomials (Fin k) n is the number of monomials of degree n in k variables.
New/TwistedHecke/Counting.lean · the statement, lines 173–175lemma TwistingData.index_mul_finrank_excessCond_le [CharP K T.p] (ha : a.1 + 1 = a') {n ℓ h κ z} (big : HeckeSizes T.P T.o₀ N k n a' ℓ κ h z) : (parahoric W (twoBlock k a')).index * finrank K (T.excessCond n a a' ⊥ h) ≤ (1 + κ) * Fintype.card (Monomials (Fin k) n) ^ N := by
Let N \ne 0, W a commutative local ring, K a field and T : TwistingData N W K (prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to K, parity isEven), K of characteristic p, k \in \mathbb{N}, natural numbers n, r, \ell and reals \kappa, h, z with HeckeSizes P o_{0} N k n r \ell \kappa h z (big), and M \in \mathbb{N}: \sum_{d<M} \dim_K deepForms T k n r d \le(1 + z)\cdot m^{N} (in \mathbb{R}), m = \#Monomials (Fin k) n: forms deep in every frame are rare.
New/TwistedHecke/Counting.lean · the statement, lines 210–212lemma TwistingData.sum_finrank_deepForms_le [CharP K T.p] {n r ℓ κ h z} (big : HeckeSizes T.P T.o₀ N k n r ℓ κ h z) M : (∑ d ∈ range M, finrank K (T.deepForms k n r d) : ℝ) ≤ (1 + z) * Fintype.card (Monomials (Fin k) n) ^ N := by
Let N be a natural number, W a commutative local ring, K a field and T twisting data over them (T : TwistingData N W K, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to K for s \in \mathbb{Z}/N, parity isEven and w \in K), N \ne 0, k \in \mathbb{N}, r \in \mathbb{N} and an index b \in Fin k: \sum_{s\in \mathbb{Z}/N} deepIndicator T r (b, s) = N/2 (natural division): the variable (b, s) is deep for exactly half of the letters, as the parity alternates.
New/TwistedHecke/DeepFormCost.lean · the statement, line 13lemma TwistingData.sum_deepIndicator r (b : Fin k) : ∑ s, T.deepIndicator r (b, s) = N / 2 :=
Let N be a natural number, W a commutative local ring, K a field and T twisting data over them (T : TwistingData N W K, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to K for s \in \mathbb{Z}/N, parity isEven and w \in K), N \ne 0, K of characteristic p, natural numbers k, n, r, \tau and a coefficient vector F : (\mathbb{Z}/N \to Monomials (Fin k) n) \to K with 2r \le k (hk), 2r < N (hN), F \in deepForms T k n r \tau (hF: every translate \rho(g)F, g \in \mathrm{GL}_k(W), has only monomials of depth \ge \tau) and F \ne 0 (F0). Then some \beta has F(\beta) \ne 0 and \tau \le \sum_{(b,s)} \beta_{s}(b)\cdotdeepIndicator T r (b, s)/P^{e(b)} (in \mathbb{R}), with e(b) = 2r if b \ge 2r and e(b) = 1 if b < 2r: a nonzero form all of whose translates are deep has a monomial of weight at least \tau when deep variables weigh P^{-2r} (b \ge 2r) or 1/P (b < 2r) and the others 0. (Here \tau is a natural number, the depth bound, not a labelling.)
New/TwistedHecke/DeepFormCost.lean · the statement, lines 21–23lemma TwistingData.exists_le_weight_of_mem_deepForms [CharP K T.p] {n r τ F} (hk : 2 * r ≤ k) (hN : 2 * r < N) (hF : F ∈ T.deepForms k n r τ) (F0 : F ≠ 0) : ∃ β, F β ≠ 0 ∧ τ ≤ (exponentOf β).weight fun x ↦ (T.deepIndicator r x / T.P ^ ite (2 * r ≤ x.1) (2 * r) 1 : ℝ) := by
Let N \ne 0, W a commutative local ring, O a valuation domain (a commutative integral domain whose ideals are totally ordered), T : TwistingData N W O (prime p, P = p^{o_{0}}, letters \iota_{s} : W \to O, w \in O with w^{2} = p), and write Fam for the families \mathbb{Z}/N \to Monomials (Fin k) n, \mathfrak{m} for the maximal ideal of O, \kappa_{O} = O/\mathfrak{m} and T mod \mathfrak{m} = map (residue O) T, k, n \in \mathbb{N}, X finite, E a type, Q \in Mat_{(X\times Fam)\times E}(O), R \in Mat_{E\times(X\times Fam)}(O), a finite set s of column indices j \in E, a labelling G of Fin k and a set B of families. If (R\cdot Q)_{\mathit{ij}} = \delta_{\mathit{ij}} for every j \in s and every i (h), and for every j \in s and x \in X the part of column j at the block x, Q_{(x,\cdot),j}, lies in translatesIn T n G \mathfrak{m} B (hs), then |s| \le \dim_{\kappa_{O}} (X \to translatesIn (T mod \mathfrak{m}) n G \perp B).
New/TwistedHecke/ElementaryDivisors.lean · the statement, lines 34–36lemma card_le_finrank_translatesIn {s G B} (h : ∀ j ∈ s, ∀ i, (R * Q) i j = ite (i = j) 1 0) (hs : ∀ j ∈ s, ∀ x, Q.col j ∘ (x, ·) ∈ T.translatesIn n G (maximalIdeal O) B) : #s ≤ finrank (ResidueField O) (X → (map (residue O) T).translatesIn n G ⊥ B) :=
Let N \ne 0, W a commutative local ring, O a valuation domain (a commutative integral domain whose ideals are totally ordered), T : TwistingData N W O (prime p, P = p^{o_{0}}, letters \iota_{s} : W \to O, w \in O with w^{2} = p), and write Fam for the families \mathbb{Z}/N \to Monomials (Fin k) n, \mathfrak{m} for the maximal ideal of O, \kappa_{O} = O/\mathfrak{m} and T mod \mathfrak{m} = map (residue O) T, k, n \in \mathbb{N}, X and E finite, Q, M \in Mat_{(X\times Fam)\times E}(O), R, \beta \in Mat_{E\times(X\times Fam)}(O), a, z, w \in O, a labelling G of Fin k and a set B of families. Assume R\cdot Q = 1 (hR), w is not a unit (hw), a\cdot w divides every entry of \beta \cdot M - a\cdot 1 (h), and whenever Q\cdot u - M\cdot v =(a\cdot w)\cdot F for vectors u, v \in O^{E} and F \in O^{X\times Fam}, every block F(x, \cdot) lies in translatesIn T n G \mathfrak{m} B (hn). Then there is l \in \mathbb{N} with |E| + l \le \dim_{\kappa_{O}} (X \to translatesIn (T mod \mathfrak{m}) n G \perp B) and IndexDvd O^{E} (image of \beta \cdot Q + z\cdot O^{E}) (a^{|E|}\cdot z^{l}).
New/TwistedHecke/ElementaryDivisors.lean · the statement, lines 45–49lemma of_pairing a z {w G B} (hR : R * Q = 1) (hw : ¬IsUnit w) (h : ∀ i j, a * w ∣ (β * M - a • 1 :) i j) (hn : ∀ u v F, Q *ᵥ u - M *ᵥ v = (a * w) • F → ∀ x, F ∘ (x, ·) ∈ T.translatesIn n G (maximalIdeal O) B) : ∃ l, card E + l ≤ finrank (ResidueField O) (X → (map (residue O) T).translatesIn n G ⊥ B) ∧ IndexDvd ⊤ (.map (β * Q).mulVecLin ⊤ ⊔ z • ⊤) (a ^ card E * z ^ l) := by
Let N \ne 0, W a commutative local ring, O a valuation domain (a commutative integral domain whose ideals are totally ordered), T : TwistingData N W O (prime p, P = p^{o_{0}}, letters \iota_{s} : W \to O, w \in O with w^{2} = p), and write Fam for the families \mathbb{Z}/N \to Monomials (Fin k) n, \mathfrak{m} for the maximal ideal of O, \kappa_{O} = O/\mathfrak{m} and T mod \mathfrak{m} = map (residue O) T, O of characteristic 0, k, n, c \in \mathbb{N}, a, r \in Fin k with a < r (ha), x \in \mathbb{N} with depth T k n r \beta \le x for every family \beta (hm), X, E finite, s : E \to X and g : E \to \mathrm{GL}_k(W) such that e \mapsto(s(e), g(e)^{-1}\cdot \mathcal{P}) is surjective onto X \times \mathrm{GL}_k(W)/\mathcal{P}, \mathcal{P} = parahoric W (twoBlock k r) (hs). Then there are matrices Q, d and R over O — Q with rows E \times Fam and columns X \times Fam, d square with rows and columns X \times Fam (only d is square: E and X may differ), and R with rows X \times Fam and columns E \times Fam (the type of Q^{\mathsf{T}}) — with: (i) Q\cdot d = J, where J_{(e,\alpha),(x,\beta)} = [s(e) = x]\cdot(\operatorname{diag}(w^{\text{depth} T k n r \cdot})\cdot \rho(g(e)))_{\alpha \beta}, \rho = letterRep T n; (ii) \det d divides w^{\sum_{\tau <x} \dim_{\kappa_{O}}(X \to \text{deepForms}(T \text{mod} \mathfrak{m}) k n r \tau)}; (iii) R\cdot Q = 1; and (iv) for every vector j, every e \in E and every real h \ge 2c, the block (Q\cdot j)(e, \cdot) lies in excessCond T n a r (w^{c}\cdot O) h. (The text reading also lists the section variables Q, R, \beta, which the statement binds itself.)
New/TwistedHecke/ElementaryDivisors.lean · the statement, lines 77–82lemma exists_depth_factorization (ha : a < r) {x} (hm : ∀ β, T.depth k n r β ≤ x) (s : E → X) (g : E → _) (hs : Surjective fun e ↦ ((s e, ⟦(g e)⁻¹⟧) : X × _ ⧸ parahoric W (twoBlock k r))) : ∃ (Q d : Matrix _ _ O) (R : type_of% Qᵀ), (Q * d = of fun (e, α) (x, β) ↦ ite (s e = x) ((diagonal (T.w ^ T.depth k n r ·) * T.letterRep n (g e) :) α β) 0) ∧ d.det ∣ T.w ^ ∑ τ ∈ range x, finrank (ResidueField O) (X → (map (residue O) T).deepForms k n r τ) ∧ R * Q = 1 ∧ ∀ j e {h : ℝ}, 2 * c ≤ h → (Q *ᵥ j) ∘ (e, ·) ∈ T.excessCond n a r (span {T.w ^ c}) h := by
For a finite type \iota, a type \sigma and a commutative ring R: there is an R-multilinear map S from \iota-tuples of R-linear forms on R[x_{\sigma}] to R-linear forms on R[x_{\iota \times \sigma}] with S(l)(\Pi_{j} f_j(x_{(j,\cdot)})) = \Pi_{j} l_j(f_j) for every tuple l of linear forms and every tuple f of polynomials (f_j renamed into the variables (j, v)). Declared in the root namespace.
New/TwistedHecke/ElementaryDivisors.lean · the statement, lines 142–144lemma _root_.exists_tensor_dual ι σ R [Fintype ι] [CommRing R] : ∃ S : MultilinearMap R (fun _ : ι ↦ Dual R (MvPolynomial σ R)) (Dual R (MvPolynomial _ R)), ∀ l (f : _ → _), S l (∏ j, rename (j, ·) (f j)) = ∏ j, l j (f j) := ⟨((aeval fun (i, v) ↦
Let N \ne 0, W a commutative local ring, O a valuation domain (a commutative integral domain whose ideals are totally ordered), T : TwistingData N W O (prime p, P = p^{o_{0}}, letters \iota_{s} : W \to O, w \in O with w^{2} = p), and write Fam for the families \mathbb{Z}/N \to Monomials (Fin k) n, \mathfrak{m} for the maximal ideal of O, \kappa_{O} = O/\mathfrak{m} and T mod \mathfrak{m} = map (residue O) T, O of characteristic 0, p not a unit in O (hp), k, n, c \in \mathbb{N}, a, r \in Fin k with a + 1 = r (ha), \ell \in \mathbb{N} with \ell + \ell = N (e) and N\cdot n\cdot k\cdot(\ell +2) + n + k < P^{\ell} (h), and \theta \in \mathbb{R}. There are b : Fam \to O and a square matrix Z over O indexed by Fam such that: (i) Z\cdot F \in excessCond T n a r (w^{c}\cdot O) \theta for every F; (ii) for every y \in excessCond T n a r (w^{c}\cdot O) (\theta -(4c + 2)) and every F, w^{c} divides y\cdot(\operatorname{diag}(b)\cdot Z\cdot F) - p^{(k+k^{2})\cdot o_{0}N\cdot N}\cdot(y\cdot F) (b \ast Z is the row scaling \operatorname{diag}(b)\cdot Z); and (iii) b(\beta)\cdot \rho(\gamma^{\mathsf{T}})_{\beta \alpha} = b(\alpha)\cdot \rho(\gamma)_{\alpha \beta} for every \gamma \in \mathrm{GL}_k(W) and all families \alpha, \beta (\rho = letterRep T n). (The text reading also lists the section variable \beta, which the statement binds in \forall \gamma \alpha \beta.)
New/TwistedHecke/ElementaryDivisors.lean · the statement, lines 153–157lemma exists_projector (hp : ¬IsUnit (T.p : O)) (ha : a + 1 = r.1) {ℓ} θ (e : ℓ + ℓ = N) (h : N * (n * (k * (ℓ + 2))) + n + k < T.P ^ ℓ) : ∃ b Z, (∀ F, Z *ᵥ F ∈ T.excessCond n a r (span {T.w ^ c}) θ) ∧ (∀ y ∈ T.excessCond n a r (span {T.w ^ c}) (θ - (4 * c + 2)), ∀ F, T.w ^ c ∣ y ⬝ᵥ (b * Z *ᵥ F) - T.p ^ ((k + k ^ 2) * (T.o₀ * N) * N) * y ⬝ᵥ F) ∧ ∀ γ α β, b β * T.letterRep n (transposeGL γ) β α = b α * T.letterRep n γ α β := by
Elementary divisors of a Frobenius-twisted Hecke operator. Let N \ne 0, W a commutative local ring, O a valuation domain (a commutative integral domain whose ideals are totally ordered), T : TwistingData N W O (prime p, P = p^{o_{0}}, letters \iota_{s} : W \to O, w \in O with w^{2} = p), and write Fam for the families \mathbb{Z}/N \to Monomials (Fin k) n, \mathfrak{m} for the maximal ideal of O, \kappa_{O} = O/\mathfrak{m} and T mod \mathfrak{m} = map (residue O) T, O of characteristic 0, p not a unit in O (hp), k, n \in \mathbb{N}, r, \ell \in \mathbb{N} and \kappa, y, z \in \mathbb{R} with HeckeSizes P o_{0} N k n r \ell \kappa y z (big); X, H, I finite types, \mathrm{GL}_k(W)/\mathcal{P} finite for \mathcal{P} = parahoric W (twoBlock k r); M an O-module; f : (X \to I \to O) \to M O-linear; Y an O-linear endomorphism of M; src : X \times \mathrm{GL}_k(W)/\mathcal{P} \to X; g : X \times \mathrm{GL}_k(W)/\mathcal{P} \to \mathrm{GL}_k(W); u : X \times \mathrm{GL}_k(W)/\mathcal{P} \to \mathrm{GL}_H(O); J : I \simeq Fam \times H; such that e \mapsto (src(e), (g(e)^{\mathsf{T}})^{-1}\cdot \mathcal{P}) is injective (hs) and, for every F, Y(f(F)) = f(F') with F'(c, i) = \sum_{b \in \mathrm{GL}_k(W)/\mathcal{P}} \sum_{j\in I} u(c, b)_{J(i).2, J(j).2}\cdot(\rho(g(c, b))\cdot \operatorname{diag}(p^{\text{depth} T k n r \cdot})\cdot \rho(\tilde{b}^{-1}))_{J(j).1, J(i).1}\cdot F(src(c, b), j), \tilde{b} the chosen representative of b (hY). Then for every m \in \mathbb{N}: HasType p (range f) m Y ((z + \kappa \cdot m + y)\cdot(Nat.card X\cdotNat.card I)), i.e., with L = range f: Y(L) \subseteq L, and there is a natural number l \le(z + \kappa m + y)\cdot |X|\cdot |I| with IndexDvd L (Y(L) + p^{m}\cdot L) (p^{l}): every finite family \Phi_{1}, \ldots, \Phi_{n} of elements of L admits a square n\times n matrix A over O with \det A dividing p^{l} and \sum_{k} A_{\mathit{ik}}\cdot \Phi_{k} \in Y(L) + p^{m}\cdot L for every i (New/Core/ModuleIndex.lean:20, 55–56). This is a determinant condition on finite families, not a statement about the cardinality of a quotient; it is meaningful also when L has torsion or L/(Y(L) + p^{m}\cdot L) is infinite. (The text reading also lists the section variable c, which hY binds in fun c i ↦.)
New/TwistedHecke/ElementaryDivisors.lean · the statement, lines 217–224lemma hasType_twisted_hecke (hp : ¬IsUnit (T.p : O)) {r ℓ κ y z} (big : HeckeSizes T.P T.o₀ N k n r ℓ κ y z) {I M : Type} [Fintype H] [Fintype (_ ⧸ parahoric W (twoBlock k r))] [Fintype I] [AddCommGroup M] [Module O M] (f : (X → I → O) →ₗ[O] M) {Y : End O M} (src : X × _ ⧸ parahoric W (twoBlock k r) → X) (g : _ → GL (Fin k) W) (u : _ → GL H O) (J : I ≃ _ × H) (hs : Injective fun e ↦ ((src e, ↑(transposeGL (g e))⁻¹) : X × _ ⧸ parahoric W (twoBlock k r))) (hY : ∀ F, Y (f F) = f fun c i ↦ ∑ b, ∑ j, u (c, b) (J i).2 (J j).2 * (T.letterRep n (g (c, b)) * diagonal ((T.p : O) ^ T.depth k n r ·) * T.letterRep n b.out⁻¹ :) (J j).1 (J i).1 * F (src (c, b)) j) m : HasType ↑T.p f.range m Y ((z + κ * m + y) * (Nat.card X * Nat.card I)) := by
Let N be a natural number, W a commutative local ring, O a commutative ring and T : TwistingData N W O (prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to O, parity isEven, w \in O with w^{2} = p), k \in \mathbb{N}, a letter s and d \in \mathbb{N}: frobGenericMatrix T s d is the k\times k matrix over O[x_{(j,b,c)} : j \in \mathbb{Z}/N, b, c \in Fin k] whose (b, c) entry is x_{(s-d, b, c)}^{P^{d}} (the generic matrix of letter s - d, raised entrywise to the power P^{d}).
New/TwistedHecke/FrobeniusFactors.lean · line 20abbrev frobGenericMatrix := of fun b c : Fin k ↦ @X O _ _ (s - d, b, c) ^ T.P ^ d
Let N be a natural number, W a commutative local ring, O a commutative ring and T : TwistingData N W O (prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to O, parity isEven, w \in O with w^{2} = p), N \ne 0, R a commutative ring, natural numbers k, r, \ell, n and matrices \psi(s, d) \in Mat_k(R) (s \in \mathbb{Z}/N, d \in \mathbb{N}): frobOperator T r \ell n \psi = \otimes_{s\in \mathbb{Z}/N} Sym^{n}(B_s) (the Kronecker product over the letters of the n-th symmetric powers), where row b of the k\times k matrix B_s is row b of \Pi_{s}^{(m)} = \psi(s, m-1)\cdot \psi(s, m-2)\cdots \psi(s, 0) if s is even and of its transposed adjugate if s is odd, with m = \ell + deepIndicator T r (b, s) depending on the row. (Lean's explicit arguments are expected to be T, r, \ell, n, \psi.)
New/TwistedHecke/FrobeniusFactors.lean · the statement, line 25def frobOperator := kroneckerPi fun s ↦ symPowMatrix n (of fun b c ↦ ite (T.isEven s) id
Let N be a natural number, W a commutative local ring, O a commutative ring and T : TwistingData N W O (prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to O, parity isEven, w \in O with w^{2} = p), k \in \mathbb{N}, h \in \mathrm{GL}_k(W) and a letter s: letterConj T h s : Mat_k(O) \to Mat_k(O) is the monoid homomorphism A \mapsto \iota_{s}(h)\cdot A\cdot \iota_{s}(h^{-1}), conjugation by \iota_{s}(h).
New/TwistedHecke/FrobeniusFactors.lean · the statement, line 30def letterConj := MonoidHom.mk ⟨(h.1.map (T.ι s) * · * h⁻¹.1.map (T.ι s)), by simp⟩
Let N be a natural number, W a commutative local ring, O a commutative ring and T : TwistingData N W O (prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to O, parity isEven, w \in O with w^{2} = p), k, \ell \in \mathbb{N} and indices a, a', b \in Fin k: indexWeight T \ell a a' b =([b = a'] - [b = a])/P^{\ell} \in \mathbb{R}.
New/TwistedHecke/FrobeniusFactors.lean · line 35def indexWeight b := (ite (b = a') 1 0 - ite (b = a) 1 0) / (T.P ^ ℓ : ℝ)
Let N be a natural number, W a commutative local ring, O a commutative ring and T : TwistingData N W O (prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to O, parity isEven, w \in O with w^{2} = p), N \ne 0, R a commutative ring, natural numbers k, r, \ell, n, matrices \psi(s, d) \in Mat_k(R), a ring homomorphism \chi : R \to O and h in the Levi subgroup of twoBlock k r (block diagonal for the blocks b < r, b \ge r) (hh). Then \chi applied entrywise to frobOperator T r \ell n \psi equals \rho(h^{-1})\cdotfrobOperator T r \ell n \psi '\cdot \rho(h), where \psi '(s, d) = letterConj T h s (\chi(\psi(s, d))) = \iota_{s}(h)\cdot \chi(\psi(s, d))\cdot \iota_{s}(h^{-1}) and \rho = letterRep T n. (The text reading also lists the section variables s and d, which the statement binds in fun s d ↦.)
New/TwistedHecke/FrobeniusFactors.lean · the statement, lines 44–46lemma frobOperator_map (χ : R →+* O) (hh : h ∈ levi W (twoBlock k r)) : (T.frobOperator r ℓ n ψ).map χ = T.letterRep n h⁻¹ * T.frobOperator r ℓ n (fun s d ↦ T.letterConj h s ((ψ s d).map χ)) * T.letterRep n h := by
Let N be a natural number, W a commutative local ring, O a commutative ring and T : TwistingData N W O (prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to O, parity isEven, w \in O with w^{2} = p), N \ne 0, R a commutative ring, natural numbers k, r, \ell, n, matrices \psi(s, d) \in Mat_k(R), families \beta, \gamma (indices of frobOperator), a decreasing multiplicative real filtration G of R, reals \alpha(s, d, b) (s \in \mathbb{Z}/N, d \in \mathbb{N}, b \in Fin k), x : Fin k \times \mathbb{Z}/N \to \mathbb{R} and u \in \mathbb{R}, such that |\alpha(s, 0, b)| \le u and \sum_{b} \alpha(s, d, b) = 0 for all s, d, b (e); x(b, s) = \pm \alpha(s, \ell + deepIndicator T r (b, s), b), with + for even s (hx); \psi(s, d)_{\mathit{bc}} \in G_{\alpha(s,d+1,b) - \alpha(s,d,c) - u} for all s, d \le \ell and b, c (H); and u \ge 0 (o, by default positivity). Then the (\beta, \gamma) entry of frobOperator T r \ell n \psi lies in G_{x\cdot \text{exponentOf}(\beta) - N\cdot n\cdot k\cdot(\ell +2)\cdot u}, x\cdotexponentOf(\beta) = \sum_{(b,s)} \beta_{s}(b)\cdot x(b, s). (The text reading also lists the section variables s and d, which the statement binds in \forall s, \forall s d.)
New/TwistedHecke/FrobeniusFactors.lean · the statement, lines 62–66lemma frobOperator_mem G [IsRealFiltration G] (α : _ → _ → Fin k → ℝ) x u (e : (∀ s b, |α s 0 b| ≤ u) ∧ ∀ s d, ∑ b, α s d b = 0) (hx : ∀ b s, x (b, s) = ite (T.isEven s) 1 (-1) * α s (ℓ + T.deepIndicator r (b, s)) b) (H : ∀ s, ∀ d ≤ ℓ, ∀ b c, ψ s d b c ∈ G (α s (d + 1) b - α s d c - u)) (o : 0 ≤ u := by positivity) : T.frobOperator r ℓ n ψ β γ ∈ G (weight x (exponentOf β) - N * (n * (k * ((ℓ + 2) * u)))) :=
For a commutative ring O, w \in O, weights \omega : \sigma \to \mathbb{R} and a variable v \in \sigma: x_v \in gaussFiltration (adicFiltration w) \omega (\omega(v)) (its coefficient 1 sits at level \omega(v) - \omega(v) = 0).
New/TwistedHecke/FrobeniusFactors.lean · the statement, line 85lemma X_mem_gaussFiltration {σ w ω v} : @X O σ _ v ∈ gaussFiltration (adicFiltration w) ω (ω v) :=
Let N be a natural number, W a commutative local ring, O a commutative ring and T : TwistingData N W O (prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to O, parity isEven, w \in O with w^{2} = p), k \in \mathbb{N}, h \in \mathrm{GL}_k(W), a letter s, d \in \mathbb{N}, a matrix Y \in Mat_k(O) and b, c \in Fin k: p divides (\iota_{s}(h)\cdot(\iota_{s-d}(h^{-1})\cdot Y\cdot \iota_{s-d}(h))^{(P^{d})}\cdot \iota_{s}(h^{-1}))_{\mathit{bc}} -(Y_{\mathit{bc}})^{P^{d}} in O, where M^{(P^{d})} is the entrywise P^{d}-th power; i.e. letterConj T h s ((letterConj T h^{-1} (s - d) Y)^{(P^{d})}) \equiv Y^{(P^{d})} mod p entrywise.
New/TwistedHecke/FrobeniusFactors.lean · the statement, lines 89–90lemma p_dvd_cj_frobenius_sub {Y b c} : ↑T.p ∣ T.letterConj h s ((T.letterConj h⁻¹ (s - d) Y).map (· ^ T.P ^ d)) b c - Y b c ^ T.P ^ d := let π := Ideal.Quotient.mk (.span {(_ : O)})
Let N be a natural number, W a commutative local ring, O a commutative ring and T : TwistingData N W O (prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to O, parity isEven, w \in O with w^{2} = p), N \ne 0, natural numbers k, \ell, n, c, indices a, a' \in Fin k with a + 1 = a' (ha), a letter i, families \beta, \gamma and an exponent \nu on the generic variables x_{(j,b,c)} (j \in \mathbb{Z}/N, b, c \in Fin k), with N\cdot n\cdot k\cdot(\ell +2) \le P^{\ell} (hn) and \ell \le N (hl), h \in \mathrm{GL}_k(W), and \psi(s, d) = letterConj T' h s ((letterConj T' h^{-1} (s - d) X_{s-d})^{(P^{d})}) (h\psi), where T' = map C T is T over the polynomial ring and X_j =(x_{(j,b,c)})_{b,c} the generic matrix of letter j. Assume that for every letter j \ne i the row and column index-weights of \nu_{j} = \nu.curry j agree, \sum_{(b,c)} \nu_{j}(b,c)\cdotindexWeight T \ell a a' b = \sum_{(b,c)} \nu_{j}(b,c)\cdotindexWeight T \ell a a' c (e), and that 2c + 1 < |excess of \beta at the letter i + \ell - row index-weight of \nu_{i}|, the excess being \sum \beta \cdotexcessWeight T (i + \ell) a a' over exponentOf \beta (g). Then w^{c} divides the coefficient of x^{\nu} in the (\beta, \gamma) entry of frobOperator T a' \ell n \psi. (The text reading also lists the section variables s and d, which h\psi binds in fun s (d : ℕ) ↦.)
New/TwistedHecke/FrobeniusFactors.lean · the statement, lines 102–107lemma pow_dvd_coeff_conj_frobOperator (ha : a + 1 = a'.1) i (hn : N * n * k * (ℓ + 2) ≤ T.P ^ ℓ) (hl : ℓ ≤ N) h {ψ} (hψ : ψ = fun s (d : ℕ) ↦ (map C T).letterConj h s (((map C T).letterConj h⁻¹ (s - d) (of fun b c ↦ X (s - d, b, c))).map (· ^ T.P ^ d))) {c : ℕ} (e : ∀ j ≠ i, weight (T.indexWeight ℓ a a' ·.1) (ν.curry j) = weight (T.indexWeight ℓ a a' ·.2) (ν.curry j)) (g : 2 * c + 1 < |weight (T.excessWeight (i + ℓ) a a') (exponentOf β) - weight (T.indexWeight ℓ a a' ·.1) (ν.curry i)|) : T.w ^ c ∣ (T.frobOperator a' ℓ n ψ β γ).coeff ν := by
Let N be a natural number, W a commutative local ring, O a commutative ring and T : TwistingData N W O (prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to O, parity isEven, w \in O with w^{2} = p), N \ne 0, natural numbers k, r, \ell, n, families \beta, \gamma and an exponent \nu on the generic variables: if the coefficient of x^{\nu} in the (\beta, \gamma) entry of frobOperator T r \ell n (frobGenericMatrix T) is nonzero (e), then for every letter j the letter-j part of \nu has degree at most N\cdot n\cdot k\cdot(\ell +2)\cdot P^{\ell}.
New/TwistedHecke/FrobeniusFactors.lean · the statement, lines 133–135lemma degree_le_of_coeff_frobOperator (e : (T.frobOperator (k := k) r ℓ n T.frobGenericMatrix β γ).coeff ν ≠ 0) j : degree (ν.curry j) ≤ N * (n * (k * ((ℓ + 2) * T.P ^ ℓ))) := by
For k \in \mathbb{N}, a type T with an addition and a one (letters j, with next letter j + 1), v : T \to Bool, P \in \mathbb{R} and permutations \sigma_{j} of Fin k (j \in T): permStep v P \sigma is the \mathbb{R}-linear endomorphism of \mathbb{R}^{Fin k \times T} sending \nu to \beta with \beta(b, j) = \pm(P\cdot \nu(b, j + 1) - \nu(\sigma_{j}(b), j)), the sign + if v(j) is true and - otherwise. (simps lemmas.)
New/TwistedHecke/InterlacingCone.lean · the statement, line 14@[simps!] def permStep (σ : T → Perm (Fin k)) : Module.End ℝ (Fin k × T → ℝ) := .pi fun x ↦
For a type T, k' \in \mathbb{N} and D : T \to \mathbb{R}: slab k' D = \{\beta \in \mathbb{R}^{Fin k' \times T} : \beta \ge 0 and \sum_{b} \beta(b, j) \in [D(j) - 1, D(j)] for every j \in T\}.
New/TwistedHecke/InterlacingCone.lean · line 18def slab (D : T → ℝ) := {β : Fin k' × T → ℝ | 0 ≤ β ∧ ∀ j, ∑ b, β (b, j) ∈ Icc (D j - 1) (D j)}
For k \in \mathbb{N}, a type T with an addition and a one, v : T \to Bool and P \in \mathbb{R}: pieriCone v P is the set of \nu \in \mathbb{R}^{Fin k \times T} such that for every j \in T and consecutive indices b, b' = b + 1 in Fin k: permStep v P 1 \nu at (b' if v(j) else b, j) is at most \nu(b, j) - \nu(b', j); with the trivial permutations this reads P\cdot \nu(b+1, j+1) \le \nu(b, j) if v(j) is true and \nu(b+1, j) \le P\cdot \nu(b, j+1) otherwise.
New/TwistedHecke/InterlacingCone.lean · the statement, line 22def pieriCone := {ν | ∀ j (b b' : Fin k), b.1 + 1 = b' → permStep v P 1 ν (ite (v j) b' b, j) ≤
For k \in \mathbb{N} and weakly decreasing x, y : Fin k \to \mathbb{R} (\mathit{hx}, \mathit{hy}): the determinant of the k\times k matrix whose (b, c) entry is 1 if y(c) < x(b) and 0 otherwise equals 1 if y(b) < x(b) for every b and x(c) \le y(b) whenever c = b + 1 (x_{1} > y_{1} \ge x_{2} > y_{2} \ge \cdots \ge x_k > y_k, interlacing), and 0 otherwise.
New/TwistedHecke/InterlacingCone.lean · the statement, lines 27–29lemma det_interlacing_indicator {x y : Fin k → ℝ} (hx : Antitone x) (hy : Antitone y) : det (of fun b c ↦ ite (y c < x b) (1 : ℝ) 0) = ite ((∀ b, y b < x b) ∧ ∀ b c, b.1 + 1 = c.1 → x c ≤ y b) 1 0 := by
For k \in \mathbb{N}, a finite type T, D : T \to \mathbb{R} and any set Y \subseteq \mathbb{R}^{Fin k \times T}: Y \cap slab k D is bounded (its points satisfy 0 \le \beta(b, j) \le D(j)).
New/TwistedHecke/InterlacingCone.lean · the statement, lines 40–41lemma isBounded_inter_slab [Fintype T] (D : T → ℝ) Y : Bornology.IsBounded (Y ∩ slab k D) := (Metric.isBounded_Icc ..).subset fun _ ⟨_, h, g⟩ ↦
Let k, m \in \mathbb{N}, P > 1 real (hP), v : Fin (m+1) \to Bool (letters in Fin (m+1) with its cyclic addition), D : Fin (m+1) \to \mathbb{R}, and \Omega \subseteq \mathbb{R}^{Fin k \times Fin(m+1)} with permStep v P 1 \nu \in \Omega iff \nu \in pieriCone v P, for every \nu (h\Omega). For \tau \in S_k let \Delta(\tau) = |\det(1 - q^{-1}\cdot \tau \ast)|, where q = P^{m+1} and \tau \ast = funLeft \mathbb{R} \mathbb{R} \tau is the linear map f \mapsto f\circ \tau of \mathbb{R}^{Fin k}. Then \operatorname{vol}(\Omega \cap slab k D) = \Delta(id)/k!\cdot(\sum_{\tau \in S_k} \operatorname{sgn}(\tau)/\Delta(\tau))\cdot \operatorname{vol}(slab k D), volumes being real numbers (Lebesgue measure). The arguments, in Lean's order: \{k\} \{m\} (P) \{v\} (hP) (D) \{\Omega \} (h\Omega) — the implicit section variable k : \mathbb{N} comes first (the statement mentions k only after let Δ τ := …, where the census's text reading of the signature stops); the use @volume_inter_slab_eq_signed_sum k 0 P ⊤ q 1 (pieriCone ⊤ P) … in prod_mul_volume_inter_slab (line 130) passes all eight in this order.
New/TwistedHecke/InterlacingCone.lean · the statement, lines 47–50lemma volume_inter_slab_eq_signed_sum {v : Fin (m + 1) → _} (hP : 1 < P) D {Ω : Set _} (hΩ : ∀ ν, permStep v P 1 ν ∈ Ω ↔ ν ∈ pieriCone v P) : let Δ τ := |(1 - (P ^ (m + 1))⁻¹ • funLeft ℝ ℝ τ).det| volume.real (Ω ∩ slab k D) = Δ id / k.factorial * (∑ τ : Perm (Fin k), τ.sign / Δ τ) * volume.real (slab k D)
Let N \ne 0, k \in \mathbb{N}, v : \mathbb{Z}/N \to Bool, P > 1 real (hP), D : \mathbb{Z}/N \to \mathbb{R} and \Omega \subseteq \mathbb{R}^{Fin k \times \mathbb{Z}/N} with permStep v P 1 \nu \in \Omega iff \nu \in pieriCone v P, for every \nu (h\Omega). Then (\Pi_{l=1}^{k}(q^{l} - 1)/(q - 1))\cdot \operatorname{vol}(\Omega \cap slab k D) = \operatorname{vol}(slab k D), q = P^{N} (volumes as real numbers). This is an identity of volumes for every real P > 1 and every D, and it is written multiplicatively: it also holds when the slab has volume zero. Only when q = P^{N} is a prime power, as in the application (P = p^{o_{0}}), is the factor \Pi_{l=1}^{k}(q^{l} - 1)/(q - 1) the number of full flags in a k-dimensional space over a field with q elements, so that the cyclic interlacing cone fills the share 1/(that number) of a slab of positive volume; for other P it need not be an integer (N = 1, P = 3/2, k = 2 give 5/2).
New/TwistedHecke/InterlacingCone.lean · the statement, lines 111–113lemma prod_mul_volume_inter_slab {N} [NeZero N] {v P} (hP : 1 < P) (D : ZMod N → ℝ) {Ω} (hΩ : ∀ ν, permStep v P 1 ν ∈ Ω ↔ ν ∈ pieriCone v P) : (∏ l : Fin k, ((P ^ N) ^ (l.1 + 1) - 1) / (P ^ N - 1)) * volume.real (Ω ∩ slab k D) = volume.real (slab k D) := by
Stepanov's count. Let W be a commutative local ring, R a commutative ring, \iota : W \to R a ring homomorphism, \Phi \in R[X] a nonzero polynomial (h_{0}) and E \in \mathbb{N} such that X^{E} divides the Taylor shift \Phi(X + \iota(x)) for every x \in W (h), i.e. (X - \iota(x))^{E} divides \Phi. Then E\cdotNat.card(residue field of W) \le \deg \Phi (natDegree). (Nat.card is 0 for an infinite residue field, where the claim is trivial.)
New/TwistedHecke/RootLemma.lean · the statement, lines 27–28lemma stepanov_count (ι : W →+* R) {Φ} E (h0 : Φ ≠ 0) (h : ∀ x, X ^ E ∣ taylor (ι x) Φ) : E * .card (ResidueField W) ≤ Φ.natDegree := by
For a commutative ring R and a family F =(F_t)_{t\in \mathbb{R}} of additive subgroups of R: the class IsRealFiltration F says that F is a decreasing multiplicative filtration indexed by \mathbb{R}: it is a graded monoid (1 \in F_0 and F_s\cdot F_t \subseteq F_{s+t}) and antitone (F_t \subseteq F_s for s \le t).
New/TwistedHecke/RootLemma.lean · line 38class IsRealFiltration extends SetLike.GradedMonoid F where antitone : Antitone F
For a commutative ring R, w \in R and t \in \mathbb{R}: adicFiltration w t is the additive subgroup \{x \in R : w^{\lceil t\rceil_{+}} divides x\}, \lceil t\rceil_{+} = \max(\lceil t\rceil, 0) (Nat.ceil); the w-adic filtration. A simp lemma.
New/TwistedHecke/RootLemma.lean · line 44@[simp] def adicFiltration := mk ⟨⟨{x | w ^ ⌈t⌉₊ ∣ x}, .add⟩, by simp⟩ .neg_right
For a commutative ring R, a family F =(F_t)_{t\in \mathbb{R}} of additive subgroups of R, weights c : \sigma \to \mathbb{R} of the variables and t \in \mathbb{R}: gaussFiltration F c t is the additive subgroup of polynomials f \in R[x_{\sigma}] whose coefficient at every monomial x^{\alpha} lies in F_{t - c\cdot \alpha}, c\cdot \alpha = \sum_{v} \alpha_{v}\cdot c(v) (Finsupp.weight c \alpha).
New/TwistedHecke/RootLemma.lean · the statement, line 53def gaussFiltration := mk ⟨⟨{f : MvPolynomial σ R | ∀ α, f.coeff α ∈ F (t - weight c α)},
For a commutative ring R, w, x \in R and t \in \mathbb{R}: if x \ne 0 implies t \le 0 (h), then x \in adicFiltration w t (x = 0 lies in every subgroup; for t \le 0, \lceil t\rceil_{+} = 0).
New/TwistedHecke/RootLemma.lean · the statement, line 58lemma mem_adicFiltration_of_nonpos {x} (h : x ≠ 0 → t ≤ 0) : x ∈ adicFiltration w t := by
For a commutative ring R, a family F of additive subgroups of R indexed by \mathbb{R}, weights c : \sigma \to \mathbb{R}, t \in \mathbb{R}, an exponent \alpha and x \in R: if x \in F_{t - c\cdot \alpha}, then the monomial x\cdot x^{\alpha} lies in gaussFiltration F c t.
New/TwistedHecke/RootLemma.lean · lines 61–62lemma monomial_mem_gaussFiltration {α x} : x ∈ F (t - weight c α) → monomial α x ∈ gaussFiltration F c t := fun _ _ ↦ by aesop
Let R be a commutative ring, A an R-algebra, F =(F_t) a family of additive subgroups of R indexed by \mathbb{R}, c : \sigma \to \mathbb{R} weights, t \in \mathbb{R}, \chi, \psi : R[x_{\sigma}] \to A homomorphisms of R-algebras (\psi an optional argument, by default \chi), G a decreasing multiplicative real filtration of A, and f \in R[x_{\sigma}]. Assume f \in gaussFiltration F c t (h); \chi(x_i) \in G_{c(i)} for every variable i (u); \psi(x_i) - \chi(x_i) \in G_{c(i) + 1/20} for every i (v; proved by simp by default, e.g. when \psi = \chi); and the image of every x \in F_s in A lies in G_s, for all s \in \mathbb{R} and x \in R (y; proved by default when the target is again a Gauss filtration). Then \psi(f) \in G_t and \psi(f) - \chi(f) \in G_{t + 1/20}.
New/TwistedHecke/RootLemma.lean · the statement, lines 70–74lemma aeval_sub_mem_of_gaussFiltration G [IsRealFiltration G] {f} (h : f ∈ gaussFiltration F c t) (u : ∀ i, χ (X i) ∈ G (c i)) (ψ := χ) (v : ∀ i, ψ (X i) - χ (X i) ∈ G (c i + 20⁻¹) := by simp) (y : ∀ {t x}, x ∈ F t → algebraMap R A x ∈ G t := by intros; (repeat apply monomial_mem_gaussFiltration); simpa) : ψ f ∈ G t ∧ ψ f - χ f ∈ G (t + 20⁻¹) := by
Root lemma: a term least in all frames obeys Frobenius inequalities. Let R be a commutative ring, N \ne 0, W a commutative local ring, T : TwistingData N W R (with w \in R, w^{2} = p), k \in \mathbb{N}, a \ne a' in Fin k (ha), a letter i, a labelling \tau of Fin k with \tau(a) = \tau(a') (h\tau), weights c : Fin k \times \mathbb{Z}/N \to \mathbb{R} with c(u_s) - c(\overline{u}_{s}) \in [0.4, 1.6] for every letter s, where u_s = rootVar T a a' s and \overline{u}_{s} = rootVar T a' a s (hc), a polynomial f \in R[x_{b,s}], an exponent \alpha and l \in \mathbb{N}. Assume that for every g in the Levi subgroup of \tau, polyAction T g^{-1} f lies in gaussFiltration (adicFiltration w) c (l + c\cdot \alpha), i.e. the coefficient of every Levi translate of f at x^{\beta} is divisible by w^{\lceil l + c\cdot \alpha - c\cdot \beta \rceil_{+}} (h), and that w^{l+1} does not divide the coefficient of x^{\alpha} in f (h_{0}). Then the excess of \alpha at the letter i is \le 0: \sum_{(b,s)} \alpha_{(b,s)}\cdotexcessWeight T i a a' (b, s) \le 0. (The text reading also lists the section variable w : R; the statement only mentions the field T.w.)
New/TwistedHecke/RootLemma.lean · the statement, lines 88–91lemma TwistingData.root_lemma i (ha : a ≠ a') τ c {f α} (l : ℕ) (h : ∀ g ∈ levi W τ, T.polyAction g⁻¹ f ∈ gaussFiltration (adicFiltration T.w) c (l + weight c α)) (h0 : ¬T.w ^ (l + 1) ∣ f.coeff α) (hτ : τ a = τ a') (hc : ∀ s, c (T.rootVar a a' s) - c (T.rootVar a' a s) ∈ Set.Icc 0.4 1.6) : weight (T.excessWeight i a a') α ≤ 0 := by
For natural numbers k and r and an index b \in Fin k = \{0, \ldots, k-1\}: twoBlock k r b = 0 if b < r and 1 otherwise (a natural number). Used as the labelling \tau of Levi and parahoric subgroups with the two blocks \{b < r\} and \{b \ge r\}.
New/TwistedHecke/TwistingData.lean · line 21def twoBlock r (b : Fin k) := ite (b.1 < r) 0 1
For a natural number N, a commutative local ring W and a commutative ring R, twisting data T : TwistingData N W R consist of natural numbers p and o_{0}, ring homomorphisms \iota_{s} : W \to R for s \in \mathbb{Z}/N (the letters), a labelling isEven : \mathbb{Z}/N \to Bool and an element w \in R, such that: p is prime; 5 \le P \coloneqq p^{o_{0}}; w^{2} = p in R; p divides \iota_{s+1}(x) - \iota_{s}(x)^{P} in R for every s \in \mathbb{Z}/N and x \in W (consecutive letters differ by the P-power Frobenius modulo p); isEven(s + 1) = not isEven(s) for every s (the letters alternate between even and odd; for N > 0 this forces N to be even); and the residue field of W has Nat.card equal to P^{N} (so it is finite with q = P^{N} elements).
New/TwistedHecke/TwistingData.lean · the statement, line 25structure TwistingData where
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R): T.P = p^{o_{0}}, a natural number (\ge 5 by five_le_P).
New/TwistedHecke/TwistingData.lean · line 42abbrev P := T.p ^ T.o₀
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R): T.q = P^{N} = p^{o_{0}N}, a natural number, the number of elements of the residue field of W.
New/TwistedHecke/TwistingData.lean · line 45abbrev q := T.P ^ N
For a natural number N, a commutative local ring W, commutative rings R and R', a ring homomorphism \varphi : R \to R' and twisting data T : TwistingData N W R: map \varphi T (written T.map \varphi) is the twisting data over R' with the same p, o_{0} and isEven, letters \varphi \circ \iota_{s} and element \varphi(w); the conditions w'^{2} = p and p \mid \iota '_{s+1}(x) - \iota '_{s}(x)^{P} follow by applying \varphi.
New/TwistedHecke/TwistingData.lean · the statement, line 49def map := {T with
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R), k a natural number and s \in \mathbb{Z}/N a letter: letterMatrix T s : \mathrm{GL}_k(W) \to Mat_k(R) is the monoid homomorphism g \mapsto g_s, where g_s = \iota_{s}(g) (\iota_{s} applied to each entry) if s is even and g_s = \iota_{s}((g^{-1})^{\mathsf{T}}) if s is odd. (Lean's explicit arguments are expected to be T and s; the text reading also lists the section variable g, see binders.)
New/TwistedHecke/TwistingData.lean · the statement, line 55@[simps -isSimp] def letterMatrix := MonoidHom.mk ⟨fun g : GL (Fin k) W ↦
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R), N \ne 0 and k a natural number: polyAction T : \mathrm{GL}_k(W) \to \operatorname{End}_{R-\text{alg}}(R[x_{b,s} : b \in Fin k, s \in \mathbb{Z}/N]) is the monoid homomorphism sending g to the R-algebra endomorphism linSubst of the block diagonal matrix with blocks g_s = letterMatrix T s g; it sends the variable x_{c,s} to \sum_{b}(g_s)_{\mathit{bc}}\cdot x_{b,s} (\text{polyAction}_X), so g acts on the variables of letter s through g_s. (Lean's explicit argument is expected to be T alone.)
New/TwistedHecke/TwistingData.lean · the statement, line 60def polyAction := MonoidHom.mk ⟨fun g ↦ linSubst (blockDiagonal (T.letterMatrix (k := k) · g)),
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R), N \ne 0 and k, n natural numbers: letterRep T n : \mathrm{GL}_k(W) \to Mat(R) is the monoid homomorphism g \mapsto \rho(g) = \otimes_{s\in \mathbb{Z}/N} Sym^{n}(g_s), the Kronecker product over the letters of the n-th symmetric power matrices (symPowMatrix n, in the monomial basis) of g_s = letterMatrix T s g; its rows and columns are indexed by families \beta =(\beta_{s})_{s\in \mathbb{Z}/N} of exponent vectors of degree n on Fin k (\beta_{s} \in Monomials (Fin k) n), and \rho(g)_{\beta,\alpha} = \Pi_{s} Sym^{n}(g_s)_{\beta_{s},\alpha_{s}}. (Lean's explicit arguments are expected to be T and n.)
New/TwistedHecke/TwistingData.lean · the statement, line 65@[simps -isSimp] def letterRep := MonoidHom.mk ⟨fun g ↦
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R), k, r natural numbers and a variable x =(b, s) \in Fin k \times \mathbb{Z}/N: deepIndicator T r x = 1 if [s is even] \leftrightarrow [r \le b] holds (s even and b \ge r, or s odd and b < r: x is deep for r), and 0 otherwise (a natural number).
New/TwistedHecke/TwistingData.lean · line 70def deepIndicator := if T.isEven x.2 ↔ r ≤ x.1 then 1 else 0
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R), N \ne 0, natural numbers k, n, r and a family \beta =(\beta_{s})_{s\in \mathbb{Z}/N} of exponent vectors of degree n on Fin k: depth T k n r \beta = \sum_{(b,s)} \beta_{s}(b)\cdotdeepIndicator T r (b, s), the total degree of the monomial x^{\beta} in the variables that are deep for r. (k is an explicit argument here.)
New/TwistedHecke/TwistingData.lean · line 74def depth k n r β := (exponentOf (a := n) β).weight (T.deepIndicator (k := k) r)
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R), k a natural number, indices a, a' \in Fin k and a letter s: rootVar T a a' s =(a', s) if s is even and (a, s) if s is odd, a variable in Fin k \times \mathbb{Z}/N. (simps lemmas for its two components.)
New/TwistedHecke/TwistingData.lean · line 77@[simps] def rootVar := (ite (T.isEven s) a' a, s)
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R), k a natural number, a letter i, indices a, a' \in Fin k and a variable x =(b, s): excessWeight T i a a' x =([x = u_s]\cdot P^{1 +((s - 1 - i) \text{mod} N)} - [x = \overline{u}_{s}]\cdot P^{(s - i) \text{mod} N}) / q \in \mathbb{R}, where u_s = rootVar T a a' s, \overline{u}_{s} = rootVar T a' a s, [\cdot] is 1 or 0 and (\cdot) mod N is ZMod.val. For N > 0, 1 +((s - 1 - i) mod N) is N for s = i and (s - i) mod N otherwise (one_add_val_sub_one_sub). Hence, when a \ne a' (so that u_s \ne \overline{u}_{s}): u_s weighs P^{(s-i) \text{mod} N}/q (and P^{N}/q = 1 for s = i), \overline{u}_{s} weighs -P^{(s-i) \text{mod} N}/q (-1/q for s = i), and every other variable 0. The definition also allows a = a': then u_s = \overline{u}_{s} =(a, s) for every s and the two terms add, so (a, i) weighs 1 - 1/q, (a, s) weighs 0 for s \ne i, and every other variable 0.
New/TwistedHecke/TwistingData.lean · the statement, line 81def excessWeight := (ite (x = T.rootVar a a' x.2) (T.P ^ (1 + (x.2 - 1 - i).val)) 0 -
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R), N \ne 0, natural numbers k and n, a labelling \tau : Fin k \to \mathbb{N} (the definition does not write the codomain; its call @levi k W _ τ fixes it, as levi takes \tau : Fin k \to \mathbb{N}, Lib/General/LinearAlgebra/ExtendColumns.lean:112), an ideal I \subseteq R and a set B of families \beta =(\beta_{s}) of degree-n exponent vectors: translatesIn T n \tau I B is the R-submodule of coefficient vectors F : (\mathbb{Z}/N \to Monomials (Fin k) n) \to R such that (\rho(g)F)_{\beta} \in I for every g in the Levi subgroup levi W \tau (matrices with g_{\mathit{ij}} = 0 whenever \tau(i) \ne \tau(j)) and every \beta \in B, \rho = letterRep T n. (Lean's explicit arguments are expected to be T, n, \tau, I, B.)
New/TwistedHecke/TwistingData.lean · the statement, line 86def translatesIn τ (I : Ideal R) (B : Set _) := (⟨⟨⟨{F | ∀ g ∈ @levi k W _ τ, ∀ β ∈ B,
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R), N \ne 0, natural numbers k, n, indices a, a' \in Fin k, an ideal I \subseteq R and a real number h: excessCond T n a a' I h = translatesIn T n (twoBlock k a') I \{\beta : some letter i has \sum_{(b,s)} \beta_{s}(b)\cdotexcessWeight T i a a' (b, s) > h\}: the coefficient vectors F with (\rho(g)F)_{\beta} \in I for every g \in \mathrm{GL}_k(W) block diagonal for the blocks \{b < a'\}, \{b \ge a'\} and every \beta whose excess at some letter exceeds h. (Lean's explicit arguments are expected to be T, n, a, a', I, h.)
New/TwistedHecke/TwistingData.lean · the statement, line 91abbrev excessCond I h :=
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R), N \ne 0 and natural numbers k, n, r, d: deepForms T k n r d = translatesIn T n 0 \perp \{\beta : depth T k n r \beta < d\}: the coefficient vectors F such that (\rho(g)F)_{\beta} = 0 for every g \in \mathrm{GL}_k(W) (the Levi subgroup of the constant labelling 0 is all of \mathrm{GL}_k(W)) and every \beta of depth < d; i.e. every translate \rho(g)F has only monomials of depth at least d (the space V_d).
New/TwistedHecke/TwistingData.lean · line 96abbrev deepForms k n r d := T.translatesIn n 0 ⊥ {β | T.depth k n r β < d}
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R): 1 < P, as real numbers (from 5 \le P).
New/TwistedHecke/TwistingData.lean · line 103lemma one_lt_P : (1 : ℝ) < T.P := mod_cast by lia
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R) and N \ne 0: 1 < q = P^{N}, as real numbers.
New/TwistedHecke/TwistingData.lean · line 105lemma one_lt_q : (1 : ℝ) < T.q := mod_cast by grind
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R), n \in \mathbb{N}, a letter s and x \in W: p divides \iota_{s+n}(x) - \iota_{s}(x)^{P^{n}} in R (induction on n from the Frobenius congruence of T).
New/TwistedHecke/TwistingData.lean · the statement, line 108lemma frobenius_pow_congr x : ↑T.p ∣ T.ι (s + n) x - T.ι s x ^ T.P ^ n := have := T.frobenius_congr
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R): if R has characteristic zero, then w \ne 0 (w^{2} = p \ne 0).
New/TwistedHecke/TwistingData.lean · line 114lemma w_ne_zero [CharZero R] : T.w ≠ 0 := by grind [Nat.cast_inj, T.prime.pos]
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R): the residue field of W is finite (its Nat.card is P^{N} > 0). T is included explicitly (include T).
New/TwistedHecke/TwistingData.lean · line 117include T in lemma finite_residueField : Finite (ResidueField W) := by grind [Nat.card_pos_iff]
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R), N \ne 0, k \in \mathbb{N}, a labelling \tau of Fin k, g \in \mathrm{GL}_k(W) in the parahoric subgroup of \tau (\mathit{hg}: the reduction of g modulo the maximal ideal has (i, j) entry 0 whenever \tau(i) < \tau(j)), a letter s and indices i, j \in Fin k with \tau(i) < \tau(j) if s is even and \tau(j) < \tau(i) if s is odd (h): p divides the (i, j) entry of g_s = letterMatrix T s g in R.
New/TwistedHecke/TwistingData.lean · the statement, lines 119–120lemma p_dvd_letterMatrix_of_mem_parahoric (hg : g ∈ parahoric W τ) i j (h : ite (T.isEven s) (τ i < τ j) (τ j < τ i)) : ↑T.p ∣ T.letterMatrix s g i j := ((isUnit_one_sub_self_of_mem_nonunits
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R), N \ne 0, k \in \mathbb{N}, g \in \mathrm{GL}_k(W) and a variable x =(c, s): polyAction T g (x_{(c,s)}) = \sum_{b\in Fin k} C((g_s)_{\mathit{bc}})\cdot x_{(b,s)}, g_s = letterMatrix T s g.
New/TwistedHecke/TwistingData.lean · lines 128–129lemma polyAction_X : T.polyAction g (X x) = ∑ b, C (T.letterMatrix x.2 g b x.1) * X (b, x.2) := by simp
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R), N \ne 0, natural numbers k, n, r and an element x \in R: the diagonal matrix indexed by families \beta with entries x^{\text{depth} T k n r \beta} equals the Kronecker product over the letters s of Sym^{n} of the k\times k diagonal matrix \operatorname{diag}(x^{\text{deepIndicator} T r(b, s)})_{b\in Fin k}. (The text reading also lists the section variable s, which the statement binds in fun s ↦.)
New/TwistedHecke/TwistingData.lean · the statement, lines 131–132lemma diagonal_pow_depth (x : R) : diagonal (x ^ T.depth k n r ·) = kroneckerPi fun s ↦ symPowMatrix n (diagonal (n := Fin k) (x ^ T.deepIndicator r ⟨·, s⟩)) := by ext; simp [apply_ite,
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R), N \ne 0, natural numbers k, n, g \in \mathrm{GL}_k(W) and a coefficient vector F : (\mathbb{Z}/N \to Monomials (Fin k) n) \to R: polyAction T g (polyOfCoeffs F) = polyOfCoeffs (\rho(g)\cdot F), where polyOfCoeffs F = \sum_{\beta} F(\beta)\cdot x^{\beta} and \rho = letterRep T n; i.e. \rho(g) is the matrix of g acting on forms of degree n in each letter.
New/TwistedHecke/TwistingData.lean · the statement, lines 137–138lemma polyAction_polyOfCoeffs F : T.polyAction g (polyOfCoeffs F) = polyOfCoeffs (T.letterRep n g *ᵥ F) := by
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R), N \ne 0, a commutative ring R', a ring homomorphism \varphi : R \to R', natural numbers k, n and g \in \mathrm{GL}_k(W): letterRep (T.map \varphi) n g = \varphi applied entrywise to letterRep T n g.
New/TwistedHecke/TwistingData.lean · line 142lemma letterRep_map : (T.map φ).letterRep n g = (T.letterRep n g).map φ := by aesop
For a natural number N \ne 0 and letters s, i \in \mathbb{Z}/N: 1 +((s - 1 - i) mod N) = N if s = i and (s - i) mod N otherwise ((\cdot) mod N is ZMod.val, the representative in \{0, \ldots, N-1\}). A simp lemma.
New/TwistedHecke/TwistingData.lean · the statement, line 144@[simp] lemma one_add_val_sub_one_sub : 1 + (s - 1 - i).val = ite (s = i) N (s - i).val := by
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R), N \ne 0 and a letter s: 5\cdot P^{s \text{mod} N} \le q, as natural numbers (s mod N \le N - 1 and 5 \le P).
New/TwistedHecke/TwistingData.lean · lines 147–148lemma five_mul_P_pow_le_q : 5 * T.P ^ s.val ≤ T.q := by grw [T.five_le_P, ← pow_succ', q]; gcongr <;> grind
Let N be a natural number, W a commutative local ring, R a commutative ring and T twisting data over them (T : TwistingData N W R, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to R for s \in \mathbb{Z}/N, parity isEven and w \in R), N \ne 0, k \in \mathbb{N}, a letter i, indices a, a' \in Fin k and a variable x: excessWeight T i a a' x \in [-1/5, 1].
New/TwistedHecke/TwistingData.lean · the statement, line 150lemma excessWeight_mem_Icc : T.excessWeight i a a' x ∈ Set.Icc (-5⁻¹) 1 :=
For a commutative ring O, an O-module V, submodules M, N \subseteq V and an element z \in O: IndexDvd M N z holds when for every natural number n and every family \Phi_1, \ldots, \Phi_n of elements of M there is an n\times n matrix m over O whose determinant divides z such that every combination \sum_k m_{ik}\cdot\Phi_k (i = 1, \ldots, n) lies in N. (A divisibility form of 'the index of N in M divides z'; when M \subseteq N, m = 1 works.) The definition takes M, N, z as explicit arguments (variable (M N z) in).
New/Core/ModuleIndex.lean · line 20def IndexDvd := ∀ n (Φ : Fin n → V), (∀ k, Φ k ∈ M) → ∃ m, det m ∣ z ∧ ∀ i, ∑ k, m i k • Φ k ∈ N
For a commutative ring O, an O-module V, p \in O, a submodule M \subseteq V, a natural number n, an O-linear endomorphism y of V and a real number c: HasType p M n y c means that y(M) \subseteq M and there is a natural number l \le c with IndexDvd M (y(M) + p^{n}\cdot M) (p^{l}) ('y has type at most c at p^{n} on M': the index of y(M) + p^{n}M in M divides p^{l}).
New/Core/ModuleIndex.lean · the statement, line 55def HasType p M n (y : End O V) (c : ℝ) :=
Determinant criterion. Let O be a valuation domain (an integral domain whose ideals are totally ordered: ValuationRing O), \iota a finite type, z \in O, A an \iota\times\iota matrix over O with \det A dividing z (h), and N \subseteq O^{\iota} a submodule containing the image A(O^{\iota}) (e). Then IndexDvd O^{\iota} N z (the whole module \top on the left).
New/Core/ModuleIndex.lean · the statement, lines 68–69lemma IndexDvd.of_det_dvd [IsDomain O] [ValuationRing O] [Fintype ι] {A : Matrix ι ι O} {N} (h : A.det ∣ z) (e : .map A.mulVecLin ⊤ ≤ N) : IndexDvd ⊤ N z := fun _ Φ _ ↦
Transitivity. For a commutative ring O, an O-module V, submodules M, N, P \subseteq V and z, a \in O: if IndexDvd M N z (h) and IndexDvd N P a (g), then IndexDvd M P (z\cdot a).
New/Core/ModuleIndex.lean · the statement, line 31lemma IndexDvd.trans (h : IndexDvd M N z) (g : IndexDvd N P a) : IndexDvd M P (z * a) :=
Push-forward. For a commutative ring O, O-modules U and V, submodules M, N \subseteq V and M', N' \subseteq U, z \in O and an O-linear map f : V \to U: if IndexDvd M N z (h), M' \subseteq f(M) + N', and f(N) \subseteq N', then IndexDvd M' N' z.
New/Core/ModuleIndex.lean · the statement, lines 37–38lemma IndexDvd.map (h : IndexDvd M N z) (f : V →ₗ[O] U) : M' ≤ M.map f ⊔ N' → N.map f ≤ N' → IndexDvd M' N' z := by
Composition. For a commutative ring O, an O-module V, submodules M, N \subseteq V, elements z, z', a \in O and an O-linear endomorphism f of V with f(M) \subseteq M (e): if IndexDvd M (f(M) + a\cdot M) z and IndexDvd M (N + a\cdot M) z', then IndexDvd M (f(N) + a\cdot M) (z\cdot z'). (IndexDvd.map along f, then IndexDvd.trans.)
New/Core/ModuleIndex.lean · lines 50–51lemma IndexDvd.comp (e : M.map f ≤ M) : IndexDvd M (M.map f ⊔ a • M) z → IndexDvd M (N ⊔ a • M) z' → IndexDvd M (N.map f ⊔ a • M) (z * z') := (·.trans <| ·.map f (by order) (by grw [← e]; simp))
Hermite form: if (A, R) satisfies IsValuationPair and ι embeds k in n, an n×k matrix y over A is U_ι·D with U ∈ GL_n(R), U_ι its columns at ι, and D = (rows ι of U⁻¹)·y block upper triangular.
Lib/Adelic/Witt/FrameAction.lean · the statement, lines 58–59lemma IsValuationPair.hermite y (wt : k → ℕ := 0) : ∃ᵉ (U ∈ intGL n R) (D : Matrix k k A), D.BlockTriangular wt ∧ y = U.1.submatrix id ι * D ∧ U⁻¹.1.submatrix ι id * y = D :=
If the subring R of a commutative ring A satisfies IsValuationPair, every square matrix y over A is k·diag(d)·k' with k, k' ∈ GL_n(R) (integral with integral inverse) and d with entries in A.
Lib/General/LinearAlgebra/ColumnLattices.lean · the statement, lines 23–24lemma IsValuationPair.smith_normal_form {A n} [CommRing A] {R} [Fintype n] (val : @IsValuationPair A _ R) y : ∃ᵉ (k ∈ intGL n R) (k' ∈ intGL n R) (d), y = k.1 * diagonal d * k'.1 := by
If A is an integral domain and a valuation ring, the pair (A, ⊤) satisfies IsValuationPair.
Lib/Adelic/Witt/FrameAction.lean · the statement, line 50lemma isValuationPair_top [IsDomain A] [ValuationRing A] : @IsValuationPair A _ ⊤ := by
Over a field K, give the variable u the cost 1/κ_u (κ_u > 0). Let z : S → K^ι be injective with Π κ_u ≤ |S|, and suppose for every u there is a polynomial g_u all of whose monomials cost < 1 with g_u(z_t) = (z_t)_u^{κ_u} for all t. Then every f ≠ 0 lying in the d-th power of the vanishing ideal of each point z_t has a monomial α in its support with d ≤ Σ_u α_u/κ_u.
Lib/General/Algebra/ZerosCostDegree.lean · the statement, lines 271–275lemma exists_le_cost_of_vanishing {K ι S : Type} [Field K] [Fintype ι] [Fintype S] (κ : ι → ℕ) (κ0 : ∀ u, 0 < κ u) (z : S → _) (inj : z.Injective) (card : ∏ u, κ u ≤ Fintype.card S) (hz : ∀ u, ∃ g : MvPolynomial ι K, (∀ α ∈ g.support, weight (κ · : ι → ℝ)⁻¹ α < 1) ∧ ∀ t, MvPolynomial.eval (z t) g = z t u ^ κ u) (d : ℕ) f (f0 : f ≠ 0) (hf : ∀ t, f ∈ vanishingIdeal K {z t} ^ d) : ∃ α ∈ f.support, d ≤ weight (κ · : ι → ℝ)⁻¹ α := by
For a finite field k with q elements and a finite index type n: |GL_n(k)| = Π_{i<|n|} q^i(q^{i+1} − 1), as an identity in any field.
Lib/LocalGL/Green/CuspidalAtScalars.lean · the statement, lines 17–18lemma card_GL_eq_prod {n R} [Fintype n] [Field R] : Nat.card (GL n k) = ∏ i ∈ range (Fintype.card n), (Nat.card k ^ i * (Nat.card k ^ (i + 1) - 1) : R) := by open Calc in