ExceptionalConnectorSegments #
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 $O\subseteq A\cap B$. Let $Q_2,Q_3$ be labelled child occurrences contained in $A$, and let $S_3,S_2$ be their respectively labelled child partners contained in $B$. Thus $(Q_2,S_3)$ is the first labelled child pair and $(Q_3,S_2)$ is the second. For selected interface points $p_1,p_2$, an exceptional connector segmentation consists of attachment vertices $a,b$ and three oriented simple vertex lists $$ p_1\xrightarrow{\ Q_2\text{--}S_3\ }a,\qquad a\xrightarrow{\ (A\setminus O)\text{--}O\ }b,\qquad b\xrightarrow{\ Q_3\text{--}S_2\ }p_2. $$ Every vertex of each list belongs to the displayed pair of footprints and every consecutive edge has an actual supporting cell in both displayed prototiles. Their ordered walk is obtained by concatenating the left list, the tail of the middle list, and the tail of the right list; every vertex and edge of this walk is also retained in the common footprint of $A\setminus O$ and $B$. The point $a$ is the unique common boundary vertex of $Q_2,S_3,O$, and $b$ is the unique common boundary vertex of $Q_3,S_2,O$; these are therefore the two uniquely labelled cuts in the ordered walk. When $O$ is empty they coincide at its anchor.
The data also retain a loop-erasure as a sublist of this ordered walk. This connector has no repeated vertices, has endpoints $p_1,p_2$, lies in $\operatorname{foot}(A\setminus O)\cap\operatorname{foot}(B)$ with actual common-footprint edge support, and every retained vertex occurs in the ordered walk. Thus loop erasure does not replace or forget the three segmented paths. Its vertices retain the corresponding three-piece support union, and the data retain two distinct common vertices of the modified $A$ and $B$ footprints independently of whether the selected connector is constant.
- a : GaussianInt
The first attachment of the precursor to the labelled child interfaces.
- b : GaussianInt
The second attachment of the precursor to the labelled child interfaces.
- left : List GaussianInt
The simple path from the first selected point to the first attachment.
- middle : List GaussianInt
The simple precursor-boundary path between the two attachments.
- right : List GaussianInt
The simple path from the second attachment to the second selected point.
- walk : List GaussianInt
The ordered concatenation of the three retained path segments.
- connector : List GaussianInt
A loop erasure of the segmented walk with the same selected endpoints.
- walk_raw (x : GaussianInt) : x ∈ self.walk → x ∈ FootprintVertices (TileCellComplement A O) ∩ FootprintVertices B
- walk_edges (x y : GaussianInt) (l1 l2 : List GaussianInt) : self.walk = l1 ++ x :: y :: l2 → {x, y} ∈ FootprintEdges (TileCellComplement A O) ∩ FootprintEdges B
- left_vertices (x : GaussianInt) : x ∈ self.left → x ∈ FootprintVertices Q2 ∩ FootprintVertices S3
- middle_vertices (x : GaussianInt) : x ∈ self.middle → x ∈ FootprintVertices (TileCellComplement A O) ∩ FootprintVertices O
- right_vertices (x : GaussianInt) : x ∈ self.right → x ∈ FootprintVertices Q3 ∩ FootprintVertices S2
- left_edges (x y : GaussianInt) (l1 l2 : List GaussianInt) : self.left = l1 ++ x :: y :: l2 → {x, y} ∈ FootprintEdges Q2 ∩ FootprintEdges S3
- middle_edges (x y : GaussianInt) (l1 l2 : List GaussianInt) : self.middle = l1 ++ x :: y :: l2 → {x, y} ∈ FootprintEdges (TileCellComplement A O) ∩ FootprintEdges O
- right_edges (x y : GaussianInt) (l1 l2 : List GaussianInt) : self.right = l1 ++ x :: y :: l2 → {x, y} ∈ FootprintEdges Q3 ∩ FootprintEdges S2
- first_cut_unique (x : GaussianInt) : x ∈ BoundaryFootprintVertices Q2 ∧ x ∈ BoundaryFootprintVertices S3 ∧ x ∈ BoundaryFootprintVertices O ↔ x = self.a
- second_cut_unique (x : GaussianInt) : x ∈ BoundaryFootprintVertices Q3 ∧ x ∈ BoundaryFootprintVertices S2 ∧ x ∈ BoundaryFootprintVertices O ↔ x = self.b
- connector_raw (x : GaussianInt) : x ∈ self.connector → x ∈ FootprintVertices (TileCellComplement A O) ∩ FootprintVertices B
- connector_edges (x y : GaussianInt) (l1 l2 : List GaussianInt) : self.connector = l1 ++ x :: y :: l2 → {x, y} ∈ FootprintEdges (TileCellComplement A O) ∩ FootprintEdges B
- connector_support (x : GaussianInt) : x ∈ self.connector → x ∈ FootprintVertices Q2 ∩ FootprintVertices S3 ∪ FootprintVertices O ∪ FootprintVertices Q3 ∩ FootprintVertices S2
- common_vertices : ∃ (x : GaussianInt) (y : GaussianInt), x ≠ y ∧ x ∈ FootprintVertices (TileCellComplement A O) ∩ FootprintVertices B ∧ y ∈ FootprintVertices (TileCellComplement A O) ∩ FootprintVertices B