The exact edge relation used by the executable gluer.
Equations
- HexRootsMathlib.Glue.Edge s t = (s.adjacent t = true)
Instances For
Undirected executable edge adjacency.
Equations
Instances For
Undirected adjacency is symmetric.
Executable adjacency is reflexive: a square is adjacent to itself.
The outer connected-component list produced by the gluer has no duplicate component values.
Every predicate invariant across internal adjacency edges is constant on the component. This induced-graph formulation records that paths stay inside the component, which is exactly what downstream semantic propagation needs.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Distinct components have no executable adjacency edge in either direction. Together with coverage and connectedness this is maximality.
Equations
- HexRootsMathlib.Glue.Separated components = ∀ c ∈ components, ∀ d ∈ components, c ≠ d → ∀ s ∈ c, ∀ t ∈ d, ¬HexRootsMathlib.Glue.Edge s t ∧ ¬HexRootsMathlib.Glue.Edge t s
Instances For
The executable touches test is adjacency to some member.
A failed touches test is two-sided non-adjacency to every member.
Inserting a square preserves connectedness of every component.
Every component returned by glueList is edge-connected.
Inserting a square preserves the absence of cross-component edges.
Distinct components returned by glueList have no edge between them.
Inserting one square into a partial component partition preserves the flattened multiset, up to order.
glueList is a partition of the input list at the multiset level.
The executable array gluer preserves its input multiset exactly.
Every input square occurs in an output component of glue.
The defensive branch of glueCovered is unreachable: the structurally
recursive gluer already preserves every input member.
The guarded array gluer has no duplicate outer components.
The guarded gluer preserves the input multiset exactly.
Every member of an output component came from the input array.
Duplicate-free input gives duplicate-free, pairwise-disjoint output components.
Every guarded output component is edge-connected.
Distinct guarded output components have no adjacency edge between any pair of their members, the maximality half of the gluing contract.