PeriodicTileComplex #
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.
A periodic tile complex is an area-free periodic tile core together with the
two additional hypotheses used after coverage: the orbit-area identity
$$ \sum_{a\in\mathcal T/L}|T_a|=[\mathbb Z[i]:L], $$
computed using the selected vertex-orbit and lattice-coset representatives,
and the requirement that the two tiles on every graph edge have an actual
common footprint edge. Equivalently, every prescribed graph adjacency is
supported by a nonconstant lattice-edge interface; two isolated common
footprint vertices, or a single corner contact, do not satisfy this
requirement. The vertices belonging to such interfaces are recorded by
CommonFootprintEdgeVertices.
- edgeOrbitReps : Finset (ι × ι)
- faceOrbitReps : Finset self.plane.Face
- lattice_full_rank : LatticeFundamentalSet self.lattice self.latticeReps
- tile_periodic (u : ↥self.lattice) (a : ι) : self.tile (self.shift u a) = TileTranslation (self.tile a) ↑u
- face_vertices_periodic (u : ↥self.lattice) (f : self.plane.Face) (i : Fin 3) : self.plane.faceVertex (self.faceShift u f) i = self.shift u (self.plane.faceVertex f i)
- position_periodic (u : ↥self.lattice) (a : ι) : self.plane.position (self.shift u a) = self.plane.position a + GaussianRealPoint ↑u
- 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
- vertex_orbit_representatives (a : ι) : ∃! r : ι, r ∈ self.vertexOrbitReps ∧ ∃ (u : ↥self.lattice), a = self.shift u r
- edge_orbit_representatives (a b : ι) : self.plane.adjacent a b → ∃ r ∈ self.edgeOrbitReps, ∃ (u : ↥self.lattice), a = self.shift u r.1 ∧ b = self.shift u r.2
- face_orbit_representatives (f : self.plane.Face) : ∃ r ∈ self.faceOrbitReps, ∃ (u : ↥self.lattice), f = self.faceShift u r
- rho : self.plane.Face → GaussianInt
- rho_common (f : self.plane.Face) (i : Fin 3) : self.rho f ∈ FootprintVertices (self.tile (self.plane.faceVertex f i))
- 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)
- adjacent_has_common_edge (a b : ι) : self.plane.adjacent a b → (FootprintEdges (self.tile a) ∩ FootprintEdges (self.tile b)).Nonempty