Structured proof · Unit 144
lemma ClassMean.exists_mean
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.Replace \deg \alpha \le D by \deg \alpha < D + 1.
Induction on d \in \{0, \ldots, D + 1\}: prove the statement with '\deg \alpha < d' in place of '\deg \alpha < D + 1'. For d = 0 the zero form works. For the step, let \kappa satisfy (a)–(d) for d (with u: the values in degree < d, and w: membership in the span) and construct a form for d + 1.
Let Y be the generic Levi matrix, Y_{\mathit{ij}} = [\tau(i) = \tau(j)]\cdot x_{(j,i)}, and g = Y^{\otimes d} (mapped to O), the Kronecker power indexed by m, t :
Find \toFink with entries \Pi_{l} Y_{m_l t_l}.Claim H: if the coefficient of \alpha in the entry g_{\mathit{mt}} is nonzero, then the weight of \alpha for any w equals \sum_{l} w(t_l, m_l) (each entry is a constant times one monomial).
Lean states
(g m t).coeff α ≠ 0 → α.weight w = ∑ l, (w (t l, m l) : ℝ)Usesstep 3,
kroneckerPiunit 112Let S be the O-linear map from O^{\text{Monomials} \mathit{of} \text{degree} d} to matrices sending c to \sum_{\gamma} c_{\gamma}\cdot(coefficient of \gamma in g), entrywise.
Claim E: for every O-linear form l on polynomials, S((l(x^{\gamma}))_{\gamma}) = l applied entrywise to g (the entries of g are homogeneous of degree d, by H).
Lean states
S (l <| monomial · 1) = g.map lUsesstep 4, step 5,
sum_monomials_eq_of_isHomogeneousunit 57Claim \mathit{hv}: for every point b, S((\iota(b^{\gamma}))_{\gamma}) = the Kronecker power of \iota(Y(b)) (E for evaluation at \iota \circ b).
Lean states
_ = kroneckerPi fun _ ↦ (Y.map (eval b)).map ιUsesstep 3, step 6,
kroneckerPiunit 112Claim \mathit{sp}: an O-submodule of O^{Mon_d} that contains every c with S(c) = S(\mathit{ev}(a)) for some Levi element a is everything — by Zariski density (
eq_top_of_eval_monomial) with d = \det Y, homogeneous of degree k and a unit at the identity, and degree d + k \le |residue field| (hW): a point b with \det Y(b) a unit gives the Levi element Y(b).Usesstep 3, step 7, step 8, step 9,
ClassMean.unit 144,eq_top_of_eval_monomial Matrix.,det_apply' MvPolynomial.,IsHomogeneous. sum isUnits_det_unitsLet N be the O-submodule of column vectors spanned by the columns t of the matrices S(c) whose index weight \sum_{l} x(t_l) satisfies P.
Record that each of these column ranges lies in N (m); N is free (finitely generated and torsion-free over the valuation ring O, a B\acute{e}zout domain, hence flat by the direction torsion-free \Rightarrow flat of
flat_iff_torsion_eq_bot_of_isBezout, hence free byfree_of_flat_of_isLocalRing, which asks N to be finitely generated, not finitely presented); and choose q, the invariant diagonal form for \sigma =Fink \timesFink (exists_invariant_diagonal_form), with \mathit{hq}' its transposition identity.Usesstep 11,
ClassMean.unit 144,exists_invariant_diagonal_form Module.,free_of_flat_of_isLocalRing Module.Flat. flat_iff_torsion_eq_bot_of_isBezout Claim adj (equivariance): for a in the Levi subgroup, S\circ K\circ
conjSubst(\iota, a) =(M \mapsto S(\mathit{ev} a)\cdot M\cdot S(\mathit{ev} a^{-1}))\circ S\circ K; proved on monomials with the transposition identity \mathit{hq}' of q and E.Usesstep 3, step 6, step 9, step 12, step 13,
ClassMean.unit 144,conjSubst linSubstunit 57,kroneckerPiunit 112The form \kappa + \operatorname{tr}_N\circ \rho \circ K works for d + 1.
(a) Invariance: \operatorname{tr} \rho(K(
conjSubst\iota a f)) = \operatorname{tr}(\rho(\mathit{ev} a)\cdot \rho(K f)\cdot \rho(\mathit{ev} a^{-1})) = \operatorname{tr} \rho(K f) by adj and the cyclicity of the trace; \kappa is invariant by the induction hypothesis.(b) If the row and column weights of \alpha differ, \rho(K(x^{\alpha})) has square 0 (by H its entries connect index families of different weights), hence is nilpotent and has trace 0; \kappa(x^{\alpha}) = 0 by induction.
Usesstep 4, step 14, step 16,
LinearMap.,isNilpotent_trace_of_isNilpotent Module.End. isNilpotent. restrict (c) For \alpha whose row weight satisfies P: the new value is u (the value in degree < d) plus \operatorname{tr} \rho(K(x^{\alpha})); the trace (computed by cycling with the inclusion of N,
hKand the coefficient of \alpha in the expansion of the identity matrix's Kronecker power) is q(\alpha)\cdotmultinomial(\alpha)\cdot [\alpha diagonal] = p^{k^{2}f}\cdot \text{eval}_1(x^{\alpha}) when \deg \alpha = d, and 0 otherwise, which together with u gives the value for degree < d + 1.Usesstep 11, step 12, step 13, step 14, step 16, step 3,
LinearMap.,trace_comp_comm' MvPolynomial.coeff_linearCombination_X_pow_of_fintype
(d) Membership in the span: \kappa is in it (w), and \operatorname{tr}_N\circ \rho \circ K is a sum over the basis b of the forms f \mapsto \text{coord}_j(\rho(K f)(b_j)); each is in the span, by \mathit{sp} applied to the c for which the corresponding form, composed with conjugation, is of the allowed kind (vanishing on monomials whose row weight fails P).
Usesstep 10, step 12, step 16, step 17,
Submodule.,add_mem Submodule.,sum_mem Submodule.subset_span