grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 136

lemma Lift.sum_twoWindows_le

What it saysFor n, p, d, m, H \in \mathbb{N} and c \in \mathbb{Z} with n \le p\cdot m (e) and |c| + n \le H (hH): \sum_{y\in\mathrm{twoWindows}(n, c)} (v_p(y) + d) \le (4m + 2)\cdot\lfloor \log_p H\rfloor + (4n + 2)\cdot d, where v_p(0) = 0.
The argument in briefEach nonzero valuation is at most \lfloor \log_p H\rfloor and comes from a multiple of p, of which there are at most 4m + 2; the windows have at most 4n + 2 elements.

2 steps, 2 of them leaves · New/Lift/CokernelKillers.lean, lines 32–38 · in the notes: Lemma 9.1, p. 18 of Exponents of elements of Kisin modules, the cost of deepening them, and cokernel killers

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. 1computationlines 34–36

    Write the sum as \sum_y v_p(y) + |twoWindows(n, c)|\cdot d; in the first sum only the y with v_p(y) \ne 0 count, each at most \lfloor \log_p H\rfloor (v_p(y) \le \log_p|y| and |y| \le |c| + n \le H); these y are multiples p\cdot k with k \in twoWindows(m, c div p) (shown next), so there are at most 4m + 2 of them; and |twoWindows(n, c)| \le 2(2n + 1).

    UsespadicValNat_le_nat_log, Finset.card_le_card_of_surjOn, Finset.card_union_le, Int.card_Icc

  2. A multiple y = p\cdot k in [-n, n] \cup [c - n, c + n] has k \in [-m, m] \cup [c div p - m, c div p + m], since n \le pm and c = p\cdot(c div p) + (c mod p) with 0 \le c mod p < p.