Structured proof · Unit 147
lemma Data.paramsCorrespond_grid
What it saysFor P, data D, a boolean d, a grid z, natural numbers o, i, j and (c, l, i', j') =(z, i, i + 1, j) if d is true and (not z, j + o, i, j + 1) otherwise (e), with i' \le m (hi), j' \le m (hj) and o = 0 or i' = 0 (H): every step of either grid is an edge for the parameters:
ParamsCorrespond(gridWeight(c, l, GridIndex(z, i, j)), gridWeight(c, l, GridIndex(z, i', j')), negIf(d, gridParam(z, o, i, j)), negIf(d, gridParam(z, o, i', j')), gridSigns(z, o, i, j), gridSigns(z, o, i', j')): from (i, j) to (i + 1, j) with both parameters negated, or to (i, j + 1) with them unchanged.The argument in briefAt each place: the gaps (from
Data.hasGap_gridParam , monotone in the bound), and the matching of the indices of the two nodes, entry by entry, by integer arithmetic.For each infinite place \tau, the four conditions: the two parameters have gaps (
Data., negated when d is true, relaxed by the size boundshasGap_gridParam Data.), and every index of one node is matched to one of the other (base indices to base indices, block entries to block entries or the new block) with the required relation of parameters, by integer arithmetic with the parity of the sizes (card_gridIndex_le Data.).card_gridIndex_mod_two Uses
Data.unit 147,hasGap_gridParam Data.unit 147,card_gridIndex_le Data.unit 147card_gridIndex_mod_two