grh-compacta Lean artifact read back into mathematics

Structured proof · Unit 147

lemma Data.paramsCorrespond_first_arrow

What it saysFor P, data D, natural numbers i, j with i + j < m (h) and a grid z: put \delta(n, \tau) = |GridIndex(z, 0, n)| - gridWeight(not z, i, GridIndex(z, 0, n), \tau) and P(o, j, o', j') = ParamsCorrespond(\delta(j), \delta(j'), -gridParam(z, o, 0, j), -gridParam(z, o', 0, j'), gridSigns(z, o, 0, j), gridSigns(z, o', 0, j')). Then P(i + 1, j, i, j + 1) and P(i, j + 1, i + 1, j).
The argument in briefFrom the correspondence of the grid steps (Data.paramsCorrespond_grid) with offsets o: the gaps carry over (negated), and the index matching is checked entry by entry.

3 steps, 3 of them leaves · New/Exchange/GridParameters.lean, lines 167–176 · in the notes: Lemma 3.2, p. 7 of The grid of lifts and descents, and the crude rows

↑ ↓ or j k: step · ← →: fold · Enter: show its lines
  1. 1statementlines 168–171

    Not a step of the proof: lines 168–171 are the rest of the statement, which ends before the := on line 171 (a second-reader message). The line census takes the := of let δ n τ := on line 168 for the start of the value, so the check requires these lines to be owned here. They state: \delta(n, \tau) = |GridIndex(D, z, 0, n)| - gridWeight(D, \neg z, 0 + i, GridIndex(D, z, 0, n), \tau), P(o, j, o', j') = ParamsCorrespond(\delta(j), \delta(j'), -gridParam(D, z, o, 0, j), -gridParam(D, z, o', 0, j'), gridSigns(D, z, o, 0, j), gridSigns(D, z, o', 0, j')), and the conclusion P(i + 1, j, i, j + 1) \wedge P(i, j + 1, i + 1, j).

  2. For each offset o, the correspondence of the vertical step at (0, j) (Data.paramsCorrespond_grid with d false).

    UsesData.paramsCorrespond_grid unit 147

  3. Both correspondences: the gap conditions from step 2 (negated), and the matching of the indices (base indices, and the blocks reversed) by integer arithmetic with the parity of the sizes (Data.card_gridIndex_mod_two).

    Usesstep 2, Data.card_gridIndex_mod_two unit 147