P5352T2PlacementData #
Adapted from Wesley Pegden’s Apache-2.0 Trellis formalization of Levine–Pegden–Smart. Changes: pool module paths, public exports, project namespace and current Mathlib compatibility.
For $n=k$, let the right displacement and affine coefficient pairs $(\rho_j,\beta_j)$ be $$ ((-k,k+1),(1,-k)),\quad ((-k,-k-1),(-k,0)),\quad ((2k,0),(k-1,k)) $$ for parent indices $j=1,2,3$. For each $j$, the four triples $(d_{js},a_{js},r_{js})$, ordered by $s=0,1,2,3$, are $$ \begin{array}{c|c|c|c|c} j&s&d_{js}&a_{js}&r_{js}\\\hline 1&0&(0,2k)&(k,-k)&(-k,k+1)\\ 1&1&(-k-1,k)&(0,-k-1)&(-k,k+1)\\ 1&2&(-1,-1)&(-1,-1)&(k,-k-1)\\ 1&3&(k,k-1)&(k-1,0)&(k,-k-1)\\ 2&0&(-k-1,k-1)&(0,-k)&(-k,-k-1)\\ 2&1&(0,-1)&(0,0)&(-k,-k-1)\\ 2&2&(k,k)&(k,0)&(k,k+1)\\ 2&3&(-1,2k)&(k,-k)&(k,k+1)\\ 3&0&(k,1-k)&(0,k-1)&(2k,0)\\ 3&1&(k,k+1)&(k,0)&(2k,0)\\ 3&2&(-k,k+1)&(1,-k)&(-2k,0)\\ 3&3&(-k,1-k)&(1-k,-1)&(-2k,0). \end{array} $$ The Lean index $i$ is $j-1$; the first component of the data is $(\rho_j,\beta_j)$ and its second component is the four-entry triple table.
Equations
- One or more equations did not get rendered due to their size.