An average on polynomials in the entries of a matrix
New.UpperBound.ElementaryDivisors.InvariantAverage.lean
Reading
Upstream documentation written by Claude
Let
Lbe a Levi subgroup ofGL_k,Wa local ring with large finite residue field, andι : W → Oa ring map to a valuation domain of characteristic0in which the primepis not a unit. Letρ ∈ ℤ ^ kweigh the indices, and call a monomial in the matrix entries bad if its row weight exceeds a threshold. The file constructs anO-linear formIon polynomials in the matrix entries (New.Average.exists_isAverage) that is invariant under conjugation byL(W), vanishes on bad monomials, and agrees modulo an idealJwith a power ofptimes evaluation at the matrix1on every polynomial of small degree whose conjugates have no bad monomial moduloJ(New.Average.IsAverage,New.Average.evalAtOne).
Copyright 2026 Anthropic, PBC. Apache License 2.0 · Upstream notice.
Rest of upstream introduction
New.Average.exists_isAdjointWeight: the multinomial coefficients of the monomials of degree< p ^ finmvariables dividep ^ (m f)inO, and the quotients make the substitutions by a matrix and by its transpose adjoint.New.Average.eq_top_of_schurMap_eq_leviMonomialValues: the points ofL(W)span the Schur algebra ofLof degreed, which acts onU = (O ^ k)^{⊗ d}.New.Average.dualOperator: with the quotients above, a polynomialψgives an elementψ♯of the Schur algebra. Ford < p ^ fits trace onUis the scaled value at1of the part of degreedofψ, and conjugation ofψbecomes conjugation ofψ♯.New.Average.averagePart: in degreed ≤ Dthe formIis the trace ofψ♯onUminus its trace on the submoduleU₊(New.Average.largeWeightSubmodule) generated by the basis tensors of large weight.
All k ^ 2 entries are variables; a monomial with an entry outside the blocks has ψ♯ = 0.
The row weight of a monomial α is ∑ α (i, j) • ρ i; the column weight has ρ j in place of
ρ i. The Schur algebra is built on the transpose of the matrix of variables, so the row indices
of a monomial are the column indices of ψ♯, and no transpose appears in the rule for conjugation.
Transposing the variables gives the same statements with column weights, since L(W) is closed
under transposition.
Notions from other files:
New.linSubst z: for anm × σmatrixzoverR, theR-algebra map from polynomials in variables indexed byσto those indexed bymthat sendsX bto∑ t, z t b • X t.New.levi W τ: the Levi subgroup of a labellingτof the indices, made of the matrices inGL_k(W)whose entry(i, j)vanishes wheneverτ i ≠ τ j.New.kroneckerPi A: the Kronecker product of a family of matricesA s; its entry at(β, α)is∏ s, A s (β s) (α s).New.fockPairing: the bilinear form on polynomials for which monomials are orthogonal and⟨x ^ α, x ^ α⟩ = α!.
The average serves the map Av of New.UpperBound.ElementaryDivisors.AveragingMap.
Relation to the literature
Known result: the Schur algebra, and that group elements span it in degrees below the size of the
field. Here this is proved for Levi subgroups over local rings, in degrees d with d + k at most
the size of the residue field. Source: Green, Polynomial representations of GL_n, 1980; Benson–Doty,
Schur–Weyl duality over finite fields, 2009.
Declarations
theorem exists_isAverage {k : ℕ} {W O : Type} [CommRing W] [IsLocalRing W] [CommRing O] (τ : Fin k → ℕ) (ι : W →+* O) [IsDomain O] [CharZero O] [ValuationRing O] {p : ℕ} (hp_prime : p.Prime) (hp : ¬IsUnit (p : O)) (f : ℕ) {D : ℕ} (hD : D < p ^ f) (hW : D + k ≤ Nat.card (ResidueField W)) (ρ : Fin k → ℤ) (t : ℤ) : ∃ I : Dual O (MvPolynomial (Fin k × Fin k) O), IsAverage τ ι ρ t ((p : O) ^ (k ^ 2 * f)) D I
Import route to Main
New.UpperBound.ElementaryDivisors.InvariantAverage → New.UpperBound.ElementaryDivisors.Edges (pinned import) → New.UpperBound.ElementaryDivisors.AveragingMap (pinned import) → New.UpperBound.ElementaryDivisors.ElementaryDivisorTheorem (pinned import) → New.UpperBound.Divisibility.HeckeEdges (pinned import) → New.UpperBound.Divisibility.MarkOperator (pinned import) → New.UpperBound.Divisibility.LocalDivisibility (pinned import) → New.Reduction.ShortAndEnough (pinned import) → New.Reduction.MainInequality (pinned import) → New.Reduction.OneSidedBound (pinned import) → New.Main (pinned import) → Main (pinned import)