ConsecutivePatchInterface #
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.
Let $K$ be a finite induced tile patch and let $d\notin K$. A \emph{consecutive patch interface at $d$} is a positive-length injective list of precisely those neighbors of $d$ which lie in $K$, together with an injective list of one more triangular face, such that the $k$-th neighbor and $d$ are both vertices of the $k$-th and $(k+1)$-st listed faces. Thus the edges from $d$ into $K$ form one consecutive interval in the cyclic link of $d$, and the two end faces are retained explicitly.
- exterior : d ∉ K.indices
- length : ℕ
The number of consecutive neighbors in the patch-facing interval.
The ordered patch neighbors along the link of the exterior tile.
The consecutive incident faces, including the two end faces.
- neighbor_injective : Function.Injective self.neighbor
- face_injective : Function.Injective self.face
- consecutive_faces (k : Fin self.length) : (∃ (i : Fin 3), G.faceVertex (self.face k.castSucc) i = d) ∧ (∃ (i : Fin 3), G.faceVertex (self.face k.castSucc) i = self.neighbor k) ∧ (∃ (i : Fin 3), G.faceVertex (self.face k.succ) i = d) ∧ ∃ (i : Fin 3), G.faceVertex (self.face k.succ) i = self.neighbor k