P3650T1CyclicChildren #
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 parent boundary $p$ and specified indices $A,B$, these data
consist of sizes $n_L,n_R<n$, two boundaries $p^L,p^R$ of
P3381T1PolygonBoundary, and injective maps
$\iota_L:\{0,\ldots,n_L+2\}\to\{0,\ldots,n+2\}$ and
$\iota_R:\{0,\ldots,n_R+2\}\to\{0,\ldots,n+2\}$ with
$p^L=p\circ\iota_L$, $p^R=p\circ\iota_R$.
There are nonempty lists $U,V$ and a rotation $k$ satisfying
$$ [0,\ldots,n+2].\operatorname{rotate}(k)=[A]+U+[B]+V, \qquad\operatorname{ofFn}(\iota_L)=[A]+U+[B], \qquad\operatorname{ofFn}(\iota_R)=[B]+V+[A]. $$
The two image sets intersect exactly in $\{A,B\}$. With
$e=[p_A,p_B]$ and the carriers of P3544T1BoundaryCarrier,
$C_L\cup C_R=C_p\cup e$ and $C_L\cap C_R=e$.
Every index on the displayed arcs is retained, including straight
vertices. No assertion about odd sets is a field of this record.
- leftParameter : ℕ
The size parameter of the left child polygon.
- rightParameter : ℕ
The size parameter of the right child polygon.
- left : P3381T1PolygonBoundary self.leftParameter
The boundary following the first saved cyclic arc and the diagonal.
- right : P3381T1PolygonBoundary self.rightParameter
The boundary following the complementary saved cyclic arc and the diagonal.
- il : Fin (self.leftParameter + 3) → Fin (n + 3)
Embed the left child labels into the original cyclic boundary.
- ir : Fin (self.rightParameter + 3) → Fin (n + 3)
Embed the right child labels into the original cyclic boundary.
- il_injective : Function.Injective self.il
- ir_injective : Function.Injective self.ir
The nonempty list of parent labels strictly inside the first saved arc.
The nonempty list of parent labels strictly inside the complementary arc.
- rotation : ℕ
The rotation identifying the saved pair of arcs with the original cyclic list.
- carrier_union : P3544T1BoundaryCarrier self.left ∪ P3544T1BoundaryCarrier self.right = P3544T1BoundaryCarrier p ∪ segment ℝ (p.vertex a) (p.vertex b)
- carrier_intersection : P3544T1BoundaryCarrier self.left ∩ P3544T1BoundaryCarrier self.right = segment ℝ (p.vertex a) (p.vertex b)