Documentation

Complexity.Foundations.Geometry.Orthogonal.PairedBoundary

Matching paired boundaries of grid cells #

Main results #

References #

These are original integer-coordinate facts about the fixed paired-port interface.

theorem Cslib.Orthogonal.PairedPorts.boundary_eq_cases {c d : Point} {s t : Fin 4} {l k : Fin 2} (hcd : c ≠ d) (h : cellOrigin 120 c + boundaryPort s l = cellOrigin 120 d + boundaryPort t k) :
l = k ∧ d = c + neighbor s ∧ t = oppositeSide s

Equal boundary points in distinct cells identify the lane and opposite adjacent sides.

Each translated paired boundary belongs to its own closed cell.

A translated paired boundary lies outside every open grid cell.