Documentation

LeanPool.ApollonianSuperharmonic.UnitOccurrenceOrientation

UnitOccurrenceOrientation #

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 a proper ordered band quadruple $q=(C_0,C_1,C_2,C_3)$, a selected unit parent slot $i\in\mathbb Z/3\mathbb Z$, and $\epsilon\in\{\mathsf{standard},\mathsf{rotated}\}$, the relation $\operatorname{UnitOccurrenceOrientation}(q,i,\epsilon)$ is generated by the following occurrence rules.

Put $U_z=(1,1+2z)$. The two first proper successor families are $$ L_z=((4,1+8z+4i),U_z,(0,-1),U_{z+i}), \qquad R_z=((4,7+8z+4i),U_z,U_{z+i},(0,1)). $$ In $L_z$, the $U_z$ occurrence is standard and the $U_{z+i}$ occurrence is rotated. In $R_z$, the $U_z$ occurrence is likewise standard and the $U_{z+i}$ occurrence is likewise rotated. Cyclic rotation of the three parent slots carries the orientation with the selected occurrence. Finally, a proper successor $$ (A,X,B,D)\longmapsto(2(A+B+D)-X,A,B,D) $$ transports a certificate on a retained unit parent by inspecting the other retained parent. If $B,D$ are both units, use the canonical primitive orientation of their literal common side. When $B\longrightarrow D$, the successor labels are $(B\text{ rotated},D\text{ standard})$; when $D\longrightarrow B$, they are $(B\text{ standard},D\text{ rotated})$. In particular these labels do not depend on, and are not obtained by negating, the predecessor labels. If the sibling of the selected unit is a line or has curvature different from one, the predecessor label is preserved. For the first successor which retains both units in either root family, the direction rule reproduces the root labels; hence both selected occurrences preserve their Boolean and there is no exceptional mismatch transition. There is deliberately no constructor transporting the replaced parent $X$, nor one selecting a chart from the magnitude or direction of a whole boundary-string displacement.

Instances For