P3861T1FacialDomains #
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 periodic complex $P$ and an all-contact drawing
$D$ as in P3723T1AllContactRouting, put
$$ \mathcal T=\{D(a):a\in\iota\}\ \cup\! \bigcup_{a\sim_P b}D.\mathrm{edgeArc}(a,b),\qquad J_f=D_{f_0f_1}\cup D_{f_1f_2}\cup D_{f_2f_0}. $$
A facial-domain record consists of a set $U_f$ for every fixed face
label, closedness of $\mathcal T$, and the following laws: $U_f$ is
nonempty, open, connected and bounded, avoids $\mathcal T$, and has
frontier exactly $J_f$. The exterior $(\overline{U_f})^c$ is connected
and has the same frontier $J_f$. No face orientation, pairwise disjointness
between these domains, or extra-contact exclusion is part of this
record. The drawing and all three arcs are the supplied literal ones.
The bounded complementary region attached to each fixed face label.
- region_connected (f : P.plane.Face) : IsConnected (self.region f)
- region_bounded (f : P.plane.Face) : Bornology.IsBounded (self.region f)
- region_frontier (f : P.plane.Face) : frontier (self.region f) = D.edgeArc (P.plane.faceVertex f 0) (P.plane.faceVertex f 1) ∪ D.edgeArc (P.plane.faceVertex f 1) (P.plane.faceVertex f 2) ∪ D.edgeArc (P.plane.faceVertex f 2) (P.plane.faceVertex f 0)