Structured proof · Unit 144
lemma TwistingData.excessWeight_dotProduct_permStep
What it saysLet 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))).The argument in briefExpand the dot product letter by letter; the contributions telescope around the cycle of letters, leaving the terms at the letter i.
Let F(s) = P^{1 +(s - i) \text{mod} N}\cdot(\nu(a, s+1) - \nu(a', s+1))/q.
Write the dot product as a sum over the letters s, add and subtract \sum_{s} F(s) = \sum_{s} F(s - 1) (shift of the summation variable), so that all summands except the one at s = i cancel (
excessWeightevaluated by parity andone_add_val_sub_one_sub); the summand at i gives (1 - 1/q)(\beta(u_i) -(\nu(a, i) - \nu(a', i))) after field simplification (p \ne 0).Usesstep 1,
TwistingData.unit 144,excessWeight TwistingData.unit 144,one_add_val_sub_one_sub TwistingData.unit 144,rootVar permStepunit 144,Equiv.,sum_comp Fintype.,sum_eq_single Finset.sum_sub_distrib