The setting
In the compressed graph representation of arc consistency for the -pebble Weisfeiler-Leman game (with pebble pairs and address dimension ), each edge of an underlying type multigraph is subdivided into a wire of consecutive links. A finite set of active links induces a graph on the original real types and the internal nodes of the subdivided wires, while each wire carries a coordinate permutation on a label alphabet. Analyzing pebble configurations of size at most requires knowing how connected components of this support graph interact with the real types, how internal nodes map to their nearest real endpoint, and how coordinate frames aligned along active links behave on components that avoid all real types.
Subdivided type graphs
Fix a natural number , a set of real nodes, a set of wires, and endpoint maps .
Subdividing each wire into links creates internal nodes belonging solely to that wire, keeping distinct wires separated except at their real endpoints.
The set of subdivided type nodes is the disjoint union (1)✦ whose elements in the second summand are internal nodes. The set of subdivided edge links is (2)✦ Each link has a left endpoint and a right endpoint given by (3)✦ and (4)✦
For a finite subset of links, the type support graph is the simple undirected graph on vertex set in which two vertices are adjacent if and only if and there exists such that either and , or and .✦ A node is reachable from a real node in if there exists such that is reachable from by a walk in .✦
The nearest real root map sends each node to the closer real endpoint along its wire: (5)✦
Coordinate alignments
Let be a set of coordinate labels, write for the group of permutations of with identity , and let assign a permutation to each wire .
To compare coordinate labels across a component, the construction transports permutations along links so that adjacent nodes agree on aligned labels.
The link coordinate matching of a link is defined by (6)✦ A frame assignment is aligned with on if every link and every label satisfy (7)
The claim
Lemma 3.4. Let be a natural number, let and be sets with endpoint maps , and let be a finite set of links with type support graph .
Suppose and . Whenever a real node is reachable from a real node in , (8)✦ If a node is reachable from a real node in , then (9)✦ More generally, for any nodes such that is reachable from a real node in and is reachable from in , (10)✦
For arbitrary and finite , let be a set, let assign a permutation to each wire, and let be a frame assignment aligned with on . If are connected by a walk in and is not reachable from any real node in , then (11)✦
What is checked
In the Lean library, Lemma 3.4 is stated over the subdivided type nodes , the subdivided edge links with endpoints and , the simple type support graph for a finite link set , the nearest real root map , and the link coordinate matching determined by a wire permutation family . The uniqueness of real nodes (8) and the root-consistency identities (9) and (10) are stated for every positive integer and every finite set with , while the frame-invariance identity (11) is stated for every natural number , every finite set , and every frame assignment aligned with on along a walk from a node unreachable from any real node.