The share of non-allowed polynomials and the bad share
New.Spanning.MainTerm.BadTypes.lean
Reading
Upstream documentation written by Claude
This file bounds the share of the bad types for tuples of polynomials over fields with q elements. A label is a monic squarefree polynomial of degree
rthat does not vanish at0. The file counts the monic polynomials that are not allowed and the primitive polynomials. It then bounds the coefficient at the identity of one minus the sum of the idempotents of the good tuples.
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
Main definitions and results
New.card_not_primitive_mul_le: for1 < r < q, with every polynomial weighted by(1 - r / q) / q ^ r, the monic polynomials of degreerthat are not primitive polynomials weigh at mostexp (-1 / (2 r (2 r log q + 1)))in total.New.re_coeff_one_sub_sum_tupleIdem_le: the bound on the coefficient at the identity of one minus the sum of the idempotents of the good tuples.
Notions from other files:
New.tupleIdem: For a tuple (c_w) of polynomials over the fields k_w, the tensor product of the polynomial idempotents e_{c_w} in the group algebra of ∏ GL_n(k_w).
Relation to the literature
In the regular representation of a product of groups GL_r(F_q), types that are not good have share at most a multiple of 1/q per factor plus a term decaying exponentially in the number of factors. So the projection to good types discards little when translates of the Poincaré series fill the rows. It computes the Plancherel shares for GL_r(F_q) from Green's degree formula and counts of squarefree and primitive polynomials over F_q, followed by a union bound over the factors. Related work: Green, The characters of the finite general linear groups, 1955; Dudko, Plancherel measures for GL(n,q), arXiv 0806.1345, 2008; Lidl–Niederreiter, Finite Fields, ch. 3, 1983.
Declarations
lemma New.re_coeff_one_sub_sum_tupleIdem_le {n ι : Type*} [Fintype n] [DecidableEq n] [Fintype ι] [DecidableEq ι] {k : ι → Type*} [∀ w : ι, Field (k w)] [∀ w : ι, Finite (k w)] {q M r f : ℕ} [NeZero M] (ε L : ℝ) (hq : ∀ w : ι, Nat.card (k w) = q) (hr : Fintype.card n = r) (hf : Fintype.card ι = f) (hr_one_lt : 1 < r) (hrq : r < q) (hε_le : ε ≤ 1) (hε_ge : (1 + M + 2 * r) / q ≤ ε) (hL : 2 * r * (2 * (r * Real.log q) + 1) * L ≤ f) : ((1 - ∑ c ∈ goodTuples M r, tupleIdem (k
Import route to Main
New.Spanning.MainTerm.BadTypes → New.Spanning.SecondMoment.SpanningTheorem (pinned import) → New.Reduction.ShortAndEnough (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)