Manuscript Offprint
arXiv:2610.10800Decomposition Profiles and Weisfeiler-Leman Dimension for Graphs of Bounded Rank Width
Abstract
The Weisfeiler-Leman (WL) algorithm tests graph isomorphism by assigning colours to -tuples of vertices and iteratively refining the colouring according to neighbourhood configurations until it stabilizes. Increasing allows the test to detect finer structural differences between graphs, but the computational cost grows exponentially with . The central question is which dimension allows us to distinguish nonisomorphic graphs. We relate a sufficient such dimension to the structure of a graph through a rank decomposition over . The two parameters governing the bound are the maximum cut rank and the fork load , which is the largest sum of the parent and two child cut ranks at a fork in the decomposition tree. We prove that WL in dimension distinguishes every finite nonempty vertex-coloured graph with such a decomposition from every graph not isomorphic to . Consequently, for , graphs of rank width at most can be distinguished from every nonisomorphic graph in dimension , graphs of linear rank width at most in dimension , and edgeless graphs in dimension one. Uncoloured Cai-Fürer-Immerman (CFI) constructions give linear lower bounds for both width parameters, so the upper bounds are tight up to constant factors.
Keywords: Weisfeiler-Leman algorithm, graph isomorphism, decomposition profiles, rank-width, linear rank-width, finite model theory, counting logic, bijective pebble game, Cai-Fürer-Immerman graphs.
1 Introduction
The Weisfeiler-Leman procedure is a central bridge between graph isomorphism, finite model theory, and structural graph theory. Its dimension measures how many vertices must be considered simultaneously to distinguish a graph from every nonisomorphic graph. The d-dimensional procedure has equivalent formulations through the -variable fragment of counting logic and the bijective -pebble game. Bounds on the required dimension therefore yield both combinatorial identification results and bounded-variable definability statements.
Rank width is particularly suited to this question. A rank decomposition controls every cut by the rank over of its bipartite adjacency matrix, although the corresponding interface need not be a small separator in the usual graph-theoretic sense. Oum and Seymour introduced rank width within a general decomposition framework for dense graphs [19]. Grohe and Schweitzer gave the first polynomial-time isomorphism test for every class of bounded rank width [6]. Grohe and Neuen later developed a source-guided method based on split pairs, colour refinement, and flips [5]. Their published result shows that -dimensional Weisfeiler-Leman identifies every graph of rank width at most . Corollary 3.12 in the full version of the SWAT paper by Levet, Rombach, and Sieger improves this unrestricted bound to [17].
Our main result responds to the ranks displayed by the particular source decomposition. For a rooted rank decomposition , let be its maximum cut rank and let be the maximum, over its forks, of the sum of the parent and two child cut ranks. Writing for the least dimension that identifies , we prove
Since , every graph of rank width at most is identified by -dimensional Weisfeiler-Leman when . A linear layout gives a rooted-comb decomposition with a singleton child side at each fork, which yields the stronger -dimensional bound for linear rank width at most . Rank-width-zero graphs are edgeless and are identified by one-dimensional Weisfeiler-Leman. Thus the general rank-width estimate improves the strongest previous unrestricted bound by two dimensions. Equivalently, individual graphs in the two classes are definable in counting logic with and variables, respectively. Only the source graph is equipped with a rank decomposition. The target graph remains arbitrary throughout the proof.
The proof refines the nice-triple geometry underlying the induction of Grohe and Neuen. The same three-interface containment appears in the pebble count of Levet, Rombach, and Sieger [17, Section 3.2]. At an internal node, let S be the parent split pair and let F and T be the split pairs for its two children. These pairs can be chosen so that their distinct entries lie in one common carrier P. If the three cut ranks are , then
Entries absent from a child interface lie outside the corresponding child side. This remoteness property turns the local rank sum into the global fork-load bound.
The main obstacle is synchronizing component information across the two graphs. Stable colourings formed from different individualized tuples cannot be compared by refinement alone. We use canonical common-round colour codes and attach to each relevant stable colour its component coordinate in the appropriate flipped graph. The resulting component palettes have the same meaning on both sides of the pebble game. Two palettes are preannounced in sequence. Each either exposes a response that violates the prescribed data or forces a nonisomorphic coloured component for the next child transition. A canonical forgetful map recovers information defined with a finer tuple from the palette on the selected remote component. This avoids simultaneous markers for both children.
At a fork , the carrier, current marker, and response use at most pebbles. A marked split-pair palette or component formula uses at most variables. The strict-child transition therefore iterates with
pebbles. Root, leaf, and finitary closure arguments then give the stated identification theorem.
The dependence on both width parameters is optimal up to constant factors. Let and be the maximum Weisfeiler-Leman dimensions on graphs of rank width and linear rank width at most r. We apply the original Cai-Fürer-Immerman (CFI) construction [3] in the uncoloured form developed by Neuen [18]. A block-layout analysis on the split grids of Kiefer and Neuen [15, Section 6.2] gives
for every . Factoring cuts through the endpoints of crossing base edges yields
for every . The lower construction uses the fact that the by square grid has tree width [2, Section 13.2]. The rook and Shrikhande graphs provide the constant-three calibration, including for . These estimates show that both extremal dimensions grow linearly.
The standard implementation of Weisfeiler-Leman consequently tests isomorphism on the rank-width-k class in time , improving the previous exponent by two. The broader lower-bound context includes oddomorphisms for homomorphism indistinguishability [20] and compressed CFI graphs designed for strong Weisfeiler-Leman lower bounds [7]. Our analysis instead tracks rank width and linear rank width closely enough to place the indistinguishable pairs inside the corresponding width-bounded classes.
The decomposition-sensitive estimate also yields structural information after optimization. Define
We prove
and lies between and . We call the optimized profile pair. Every connected graph on at least three vertices has, for each , a connected induced supergraph with the same rank width and optimized profile pair, while
Using square grids as base graphs gives, for every and , a connected graph with rank width r and linear rank width q such that
Thus linear rank width can grow without changing the optimized profile.
Both optimized quantities obey exact maximum identities under disjoint union and nontrivial split composition. The corresponding identity for rank width is classical [9, Theorem 4.3]. Iteration over an atomic split decomposition gives a maximum formula for every nonempty graph. At rank width exactly two, the optimized profile pair is always or , and both pairs occur at every exact linear rank width at least three. Hence global linear rank width does not determine the optimized profile pair, and decomposition optimization alone cannot lower the endpoint seven for graphs of rank width exactly two.
These structural results complement recent work on recognizability and counting monadic second-order logic (CMSO) definability at rank width at most two, and on sequential cable constructions for linear rank width [13, 14]. Those works do not study the optimized profile pair introduced here.
The theorem concerns identification after unrestricted Weisfeiler-Leman stabilization. It does not bound the number of refinement rounds or determine the optimal dimension. Levet, Rombach, and Sieger obtain a different tradeoff by using -dimensional Weisfeiler-Leman for rounds in a parallel canonization framework [16]. Our argument does not produce a canonical target decomposition, a bounded-depth description, or fixed-point definable canonization. In particular, for graphs of rank width at most two it gives a seven-dimensional upper bound without determining the exact dimension of the class.
Section 2 fixes the game, logic, rank-width, split-pair, and flip conventions. Section 3 proves the carrier bound and the remote synchronization tools. Section 4 interprets every auxiliary key in the ordinary graph vocabulary. Section 5 establishes the two-palette strict-child transition. Section 6 closes the source-guided induction and proves the main theorem. Section 7 develops optimized fork load, separation, split composition, and the rank-width-two classification. Section 8 gives the extremal dimension ranges, finite calibration, and algorithmic consequences. Section 9 records the remaining questions.
For vertex-coloured graphs and of the same order and an integer , the bijective -pebble game is played with indexed pairs of pebbles. A position is a pair of tuples for some , where and . Entries may repeat. The position is a partial isomorphism when equality, adjacency, and every unary input colour agree at all corresponding indices. In one round Spoiler either removes one occupied pair, in which case the round ends, or requests a new pair when fewer than pairs are present. In the latter case Duplicator announces an arbitrary bijection from to . Spoiler then chooses a vertex in the source graph and places the new source pebble there. The matching target pebble is placed on its image under the announced bijection. Spoiler wins as soon as the new position is not a partial isomorphism. Duplicator wins an infinite play if every position remains a partial isomorphism. We write for this game and invoke it only for equal-order graphs. Graphs of different orders are already separated by a one-variable counting sentence.
Counting logic is first-order logic augmented with quantifiers of the form . Its fragment using at most variable names is denoted by . Rebinding a name in a nested subformula does not bind an occurrence of that name in a Boolean sibling. This lexical convention is used repeatedly in the variable counts below. We use the standard correspondence between finite-variable counting logic, bijective pebble games, and Weisfeiler-Leman refinement [3, 8, 10].
2.1 Rank decompositions, split pairs, and flips
Rank width is always taken on the underlying uncoloured graph. We follow the conventions of [5, Sections 2.2, 3, and 4].
For , write and let
be the bipartite adjacency matrix across the cut. The cut rank is
A rank decomposition of a nonempty graph is a pair in which is a finite full rooted binary tree and assigns a set of vertices to each node. At the root this set is . At every internal node it is the disjoint union of the sets assigned to the two children. The sets at the leaves are singletons. The width of is
and is the minimum of this quantity over all rank decompositions. This is the rooted presentation used in [5, Section 2.2].
For a fixed rooted rank decomposition , put
If t has children , define its fork load by
The fork load of the decomposition is
When the tree has no internal node, we set . Thus . If the root is internal, its first summand is zero and its two child cuts have equal rank. Fomin and Korhonen define a related sum-width for the tripartitions displayed by a W-improvement of a branch decomposition [4, Definition 4.3]. Here fork load is the maximum, over the internal nodes of one rooted rank decomposition, of the sum of the three incident cut ranks. Set
A linear layout of G is an ordering of its vertices. Its width is
The maximum is defined to be zero when . The linear rank width is the minimum width of a linear layout. Equivalently, it is obtained by restricting rank decompositions to caterpillar decomposition trees [12].
For and , let
A split pair for is a pair such that and , the vectors form a basis of the row space of , and form a basis of the row space of . Consequently,
An ordered split pair is an ordering of these two sets. We also regard the concatenation as an ordered anchor occurrence and denote it by A. This agrees with [5, Definition 3.2]. The empty pair is the split pair at the root.
Let be the ordered list of unary relation symbols in the fixed vocabulary. For , define its complete unary atomic type by
For an ordered anchor occurrence , let
and define the round-zero canonical colour by
Inductively, put
These are common recursive codes rather than graph-local names. We write
for the resulting canonical stable colour. Formally, it may be represented by the common-round code sequence . On a finite graph it induces the usual stable colour-refinement partition. Repeated anchor occurrences cause no ambiguity because their complete equality vector is retained. This is a canonical naming of the individualized stable colouring used in [5, Section 3, before Corollary 3.4].
If q is obtained from u by a fixed map of source occurrences, there is a graph-independent forgetful map satisfying
At round zero the map retains, repeats, and reorders the prescribed equality coordinates. At every later round it aggregates neighbour counts over the fibres of the preceding map. We use only this fine-to-coarse direction.
Let be a colouring. A flip function for is a symmetric map
The flipped graph has the same vertices and colours as G, and for distinct u, v its edge relation is given by
When the colouring is clear, we write . This is [5, Definition 3.5].
Fix the source graph . If is an ordered split pair for , choose once and for all a flip function supplied by [5, Lemma 3.6] for the colouring . Denote it by
Extend it by zero to the universal alphabet of canonical stable types. The same totalized map is then evaluated on every target graph. This convention does not claim that the target components respect a target cut. It only ensures that the source flip and target flip are the same type-defined operation.
If is the target occurrence paired with , then means that the totalized map is evaluated on the canonical target colouring . In particular, a canonical type realised only on the target is governed by the zero extension.
If a canonical refinement comes with a fixed projection from its universal stable-type alphabet to the universal stable-type alphabet of , the lift of to is
The lift toggles exactly the same unordered vertex pairs as the original flip. We therefore suppress the superscript when the projection is clear.
Let
denote the family of vertex sets of the connected components of . For , let
be the unique member of containing . We omit , , or the subscript only when they are fixed by the context. The analogous target component containing is written
Suppose that , that is a split pair for , and that is a split pair for . The two child pairs are nice with respect to when
Grohe and Neuen prove that they may be chosen so that, in addition,
See [5, Definition 4.1 and Lemma 4.2]. These inclusions are converted into the shared-carrier and remoteness bounds in Section 3.1.
We record the external results used below in the precise forms needed here.
Proposition 2.1 (Split-pair flip). Let A be an ordered split pair for X. Every component in
is contained in X or in .
This is [5, Lemma 3.6].
Proposition 2.2 (Isomorphism invariance under a common flip). Let and use a common colour alphabet and let be a flip function on that alphabet. For every bijection ,
This is [5, Lemma 3.9]. We will also use its contrapositive for induced coloured subgraphs.
Proposition 2.3 (Colour-refinement invariance under a flip). For every coloured graph and every flip function for , the two stable colourings
induce the same partition of .
This is [5, Corollary 3.11]. The assertion concerns equality of the induced partitions. Our canonical common-round codes supply the cross-graph type names used later.
Proposition 2.4 (Nice child split pairs). Let and let be a split pair for . There are child split pairs for that are nice with respect to and satisfy
This is [5, Lemma 4.2].
Proposition 2.5 (Selection from component partitions). Let and be nonisomorphic coloured graphs of the same order. Let and be partitions of their vertex sets such that every connected component is contained in one block. For every bijection , there is a vertex for which
where and are the unique blocks containing and .
Proof. This is the coloured form of [5, Observation 4.3]. Suppose the conclusion fails. Form the bipartite incidence graph on P and Q, joining two blocks when maps at least one vertex between them. Every incidence edge joins blocks of the same coloured isomorphism type. The bijection therefore maps the union of the source blocks of each fixed type onto the union of the target blocks of that type. Since all blocks of one type have the same order, the two partitions contain equally many blocks of that type. Pair the blocks type by type and combine coloured block isomorphisms. No edge joins distinct blocks of a component partition, so the combined map is an isomorphism from to , a contradiction.
Write when -dimensional Weisfeiler-Leman does not distinguish and . We say that -dimensional Weisfeiler-Leman identifies if for every graph over the same vocabulary that is not isomorphic to . The Weisfeiler-Leman dimension of is
Write when the two graphs satisfy the same sentences of -variable first-order logic with counting.
Proposition 2.6 (Weisfeiler-Leman, pebble games, and counting logic). For vertex-coloured graphs G and H of the same order and every ,
The two equivalences are [5, Theorems 2.3 and 2.4]. Consequently, if Spoiler wins against every same-order nonisomorphic target for , then -dimensional Weisfeiler-Leman identifies . Pairwise separators combine into one identifying sentence by the finite conjunction argument in [5, Corollary 2.5]. Graphs of a different order are separated by a one-variable counting sentence.
For comparison, [5, Theorem 4.4] proves that -dimensional Weisfeiler-Leman identifies graphs of rank width at most . Its proof uses the same source-guided descent and a strategy. Corollary 3.12 of the full version of Levet, Rombach, and Sieger sharpens the unrestricted dimension bound to [17]. We use the theorem of Grohe and Neuen as the source of the induction architecture.
3 Shared carriers and remote synchronization
3.1 The shared carrier and remoteness
Fix a source graph , a graph of the same order, and a rooted rank decomposition of . Consider an internal decomposition node with shore and children with shores , where
Let
be the ordered split-pair occurrences for the parent, first child, and second child. We choose them using the strengthened niceness clause of [5, Lemma 4.2]. Their numbers of entries are twice the corresponding cut ranks. When an occurrence tuple appears in a set operation, it denotes the set of its entries.
Let P be the ordered carrier obtained from by retaining one copy of every distinct source vertex in a fixed source-determined order.
Lemma 3.1 (Shared carrier). The split-pair occurrences in (3.1) can be chosen so that
where are the children of the current node t.
Proof. Write the parent split pair as , where and . Write the child split pairs as and , where . The additional clause in [5, Lemma 4.2] gives
Together with niceness, this yields
The sets , , and lie in the pairwise disjoint regions , , and . Their sizes are , , and , respectively. Every vertex occurring in belongs to , which proves the bound.
Corollary 3.2 (Profile carrier bound). At every internal node t,
Proof. This is Lemma 3.1 and the definition of the fork load.
Corollary 3.3 (Remoteness). The shared carrier satisfies
Proof. Use the notation from the proof of Lemma 3.1. Every vertex of lies in . Since occurs in , removing the vertices of leaves only vertices in . The other inclusion is symmetric.
Suppose the current position contains S and a marker v. Spoiler acquires the distinct vertices in one at a time. The target occurrences are obtained from the replies through the fixed source occurrence maps. After each reply, Spoiler checks the full enlarged position, including all incidences between the newly acquired carrier vertex and the old marker. A disagreement in equality, adjacency, or input colour is an atomic win. Otherwise the resulting position contains at most live roles, represented by and v. This construction uses no decomposition of .
We use the semantic stable palettes defined in Section 2.1. A palette is the combined colouring determined by one canonical colouring or by a finite tuple of canonical colourings and Boolean coordinates. We call a palette stable when this combined colouring is stable under colour refinement in the graph under consideration. In particular, every stable palette is equitable. A factor of a palette is a colouring obtained from it by one fixed map on colours. The histogram of a palette records the multiplicity of each canonical colour. For a colouring and an ordered occurrence , the notation means that the equality vector of is added to the initial colours. We write when the two colourings induce the same partition. Whenever an argument passes through this partition equivalence, we relabel one colour set by the induced bijection between its classes before comparing colour maps. This relabelling changes neither the partition nor any component predicate.
All lookups are source-fixed maps on canonical stable types. Their finite common-round representatives and counting-logic formulas are constructed in Section 4. The finite-to-complete passage is stated formally in Lemma 4.3. Source-derived flips, their zero extensions, and their lifts use the conventions of Section 2.1. A common lifted flip means one source-fixed flip table that is zero-extended and pulled back on both graphs through the same source-fixed map on their common canonical colour alphabet. It therefore toggles corresponding colour pairs by the same rule. In particular, later refinement does not change the flipped edge relation.
We make the component conventions explicit. For a graph K and a fixed flip f, let
be the full-component partition of the flipped graph. For a flip defined through an anchor occurrence , we also write . For , define the associated intersection partition by
This is the partition obtained by intersecting W with full components. It is not, in general, the component partition of the induced graph .
For , write
For an anchored flip , let denote the unique full component containing and abbreviate
Superscripts are omitted when the graph is clear. For later use, set
At the current node the induction state has the form
where and . Only and their target mates remain in this normalized position. We relabel the children so that .
3.2 Remote-union locality
The remaining statements in this section are independent of the decomposition parameters.
Fix a graph , a stable canonical colouring , and a flip pulled back to . Let be an ordered marker occurrence, possibly empty. Define
Thus is the union of the full components of that avoid every entry of . In particular, . Let forget the equality vector of from the alphabet of to , and set
The graphs obtained by evaluating through and by evaluating through have the same edge relation. We denote both by . Put
Lemma 3.4 (Remote-union locality). There is a colour set and a function , determined by , and , such that
The same function works on the entire remote union.
Proof. The colour-refinement transfer across the flip f and its pullback from Proposition 2.3 gives
Work first in the fixed flipped graph . At round zero, every equality coordinate associated with is false on . Suppose that the round-i colour of every vertex in is determined by its -colour. No flipped edge leaves because this set is a union of full components. Since is equitable in , vertices with the same -colour have equal neighbour counts into every -class. For vertices in the remote union, these global counts equal the counts inside the remote union. Every round-i class occurring there is determined by an -class, so the round- colours also agree. Induction proves that is a function of . Relabel the colours of by the class bijection supplied by the second equivalence in (3.12). Composing the local function with this relabelling transfers the conclusion to .
3.3 Preannounced common maps
Lemma 3.4 produces a function separately on each graph. The next statement gives the condition under which those functions coincide.
Let and be stable canonical palettes with a common colour alphabet. Let be a common lifted flip. Let and be corresponding marker occurrences, possibly empty. Define and by (3.9). Suppose that and are colourings with a common codomain and satisfy
for two possibly different functions .
Lemma 3.5 (Preannounced common map). If a bijection preserves the pointwise palette
where the corresponding target value at uses , then for every colour realised in either remote union.
Proof. The component-bit vector in (3.13) defines the remote union because it is the all-zero vector exactly on the full components that avoid Y. Pointwise preservation maps the all-zero region in G onto the all-zero region in H. Preservation of the complete pointwise palette then gives equality of every region-restricted joint multiplicity. In detail, put
(3.14)
Then for all . Summing over shows that an -colour is realised in one remote union exactly when it is realised in the other. If the two graph-specific maps assigned different values to such a colour , then for the first count would be positive and the second would be zero. This is impossible.
Separate marginal histograms do not suffice. The canonical factor and the complete remote component-bit vector must occur in the same pointwise announcement.
3.4 Common component palettes
Fix corresponding ordered anchor occurrences in and corresponding markers . The source-fixed flip is understood with its zero extension to the universal alphabet of complete canonical -types.
Lemma 3.6 (Marked component palette). Suppose that and have the same global histogram and give the markers the same singleton colour. There is one Boolean map h on their common complete-type alphabet such that
Proof. Let be the common alphabet of complete marked types and let be the canonical map that forgets the marker coordinate. Pull the totalized source flip back by setting
This is one table on for both graphs. In particular, if a factor type is realised only on the target, the zero extension of assigns the value zero to every pair involving that type.
For and realised colours , let be the size of the -class and let be the number of neighbours in that class of a vertex of colour . Equitability makes well defined. Run colour refinement on with the corresponding marked anchor vectors and universal type names. Choose a round at which the joint refinement is stable. Every realised round- class has a unique complete continuation, as formalized in Lemma 4.3.
Equality of a complete colour includes equality of its round- code. The coordinate belonging to the round- class with continuation gives
The common histogram gives . It also shows that the two graphs realise exactly the same colours, so no target-only marked colour is left to compare. After the flip, the quotient count is
Thus the two flipped graphs have the same weighted quotient on the realised marked colours.
The common marker colour is a singleton class. If , then undirected equitability gives . Hence every vertex of the -class has a neighbour in the -class. Induction from the marker class shows that an entire stable colour class lies in the marker component exactly when its quotient vertex is reachable from the marker colour. Reachability in the common quotient defines on the realised colours. Set on the unrealised colours of . This proves (3.15). In the notation of (3.5), the corresponding cell is
and the same formula selects the target-graph cell.
Let and be stable palettes with one common codomain. Suppose that both marker classes are singletons and that one fixed map satisfies
Lemma 3.7 (Preannounced component palette). Suppose that a bijection sends to and preserves the joint pointwise palette, so that for every ,
Then there is one map such that
Proof. Pull the totalized flip back through the common factor in (3.17). The resulting table
has codomain and is the same on both graphs, including on colours whose factors are source-unrealised. By Proposition 2.3, each remains an equitable partition after this flip. Quotient reachability from its singleton marker class therefore gives a graph-specific Boolean map whose value is the component predicate.
Equation (3.18) first implies that the realised -colours coincide. A target-only colour would violate preservation of the first coordinate and hence cannot remain under the hypothesis. Apply Lemma 3.5 with the empty marker occurrence, base palettes , and Boolean factors . The remote unions are the whole vertex sets, and the preserved pointwise palette is exactly (3.18). The lemma gives for every realised . Their common restriction, extended by zero to unrealised colours, is the required Boolean map. No reduct between two graph-specific palettes is used.
3.5 Canonical reducts and successive stabilization
Lemma 3.8 (Canonical forgetful reduct). Let U be an ordered anchor occurrence. Let Q be obtained from U by a fixed source occurrence map, which may repeat or reorder coordinates. There is a graph-independent map on complete canonical stable types such that, on every graph,
Proof. At round zero, retain, repeat, and reorder the anchor equality coordinates according to the fixed source occurrence map from U to Q. Suppose that a common map sends every round-i fine type to its round-i coarse type. A round- fine type records the neighbour count in every round-i fine type. Summing these counts over each fibre of gives exactly the neighbour counts in every round-i coarse type. This defines one graph-independent map . Induction over the common-round complete codes gives .
Only the fine-to-coarse direction is asserted. A coarse type need not determine a finer type.
Lemma 3.9 (Successive stabilization). For ordered anchor occurrences A and B,
Proof. We use the standard fact that Stab( ) is the coarsest equitable refinement of . Both sides are equitable refinements of the input colouring in which every displayed anchor is individualized. The right-hand side refines and is equitable, so it refines Stab( ). It also individualizes , and hence it refines the left-hand side by the coarsest-refinement fact. Conversely, the left-hand side is an equitable refinement of , so it refines the right-hand side by the same fact. The two stable partitions are therefore equivalent.
4 Enforcing finite transition palettes
The transition argument uses stable colour-refinement types and fixed lookups on those types. It also uses component predicates in source-derived flipped graphs. These objects are auxiliary colours rather than relation symbols of the input vocabulary. We show that every such colour can be enforced in the ordinary bijective pebble game without increasing the claimed number of pebbles.
Throughout the section, the two graphs have the same order n and are given over one fixed finite graph vocabulary. The vocabulary may contain a fixed finite collection of unary input colours. Let
be corresponding ordered anchor occurrences in the two graphs. Repeated entries are allowed. All type names below are universal names. In particular, the same name has the same meaning under the assignments and .
The empty graph is handled by the exact-order sentence. We therefore assume below.
The formulas constructed here may depend on n and on the fixed source graph. This is permitted because the identification theorem is nonuniform. Graphs of a different order are separated before the transition argument is entered.
4.1 Common-round colour-refinement types
Fix and . We define finite sets of possible order-n, round-r types. A round-zero type records the truth values of all unary input colours and the equality vector
Thus is finite. Having defined , a member of is a pair
where
and . Types that are not realised in any order-n graph may be retained in this finite universe. For a graph , an anchor occurrence , and , define recursively
to be the round-zero data above, and put
This is the usual canonical colour-refinement recursion after the anchor positions have been individualized by their equality vectors.
Lemma 4.1 (Finite type formulas). For every there is a formula
such that, for every graph G of order n,
The formula belongs to counting logic and uses only the q anchor variables together with the two variable names x, y.
Proof. At round zero, use the conjunction of the required unary input-colour literals and the required equalities or inequalities . Suppose that formulas have been constructed at round . For
put
Here abbreviates the conjunction of the usual at-least and not-at-least counting quantifiers. In the occurrence , the name may be rebound as its local counting variable. This binding is confined to that subformula. It does not bind the occurrence of in or in any sibling of that subformula. Alternating the names and at successive recursive levels therefore proves the stated variable bound. The conjunction in (4.2) ranges over the entire universal lower-round type set. It therefore includes a condition with prescribed count zero for every lower-round type whose coordinate in is zero. In particular, a target vertex with additional neighbours of target-only lower-round types cannot satisfy the formula for the source type.
We next choose a finite common round at which the canonical types may be treated as stable colours on both graphs. Give the disjoint union of the source and target graphs the round-zero colouring that uses the equality vector relative to on the source and relative to on the target. The recursive type in (4.1) is exactly the colour obtained by running colour refinement on this disjoint union with universal colour names. For , put and , and define the paired disjoint-union type by
Lemma 4.2 (Common-round stabilization). For two graphs of order n, the partition of their disjoint union by the types is stable. Its restriction to either graph is the stable colour-refinement partition obtained after individualizing the corresponding anchor occurrence.
Proof. The disjoint union has 2n vertices. Every strict colour-refinement round increases the number of colour classes. Consequently fewer than 2n strict rounds are possible. The partition at round 2n is therefore stable. The type recursion of a vertex only uses neighbours in its own graph. Its restriction to either graph is consequently the ordinary colour-refinement recursion on that graph. This proves the second claim.
For , where , write
for its complete canonical stable type under the corresponding anchor occurrence.
Lemma 4.3 (Finite-to-complete type bridge). For all vertices ,
Consequently every realised round-2n type has one complete continuation, common to the source and target graphs wherever that finite type occurs. A complete target type is source-realised exactly when its round-2n prefix is source-realised.
Proof. Equality of complete types implies equality of every finite prefix. For the converse, suppose that . By Lemma 4.2, the round-2n partition of the disjoint union is stable. Hence vertices in the same round-2n class have the same neighbour count into every such class and receive the same round- type. Repeating this argument gives for every . The type at round 2n already contains all earlier prefixes, so the complete code sequences agree. This proves (4.3).
The equivalence defines a unique continuation for each realised finite type. If a complete target type is realised on the source, its finite prefix is also source-realised. Conversely, a common finite prefix gives a common complete continuation by the equivalence.
We write
when the two graphs under consideration have order n, and use the analogous notation on the target graph. These are finite representatives of the semantic stable palettes defined in Section 2.1. By Lemma 4.3, each finite palette induces exactly the same classes as its semantic stable palette, and its finite names have unique complete-code continuations. The round 2n notation is only a finite naming convention. It does not impose a uniform bound on the number of Weisfeiler-Leman rounds as the order of the source graph varies.
We now make the passage from complete stable types to a source-fixed finite table explicit. Let U be an ordered fine anchor occurrence and let Q be obtained from U by a fixed source occurrence map. The map may retain, repeat, or reorder coordinates. Write and . For every round , define a finite-round forgetful map
At round zero, retains, repeats, and reorders the equality coordinates prescribed by the occurrence map and leaves the unary input colour data unchanged. Suppose that has been defined. For a fine type , put
The sum simply aggregates fine neighbour counts over one coarse fibre. Induction on gives, for every order- graph , the corresponding occurrences , and every vertex ,
If no coarser occurrence is involved, we take and define every to be the identity. This convention covers the unlifted case rather than leaving it implicit.
Fix the source graph and its occurrence . Let be the set of types in realised on the source. For , let
be the complete canonical stable type of any source vertex whose round-2n type is c. This is well defined by Lemma 4.3. Let be the symmetric flip specified on the complete stable -types realised on the source, and let be its semantic zero extension. Thus whenever at least one of is not realised on the source.
Define the total source-fixed finite table on fine round-2n types by
This definition never asks for a complete continuation of a finite type that is not realised on the source. It is therefore fixed by G, n, the two source occurrences, and the source flip. The table is total and symmetric.
To verify the table, let be the source or target graph and let . By (4.7), the projection of a fine round-2n type is the round-2n type relative to . If this projection is source-realised, Lemma 4.3 says that its complete type on is of that finite type. If the projection is not source-realised, the same lemma says that its complete type on is not source-realised. The semantic zero extension therefore assigns zero to every pair involving it. Consequently
(4.9)
Thus one source-fixed finite table implements the totalized semantic flip on every order-n target. A fine type realised only on the target still inherits the source flip value when its coarse projection is source-realised because the bridge identifies its complete coarse factor with the source continuation. Only a source-unrealised coarse projection receives the default zero value. In the identity case, a target-only fine type receives zero exactly as required. Henceforth write for the table in (4.8).
4.2 Finite flip tables and their components
Lemma 4.4 (Definability of a lifted flipped edge). The edge relation of the graph obtained by the lifted flip is definable by a formula
using only the q anchor variables and the two endpoint variable names x, y.
Proof. Define
and put
(4.11)
Inside , the endpoint name can be rebound as the local counting variable. Inside the sibling formula , the name can be rebound. These local bindings do not affect the free endpoint occurrences in the other siblings of (4.10) or (4.11). No third nonanchor variable name is needed.
For component membership we use a capture-safe three-variable recursion. Let be three variable names distinct from the anchor names. For distinct , let
If is the remaining member of , define
The first child of (4.13) may bind as its local scratch name. The second child may bind . Each such binding is confined to its own child. Thus the two endpoints of the parent formula remain free.
Put
Lemma 4.5 (Finite component predicate). For vertices z, v in either graph,
holds exactly when z and v belong to the same connected component of the lifted flipped graph. This predicate uses at most variable names.
Proof. An induction on shows that expresses the existence of a walk of length at most between its endpoints in the flipped graph. Two vertices in the same component of an -vertex graph are joined by a simple path of length at most . Equations (4.12) and (4.13) therefore prove the semantic claim. The capture convention following (4.13) proves that only the three nonanchor names occur.
4.3 Enforcing a finite key
We use the precise pointed form of Proposition 2.6. Let index the occupied pebble pairs in a position . Then Duplicator wins the bijective m-pebble game from this labelled position if and only if
for every whose free variable names are among the labels indexed by . This is the standard induction on formulas with free variables. The free assignments remain fixed, while a counting quantifier is simulated with the pebble carrying its bound variable name. No constants are added and no extra variable name is introduced.
We also record the equality-stratum substitution used below. Let be a formula in with displayed free occurrences . Let be an equality relation on these occurrences. Choose one representative for each -class . There is a formula
such that every assignment with equality pattern satisfies
For each nonrepresentative free name , let be the chosen representative of its class and replace the current formula by
On the equality stratum this eliminates as a free name without any substitution or freshness requirement. Iterating over the nonrepresentatives constructs , introduces no new variable name, and proves (4.16). Hence repeated or coincident free roles require only one name per distinct assigned vertex.
Consider a current position
with at most occupied pebble pairs. A finite key is a tuple
where every fibre is defined, on both graphs, by the same source-fixed formula in . A coordinate may use only a fixed subtuple of . Different coordinates may reuse the same bound variable names because they occur in different Boolean siblings.
Suppose Duplicator announces a bijection
from the position .
Lemma 4.6 (Finite key enforcement). Exactly one of the following two possibilities applies.
- There are and a coordinate such that
Spoiler places the available pebble on u. Spoiler then wins from the resulting position in the bijective m-pebble game.
- For every ,
Hence preserves every key fibre, every Boolean combination of key fibres, and every joint key multiplicity.
Proof. If the second alternative fails, choose and as in the first alternative and let . After Spoiler pebbles , the source assignment satisfies the formula defining , while the target assignment with response does not. If the two assignments have different equality patterns, the new position already fails to be a partial isomorphism. If their equality patterns agree, apply (4.16) to the defining formula. The resulting formula still distinguishes the reduced pointed assignments. Equation (4.15) then gives Spoiler a winning strategy from the new position.
Only after u has been pebbled and its announced mate has been received does Spoiler remove obsolete pairs. If the defining formula for uses only a subtuple of the current anchors, every pair whose label is absent from the free support of that formula may now be removed. These removals do not change either truth value. The pair representing the free response variable is retained unless equality-stratum substitution has identified it with another retained pair. The number of occupied pairs never increases during these removals. Bound variables of the distinguishing formula are then realised by reusing the remaining m pebble pairs in the standard game simulation.
If no violating u exists, the displayed equality in the second alternative holds pointwise. Its remaining conclusions follow because is a bijection.
The lemma applies equally to multivalued stable-type coordinates and lifted flip component bits. For a stable-type mismatch, use the formula for the source type. For a component bit, use Lemma 4.5. Thus an assertion that an announced bijection preserves a transition key is a valid dichotomy in the ordinary graph vocabulary. A failure gives a bounded-pebble win, while preservation gives an actual pointwise key-preserving bijection.
4.4 Application to the parameter bound
Fix the source decomposition D and set
At a transition node , the shared master occurrence has at most distinct anchors. A stable master type therefore uses at most
variable names by Lemma 4.1.
An ordered split-pair occurrence associated with a node has entries. A marked stable type or a component predicate based on this occurrence uses at most
names. Lifted flip adjacency uses at most names.
At a transition key probe, the master anchors, the current marker, and the response vertex occupy at most roles. If the violated coordinate is the master stable type, the current marker is absent from its support and its name may be reused when it is distinct from the master anchors. When it aliases a master anchor, the equality accounting below supplies the movable name. If a violating occurrence or component coordinate is selected, all master names outside its support are obsolete and may be removed before the pointed game simulation. The fact that a key contains many coordinates causes no increase in variable width. Spoiler chooses one violated coordinate, and formulas belonging to different coordinates are Boolean siblings with reusable local names.
Before this renaming is performed, fix the equality stratum of the current assignment and apply (4.16). Repeated anchor or marker occurrences are then represented by one shared variable. If a selected response is already pebbled, a different target mate violates equality immediately. With the same mate, the duplicate pair may be removed. Thus aliases only decrease the number of distinct names and live roles.
Combining Lemma 4.6 with (4.18) and (4.19) closes the passage from the auxiliary transition palettes to the bijective -pebble game.
5 The two-palette strict-child transition
Fix a rooted source rank decomposition and an internal node . Let its shore be , let its two child shores be and , and write
Let S, F, and T be ordered split-pair occurrences for X, , and , respectively. The child occurrences are chosen as in Proposition 2.4. Write
for the three source-fixed flips from Proposition 2.1.
The distinction between occurrences and their values is important. Choose an ordering
of the distinct vertices occurring in . Thus the entries of are pairwise distinct and by Corollary 3.2. For , fix the unique source occurrence map
for which the jth entry of is . These maps retain every repetition and every ordering in the three split-pair occurrences.
For brevity, denotes the ordered suboccurrence of obtained by deleting the values that occur in . Thus
Given a current marker pair , when carrier acquisition has been completed, write the target mates of the carrier values as
Spoiler checks the full enlarged position against , including all equality, input-colour, and adjacency facts between the old marker and every acquired carrier value. If this position is not a partial isomorphism, Spoiler has already won. We may therefore assume that the entries of are pairwise distinct and define
No split pair or decomposition is chosen in the target graph. The target occurrences in (5.2) are only projections of the replies to the source carrier.
For an occurrence Q and a vertex y, abbreviate the component indicator by
On the target graph the same symbol with a prime means
where the source flip is totalized and evaluated on the target as specified in Section 2.1.
We use the remote synchronization results from the preceding section in the following precise form. Suppose paired components avoid corresponding anchor sets and one preserving key contains a stable base palette, a stable factor, and all component bits that define the two remote unions. If the factor is a function of the base palette in each graph, the joint multiplicities in that one key make the two functions equal on every base type realised in either remote union. We also use that a component bit is a common Boolean function of an individualized stable palette whenever that palette and the bit occur jointly in one preserving key. All common-function statements below refer to one map on the canonical type alphabet, not to two unrelated graph-local maps.
It will be convenient to write
when have a common codomain, have a common codomain, and there is one map between these two colour sets such that on and on . A constant coordinate is also regarded as a common function.
Assume that the current pebble position consists only of one pair for each distinct value in , sends the source occurrences and marker to their displayed target mates, and is a partial isomorphism. Suppose also that this normalized position is represented by
with
and
We call these three requirements the normalized boundary conditions at . Relabel the children so that . Starting from this boundary, Spoiler places a pebble on each carrier value not already represented by . He does this one value at a time. The occurrence maps above determine all target occurrences. After each reply, he checks the full enlarged position, including its incidences with the old marker. At the completed carrier position, at most pebble pairs are occupied.
Lemma 5.1 (Two-palette transition). Suppose that (5.4) and (5.5) satisfy the normalized boundary conditions above. Spoiler acquires the carrier through the fixed source occurrence maps and checks the full enlarged position after every reply. He either obtains a position with a winning continuation during this acquisition or can continue to reach a position
that satisfies the normalized boundary conditions on a strict child shore. Throughout the transition at most pebble pairs are needed.
The proof has two possible handoffs. The first uses the F-flip to select a component meeting C. If the selected cell lies in , this already gives the first-child state. Otherwise the selected vertex replaces the old marker, and the T-flip selects a component in . At either handoff, whether the current marker lies inside or outside the selected component determines the base palette used for the common-map reduction. We record the base palette, lifted flip, remote tuple, stabilization, target factor, and preserving coordinates separately in all four branches.
Proof. Suppress graph superscripts on source palettes and put
The corresponding target palettes are denoted by primes. Whenever a stable palette below canonically refines for , write for the common lift of the source-fixed flip through the canonical factor map from to . Every such lift gives exactly the -flipped edge relation on both graphs.
Let
where repeated values are deleted, and define the first palette by
(5.8)
where . The target key uses the occurrences and marker mates fixed above. Every coordinate of (5.8) is enforceable within variables by Lemma 4.6.
Duplicator announces a bijection
from the position . A failure to preserve gives a winning response by Lemma 4.6. Assume from now on that preserves the key pointwise. The carrier colours in are singletons, and the marker colour in is a singleton. It follows that
The coordinate now gives
In particular, is a bijection from to .
The key contains as a coordinate. Let denote the projection from a -colour to its -colour and lift the first-child flip by
This lift toggles exactly the edges toggled by in both graphs. Since (5.5) remains a mismatch after the refinement to , Proposition 2.2 gives a mismatch between the two -coloured graphs induced by and after applying (5.11).
Consider the nonempty intersection cells
and
These are partitions of C and . Every connected component of either flipped induced graph is contained in one block of the corresponding partition. Apply Proposition 2.5 to these partitions and to . It supplies a vertex . Spoiler places the available response pair on , whose announced mate is . If the enlarged position is not a partial isomorphism, Spoiler wins immediately. We may therefore assume that it is a partial isomorphism and put
and
Both cells are nonempty. By the conclusion of the application of Proposition 2.5, the two -coloured flipped graphs induced by and are nonisomorphic. The restriction of to these cells is the same common flip on their -colours. The contrapositive direction of Proposition 2.2 therefore transfers this flipped mismatch back to the original edge relations and yields
The preserved component coordinates provide all target-side membership facts needed below. For every , let be its displayed target mate. Evaluation at the selected response gives
In particular,
and
The same key contains the joint pairs
Lemma 3.7 therefore makes each displayed bit a common Boolean function of the palette paired with it.
By Proposition 2.1, is contained in or in . Since is nonempty and , precisely one of the following alternatives holds:
Suppose first that . Then and Corollary 3.3 gives
Equation (5.18) gives the corresponding remoteness of from all displayed target values.
Suppose first that . Equation (5.19) also gives . The locality application in this branch has base palette , lifted flip , and remote tuple . By Lemma 3.9, its stabilized palette satisfies
The target factors are and , both obtained from by canonical forgetful maps. The source remoteness premise is (5.22). Its target counterpart follows from (5.18). The preserved key contains the joint coordinates
and the corresponding target coordinates. The component-bit vector in this joint key defines the two remote unions. Lemma 3.4 first makes each target factor a graph-specific function of on , . Lemma 3.5 then makes the two functions common. We obtain
Lemma 3.8 handles . Lemma 3.7 and the joint pairs in (5.20) handle . Finally, on the selected components and there for every . Hence every -coordinate is a common function of on the selected components. Such a coloured isomorphism between and would preserve , hence it would preserve and , contrary to (5.16). We obtain the strict child state
Suppose next that . Equation (5.19) gives . Two locality applications are needed. The first has base palette , lifted flip , remote tuple , and stabilization
Its target factors are and . Its source and target remoteness premises are and . The preserved joint coordinates are
and their target counterparts. The second application has base palette , lifted flip , remote tuple , and stabilization
Its target factor is . Equation (5.22) is the source remoteness premise, and (5.18) is the target premise. The preserving joint coordinates are
and their target counterparts. For each application the displayed component-bit vector defines the two remote unions. Lemmas 3.4 and 3.5 now give
All first-key component bits are then common functions of or are constantly zero on the selected components. The fresh palette refines . An isomorphism of the two full components with this fresh palette would preserve M and every -coordinate. This again contradicts (5.16). Thus
It remains to treat the second alternative in (5.21). Suppose that . Then , while . Equations (5.18) and (5.19) give
The common prelude to the two second-child branches uses base palette , lifted flip , and remote tuple . Its stabilization is
whose target factors are and . Equation (5.33) supplies both source and target remoteness. The preserved joint coordinates are
and their target counterparts. Thus the key identifies both remote unions. Lemmas 3.4 and 3.5 yield
The unmarked occurrence palette is a canonical reduct of . The joint component pairs in (5.20) deal with and . For every , the same joint pairs make a common Boolean function of . Therefore every -coordinate is a common function of on these two components. Equation (5.16) implies
The selected response can now replace the old marker. Since and (5.10) gives , the parent components may be rerooted as
Consequently,
The old marker role is now released. If v is not a carrier value, its pebble pair is removed. If it aliases an entry of P, one shared pair is retained only in its carrier role. The next predecessor position is P, w, with at most occupied pairs.
Set
Let
after repeated values have been deleted, and define
(5.42)
On the target, the corresponding parent and first-child coordinates are and . In particular, the second key enforces the parent coordinate through the rerooted representation , without using the released marker. The predicate
defines on the source and on the target by (5.38), (5.39), and the target interpretations in (5.40). Since is a coordinate of , (5.37) remains a -mismatch on .
Duplicator now announces a bijection
from the position P, w. If it violates , Lemma 4.6 gives a winning response. Otherwise key preservation, together with the singleton carrier and marker colours, gives
Let project a -colour to its -coordinate and lift the second-child flip by
Proposition 2.2 transfers the -mismatch on to the two flipped induced graphs. Form the nonempty intersection partitions
and
These are partitions of M and . Every connected component of either flipped induced graph is contained in one block of the corresponding partition. Apply Proposition 2.5 to these partitions and to . Choose the resulting . Spoiler places the available response pair on , whose announced mate is . If the enlarged position is not a partial isomorphism, Spoiler wins immediately. We may therefore assume that it is a partial isomorphism and put
The conclusion of Proposition 2.5 says that the two -coloured flipped graphs induced by and are nonisomorphic. The restriction of to these cells is the same common flip on their -colours. The contrapositive direction of Proposition 2.2 transfers this mismatch back to the original edge relations. We obtain
The second key contains the joint pairs
They give common component lookups for all component coordinates in (5.42).
Since , Proposition 2.1 gives . Corollary 3.3 gives
For every , key preservation evaluated at gives
Thus for every displayed target value. The coordinate gives
Let . Let and be fixed orderings of and , respectively. All their values belong to the carrier, so their target mates are already fixed. We have
Suppose first that . Equation (5.53) gives . The three locality applications have the common base palette and the common lifted flip . Their remote tuples, stabilizations, and target factors are
with target factor ,
(5.55)
with target factor ,
(5.56)
with target factor .
(5.57)
Here the last two stabilized palettes refine their stated target factors by canonical forgetful maps. Equation (5.51) gives the source remoteness of from , and (5.52) gives the corresponding target remoteness of . The smaller tuples inherit both conclusions from (5.54). For the three applications, preserves the joint coordinates
and the corresponding target coordinates. Each displayed bit vector defines the relevant remote union. Lemma 3.4 gives the three graph-specific factor maps, and Lemma 3.5 makes each map common. Hence
is a canonical reduct of . The joint pairs in (5.50) handle and , while and every remaining displayed -component bit is zero on , . Thus every -coordinate is a common function of on , . An isomorphism of the full components with the palettes would preserve the global predicate (5.43), and its restriction would contradict (5.49). Hence
Suppose next that . Equation (5.53) gives . There are four locality applications. The first has base palette , lifted flip , remote tuple , stabilization
and target factor . The preserved joint coordinates are
The second has the same base palette and lifted flip, remote tuple , stabilization
and target factor . Its preserved joint coordinates are
The third has base palette , lifted flip , remote tuple , stabilization
and target factor . Its preserved joint coordinates are
The fourth has the same base palette and lifted flip, remote tuple , stabilization
and target factor . Its preserved joint coordinates are
For the first, third, and fourth applications, source and target remoteness follow from (5.51), (5.52), and (5.54). For the second application they are and . Thus every displayed component-bit vector defines the required two remote unions. Lemma 3.4 gives four graph-specific reductions, and four applications of Lemma 3.5 make them common. We obtain
The fresh palette refines . Every second-key coordinate is therefore a common function of this fresh palette, or a constant, on . Equation (5.49) gives
The first two branches descend to . The last two descend to . The predecessor positions are and, only in the second-child case, . They use at most pairs. Their response positions add only or , respectively, and use at most pairs. If a selected response already carries a pebble pair, a different target mate violates equality immediately. With the same mate, the two pairs have identical endpoints and the duplicate response role may be released. Once one of the four successor states has been established, all obsolete roles are discarded. First remove duplicate pairs while retaining one pair for each child value and the child marker. Then remove every pair whose vertex has no retained role. The resulting boundary contains one pair for each distinct value in the chosen child occurrence and its marker. This proves strict descent and the claimed transition bound.
6 Closing the source-guided induction
Let be a finite nonempty vertex-coloured graph with a fixed rooted rank decomposition , and let be a graph of the same order over the same finite colour vocabulary. Put . All split pairs, carrier orders, flip functions, and lookup tables in this section are chosen from . The same totalized functions are evaluated on . In particular, no rank decomposition of is used.
For a node of the source decomposition, write for its shore. We choose all ordered split-pair occurrences top down. At the root, take to be empty. Once has been fixed at an internal node , apply the strengthened niceness clause of Proposition 2.4 to and choose the two nice child occurrences. Declare these occurrences to be and for the two children. Thus the occurrence retained by a handoff at is exactly the occurrence used at the next recursive boundary. Put , with the zero flip at the root.
Definition 6.1 (Recursive boundary). A recursive boundary at consists of corresponding occurrences , and corresponding markers , with the following properties.
-
The current pebble position sends every occurrence of to the corresponding occurrence of and sends to . It is a partial isomorphism. Repeated or coincident occurrences satisfy the same equality pattern in the two graphs.
-
With
one has and
- Exactly one pebble pair represents each distinct value in , and no other pebble pair remains on the board.
The third condition is a normalization rather than an additional semantic assumption. Each handoff first proves the successor mismatch using only the retained child occurrence and marker, and only then removes the obsolete pairs. During a formula challenge, a pair is removed only when its variable is absent from the free support of the distinguishing formula. No general downward-monotonicity claim for losing positions is used. The normalization also makes the resource bound explicit. Since has entries, the boundary uses at most
pebble pairs.
Lemma 6.2 (Game-first strict-child descent). Suppose that a recursive boundary has been reached at an internal node t. Spoiler has a strategy in that either wins or reaches a recursive boundary at one of the two children of t. Throughout this strategy at most m pebble pairs are used.
Proof. Let the two child shores be and . Let , and let and be the occurrences fixed by the top-down choice. Relabel the children so that . Let be their shared carrier. The incoming component and mismatch supplied by the recursive boundary are exactly the hypotheses in (5.4) and (5.5), after this renaming of the source occurrences. Lemma 5.1 therefore applies. It either gives Spoiler a winning continuation or reaches a normalized recursive boundary at the first or second child. Both are strict children because is internal. The transition lemma also gives the peak bound , including every nonpreserving-key challenge and every alias case.
6.1 The root and the leaves
Lemma 6.3 (Root initialization). Let G and H have the same order and suppose that they are not isomorphic as vertex-coloured graphs. Spoiler can either win immediately or establish a recursive boundary at the root using one pebble pair.
Proof. At the root the split-pair occurrence is empty and the flip is zero. The full flipped components are therefore the ordinary connected components. After Duplicator announces the first bijection, apply Proposition 2.5 to the partitions into vertex-coloured connected components. Spoiler chooses a vertex v in a source component whose paired target component is not isomorphic, and the reply is . If the input colours of v and differ, this is an atomic win. Otherwise the one-pair position is a partial isomorphism. An isomorphism between the two restrictions coloured by and would remain an isomorphism after the canonical colours were forgotten. Hence the marked restrictions are nonisomorphic, which is (6.1) at the root.
Lemma 6.4 (Leaf closure). Spoiler wins from every recursive boundary at a leaf with at most m pebble pairs.
Proof. If is a leaf, then and the source component in the invariant is . The predicate defining the target component is available by Lemma 4.5. If , the counting formula that asserts that exactly one vertex belongs to the marked component distinguishes the two pointed structures. If , then . The nonisomorphism in (6.1) now implies that the canonical marked types of and differ. A finite type formula from Lemma 4.1 distinguishes them.
The component test uses the entries of , the marker, and two local mover names. It therefore uses at most
variables. Before the pointed formula strategy begins, any pebble outside its free support is obsolete and is removed.
6.2 Finitary closure and the main theorem
The preceding strategy uses only finitary predicates. For two graphs of order n, the common canonical types stabilize after a fixed finite number of refinement rounds. The component predicates use paths of length at most n - 1. The source decomposition has finite height. At every announcement there are only finitely many bijections, and every violated coordinate has a finite pointed formula. The complete strategy tree therefore has a finite winning horizon.
For a rooted rank decomposition D, set
Thus .
Theorem 6.5 (Decomposition-profile identification). Let G be a finite nonempty vertex-coloured graph over a fixed finite colour vocabulary, and let D be a rooted rank decomposition of G. Then -dimensional Weisfeiler-Leman identifies G. Equivalently, G has an identifying sentence in , and Spoiler wins against every same-order nonisomorphic graph H over the same vocabulary.
Proof. Fix a nonisomorphic same-order target H. Lemma 6.3 establishes the recursive invariant unless Spoiler has already won. Lemma 6.2 moves every nonterminal invariant to a strict child while respecting the pebble bound. Repeated strict descent reaches a leaf, where Lemma 6.4 gives a win. This proves the game assertion.
Proposition 2.6 converts the pairwise game win into a pairwise separator in and into distinction by -dimensional Weisfeiler-Leman. To obtain one identifying sentence, fix the order . There are only finitely many isomorphism types of vertex-coloured graphs of order over the fixed finite vocabulary. For each nonisomorphic type choose a sentence that is true on and false on that type. Their finite conjunction still belongs to . Conjoining the exact-order sentence
excludes every graph of a different order. This completes the proof.
Remark 6.6 (Uniform initial colours). The game and Weisfeiler-Leman assertions above are uniform over arbitrary finite initial colour maps. The source and target may use any common finite set of colour labels, and the dimension bound does not depend on the number of labels that occur. The fixed-vocabulary hypothesis is needed only when the pairwise separators are combined into one counting-logic sentence. This uniform form will be used for canonization.
Corollary 6.7 (Rank-width bound). Let . Every finite nonempty vertex-coloured graph of rank width at most is identified by -dimensional Weisfeiler-Leman. Equivalently, it has an identifying sentence in , and Spoiler wins with pebble pairs against every same-order nonisomorphic graph.
Proof. If , the graph is edgeless. One-dimensional colour refinement records the multiplicity of every initial colour and therefore identifies it. Assume . Choose a rank decomposition of width at most . Then and . Hence
Theorem 6.5 gives the result.
Corollary 6.8 (Linear-rank-width bound). Let . Every finite nonempty vertex-coloured graph of linear rank width at most is identified by -dimensional Weisfeiler-Leman. Equivalently, it has an identifying sentence in , and Spoiler wins with pebble pairs against every same-order nonisomorphic graph.
Proof. If , every edge would cross a prefix of every layout, so the graph is edgeless. In fact, one-dimensional colour refinement identifies it. Assume . Let be a linear layout of width at most . If , the conclusion is immediate. Assume that and form the rooted comb whose internal shores are
and whose two children at such a shore are and , with all singletons as leaves. A cut and its complement have the same rank because their cut matrices are transposes. Hence every internal fork has two cut ranks at most and one singleton cut rank at most one. Thus
Theorem 6.5 gives
For every finite nonempty uncoloured graph of positive rank width, the two corollaries give
Graphs of rank width zero are edgeless and are identified by one-dimensional colour refinement.
7 Optimized profiles, exact separation, and atomic decomposition
For a finite nonempty graph G, define
where both minima range over all rooted rank decompositions of . We call the optimized profile pair of . The second coordinate is its optimized dimension bound.
Proposition 7.1 (Fork-load sandwich). Every finite nonempty graph G satisfies
and
Moreover, .
Proof. If A, B, C partition , then
Indeed, split the columns of the cut matrix for A into B and C. The two resulting ranks are at most and , respectively.
Fix a decomposition . The upper bound is immediate. If , choose a nonroot node whose cut has rank and consider its parent fork. If the parent is the root, the two child cuts have equal rank, so its load is at least . Otherwise, apply (7.1) to the three shores at that fork. The other two incident ranks have sum at least , so again the load is at least . Thus
Minimizing the left inequality over all decompositions and applying the right inequality to a width-optimal decomposition proves the first display.
For every D, the definition of gives
This proves the lower bound on . If minimizes fork load, then and hence . The identification assertion follows by applying Theorem 6.5 to a decomposition minimizing .
Corollary 7.2 (Endpoint of the optimized bound). Every finite nonempty graph G satisfies
If is odd, then . If , then .
Proof. The two consecutive possibilities follow from Proposition 7.1. If minimizes fork load and is odd, then . Hence , which forces the first value. If , the lower and upper bounds in the proposition both give .
We next record the stability needed to separate the optimized profile pair from linear rank width.
Lemma 7.3 (Restriction and pendant stability). If H is a nonempty induced subgraph of G, then
Suppose that G is connected and has at least three vertices. If is obtained from G by adding one pendant vertex, then
Proof. To restrict a decomposition, attach a dummy leaf at its root and regard the result as an unrooted cubic tree, where the dummy leaf represents the empty shore of rank zero. Take the minimal subtree spanning the leaves of H and the dummy leaf, then suppress every degree-two vertex. Every branch point of the restricted tree was a branch point of the original tree. On each of its three branches, the new cut matrix is a submatrix of the corresponding old cut matrix. Thus neither its width nor its fork load increases. Removing the dummy leaf and restoring the root proves the two monotonicity assertions.
Now let be the new pendant vertex, adjacent only to . Given a decomposition of , replace the leaf for by a cherry whose leaves are and . Every old cut rank is unchanged. The three cut ranks at the new fork are at most one. The extended decomposition therefore satisfies
Every nonempty proper cut of a connected graph has positive cut rank. Since has at least three vertices, every decomposition has a nonroot fork with three nonempty shores. Hence and . Equation (7.2) shows that the three optimized quantities do not increase. Their reverse inequalities follow by restricting back to the induced copy of .
Lemma 7.4 (Endpoint one-sum formula). Let A and B have at least two vertices. Choose optimal linear layouts of A and B, with last vertex u and first vertex v, respectively. If H is obtained from their disjoint union by identifying u and v, then
Proof. Write the two layouts as and , and call the identified vertex x. Use
Before , every column indexed by is zero, so the cut rank is the corresponding cut rank in . At and after , every row indexed by is zero, so the cut rank is the corresponding cut rank in . This proves the upper bound. Both and occur as induced subgraphs of . Deleting vertices from a layout while retaining their relative order replaces each displayed cut matrix by a submatrix of an old cut matrix. Thus linear rank width is induced-subgraph monotone, which gives the reverse inequality.
For , define a tree recursively. Put . For , take three disjoint copies of , add one new vertex, and join it to one chosen leaf in each copy.
Recall that a path decomposition is a sequence of vertex bags whose union is the vertex set. Every edge has both endpoints in one bag, and the bags containing any fixed vertex form an interval. Its width is the largest bag size minus one, and is the minimum such width. We use the recursive characterization of path width on trees and its equality with linear rank width on forests from Adler and Kanté [1].
Lemma 7.5 (Minimum trees of prescribed linear rank width). For every ,
Moreover, every tree of linear rank width at least q has at least vertices.
Proof. The assertion is immediate for . For , add the new central vertex to every bag in width- path decompositions of the three copies, then concatenate the decompositions. This gives . Removing the central vertex leaves three components of path width . The recursive characterization of tree path width, applied with , gives the reverse inequality [1, Lemma 14]. Adler and Kanté prove that path width and linear rank width agree on forests [1, Theorem 2].
Writing , the recurrence and gives the displayed formula. For minimality, take a minimum-order tree of path width at least . If , minimality ensures that every component of has path width at most for every vertex . Applying the same recursive characterization with gives a vertex for which at least three components have path width at least . Those components therefore have path width exactly . Induction yields .
Theorem 7.6 (Exact fork-load separation). Let G be a connected graph on at least three vertices. For every integer , there is a connected graph containing G as an induced subgraph with the same rank width and optimized profile pair, namely
and
Proof. Choose an optimal layout of G and let u be its last vertex. Choose an optimal layout of and let z be its first vertex. Form by identifying u and z. Lemmas 7.4 and 7.5 give the stated linear rank width. Root at the shared vertex and add the remaining vertices in any parent-before-child order. Every new vertex is pendant when it is added, so repeated application of Lemma 7.3 gives the three equalities.
Remark 7.7 (Order of the separating extension). The construction in Theorem 7.6 gives
Its attached tree has minimum order among all trees of linear rank width at least q, by Lemma 7.5.
Corollary 7.8 (Exact separation at every rank). For all integers and , there is a connected graph such that
and
Proof. Let be the by square grid. Jelinek proved [11]. Order its vertices one row at a time. After vertices of the current row, the only possible nonzero source rows come from the last vertices of the preceding row and the first vertices of the current row. There are at most such rows, so every cut has rank at most . The corresponding comb decomposition has width at most and fork load at most .
Take and apply Theorem 7.6 to . The row layout above gives , so the linear rank width of the resulting graph is exactly . The optimized quantities are preserved. The displayed comb gives and . A width-optimal decomposition instead gives and . The lower bound on follows from Proposition 7.1.
Remark 7.9. Both constants in the fork-load sandwich are best possible. If G is connected, has at least three vertices, and has rank width one, then a width-one decomposition has load three, while every decomposition has a nonroot fork whose three cut ranks are positive. Hence . At the other end, the grid calculation above and Proposition 7.1 give
Thus tends to two.
Lemma 7.10 (Profiles under disjoint union). For nonempty vertex-disjoint graphs G and H,
Proof. The lower bound for rank width follows from induced-subgraph monotonicity. The fork-load and optimized-dimension lower bounds follow from the restriction assertion in Lemma 7.3.
For the reverse bounds, make the roots of decompositions and the two children of a new root. Every cut below an old root has the same matrix after zero rows or columns are added. The two component shores and the shore at the new root have cut rank zero. Hence the combined decomposition satisfies
This proves the rank-width and fork-load upper bounds by choosing optimal factor decompositions. The identity
gives the optimized-dimension upper bound when both factor decompositions are d-optimal. ☐
Call a connected graph split-prime when for every with .
Let be a nontrivial split of a connected graph . Thus , both shores have at least two vertices, and . There are nonempty sets and such that the edges between the shores are exactly . Define the marker factors and by
The rank-width equality in the next lemma is the established maximum law under split decomposition [9]. We retain it in the statement to distinguish that classical equality from the new exact maximum identities for optimized fork load and optimized dimension bound.
Lemma 7.11 (Optimized quantities under split composition). For the marker factors of every nontrivial split,
Proof. Both factors are connected. Indeed, every component of meets , since otherwise it would be a component of . Adding therefore connects those components. The argument for is the same.
For , let be the column vector defined by precisely when . The two cut matrices have the forms
and
Since is nonempty, these matrices have the same column space. Hence
The symmetric equality holds for subsets of B.
For any , the graph is isomorphic to . Both marker factors are therefore induced subgraphs of . Induced-subgraph monotonicity gives the rank-width lower bound, and the restriction assertion in Lemma 7.3 gives the other two lower bounds.
For the reverse bounds, begin with rooted decompositions and . Suppress each degree-two root, which produces an unrooted cubic leaf-labelled tree. Let be the neighbour of the marker leaf in the first tree, and define symmetrically. Delete and and their incident edges. Introduce a new root adjacent to and . After orienting edges away from this root, the result is a full rooted binary tree whose leaves are exactly . Call the resulting decomposition .
An inherited edge from the first factor displays either a set or its complement in . In the first case its new cut rank is by (7.3). In the second case the same conclusion follows by cut-rank symmetry. The argument on the second factor is identical. The two edges incident with the new root display the original split and have rank one. At , this split cut replaces the old singleton-marker cut , also of rank one. Thus the three incident ranks at are unchanged. The same holds at , and every other inherited fork keeps all three of its incident ranks. The new root has load two. Since the connected factors have at least three vertices, their maximum fork loads are at least three. The combined decomposition consequently satisfies
Using width-optimal and load-optimal factor decompositions gives the first two upper bounds. With d-optimal factor decompositions, the same construction gives
This proves the last upper bound. Thus the first identity recovers the established rank-width split law, while the other two identities are the profile refinement needed here.
Let G be a nonempty graph. Start with the connected components of G. Whenever a current factor has a nontrivial split, replace it by its two marker factors. Continue until no factor has a nontrivial split, and let be the resulting multiset of terminal factors. The process terminates because a split replacement of a factor of order n produces two marker factors of order at most n - 1.
Theorem 7.12 (Atomic maximum identity). For every nonempty graph G,
These identities hold for every sequence of split replacements.
Proof. Apply Lemma 7.10 to the initial connected components and Lemma 7.11 at every replacement. Iterating the exact maximum identities proves all three formulas, independently of the choices made during the process.
Proposition 7.13 (Prime exact-rank-two profile pairs). Let G be a split-prime graph on at least five vertices with . Then
Proof. In every width-two decomposition of , a leaf cut has rank one and every cut with two nonempty vertices on each side has rank two. Suppress the degree-two root to obtain the usual unrooted cubic decomposition tree. If a decomposition has fork load at most five, then Proposition 7.1 forces its width to be two. No internal vertex of the unrooted tree is incident with three nonleaf edges. Every internal vertex therefore touches a graph leaf. The internal vertices form a path, so the decomposition tree is a caterpillar. Hence implies . The converse follows from a width-two caterpillar decomposition, whose nonroot fork loads are at most .
The load cannot be at most four. Indeed, Proposition 7.1 would force the decomposition to have width two. Every internal vertex would then touch at least two graph leaves. The internal skeleton is connected and has maximum degree one, so it has at most two vertices and the tree has at most four graph leaves. This contradicts . Thus when . If , the first paragraph gives , while the general upper bound gives equality.
In the first case, a width-two caterpillar with load five has optimized dimension bound six. In the second case, every width-two decomposition has load six and optimized dimension bound seven. The lower bound completes both equalities for .
Theorem 7.14 (Complete optimized-profile classification at rank width two). Let be any graph with . Its optimized profile pair is determined as follows. In any atomic factorization from Theorem 7.12, let be the terminal factors of rank width exactly two. Then is nonempty and
Moreover,
Proof. Every nonempty graph on at most four vertices has rank width at most one. For graphs of order at most three, every displayed cut has a shore of size at most one and hence cut rank at most one. For four vertices, the determinants over of the cut matrices for the three partitions into two pairs sum to zero. At least one is singular, and a decomposition displaying that partition has width at most one. Theorem 7.12 now shows that is nonempty. Every member has at least five vertices. It is connected and has no nontrivial split, so it is split-prime.
Proposition 7.13 gives optimized profile pair or on each member of according as its linear rank width is two or at least three. Every remaining terminal factor is connected and has rank width at most one. A singleton has optimized profile pair , has optimized profile pair , and every connected rank-width-one graph on at least three vertices has optimized profile pair . For the last assertion, a width-one decomposition has load at most three, while connectedness forces all three cuts at a deepest nonroot fork to have positive rank. The profile then follows from Proposition 7.1. These profile pairs are smaller than both exact-rank-two possibilities. Taking maxima in Theorem 7.12 proves the theorem.
Corollary 7.15 (Triangular-prism obstruction). Let P be the triangular prism. Then
For every , there is a connected induced supergraph with the same rank width and optimized profile pair, and with .
Proof. Label the two triangles by and , with matching edges . Direct calculation gives
To verify the calculation, cut-rank symmetry reduces to . Singleton cuts have rank one. For the three pair orbits, the two rows of the cut matrix are nonzero and unequal, so every pair cut has rank two. For triples, row and column permutations reduce the cut matrix to or to one of
Both displayed matrices are nonsingular over . The bundled deterministic calculation verifier reproduces these finite cut-rank calculations as a supplementary certificate. The argument above is independent of that computation.
Equation (7.4) shows that is split-prime. Three two-leaf cherries joined at a central fork give a width-two decomposition, while every binary decomposition displays a two-leaf shore of rank two. Thus . Every layout has a three-vertex prefix of cut rank three, while no cut of a six-vertex graph has rank greater than three. Hence . Proposition 7.13 gives the optimized profile pair. The final assertion follows from Theorem 7.6.
Corollary 7.16 (Sharp minimum orders of the optimized profile pairs). Among graphs of rank width exactly two, the minimum order of a graph with optimized profile pair is five, and the minimum order of a graph with optimized profile pair is six.
Proof. Every graph of rank width exactly two has at least five vertices. Every two-vertex shore of the cycle has cut rank two, so is split-prime. A cyclic layout has width two, while split-primality excludes rank width one. Hence has rank width and linear rank width two, and Proposition 7.13 gives optimized profile pair (5, 6).
For every nonempty graph on at most five vertices and every vertex layout, each cut has a shore of size at most two. Its cut rank is therefore at most two, so the graph has linear rank width at most two. A graph with optimized profile pair has, by Theorem 7.14, a terminal factor of rank width exactly two and linear rank width at least three. Such a factor, and hence the original graph, has at least six vertices. The triangular prism attains order six by Corollary 7.15.
8 Quantitative consequences
Restricting to finite nonempty uncoloured graphs, for put
and put
Corollary 8.1 (Rank-width-at-most-two interval). The Weisfeiler-Leman dimension of the class of graphs with rank width at most two satisfies
Proof. The upper bound is Corollary 6.7 with k = 2.
For the lower bound, compare the cycle with the disjoint union . Both graphs have six vertices and are 2-regular. Starting from the uniform colouring, one-dimensional colour refinement leaves all six vertices in one colour class in both graphs at every round. Thus 1-dimensional Weisfeiler-Leman does not distinguish the two nonisomorphic graphs, and .
For completeness, label the vertices of cyclically as . Consider the rooted binary comb whose internal node shores are
where has children and , with . For , at most the two cycle edges and cross the cut . Hence its cut matrix has rank at most two over . Every singleton shore has cut rank at most one, and the root shore has cut rank zero. This is a linear rank decomposition of width at most two, so and . Therefore is an admissible source in the definition of , which proves the lower bound.
Theorem 7.14 shows that every graph of rank width exactly two has optimized dimension bound six or seven. The two values first occur at orders five and six by Corollary 7.16, and both persist at arbitrarily large linear rank width. The cycle has parameter tuple , while the triangular prism has parameter tuple . Applying Theorem 7.6 to both graphs gives, for every , two connected graphs with the same pair and respective optimized profile pairs and . Thus global linear rank width does not determine the optimized profile pair. The optimized-dimension endpoint seven is exact for this method, but this does not assert that any such graph has Weisfeiler-Leman dimension seven. Improving the upper bound on requires information beyond the two optimized quantities used in Theorem 6.5.
For a vertex layout of a graph , let be the maximum number of edges crossing a cut of . We use the following parity-fibre form of the uncoloured Cai-Fürer-Immerman construction [3], in the formulation of Neuen [18, Section 3]. For and , let be the set of base edges incident with , and put
The vertex set of CFI(B, U) is the union of these fibres. Vertices and are adjacent precisely when and . In particular, every fibre is independent.
For , let be the number of base vertices incident with an edge between and . A vertex branch decomposition of is an unrooted subcubic tree whose leaves are in bijection with . Every tree edge displays a bipartition . Define the endpoint-boundary width by
where the maximum includes the edges incident with leaves.
Lemma 8.2 (CFI endpoint-boundary bound). Let be a connected subcubic graph on at least two vertices and let . Then
Proof. Put . For , let
and let be the set of endpoints of the base edges crossing . We first show
For , define coordinatewise by
For , define by
In particular, when , and when , because such a base vertex has no neighbour across the cut.
If uv is a crossing base edge, the only coordinates at which both and can be nonzero are u and v, and
This is one precisely when the two membership bits agree, so it is the adjacency entry of and in . If and are nonadjacent, the two supports are disjoint. The cut matrix therefore factors through the space , which proves (8.1).
Take a vertex branch decomposition of attaining ebw(). Replace each leaf by a rooted binary tree on the vertices of , using two pairs when the fibre has four vertices. Every inherited tree edge now displays a union of complete fibres, so its cut rank is at most ebw() by (8.1). This includes the edge attaching a complete fibre to the rest of the tree. Every other new edge displays at most two fibre vertices on one shore and therefore has cut rank at most two. Since is connected and has at least two vertices, the cut at every base leaf has at least two crossing endpoints, so ebw() 2. The lifted tree consequently has width at most ebw(). Suppress every degree-two vertex in the lifted tree, which only removes duplicate displayed cuts and does not change its width. Then subdivide any edge and use the subdivision vertex as a root to obtain a rooted rank decomposition in the convention of this paper.
Lemma 8.3 (CFI block-layout bound). Let be a connected subcubic graph on at least two vertices, let be a layout of , and let . Then
Proof. Order the fibres consecutively according to , with an arbitrary order inside each fibre. Across a cut between two fibres, every crossing base edge contributes one adjacency block. Such a block has rank at most two because adjacency depends only on equality of the two membership bits for that edge. The cut rank is therefore at most .
Consider a cut inside . Let and be the numbers of neighbours of before and after in . Let be the number of other base edges crossing the cut immediately before . Finally, let and be the numbers of vertices of on the two sides of the current cut. The crossing matrix has three types of nonzero blocks. The other crossing base edges contribute rank at most . The earlier-neighbour fibres to the unplaced part of contribute rank at most . The placed part of to the later-neighbour fibres contributes rank at most . There is no block between the two parts of because this fibre is independent. Hence
If has degree one, its fibre has one vertex and there is no cut inside it. If has degree two, then at the only internal cut and the last two terms of (8.2) sum to at most . If has degree three, then , so those terms sum to at most . The base cuts immediately before and after have sizes and . Consequently,
This proves the claimed layout bound.
39
□
The coefficient two cannot be improved for the class of layouts that keep every fibre consecutive. If the crossing base edges at a cut form a matching and all their endpoints have degree at least two, the CFI cut matrix is a direct sum of equality blocks. Each relevant membership bit assumes both values in its parity fibre, so every block has rank two. The split-grid layout constructed in the proof of Corollary 8.5 has a cut after a complete row with vertical matching edges and therefore cut rank . No smaller leading coefficient can follow from a uniform per-edge estimate for this block layout. A stronger bound would need additional global structure, an interleaved layout, or a different construction.
Proposition 8.4 (Rook and Shrikhande calibration). For every and ,
Proof. Let
Direct enumeration of the four parity words in each fibre identifies with and with
These are the 4 by 4 rook graph and the Shrikhande graph. Both are strongly regular with parameters (16, 6, 2, 2). The diagonal, adjacent, and nonadjacent ordered pairs therefore form the same stable two-dimensional Weisfeiler-Leman colouring in both graphs. Yet the graphs are nonisomorphic. Indeed, the neighbourhood of a vertex in is , while the neighbourhood of a vertex in is . Hence each graph has Weisfeiler-Leman dimension at least three.
Every nonempty proper vertex cut of has all four base vertices as endpoints of crossing edges. Hence , and Lemma 8.2 gives
Label the base vertices , taking for , and order the fibres by this list. In the fibre at , order the three incident-edge bits by increasing other endpoint. With this coordinate order, list an even fibre as
and an odd fibre as
Put the four fibres consecutively, with the unique odd fibre first for . For a base edge , the block entry between parity words and is
over . Thus each adjacency block is explicitly , restricted to the relevant parity words. Gaussian elimination on these displayed parity-word lists gives the following prefix ranks. Column means that vertices of the indicated fibre have been placed, so the fourth column is the complete-fibre boundary.
| 1 | 2 | 3 | 3 | |
| 4 | 5 | 5 | 4 | |
| 5 | 4 | 4 | 3 | |
| 3 | 2 | 1 | 0 |
The same table holds for and . It is an explicit width-five layout, so . Monotonicity of the two extremal functions proves the assertion. The bundled deterministic script verify_calculations.py reproduces the finite identifications, row reductions, and prefix-rank table as a supplementary certificate. The proof itself relies only on the explicit descriptions and certificates above.
Corollary 8.5 (Linear-rank-width asymptotic range). For every integer ,
Consequently, .
Proof. The upper bound is Corollary 6.8. The cycle used above has linear rank width at most two and Weisfeiler-Leman dimension at least two. It supplies the constant lower term for every . Proposition 8.4 supplies the lower term three for .
Recall that a tree decomposition consists of vertex bags indexed by a tree. Their union is the vertex set, every edge has both endpoints in one bag, and the bags containing a fixed vertex induce a connected subtree. Its width is the largest bag size minus one, and is the minimum such width.
For , start with the by grid . Replace every interior vertex by adjacent vertices and . Attach the edges leading up and left to , and attach the edges leading down and right to . Leave the boundary vertices unchanged. Denote the resulting split grid by . This is the subcubic split grid used by Kiefer and Neuen [15, Section 6.2]. It is connected, and contracting all edges recovers . The standard grid equality [2, Section 13.2] and minor monotonicity give .
Order the rows of from top to bottom and each row from left to right. After vertices of a row, there are crossing vertical edges from the preceding row, crossing vertical edges to the next row, and at most one horizontal crossing edge. Thus this order has cutwidth at most . Expand each split interior vertex as the consecutive pair , . At cuts before and after the pair, the crossing-edge count is unchanged. At the cut inside the pair, the two incoming grid edges have closed and only the edge has opened, so the count decreases by one. Therefore this layout of has cutwidth at most .
The same order has at most 2n endpoints of crossing edges at every cut. In an interior row, the n vertical crossing edges have 2n endpoints, and the endpoints of a horizontal crossing edge are already among them. In the first or last row there are fewer vertical crossing edges, and a horizontal edge adds at most one new endpoint. At the cut inside a split pair, the two closed incoming edges are replaced by the internal edge, so the number of crossing endpoints does not increase. A caterpillar on this order also displays singleton cuts, each with at most four crossing endpoints. Consequently,
Lemma 8.2 gives
for every .
Lemma 8.3 gives
for every .
Fix . Neuen's nonisomorphism lemma shows that and are nonisomorphic [18, Lemma 5]. Since , his pebble-game lemma and the standard homomorphism characterization of Weisfeiler-Leman show that the pair is not distinguished by -dimensional Weisfeiler-Leman [18, Lemma 12 and Theorems 10 and 14], where Theorem 10 is applied with parameter . Thus each graph in the pair has Weisfeiler-Leman dimension at least .
For , take . Then and . Equation (8.4) gives an admissible graph of dimension at least . Together with the baseline, this proves the lower bound for every .
Corollary 8.6 (Rank-width asymptotic range). For every integer ,
Consequently, .
Proof. The upper bound is Corollary 6.7. The cycle gives the lower term two. For , put . The CFI pair used in the proof of Corollary 8.5 has Weisfeiler-Leman dimension at least , while (8.3) gives rank width at most . Proposition 8.4 supplies the lower term three.
Corollary 8.7 (Algorithmic consequences). For every fixed integer , isomorphism of n-vertex graphs of rank width at most k can be decided in time
and the class admits canonization in time
For graphs of linear rank width at most k, the corresponding bounds are
Proof. The standard implementation of -dimensional Weisfeiler-Leman runs in time [10]. Apply Corollaries 6.7 and 6.8 with and , respectively. The proof applies to arbitrary finite initial vertex colourings by Remark 6.6, and the dimension bound is independent of the number of initial colour classes. The generic canonization construction [5, Theorem 2.7] runs in time , which gives the other two bounds.
9 Conclusion
Theorem 6.5 gives dimensions for rank width at most and for linear rank width at most . It improves the unrestricted estimate of Levet, Rombach, and Sieger by two dimensions [17, Corollary 3.12], and the published bound of Grohe and Neuen by three dimensions [5]. The proof retains the three incident cut ranks, synchronizes the child transition with two remote keys, and requires no decomposition of the target graph.
The optimized profile records information not captured by rank width or linear rank width alone. Its coordinates obey exact maximum identities and remain fixed while linear rank width grows arbitrarily. At rank width two the only pairs are and . The parity-fibre CFI construction proves and gives a linear lower bound for , with the rook and Shrikhande graphs providing the small-parameter calibration. This links the width-bounded setting to broader CFI and homomorphism methods [7, 20].
The result concerns dimension under unrestricted stabilization. It does not bound quantifier depth or produce fixed-point canonization. The bounded-round result of Levet, Rombach, and Sieger is complementary [16]. The exact value of remains open. Within the present method, the obstruction to coefficient two is a fork with three large incident cut ranks. Further progress may require encoding one interface in a synchronized palette before releasing its physical anchors, narrowing the constant-factor gaps in the CFI bounds, or combining low dimension with bounded refinement depth.
Reproducibility materials
The ancillary files contain verify_calculations.py and instructions for running it. The script verifies the finite enumerations and calibration examples used in this paper, but does not machine-check the general proofs.
References
[1] Isolde Adler and Mamadou Moustapha Kanté. Linear rank-width and linear clique-width of trees. Theoretical Computer Science, 589:87–98, 2015. doi: 10.1016/j.tcs.2015.04.021.
[2] Hans L. Bodlaender. A partial k-arboretum of graphs with bounded treewidth. Theoretical Computer Science, 209(1–2):1–45, 1998. doi: 10.1016/S0304-3975(97)00228-4.
[3] Jin-Yi Cai, Martin Fürer, and Neil Immerman. An optimal lower bound on the number of variables for graph identification. Combinatorica, 12(4):389–410, 1992. doi: 10.1007/BF01305232.
[4] Fedor V. Fomin and Tuukka Korhonen. Fast FPT-approximation of branchwidth. SIAM Journal on Computing, 53(4):1085–1131, 2024. doi: 10.1137/22M153937X.
[5] Martin Grohe and Daniel Neuen. Canonisation and definability for graphs of bounded rank width. ACM Transactions on Computational Logic, 24(1):6:1–6:31, 2023. doi: 10.1145/3568025.
[6] Martin Grohe and Pascal Schweitzer. Isomorphism testing for graphs of bounded rank width. In 2015 IEEE 56th Annual Symposium on Foundations of Computer Science (FOCS), pages 1010–1029, Los Alamitos, CA, USA, 2015. IEEE Computer Society. doi: 10.1109/FOCS.2015.66.
[7] Martin Grohe, Moritz Lichter, Daniel Neuen, and Pascal Schweitzer. Compressing CFI graphs and lower bounds for the Weisfeiler–Leman refinements. Journal of the ACM, 72(3):21:1–21:27, 2025. doi: 10.1145/3727978.
[8] Lauri Hella. Logical hierarchies in PTIME. Information and Computation, 129(1):1–19, 1996. doi: 10.1006/inco.1996.0070.
[9] Petr Hliněný, Sang-il Oum, Detlef Seese, and Georg Gottlob. Width parameters beyond tree-width and their applications. The Computer Journal, 51(3):326–362, 2008. doi: 10.1093/comjnl/bxm052.
[10] Neil Immerman and Eric Lander. Describing graphs: A first-order approach to graph canonization. In Alan L. Selman, editor, Complexity Theory Retrospective: In Honor of Juris Hartmanis on the Occasion of His Sixtieth Birthday, July 5, 1988, pages 59–81. Springer New York, New York, NY, 1990. doi: 10.1007/978-1-4612-4478-3_5.
[11] Vít Jelinek. The rank-width of the square grid. Discrete Applied Mathematics, 158(7): 841–850, 2010. doi: 10.1016/j.dam.2009.02.007.
[12] Jisu Jeong, O-joung Kwon, and Sang-il Oum. Excluded vertex-minors for graphs of linear rank-width at most k. European Journal of Combinatorics, 41:242–257, 2014. doi: 10.1016/j.ejc.2014.04.010.
[13] Antonios Kalampakas. Recognizability equals CMSO-definability for graphs of rank-width at most two, 2026. URL https://arxiv.org/abs/2607.10594.
[14] Antonios Kalampakas. Split-free cable expressions: Active neighborhood profiles and linear rank-width, 2026. URL https://arxiv.org/abs/2607.04141v3. Version 3.
[15] Sandra Kiefer and Daniel Neuen. The power of the Weisfeiler–Leman algorithm to decompose graphs. SIAM Journal on Discrete Mathematics, 36(1):252–298, 2022. doi: 10.1137/20M1314987.
[16] Michael Levet, Puck Rombach, and Nicholas Sieger. Canonizing graphs of bounded Rank-Width in parallel via Weisfeiler-Leman. In Hans L. Bodlaender, editor, 19th Scandinavian Symposium and Workshops on Algorithm Theory, SWAT 2024, volume 294 of Leibniz International Proceedings in Informatics (LIPIcs), pages 32:1–32:18, Dagstuhl, Germany, 2024. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi: 10.4230/LIPIcs.SWAT.2024.32.
[17] Michael Levet, Puck Rombach, and Nicholas Sieger. Canonizing graphs of bounded Rank-Width in parallel via Weisfeiler–Leman, 2024. URL https://arxiv.org/abs/2306.17777v3. Version 3, full version of the SWAT 2024 paper.
[18] Daniel Neuen. Homomorphism-distinguishing closedness for graphs of bounded tree-width. In Olaf Beyersdorff, Mamadou Moustapha Kanté, Orna Kupferman, and Daniel Lokshtanov, editors, 41st International Symposium on Theoretical Aspects of Computer Science (STACS 2024), volume 289 of Leibniz International Proceedings in Informatics (LIPIcs), pages 53:1–53:12, Dagstuhl, Germany, 2024. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi: 10.4230/LIPIcs.STACS.2024.53.
[19] Sang-il Oum and Paul Seymour. Approximating clique-width and branch-width. Journal of Combinatorial Theory, Series B, 96(4):514–528, 2006. doi: 10.1016/j.jctb.2005.10.006.
[20] David E. Roberson. Oddomorphisms and homomorphism indistinguishability over graphs of bounded degree. Journal of Combinatorial Theory, Series B, 181:1–61, 2026. doi:10.1016/j.jctb.2026.07.003.