grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 144

lemma TwistingData.sum_deepIndicator

What it saysLet N be a natural number, W a commutative local ring, K a field and T twisting data over them (T : TwistingData N W K, with prime p, P = p^{o_{0}}, q = P^{N}, letters \iota_{s} : W \to K for s \in \mathbb{Z}/N, parity isEven and w \in K), N \ne 0, k \in \mathbb{N}, r \in \mathbb{N} and an index b \in Fin k: \sum_{s\in \mathbb{Z}/N} deepIndicator T r (b, s) = N/2 (natural division): the variable (b, s) is deep for exactly half of the letters, as the parity alternates.
The argument in briefdeepIndicator(b, s) + deepIndicator(b, s - 1) = 1 since parities alternate; summing over s gives 2\cdot \sum = N.

2 steps, 2 of them leaves · New/TwistedHecke/DeepFormCost.lean, lines 13–16 · in the notes: Lemma 3.4, p. 13 of Elementary divisors of a Frobenius-twisted Hecke operator

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. 1reductionlines 14–15

    It suffices to show 2\cdot \sum_{s} deepIndicator T r (b, s) = N (then the sum is N/2; 2 \ne 0).

    UsesNat.eq_div_of_mul_eq_right

  2. 2computationlines 15–16

    2\cdot \sum_{s} f(s) = \sum_{s} f(s) + \sum_{s} f(s - 1) (translation invariance of the sum over \mathbb{Z}/N) = \sum_{s}(f(s) + f(s - 1)), and f(s) + f(s - 1) = 1 for every s, as isEven(s) = not isEven(s - 1) (isEven_succ); \sum_{s} 1 = N.

    UsesTwistingData.deepIndicator unit 144, TwistingData unit 144, Finset.sum_translate, Finset.sum_add_distrib, Finset.sum_const_nat