Structured proof · Unit 147
lemma Data.descent_past_gridPathMap
Data.CostsSquares D a c ) such that for every m-fold twist \vartheta, order n, finite set w of edges and datum \Lambda: if every edge of w avoids grid z or is rowEdge(z, i, b) with i \ge a, and \Lambda is tidy of order n on w \cup gridPath(z, a, b), then there is \Phi, tidy of order n + 2a on \{verticalEdge(z, a, b)\} \cup gridPath(z, a, b + 1) \cup w, with \Lambda(S \mapsto l(S)(gridPathMap(S, z, a, b)(F))) = \kappa /c(\vartheta)\cdot \Phi(S \mapsto l(S)(descentMove(S(verticalEdge(z, a, b)))(gridPathMap(S, z, a, b + 1)(F)))) for every form F at (0, m) and every family l(S) of linear functionals depending only on the values of S on w.Data.IsTidy.exists_square_move with the square law of Data.exists_squareLaw_grid ); the denominators multiply, so their costs add (a + 1 in all), and the order of the short sum grows by 2 at each square.Induction on a (i the induction hypothesis).
Uses
Nat.rec a = 0: take \kappa = 1, c = 1 (costing nothing,
Data.) and \Phi = \Lambda: the edge sets agree, andCostsSquares. one gridPathMap(S, z, 0, b) =descentMove(S(verticalEdge(z, 0, b))) \circgridPathMap(S, z, 0, b + 1) by the definition oflegDescents(b < m).Step a \to a + 1: the induction hypothesis i at a (a < a + 1 \le b) gives \kappa ', c' costing a squares (g') and the move H'.
The square law at the square (a, b) of grid z (
Data., a < m, b < m): \kappa, \sigma, c costing one square (g), and the law Q(\vartheta).exists_squareLaw_grid Take \kappa '\kappa and c'c, which costs a + 1 squares (
Data.); fix \vartheta, n, w, \Lambda with the edge condition and tidiness C.CostsSquares. mul Rewrite the edge set
gridPath(z, a + 1, b) by its rows.Rewrite the new edge set.
Cross the square (a, b) with
Data.(identity and empty-sum identifications, \psi = 1, the square law Q(\vartheta), admissibility and node conditions): a tidy \Phi ' of order n + 2a + 2 with the square identity M'; it remains to compose M with M'.IsTidy. exists_square_move Compose: M followed by M' applied to the pair (
gridPathMap(S, z, a, \cdot)(F), l(S)), which depends only on w and the path (Data.), gives the identity with \kappa '\kappa /(c'c)(\vartheta).gridPathMap_congr