P3650T1VisibleDiagonal #
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 $p$ and exposed-corner data $E$ of P3650T1ExposedCorner,
this record consists of distinct, nonneighboring cyclic indices $A,B$.
The open segment $(p_A,p_B)$ is disjoint from the parent carrier of
P3544T1BoundaryCarrier and contained in its odd set of
P3544T1RayParity. One of the following routes is recorded.
In the base route, $A=E.b-1$, $B=E.b+1$, and the closed triangle
$\Delta=\operatorname{conv}\{p_{E.b-1},p_{E.b},p_{E.b+1}\}$ contains
no indexed vertex other than these three. In the top route,
$A=E.b$, $B\ne E.b-1,E.b+1$, and $p_B\in\Delta$.
No child boundary or child parity is part of these data.
The first original boundary label of the visible interior diagonal.
The second original boundary label of that diagonal.
- clear : Disjoint (openSegment ℝ (p.vertex self.a) (p.vertex self.b)) (P3544T1BoundaryCarrier p)
- odd : openSegment ℝ (p.vertex self.a) (p.vertex self.b) ⊆ P3544T1RayParity p
- route : (self.a = E.b - 1 ∧ self.b = E.b + 1 ∧ ∀ (i : Fin (n + 3)), p.vertex i ∈ (convexHull ℝ) {p.vertex (E.b - 1), p.vertex E.b, p.vertex (E.b + 1)} → i = E.b - 1 ∨ i = E.b ∨ i = E.b + 1) ∨ self.a = E.b ∧ self.b ≠ E.b - 1 ∧ self.b ≠ E.b + 1 ∧ p.vertex self.b ∈ (convexHull ℝ) {p.vertex (E.b - 1), p.vertex E.b, p.vertex (E.b + 1)}