PeriodicTileCore #
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.
An area-free periodic tile core consists of a locally finite, $3$-connected cellular plane triangulation whose vertices index topological-disk lattice tiles, together with a full-rank sublattice $L\subseteq\mathbb Z[i]$ and an $L$-action on vertices and faces. It has finite sets of representatives for lattice-cell cosets and for the edge and face orbits, and exactly one selected representative for every vertex orbit. Translation by $u\in L$ translates every indexed tile by $u$, preserves adjacency, translates the embedded vertex positions, edge arcs, and face regions by the real vector represented by $u$, and sends the three vertices of each face to the three vertices of the translated face.
For every face $F$ the core selects a lattice vertex $\rho(F)$ common to the footprints of its three tiles. These selections are $L$-equivariant. For each ordered pair $F,F'$ of distinct faces incident to one graph edge $\{a,b\}$, it selects a possibly constant lattice-edge path from $\rho(F)$ to $\rho(F')$ whose vertices and actual footprint edges lie in the ordinary intersection of the footprint graphs of the tiles indexed by $a$ and $b$. The selected path for the reverse ordering is the reversed path, and all selected paths are $L$-equivariant under termwise translation.
- plane : PlaneTriangulation ι
The fixed locally finite cellular plane triangulation.
- tile : ι → ProtoTile
The literal lattice tile assigned to each graph vertex.
- lattice : AddSubgroup GaussianInt
The full-rank additive lattice of tile periods.
- latticeReps : Finset GaussianInt
A complete finite set of lattice-cell coset representatives.
- vertexOrbitReps : Finset ι
Exactly one representative from each vertex translation orbit.
A finite family representing every ordered graph edge under translation.
A finite family representing every face under translation.
- shift : ↥self.lattice → ι → ι
The action of a period on graph vertices.
The compatible action of a period on entire faces.
- lattice_full_rank : LatticeFundamentalSet self.lattice self.latticeReps
- tiles_are_disks (a : ι) : LatticeTile (self.tile a)
- faceRegion_periodic (u : ↥self.lattice) (f : self.plane.Face) : self.plane.faceRegion (self.faceShift u f) = (fun (p : ℝ × ℝ) => p + GaussianRealPoint ↑u) '' self.plane.faceRegion f
- rho : self.plane.Face → GaussianInt
The selected common footprint vertex of the three tiles at each face.
- rho_common (f : self.plane.Face) (i : Fin 3) : self.rho f ∈ FootprintVertices (self.tile (self.plane.faceVertex f i))
The contained lattice walk joining the selected points of two faces across their common edge.
- facePath_spec (a b : ι) : self.plane.adjacent a b → ∀ (f g : self.plane.Face), f ≠ g → (∃ (i : Fin 3), self.plane.faceVertex f i = a) → (∃ (i : Fin 3), self.plane.faceVertex f i = b) → (∃ (i : Fin 3), self.plane.faceVertex g i = a) → (∃ (i : Fin 3), self.plane.faceVertex g i = b) → (self.facePath f g).head? = some (self.rho f) ∧ (self.facePath f g).getLast? = some (self.rho g) ∧ (∀ x ∈ self.facePath f g, x ∈ FootprintVertices (self.tile a) ∩ FootprintVertices (self.tile b)) ∧ ∀ (x y : GaussianInt) (l₁ l₂ : List GaussianInt), self.facePath f g = l₁ ++ x :: y :: l₂ → {x, y} ∈ FootprintEdges (self.tile a) ∩ FootprintEdges (self.tile b)