Structured proof · Unit 147
lemma Data.paramsCorrespond_first_arrow
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).Data.paramsCorrespond_grid ) with offsets o: the gaps carry over (negated), and the index matching is checked entry by entry.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:=oflet δ 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).For each offset o, the correspondence of the vertical step at (0, j) (
Data.with d false).paramsCorrespond_grid 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