Structured proof · Unit 144
lemma TwistingData.sum_finrank_deepForms_le
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.exists_le_weight_of_mem_deepForms) is at least d; summing over d < M counts each monomial at most \lfloorweight\rfloor + 1 times. Averaging over the rotations b \mapsto b - a of the rows, the mean weight of a monomial is bounded through the number of deep variables (N/2 per row), which the size conditions bound by z\cdot m^{N}.Exclude k = 0; record P^{\max(\ell, 3r)} = \max(P^{\ell}, P^{3r}) and unpack big (\mathit{hk}: 2r \le k, \mathit{hy}: 1 \le h, h_{2}, h_{3}: the last two size conditions).
Uses
TwistingData.unit 144,one_lt_P HeckeSizesunit 144,pow_right_mono₀\dim V_d \le \#\{\beta : d \le \lfloor
weight(\beta)\rfloor \}: restricting F \in V_d to these \beta is injective, since a nonzero F \in V_d has a nonzero coefficient at some \beta of weight \ge d (exists_le_weight_of_mem_deepForms, using 2r \le k and 2r < N).Usesstep 1,
TwistingData.unit 144,exists_le_weight_of_mem_deepForms TwistingData.unit 144,deepForms LinearMap.,finrank_le_finrank_of_injective Nat.le_floor Exchange the sums: \sum_{d<M} \#\{\beta : d \le \lfloor
weight(\beta)\rfloor \} = \sum_{\beta} \min(M, \lfloorweight(\beta)\rfloor + 1).Uses
Finset.,sum_comm Finset.sum_boole Bound \min(M, \lfloor w\rfloor + 1) \le w + 1, use h_{3}, and replace the sum of weights by its average over the rotations b \mapsto b - a of the rows (each rotation permutes the monomials).
Usesstep 1,
Finset.,le_expect Equiv.,Perm. subtypePerm Finset.sum_comp Compute the average: each letter of a monomial has degree n, and each row b is deep for N/2 letters (
sum_deepIndicator), with weight 1/P^{2r} or 1/P according as b \ge 2r or not.Uses
TwistingData.unit 144,sum_deepIndicator exponentOfunit 57,Monomials.unit 57,degree_eq Finset.,expect_sum_comm Finset.,expect_eq_sum_div_card Fin.card_filter_val_lt Bound the cardinalities.
Uses
Finset.,card_finset_fin_le Nat.cast_div_le Normalise the algebraic expression.