Manuscript Offprint
arXiv:2611.05839Makespan Bounds for Synchronous Pebble Motion on Graphs
Abstract.
We study the largest minimum makespan of labeled pebble motion on graphs under a model that permits synchronous pebble movement. While classical pebble motion on graphs allows only one pebble to move at a time, our model permits any number of pebbles to move to an adjacent vertex, provided that no two pebbles collide. At full occupancy every vertex is assigned a pebble and a legal round consists of disjoint cycle rotations. We prove a series of makespan bounds for this problem on graphs with varying structure and pebble density. For cycles with a chord, we extend a known quadratic bound at span two to every fixed span. For random cubic graphs, we convert permutation routing via matchings into legal schedules in two ways, applying cycle-cover batching at full occupancy and disjoint vacancy-delivery paths below full occupancy. With high probability, these yield upper bounds of at full occupancy and at every fixed pebble density . Both cases have an lower bound. For simple 3-connected planar cubic graphs, we prove a tight linear class maximum at every pebble count. We extend the results to increasing degree, common-neighbor conditions, and vertex connectivity. The results describe how graph connectivity, cycle structure, expansion, planarity, and occupancy affect worst-case routing time.
Key words. pebble motion, multiagent path finding, permutation routing, graph connectivity, random regular graphs, planar graphs
MSC codes. 05C85, 05C80, 05C10, 68R10
- Introduction. In pebble motion on graphs (PMG), labeled pebbles occupy distinct vertices of a finite graph, with a distinct target vertex assigned to each pebble. Classical PMG moves one pebble at a time into a vacancy [20]. We study a synchronous variant of PMG, where in one round each pebble may wait or move along one edge, so long as no two pebbles swap across an edge or move to the same vertex. This is the underlying model for Multiagent Path Finding (MAPF), which asks for a sequence of collision-free rounds to route agents to their targets [28]. We study an extremal question: for a given graph and number of pebbles, how large can the minimum number of rounds be over all initial and target configurations?
At full occupancy, when the number of pebbles equals the number of vertices, this is a permutation-routing problem generated by rotations of simple cycles. A legal round consists of rotations on vertex-disjoint cycles. Below full occupancy, shifting pebbles along directed paths ending at vacancies is also a legal movement. These two types of moves connect the problem to permutation groups, classical pebble motion, and routing via matchings, but their parallel costs differ. In particular, a transposition of adjacent pebbles is a permitted operation in routing via matchings and is forbidden in one round of synchronous PMG. Our upper bounds translate a schedule of transpositions along the edges of a matching into legal rotations or vacancy-ending path shifts. We call such a translation a compiler; its mathematical content is a bound on the number of legal rounds required for each matching layer.
Reachability alone gives little information about this parallel cost. Movement on a fully occupied cycle preserves cyclic order. Adding one chord to the cycle makes every permutation reachable but can leave a quadratic worst-case makespan. To obtain faster schedules, one must control how local rearrangements interfere. We
*School of Electrical Engineering and Computer Science, Ohio University, Athens, OH, USA (lm845822@ohio.edu). †Computer Science, Rutgers University, New Brunswick, NJ, USA (jingjin.yu@cs.rutgers.edu).
L. MCMANAMON AND J. YU

FIG. 1. Dependencies of the principal upper bounds. Each branch replaces a virtual matching layer by legal rounds. The two random-graph conclusions hold with high probability.
develop three ways to do so: short cycle covers, expansion-assisted vacancy delivery, and the facial structure of planar cubic graphs.
Computing an optimal schedule is difficult even for restricted graph families [35, 8, 11]. Here the objective is an extremal bound over all configuration pairs on a specified graph. Thus a result for a typical random graph must still handle every labeling of that graph.
Main results and methods. Theorem 2.3 states principal makespan bounds, and Table 1 distinguishes their graph and occupancy quantifiers. Four arguments underpin these results.
-
The chord-span obstruction. We use a potential on triples of labels to extend the span-two chorded-cycle example of Foerster et al. [12] to every chord span s (Theorem 3.6). Our key estimate bounds the change of cyclic order in one round by a quantity proportional to s.
-
Cycle-cover transfer. We select local rotation supports from a cycle cover and bound how many meet at a vertex (Theorem 4.4). The three-rotation identity of Yu and Rus [36] is used to perform local swaps. Our contribution is the support selection and simultaneous scheduling. Theorem 4.6 gives a batching obstruction for this particular method of assigning independent supports.
-
Vacancy transfer. On cubic expanders that are not fully occupied, we use disjoint paths to deliver two vacancies to many matching edges at once. This allows for local exchanges to be executed simultaneously. Then, vacancy delivery is reversed to restore all other pebbles. Theorem 5.1 quantifies the cost of the transfer in terms of the total number of holes and neighborhoods that are not locally tree-like. Our contribution is a new method of parallel delivery in order to perform established swap operations.
-
Facial transfer. For simple 3-connected planar cubic graphs, we use a simultaneous face-boundary identity and an elementary decomposition of the dual to give constant overhead per matching layer. Prism graphs give the matching linear class lower bound at every positive pebble count (Theorem 6.1).
Related work: reachability and extremal cost. Classical pebble motion studies reachability with vacancies [20], with permutation-group and parity obstructions going back to Wilson [32]. Allowing simultaneous cycle rotations changes this reachability problem. Yu and Rus [36] establish efficient feasibility tests and a universal quadratic group-diameter bound in the rotation model. Foerster et al. [12] classify solvability at full occupancy and prove a tight quadratic bound for the span-two chorded cycle. Surynek [30] uses the name TROT for rotation variants of MAPF. Related rotation puzzles are studied by Sai et al. [27]. Dhar et al. [9] consider universal solvability under path shifts and rotations, counting a whole shift or rotation as one atomic move. Our synchronous makespan also accounts for which operations can run in parallel.
Related work: routing models. Routing via matchings permits simultaneous exchanges on a matching [2, 18, 25]. We use its bounds as inputs and calculate the extra cost of enforcing the no-swap rule. Sequential token swapping instead counts individual adjacent exchanges [24, 19]. Circular sorting permits adjacent exchanges in a cyclic order considered modulo rotation. Its exact diameter [1] gives a refinement of our chorded-cycle lower bound. Specifying the generators, the cost of a move, and which moves can run simultaneously is essential in each comparison.
Related work: vacancy-based algorithms. Surynek's BIBOX algorithm [29] treats densely occupied biconnected noncycle graphs with at least two vacancies, using a loop decomposition and vacancy-assisted exchanges. It gives an algorithmic bound and subsequently parallelizes the resulting moves. While its destination must be empty at the start of a step, our model also allows following an agent that departs in the same round. BIBOX's complexity bound therefore concerns a different cost from optimal synchronous makespan. More directly, Luna and Bekris's Push and Swap [22, Section 3.1, Algorithm 3] clears two neighbors of a degree-three vertex, exchanges two agents, and reverses the preparation to restore other labels. We use this local idea and prove an expansion-controlled bound on how many such exchanges can be prepared and executed together.
Related work: simulating abstract rearrangements. The strategy of realizing a permissive rearrangement by legal motions also has grid-specific precedents. Guo and Yu [15] simulate row and column shuffles by legal MAPF motions, including local three-step swap gadgets. Their arbitrary-instance full-occupancy bounds and random-placement approximation guarantees have different quantifiers. Gozon and Yu [14] simulate row and column shuffles for generalized sliding-tile puzzles, where corner following is forbidden: a tile entering a just-vacated cell must move in the departing tile's direction. Our graph model allows such turns. These works motivate the same general translation strategy. The graph-theoretic content here is the control of support intersections, facial batching, and disjoint vacancy delivery. Section 6.2 records grid bounds as recovered benchmarks.
Organization. After the model and principal statements in Section 2, Section 3 proves the lower bounds. Sections 4–6 develop the three transfers displayed in Figure 1. These transfers form the core of the paper. Section 7 collects further consequences for connectivity, common neighbors, and growing-degree random regular graphs. Section 8 separates construction costs from makespan and states remaining extremal questions.
- Model and Principal Results. Let be a finite undirected simple graph with . A configuration of labeled pebbles is an injection from the label set into . In one legal round, each pebble waits or traverses one edge. Distinct pebbles have distinct destinations and no two pebbles may swap, or traverse the same edge in opposite directions. For an ordered pair of configurations, its minimum makespan is the least number of legal rounds transforming the first into the second, with value if the target is unreachable. Define
L. MCMANAMON AND J. YU
The maximum ranges over both occupied vertex sets and all placements of the labels. We set . A graph is universally routable at full occupancy if .
The pebble density is , and the empty vertices are called holes or vacancies. When a fixed real density is specified along a sequence of graphs, take . A statement holds with high probability (w.h.p.) if its probability tends to one as through the admissible values. We write for the uniformly random simple -regular graph on labeled vertices, with even. Constants in may depend on the fixed parameter . Unsubscripted constants are independent of and of the pebble count unless another dependence is stated.
PROPOSITION 2.1 (Round decomposition). Relative to an initial configuration, a legal round consists exactly of a vertex-disjoint collection of directed paths with occupied nonterminal vertices and empty terminal vertices, and directed simple cycles of length at least three with occupied vertices. All other pebbles wait. In particular, at full occupancy a legal round consists of vertex-disjoint cycle rotations.
Proof. Draw an arc for every moving pebble. Each vertex has indegree and outdegree at most one. If a moving pebble enters an initially occupied vertex, the resident pebble must leave, so an occupied vertex of positive indegree has outdegree one. Every nontrivial component is therefore a directed cycle or a directed path whose terminal vertex was initially empty. The no-swap rule excludes cycles of length two. Conversely, a vertex-disjoint collection of these paths and cycles defines a legal round, with all other pebbles waiting. At full occupancy there is no empty terminal vertex, so no path component occurs.
A path shift is one round regardless of its length: each pebble on the path moves by one edge. The hole moves from the terminal vertex to the initial vertex of the path. This convention is essential to the vacancy transfer in Section 5.
PROPOSITION 2.2 (Density and edge monotonicity). For every graph G and ,
In particular, for every . If is a spanning subgraph of , then for every .
Proof. If , the density inequality is immediate. Otherwise extend any -pebble instance by adding distinctly labeled dummy pebbles at arbitrary initial holes and assigning them to distinct target holes. Follow a schedule for the enlarged instance and erase the dummy pebbles throughout. The remaining pebbles still have distinct destinations, and erasing moves cannot introduce an opposite-edge exchange. Thus every projected round is legal. Equivalently, the paths and cycles of Proposition 2.1 break into legal paths when dummy pebbles are removed. The projected schedule solves the original instance within rounds. Finally, every round legal in a spanning subgraph is legal in , which proves edge monotonicity.
For comparison, the matching-routing number is the largest, over all permutations of labels occupying V, of the minimum number of rounds when a round may exchange the endpoint labels on every edge of a matching. These exchanges are virtual operations in our proofs, as the no-swap rule prohibits a single exchange across an edge. The transfers below replace a matching round by a bounded number of legal rounds.
THEOREM 2.3 (Principal makespan bounds). The following statements hold.
TABLE 1
Principal bounds and their quantifiers. A class maximum is an upper bound for every graph in the class and a matching lower bound for a family of witnesses. The random cubic rows state established bounds, not known optimal ones.
| Graph family | Occupancy | Makespan bound | Scope |
|---|---|---|---|
| Cycles | full | every graph | |
| One-chord cycles, fixed span | full | each fixed span | |
| Connected cubic with a bridge | full | every such graph | |
| Connected bridgeless cubic | full | upper bound | |
| Random cubic | full | to | w.h.p.; gap open |
| Random cubic | , fixed | to | w.h.p.; gap open |
| Simple 3-connected planar cubic | every | class maximum |
-
If is a connected 2-regular graph, then . There are also 2-edge-connected graphs with .
-
Let be with one chord whose endpoints have cyclic distance , where . Uniformly over these spans,
For every fixed , this gives . Moreover,
2-vertex-connected, noncycle
-
Connected cubic graphs can have . Every connected bridgeless cubic graph is universally routable at full occupancy and satisfies .
-
For even , with high probability,
For every fixed , with high probability,
- For every even and every ,
simple, 3-connected, planar, and cubic
with constants independent of .
Every full-occupancy upper bound also bounds for all .
L. MCMANAMON AND J. YU
Proof dependencies and scope. The reachability obstructions in items (1) and (3), and the chord-span lower bound in item (2), are proved in Section 3. The quadratic upper bound for 2-vertex-connected noncycles is due to Yu and Rus [36]. In lemma 4.1, we apply it to bridgeless cubic graphs. The span-two quadratic lower bound is due to Foerster et al. [12]. Item (4) combines the counting lower bound of Proposition 3.3 with Corollaries 4.5 and 5.10. Item (5) is Theorem 6.1.
The planar statement is a class maximum. The cubic statements distinguish bridges, expansion, and planarity. For random cubic graphs the logarithmic lower bound leaves substantial gaps at both densities, and the two upper bounds do not establish an asymptotic separation between optimal makespans.
Section 7 collects bounds in terms of vertex connectivity and common neighbors, together with growing-degree random-regular consequences. In particular, three common neighbors per vertex pair suffice for the codegree theorem. These are consequences of the same local transposition approach.
3. Lower Bounds
3.1. Generic Obstructions. We begin with observations on three generic obstructions: distance, cut throughput, and state-space counting. Throughout, denotes an instance with initial vertex and target vertex for each pebble x, and its minimum makespan.
PROPOSITION 3.1 (Distance bound). ; consequently, for , where if is disconnected.
Proof. For the first claim, a pebble traverses at most one edge per round. For the second claim, let be a diametral pair of vertices. Construct an instance with and . Assign the remaining labels arbitrarily.
PROPOSITION 3.2 (Cut bound). For , let be its edge boundary and let count pebbles initially in with targets outside . If , then . At full occupancy, .
Proof. In one round each boundary edge can transfer at most one pebble from to . In a rotation round, every directed cycle crosses the cut the same number of times inward as outward. Therefore, transferring a pebble out of requires two boundary-edge traversals in total, one outward and one inward, meaning at most pebbles leave per round.
PROPOSITION 3.3 (Counting bound). Let have maximum degree , and let . Then
which is for every fixed-degree family, uniformly over .
Proof. If some placement pair is unreachable, the bound is immediate. Otherwise, from a fixed configuration each pebble has at most options per round. Padding shorter schedules with waits shows that at most configurations are reachable within rounds. Taking , all configurations must be reachable, giving the display. The geometric mean of the largest elements of is at least the geometric mean of all , so , uniformly in .
3.2. Reachability Before Makespan. A connected 2-regular graph on n vertices is a cycle, . At full occupancy its only nontrivial rounds are rotations of the

FIG. 2. The graph has exactly three simple cycles. All three meet at and , so a synchronous round contains at most one rotation.
entire cycle, so the reachable permutations form the cyclic group generated by one rotation and only of the permutations are reachable. Therefore, .
Bridges can obstruct connected cubic graphs. Because a bridge lies on no cycle, at maximum density no rotation is able to move a pebble across it, so every target permutation sending a pebble across a bridge is unreachable. To construct a witness, take two copies of minus an edge, with degree-2 vertices in copy 1 and in copy 2. Add adjacent vertices with edges and . The resulting graph is cubic and is a bridge, so , proving the first claim of Theorem 2.3(3).
Even 2-edge-connectivity is insufficient. In a figure-eight made of two triangles sharing one vertex, every generating rotation is a 3-cycle and is thus an even permutation. Every odd target permutation is unreachable, a parity obstruction following Wilson [32]. By contrast, full-occupancy reachability is satisfied by graphs that are 2-vertex-connected and not cycles [36]. This condition is sufficient but not necessary for individual graphs.
3.3. A Sharp Quadratic Family. Foerster et al. [12] used a potential argument to prove a quadratic lower bound on a span two chorded cycle. We retain their approach and make the bound explicit for any arbitrary chord span. A circular-sorting theorem gives a further numerical refinement at the end of this subsection.
For and , let be the cycle plus the chord (Figure 2). It has exactly three cycles: the outer cycle and the two cycles formed by the chord. All cycles contain both and , so at most one cycle can rotate in a synchronous round.
Read the pebble labels clockwise around the outer cycle , treating cyclic shifts as equivalent. The triple orientation of a set of three labels is which of the two circular orders it induces, either clockwise or counterclockwise. Reversing the order of the outer cycle reverses all triple orientations. The potential argument rests on two lemmas.
LEMMA 3.4 (Adjacent circular interchange). Interchanging two adjacent labels in a cyclic order reverses exactly triple orientations.
Proof. Let the adjacent labels be . Any three label subset not containing both and induces the same circular order after the interchange. For a three label subset containing , and a third label , the relative circular order of is reversed. There are exactly choices of .
LEMMA 3.5 (Effect of one legal rotation). Modulo cyclic shifts, one legal rotation on is a product of at most adjacent circular interchanges. Consequently it
L. MCMANAMON AND J. YU
changes at most triple orientations of the outer cyclic order.
Proof. Write the current outer cyclic word as , indexed so that occupy . A rotation of the outer cycle cyclically shifts the word and changes no triple orientation. A rotation of the short cycle transforms into or , according to orientation. Either transformation is a product of adjacent circular interchanges. A rotation of the complementary cycle maps
reading both circular words from shows that this moves across only s-1 adjacent labels, and the reverse orientation is symmetric. Lemma 3.4 bounds the number of changed triple orientations by in every case.
THEOREM 3.6 (Chorded-cycle lower bound). For and ,
In particular, for every fixed , and .
Proof. Start from the outer cyclic order and choose a target configuration whose outer cyclic order is the reversal . All triple orientations differ between the two orders. The target is reachable since is 2-vertex-connected and not a cycle [36]. Since all three simple cycles share the chord endpoints, at most one rotates per round. By Lemma 3.5 each round changes at most triple orientations. Thus any schedule of rounds satisfies . The matching upper bound for fixed is given by the group-diameter theorem of Yu and Rus [36].
COROLLARY 3.7 (Sharpness of the quadratic upper bound). Let be the largest value of over all 2-vertex-connected noncycle graphs on vertices. .
Proof. The upper bound is given by Yu and Rus [36]. The lower bound is given by Theorem 3.6 with .
Thus the quadratic upper bound is tight for the extremal function , even when vertex-disjoint rotations may execute in parallel. The span-dependent bound above generalizes the known span-two case. It does not claim a new quadratic extremal order.
Remark 3.8 (Refinement by circular sorting). Adin, Alon, and Roichman [1, Theorem 1.1] prove that the diameter of cyclic orders under adjacent circular interchanges is . Here an order is considered modulo rotation, as above. Choose two orders attaining that distance. By Lemma 3.5, any T-round schedule between configurations with these orders yields at most sT interchanges, so
Theorem 3.6 gives an independent bound with the same dependence on s. Neither estimate determines the order of for all growing spans.

FIG. 3. A first-edge theta. The transposed edge ub need only be the first edge of branch B, not an entire branch.
- Rotation Routing at Full Occupancy. We start by adopting the group diameter for 2-vertex-connected noncycles [36]. We show why it applies to all bridgeless cubic graphs, completing item (3) of Theorem 2.3.
LEMMA 4.1 (Bridgeless implies 2-connected). Every connected bridgeless cubic graph is 2-vertex-connected and is not a cycle, therefore it is universally routable with [36].
Proof. If a cubic graph had a cut vertex , the three edges at would be distributed among at least two components of . Some component would receive exactly one of them, and that edge would be a bridge. A connected bridgeless cubic graph therefore has no cut vertex. Finally, being 3-regular, it is not a cycle. Yu and Rus [36] applies.
The sharper upper bounds use the matching-routing number defined in Section 2. A matching-routing round exchanges labels across edges of a matching, so its transpositions must be simulated by legal rounds. At full occupancy we simulate a transposition with three rotations on a theta graph supporting the edge. To execute many of these simulations simultaneously, we control both the size of each supporting subgraph and the number of supports containing any one vertex. We develop a different simulation for graphs with two or more vacancies in Section 5.
4.1. The first edge theta identity. A theta graph is the union of three internally vertex-disjoint paths, or branches, with common endpoints, or terminals. The chorded cycle in Section 3 is one example, and its chord is a branch that is a single edge. We use the three rotation exchange from the proof of Theorem 2 in Yu and Rus [36]. The exchanged edge is the first edge of one branch. That branch need not consist of a single edge (Figure 3). We restate the identity and its proof to specify the supports used by the transfer theorems.
LEMMA 4.2 (First-edge theta identity, Yu-Rus [36]). Let a theta graph have terminals u, w and three internally vertex-disjoint branches
A branch may be the single edge uw (for , set , similarly for ). The three cycles of the theta are defined as follows. Let traverse from to and backward, let traverse from to and backward, and let traverse forward and backward. Writing for a cyclic rotation and applying the rightmost operation first,
L. MCMANAMON AND J. YU
and every other vertex of the theta remains fixed. Thus the labels across the edge are exchanged in three rotation rounds.
Proof. Track the labels of interest. Under , the label at moves to and the label at moves to . Under , the label at moves to and the label at moves to . Under , the label at moves to and the label at moves to . Hence the labels of and are exchanged. The two relevant rotations cancel on each interior vertex of and , and on every interior vertex of beyond . If has an interior vertex, the label at moves first to and finally back to . If , then is one of the exchanged vertices. The same tracking includes or .
THEOREM 4.3 (Local support compiler). Choose an orientation for every edge of . Suppose each oriented edge has a vertex support of size at most and at most legal rotation rounds supported on transpose its endpoint labels and fix all other labels. Suppose every vertex of lies in at most supports, counted with their edge indices even if some supports coincide. Then
A first-edge theta family has h = 3.
Proof. Form the conflict graph for a matching of a matching-routing schedule, adding an edge between vertices and when their supports and are vertex-disjoint. Each support has at most vertices, and each vertex belongs to at most other supports, so the conflict graph has maximum degree at most , and greedy coloring uses at most colors. Within one color class the rotation rounds run simultaneously in rounds. Compile all layers.
4.2. Cubic graphs and cycle covers. An -cycle cover is a family of simple cycles in which every edge appears at least once and at most times and every cycle has length at most .
THEOREM 4.4 (Cycle-cover transfer). If a bridgeless cubic graph has an -cycle cover, then
Proof. We first construct one theta at each vertex , then bound how often these thetas overlap. Let , and be the neighbors of . A cover cycle through a vertex uses exactly two of its incident edges. To cover all three edges incident to , two cover cycles and are needed. Both covers share a common edge , with one covering and another covering . In , the remnants of the cycles are paths that both contain . Their union is connected and contains all three neighbors of .
Take a spanning tree of this union and prune leaves other than the three neighbors. The resulting tree has a unique median at which the paths from the three neighbors meet. These paths share only . One of 's neighbors may be equal to , and in this case a path has length 0. Adding and its three incident edges gives a theta with terminals . It has at most vertices, and every edge incident to begins one of its branches. Lemma 4.2 thus supplies a three-round exchange for each such edge.
To bound the load on each edge, fix a vertex . At most 3c cover cycles contain , because each uses an edge incident to and each of the three incident edges is in at most cycles. Each cover cycle can be selected as or at no more than roots on that cycle. Therefore, belongs to at most rooted thetas . Orient each edge arbitrarily and consider the theta rooted at its tail. Each rooted theta is assigned to at most three edges. Consequently the edge-indexed support load is at most . Apply Theorem 4.3 with , , and .
The random-graph consequence uses two imported bounds. Let be the largest nontrivial adjacency eigenvalue of a -regular graph, where , where are the adjacency eigenvalues. Alon, Chung, and Graham [2, Theorem 7] prove
Parter and Yogev [26, Theorem 1; expanded version, Section 3.2] give every connected bridgeless graph of diameter a cycle cover with
COROLLARY 4.5 (Random cubic graphs). For even n and a uniformly random simple cubic graph, with high probability,
Consequently, by Proposition 2.2, with high probability for every .
Proof. With high probability is 3-connected [33, 34], and therefore bridgeless, has diameter [4], and satisfies for any fixed sufficiently small [13]. The two imported bounds give , , and . Theorem 4.4 gives
Constructing the schedule.. Given the cover as cyclic vertex lists, the support construction uses tree searches in unions of two cycles, each with vertices. The total preprocessing time is : first index the cycles at their edges and vertices, then construct all rooted thetas. Given also a virtual schedule, the conflict graph for each matching layer is obtained by listing the supports incident to each vertex. Greedy coloring and the displayed rotation words complete the conversion in polynomial time. The cycle-cover algorithm of Parter and Yogev is explicit. Its distributed implementation uses communication rounds [26, expanded version, Lemma 5]. Communication rounds are a separate measure from centralized running time and from MAPF makespan. The random-walk construction in the proof of Alon et al.'s Theorem 7 likewise supplies the virtual schedule. Its sampled walk intersections can be checked before compilation.
Proposition 3.3 supplies the lower bound in Theorem 2.3(4). This leaves a gap in the exponent. The next result rules out constant overhead for one particular way of compiling a matching layer. It does not determine the optimal routing exponent.
THEOREM 4.6 (Logarithmic batching barrier). There is a constant such that with high probability a random cubic graph contains a matching of edges such that every first-edge theta support of every has at least vertices. Consequently, any compiler that assigns one such support to each edge of and executes only vertex-disjoint supports in one round needs rounds for this single matching layer.
Proof. Let . We first show that with high probability only edges lie on cycles of length at most g. For random cubic graphs, the number of k-cycles and is
Here , and the bound is uniform because . Thus , and Markov's inequality gives short-cycle edge incidences with high probability. Conditioning on simplicity preserves this conclusion because the probability of simplicity is bounded away from zero [34].
Delete the edges on these short cycles. The remaining graph has edges and maximum degree three. Each edge of a maximal matching accounts for at most five remaining edges, so such a matching has edges. Every first-edge theta for contains a cycle through , formed by its branch beginning with and either other branch. Its support therefore has more than vertices. In a vertex-disjoint batch there can be at most such supports, whereas . At least batches are necessary.
Remark 4.7. Theorem 4.6 is not a lower bound on . It rules out constant overhead only for independent per-edge theta supports batched by vertex-disjointness. Shared global rotations, Hamilton-cycle methods, or algorithms that never compile a matching schedule layer by layer remain possible routes below .
- Vacancy-Assisted Routing on Cubic Expanders. With at least two empty vertices, a forbidden exchange of adjacent pebbles can be implemented using path shifts. The edge exchange operation requires holes at two local vertices. The main issue is to supply these holes to many exchanges simultaneously. This section proves a deterministic bound in terms of the number of holes, the number of edges whose neighborhoods are not tree-like, and the matching-routing number.
Write for the set of vertices at distance at most from . An edge is -good if at least one of the subgraphs and is a tree. Let be the number of edges that are not -good. As before, denotes the set of edges with exactly one endpoint in , and is the matching-routing number.
THEOREM 5.1 (Variable-hole transfer). For every there are constants and with the following property. Let be a cubic graph on vertices such that
-
for every nonempty with ;
-
is connected for every edge uv.
For p labeled pebbles and holes,
(5.1)
The bound is witnessed by schedules consisting only of path shifts.

FIG. 4. A T-junction at the cubic vertex . The vertices are the two neighbors of other than . Two holes at allow a three-round exchange across . The delivery lemma supplies such pairs of holes in parallel while keeping the occupied edge endpoints fixed.
Each term in the bracket describes one part of the construction. The ratio counts batches when the number of simultaneous exchanges is limited by the available holes. The logarithm accounts for repeatedly completing a constant fraction of the exchanges in a final batch. The term involving counts sequentially processing the rare edges whose neighborhoods contain short cycles. The constant term includes the single round that handles all pebble–hole edges of a matching. We prove the local edge exchange operation first, then the parallel delivery lemma, and finally give the bound on one round of the matching-routing schedule.
5.1. Local path-shift operations. A path shift acts on a path whose last vertex is empty and whose other vertices are occupied. Write the path as . Each pebble moves from to in one synchronous round. Its reverse is the path shift on in the resulting configuration. The length of the path does not affect the number of rounds: each pebble traverses only one edge.
The two-vacancy exchange at a branching vertex and the strategy of clearing its neighbors, exchanging pebbles, and reversing the path shifts appear in Push and Swap [22, Section 3.1 and Figure 1]. We record the exchange in our synchronous model, where it takes three path shifts. The following delivery lemma supplies these vacancies to many exchanges simultaneously.
LEMMA 5.2 (T-junction word). Let be an occupied edge in a cubic graph, and let be the other two neighbors of (Figure 4). If are holes, the pebbles at can be exchanged in three rounds of path shifts. The holes are returned to , and every other pebble is fixed.
Proof. Execute the path shifts
Writing the occupancies in the order gives
Every arrow is a path shift ending at a hole, so every round is legal.
LEMMA 5.3 (Two-hole placement). Let be a connected graph containing at least two holes. For any distinct , at most three path shifts make both holes. The sequence is reversible.
Proof. If is occupied, shift along a shortest path from to a hole. By minimality, every internal vertex is occupied, so this delivers a vacancy to in one round. If
L. MCMANAMON AND J. YU
is already empty there is nothing more to do. Otherwise let be the component of containing . If contains a hole, shifting along the shortest path inside from to that hole delivers a vacancy to without touching .
If contains no hole, shift from to the hole at along a shortest path, emptying and filling . A second hole lies outside . Every component of is adjacent to , so is connected and contains both and that hole. A shortest path inside therefore delivers a vacancy to without touching . At most three shifts were used in total. Reversing their order and directions reverses the construction.
COROLLARY 5.4 (Sequential fallback). Let be cubic. Suppose is occupied, is connected, and at least two holes are present. The pebbles at can be exchanged in at most nine path-only rounds while restoring the hole set and every other pebble.
Proof. Apply Lemma 5.3 inside to deliver holes to the two neighbors of other than in at most three rounds. Apply Lemma 5.2, then reverse the hole delivery. The exchange does not change any pebble or hole inside after the placement, so the reverse shifts are legal and restore it exactly.
PROPOSITION 5.5 (Bridgeless does not imply 3-connected). There are connected bridgeless cubic graphs with an edge such that is disconnected.
Proof. Take two copies of , deleting one edge in each. Add vertices and the edges . The resulting simple graph is cubic. Every edge inside an lies on a cycle, and a path from to inside , together with , and , places each new edge on a cycle. Since all edges lie on cycles, the graph is bridgeless. Deleting the vertices separates from .
Thus bridgelessness alone is too weak for the sequential fallback. Theorem 5.1 explicitly assumes that deleting the endpoints of any edge leaves a connected graph. In particular, 3-vertex-connectivity suffices.
5.2. Good edges, ports, and private branches. For each -good edge , choose an endpoint whose radius- ball induces a tree. We regard as the root of the edge. The two neighbors of other than are its ports. The outward subtree rooted at either port, restricted to distance at most from , is its private branch. Because the graph is cubic and the induced ball is a tree, each branch has
vertices. The two private branches are disjoint and avoid .
Build an auxiliary conflict graph whose vertices are the -good edges. Join two conflict graph vertices when their corresponding radius- balls intersect. The two roots have distance at most . A cubic graph has only vertices within that distance of any root, and a vertex is the root of at most three edges. Thus the conflict graph has maximum degree . Greedy coloring gives neighborhood colors. Within one color, the balls, their ports, and their private branches are pairwise disjoint.
5.3. Delivering holes to a constant fraction of a batch
LEMMA 5.6 (Vacancy-delivery phase). Fix . There exist constants and such that the following holds. Suppose is cubic and whenever . Let be a matching of occupied, -good edges of one neighborhood color, and let be the number of holes. If , then at most five path-only rounds exchange the pebbles on at least 3m/4 edges of , restore the entire hole set, and restore every pebble not on a completed edge.
Proof. The edge-expansion hypothesis implies
since an outside vertex is incident to at most three cut edges. Choose with , and set . The assertion is immediate for , so assume .
Let be the occupied edge endpoints and the ports. These sets are disjoint because their radius- balls are disjoint. Write for the hole set, for the already empty ports, and for the occupied ports. Put and , and let . Since ,
If , all port pairs are already empty and the three-round local operations suffice. Otherwise introduce . Deleting protects the pebbles to be exchanged, and deleting preserves the ports already empty.
Let be the maximum number of pairwise vertex-disjoint paths in , including disjoint endpoints, and put . Thus counts the occupied ports left unmatched by a maximum path family. By the vertex form of Menger's theorem there is a set of size separating from . The separator is allowed to contain vertices belonging to or . Let be the union of the components of meeting .
The occupied ports have pairwise disjoint private branches. These branches avoid : each lies in its own edge's ball, avoids that edge's endpoints, and is disjoint from its other port's branch. At most branches meet . Every branch avoiding lies wholly in a component counted in , giving
(5.2)
Moreover, has no holes. All holes belong to ; was deleted, is separated from , and avoids .
Every outside neighbor of belongs to , whose size is
We first show that . Otherwise has size below and contains all holes. Cubicity and the bound above give
a contradiction. Vertex expansion now applies to and, with (5.2), yields . This inequality also holds if is empty, since then . Consequently,
(5.3)
Choose disjoint paths. On each, retain the segment from its last vertex in to its first subsequent vertex in . These segments remain disjoint. Their interiors
L. MCMANAMON AND J. YU
avoid , and all their vertices avoid . Every interior vertex is therefore occupied, and each terminal vertex is a hole. Shift all these paths simultaneously in one round. This creates holes at k additional ports while preserving the q ports already empty.
Exactly ports remain occupied, so at most edges fail to have both ports empty. By (5.3), at least T-junctions are ready. They have disjoint vertex sets and execute simultaneously in three rounds. Every used port is again empty afterward. Moreover, the local operations fix every other vertex of every delivery path: its interior avoids , and its terminal vertex lies in , disjoint from . Thus the entire configuration on each delivery path agrees with its configuration immediately after delivery. Reversing all delivery paths in one final round restores the original holes and all pebbles except those on the completed edges. The total is rounds.
5.4. Compiling a matching layer. For a matching and a pebble configuration , define as the resulting configuration by acting independently on its edges. Exchange the labels on a pebble–pebble edge, slide the pebble across a pebble–hole edge, and do nothing on a hole–hole edge. Equivalently, for a hole–hole edge, assign distinct dummy labels to the holes, perform one matching-routing round, and forget the dummy identities.
LEMMA 5.7 (One matching layer). Under the hypotheses of Theorem 5.1, every matching action can be implemented in
path-only rounds.
Proof. First process the pebble-pebble edges, leaving the other matching edges to the end. Process the good edges by neighborhood color. For one color, let be its initial number of active edges. Let be the largest batch accepted by Lemma 5.6. Suppose first that exceeds a constant depending only on , so . While more than edges remain, apply Lemma 5.6 to any of them. Each phase completes at least exchanges, so the number of these phases is .
When at most s edges remain, apply the lemma to all remaining edges. Each phase leaves at most one quarter of them unprocessed. The number of phases in this final stage is
Each phase fixes every pebble outside its completed edges and restores the hole set. A later phase may temporarily move pebbles on earlier completed edges, but restores them before it ends. If is below the constant threshold instead, use Corollary 5.4 sequentially, at a cost of rounds because .
There are colors and at most pebble-pebble edges in total. Thus all good edges cost
rounds. At most active edges are bad, and Corollary 5.4 handles these sequentially. Every operation so far restores the hole set and fixes all labels outside the exchanged edges. Therefore the pebble-hole edges still have their original occupancies and slide simultaneously in one final round. The hole-hole edges require no action.
Proof of Theorem 5.1. Give the holes distinct dummy labels and assign them bijectively to the target holes. The real and dummy labels define a permutation on . By the definition of , this permutation has a matching-routing schedule of at most layers. Lemma 5.7 implements the projected action of each layer after dummy identities are forgotten. This projection depends only on the real labels and the hole set, so the physical schedule need not preserve the identities assigned to the holes. Induction over the layers yields the target configuration and the bound (5.1).
Constructing the schedule. For fixed , the radius is constant, so good edges and neighborhood colors can be found in time. Each delivery phase uses a flow network with arcs, obtained by splitting every vertex, including path endpoints, into an incoming and an outgoing copy joined by a capacity-one arc. A batch of edges needs at most augmentations, each found in time, and at most one final unsuccessful search. Across all phases for a color containing active edges, the sum of the batch sizes is at most : each phase completes at least three quarters of its batch, and each edge is completed once. Thus all flow computations for that color take time. Breadth-first searches implement each sequential fallback in time. Recording the paths and updating the configuration also take time per phase. Consequently, given a virtual schedule with layers, a direct implementation constructs its path-shift compilation in time. This bound includes writing the path lists. Obtaining the virtual matching schedule is a separate task.
5.5. Random cubic graphs and the number of holes. We now expose the random-graph estimates needed in (5.1). Wormald's connectivity theorem gives 3-vertex-connectivity of with high probability [33]. Friedman's theorem gives, with high probability, a fixed bound on the absolute values of its nontrivial adjacency eigenvalues [13]. The spectral cut inequality then gives
Thus one can fix , and then , independently of . On the same event, the expander routing theorem of Alon et al. [2] gives .
LEMMA 5.8 (Fixed-radius defects). For every fixed , . In particular, , and with high probability.
Proof. Let count the simple cycles of length . If is not a tree, a non-tree edge in a breadth-first search tree yields a simple cycle of length at most . The vertex lies within distance of this cycle. In a cubic graph every radius- ball has at most vertices. Therefore, writing for the vertices whose radius- balls are not trees,
Every bad edge is incident with a vertex of , so
(5.4)
L. MCMANAMON AND J. YU
For each fixed , the short-cycle estimate of McKay et al. [23, eq. (2.2)] specializes to
Taking expectations in (5.4) proves the first assertion. Markov's inequality gives tightness and, explicitly,
COROLLARY 5.9 (Arbitrary hole count). For even , with high probability, simultaneously for every with ,
The schedules witnessing this bound consist only of path shifts.
Proof. With high probability, G is 3-connected, has a fixed spectral gap, and satisfies . The first two give the hypotheses of Theorem 5.1 and the bound . The third controls its exceptional-edge term. All these are properties of the graph alone, so the deterministic theorem applies on this event simultaneously for all hole counts.
COROLLARY 5.10 (Fixed density on random cubic graphs). For every fixed , put . For even , with high probability,
Proof. Here , so , while . The bracket in Corollary 5.9 is therefore . Multiplying by the matching-routing bound gives the claimed exponent.
The different upper bounds at full and fixed density do not establish a separation between the optimal makespans. They show that holes permit a more efficient implementation of the matching-routing schedule used here. The logarithmic counting lower bound does not settle optimal makespan for random cubic graphs at either density.
COROLLARY 5.11 (Every density). For even , with high probability, simultaneously for every ,
For , the upper bound of Corollary 5.9 also applies. On the same event, uniformly for ,
Proof. The first bound follows from density monotonicity (Proposition 2.2) and Corollary 4.5. Intersect that event with the one in Corollary 5.9 for the second bound. Because is finite, every configuration is reachable from every other, so Proposition 3.3 applies with maximum degree three and gives the uniform lower bound for every .

FIG. 5. A facial star. All matched central-face edges are transposed by one simultaneous round on the leaf faces, one on the modified boundary , and one on the central face .
- Planar Makespan Bounds. Planarity interacts with the cycle structure used by a routing schedule. The quadratic one-chord witness of Theorem 3.6 is planar, whereas simplicity, cubicity, and 3-connectivity together allow each matching layer to be simulated at a constant cost. This gives a tight linear class maximum at every positive pebble count.
THEOREM 6.1 (Planar cubic class maximum). For every even and every ,
In particular, the same class maximum holds for .
6.1. The facial-star compiler. In a simple 3-connected plane graph, face boundaries are simple cycles and two distinct face closures meet in at most one vertex or one edge. In the cubic case, any two faces meeting at a vertex share an edge through that vertex: the three sectors at the vertex are pairwise consecutive. Thus face boundaries are vertex-disjoint exactly when their dual vertices are nonadjacent. These facts supply both the local rotations and the disjointness test for the compiler (Figure 5).
LEMMA 6.2 (Facial-star identity). Let be a simple 3-connected planar cubic graph, let be a face, and let be matching edges. Let be the other face incident to , and assume the faces are pairwise vertex-disjoint. Then all transpositions can be implemented simultaneously in three rotation rounds supported on : one round rotating all leaf faces , one rotating the modified boundary obtained from by replacing each with the complementary path of , and one rotating .
Proof. Write and , where is the complementary path along . Since two faces share at most one edge and, in a cubic plane graph, faces meeting at a vertex share an edge through it, , and has at least one internal vertex. Pairwise vertex-disjointness of the makes the paths mutually disjoint. Replacing each in by therefore produces a simple cycle .
Choose an orientation of and name the endpoints of each so that traverses it as . Orient compatibly, traversing each from to , and orient along from to and back across . Applying the rightmost operation first, the identity is
The leaf rotations run simultaneously because their boundaries are vertex-disjoint. For , the first two rounds restore every interior label of .
L. MCMANAMON AND J. YU
They move the label of to and back to , and move the label of first to and then to the predecessor of on . The last assertion uses that the edges form a matching, so the edge preceding is not replaced. Every other label on moves to its predecessor in the first two rounds. The final rotation of therefore exchanges each pair and restores every other label.
We use an elementary decomposition in place of an optimized star-arboricity bound. A star forest is a forest whose nontrivial components are stars. In particular, its different stars have disjoint vertex sets.
LEMMA 6.3 (Elementary planar batching). The edges of a simple planar graph can be partitioned into ten star forests. Such a partition can be found in linear time.
Proof. Euler's formula implies that every nonempty subgraph has a vertex of degree at most five. Successively delete such a vertex and orient its remaining incident edges toward the undeleted vertices. The resulting orientation is acyclic and has outdegree at most five. At each vertex, give its outgoing edges distinct indices in . The edges of any one index form a forest: an undirected cycle would either have a vertex with two outgoing edges or be a directed cycle, both impossible. Root each tree of each forest and split its edges according to the parity of the depth of their parent endpoint. Each part is a star forest, giving ten in total. Degree buckets, tree searches, and parity assignments implement these steps in linear time.
Proof of Theorem 6.1, upper bound. Fix a matching of a matching-routing schedule and pass to the planar dual , where each edge of joins its two incident faces. The dual is simple and planar. By Lemma 6.3, the dual edges corresponding to partition into ten star forests. Fix one forest. Each star has a center face and leaf faces , and its star edges are matched edges on .
Properly color with six colors by processing a degree-at-most-five deletion order backward. In each star, the leaves avoid the center's color and fall into at most five color classes. Leaves of one color are nonadjacent in , so their face boundaries are pairwise vertex-disjoint in . Order each star's nonempty leaf classes arbitrarily and process its th class in stage , for at most five stages.
Different stars of one stage may still touch in the primal graph. In the dual, however, each center together with its current leaves is a connected vertex set, and these sets are disjoint because they belong to different components of a star forest. Contract all these sets and delete the unused dual vertices. If two corresponding primal supports share a vertex, some face in one support and some face in the other meet there. Cubicity makes those faces adjacent in the dual, so the two contracted vertices are adjacent. The support-conflict graph is therefore a subgraph of this planar minor after loops and parallel edges are removed. A further six-coloring makes the primal supports within each batch vertex-disjoint.
Altogether one matching layer splits into at most batches of vertex-disjoint facial stars. Lemma 6.2 executes each batch in three rounds, so
Since every connected n-vertex graph has [2, Theorem 1],
for every simple 3-connected planar cubic graph, and Proposition 2.2 extends the upper bound to for every p.
The constant is deliberately unoptimized. The five-star-forest theorem of Hakimi, Mitchem, and Schmeichel [16] would halve it. The elementary proof above suffices for the linear bound. Given a plane embedding and a -layer virtual schedule, all facial boundaries, dual colorings, and batch assignments can be constructed in preprocessing and time per layer. Indeed, the total length of all face boundaries is , and every stage scans only a constant number of such boundary lists. Thus this planar conversion takes time, including its explicit move lists.
Proof of Theorem 6.1, lower bound. For , the prism is simple, planar, cubic, and 3-connected, has vertices, and has diameter . The full-occupancy upper bound just proved, together with Proposition 2.2, guarantees reachability for every smaller pebble count. Proposition 3.1 therefore gives for every , already with a single pebble placed across a diametral pair. This covers every even . The remaining case is , where any nontrivial instance needs a round, and absorbs finitely many cases.
The hypotheses are substantive. Cubicity alone does not imply connectivity; connected bridgeless cubic graphs are 2-vertex-connected but need not be 3-connected (Proposition 5.5 in Section 5). The facial argument uses arbitrary simple-cycle rotations, since the modified boundary need not be a face. A facial-rotations-only model is therefore not covered by this proof.
6.2. Recovered lattice benchmarks. The same transfer principle recovers known bounds on square and triangular lattice patches. We include the derivation to illustrate the bounded-support case. These asymptotic orders are established benchmarks.
PROPOSITION 6.4 (Bounded local supports). Let be a spanning subgraph of . Suppose every edge lies in a 2-connected noncycle subgraph with at most vertices, and every vertex of lies in at most selected supports, where are absolute constants. Then .
Proof. By Yu and Rus [36], the endpoint transposition of can be implemented inside , fixing every other support vertex, using a number of rotations depending only on . The compiler argument of Theorem 4.3 applies unchanged to the layers of a matching-routing schedule on (supports are needed only for edges of ), with constant support size, word length, and load.
PROPOSITION 6.5 (Recovered lattice benchmark). Let be the square grid with , and let be the triangular patch obtained by adding one consistent diagonal to every square cell. For and every ,
Proof. Rectangular grids have [2, 3], and is a spanning subgraph of , so the same virtual schedule is available in both. Every square-grid edge lies in a nearby or rectangular subgrid, which has at most six vertices, is 2-connected, and is not a cycle; the natural local choice has constant vertex load. Proposition 6.4 gives for both families, and Proposition 2.2 extends this to every . Both families have diameter , so Proposition 3.1 supplies the matching lower bound already with one pebble.
The square-grid order in Proposition 6.5 already follows from Demaine et al. [8], and triangular-grid routing is likewise covered, under a stricter geometric collision
L. MCMANAMON AND J. YU
model, by Chinta et al. [6]; the polyomino setting of Fekete et al. [10] gives a further close comparison at maximum density.
- Further Consequences of Local Transpositions. The preceding sections concern sparse graphs. We now quantify how larger vertex connectivity and common neighborhoods supply smaller transposition supports. Connectivity provides many disjoint paths from which to select a support, and common neighbors provide constant-size supports directly. These deterministic results also yield consequences for random regular graphs.
7.1. A Connectivity Compiler and Spectral Expanders. We first bound the simulation cost in terms of vertex connectivity, then combine it with spectral matching-routing estimates.
THEOREM 7.1 (Connectivity compiler). Let have vertex connectivity . Then
and the same bound holds for at every p.
Proof. Fix one matching of a matching-routing schedule. For , Menger's theorem gives internally vertex-disjoint paths, and at least of them avoid the edge itself. Their internal vertex sets are disjoint and total at most vertices, so fewer than of these paths have at most internal vertices. Choose two of such short paths uniformly at random without replacement. Combining them with the single-edge branch they form a first-edge theta support of size , and Lemma 4.2 implements the transposition in three rounds.
Make these choices independently over . Fix a vertex . Apart from the at most one matching edge incident to , the vertex lies on at most one candidate path of any fixed , because the candidate family is internally disjoint. Therefore , and the expected number of chosen supports containing is . A Chernoff bound and a union bound over the vertices yield a simultaneous choice with maximum vertex load . The conflict graph then has maximum degree , so one layer compiles into rotation rounds. Multiply the number of rounds by . Density monotonicity (Proposition 2.2) extends the bound to for every .
An -graph is a -regular graph on vertices whose adjacency eigenvalues satisfy . Thus the bound controls both ends of the nontrivial spectrum and excludes a second eigenvalue equal to .
LEMMA 7.2 (Spectral expansion forces connectivity). Every -graph with has vertex connectivity .
Proof. The claim is immediate for a complete graph. Otherwise, let be a vertex separator and a smallest component of , so and every edge leaving ends in . If , a vertex of has at least neighbors in . If , the spectral cut estimate gives
while at most edges end in . Thus .
THEOREM 7.3 (Strong spectral expanders). There are absolute constants such that every -graph with and satisfies
and the same bound holds for at every density.
Proof. Lemma 7.2 gives . Insert this into Theorem 7.1 and use Nenadov's bound , whose hypotheses are exactly and [25, Theorem 1.1].
The hypothesis does not apply to random cubic graphs, where is near . Nenadov's theorem does cover sufficiently strong expanders of fixed degree. It remains open in their work whether every general fixed-degree, fixed-expansion graph has [25, Section 4]. Horn and Purcilly [18] detail related bounds for dense and expanding graphs.
COROLLARY 7.4 (Random regular graphs of growing degree). Let , , and nd even. Then with high probability
simultaneously for all .
Proof. Cook, Goldstein, and Johnson [7, Theorem 1.1] give with high probability for . Tikhomirov and Youssef [31, Theorem A], with their parameter , give the same estimate for . These overlapping ranges cover every growing degree in the statement, including arbitrarily slow growth. For sufficiently large , and . Apply Theorem 7.3.
The counting bound gives only here. On even , Proposition 7.16 will give a stronger bound for a substantial part of this range by embedding a random cubic graph. The spectral theorem remains useful as a deterministic statement and has no parity restriction on beyond being even.
7.2. Dense Codegree. For dense graphs, common neighbors allow transpositions of arbitrary vertex pairs on constant-size supports, avoiding a separate matching-routing schedule.
LEMMA 7.5 (Two involutions). Following the construction of Alon, Chung, and Graham [2, Theorem 2], every permutation is the product of two involutions, i.e., of two permutations whose nontrivial cycles are pairwise disjoint transpositions.
Proof. On one cycle , indices modulo , the maps and are involutions with . Take disjoint unions over the cycles.
LEMMA 7.6 ( transposition word). Suppose u, v have three distinct common neighbors a, b, c. Define oriented 4-cycles , , . Then, applying the rightmost rotation first,
and a, b, c are restored. Hence any pair with three common neighbors can be transposed in five rotation rounds on a five-vertex support.
L. MCMANAMON AND J. YU
Proof. Track the five vertices through the five rotations. The composition sends the label of to and of to , and returns the labels of . No other vertex moves, because every rotation is supported on the displayed .
THEOREM 7.7 (Codegree theorem). Let . If , then
and consequently for every .
Proof. By Lemma 7.5 it suffices to process an involution with arbitrary transposition pairs. Each pair has at least candidate common neighbors. Out of these neighbors, assign three distinct helpers per pair greedily. Let be the per-vertex capacity, or the maximum number of pairs that any vertex can serve as a helper for.
The greedy selection never fails. At most 3m helper assignments are made in total, so the number of saturated vertices is at most , leaving at least three unsaturated candidates for the current pair. A helper is distinct from the pair vertices because the graph is simple. Since , each vertex is a helper in at most supports and a pair vertex in at most one. The five-vertex supports of Lemma 7.6 therefore have vertex load . The conflict-coloring argument of Theorem 4.3 executes the involution in rounds, since both support size and word length are constant. The second involution doubles the bound, and Proposition 2.2 extends it to every .
The proof is algorithmic. Given an adjacency matrix, compute in time. The two involutions, their helper assignments, and their conflict colorings then take time, as does writing the schedule as one destination per vertex per round. Thus a direct implementation constructs the schedule in deterministic time, including output.
COROLLARY 7.8 (Minimum degree above one half). Define as the minimum degree of G. If for fixed and sufficiently large n, then and for every p.
Proof. Inclusion-exclusion gives for all pairs. Once , apply Theorem 7.7.
The complete graph permits an exact constant.
PROPOSITION 7.9 (Complete graphs). For every , , and for every . ( is a cycle, so .)
Proof. At maximum density a legal round is a vertex-disjoint union of cycle rotations of length at least three (Proposition 2.1), and supports every such union. It therefore suffices to factor an arbitrary permutation into two permutations whose nontrivial cycles all have length at least three. Factor blockwise on disjoint vertex sets. Every cycle of length at least three is its own block, placed in the first factor. Group the 2-cycles into pairs, making one group a triple if the total number of 2-cycles is odd and at least three. Writing the rightmost factor first, a pair and a triple factor as
\begin{align*}(a_{1}b_{1})(a_{2}b_{2})&=(a_{1}b_{1}a_{2})(b_{1}a_{2}b_{2}),\ $ a_{1}b_{1})(a_{2}b_{2})(a_{3}b_{3})&=(a_{1}a_{2}a_{3})(b_{1}b_{2}b_{3})(a_{1}b_{3}a_{2}b_{1}a_{3}b_{2}).\end{align*}If instead a single 2-cycle remains, merge it with two fixed points via , or with a cycle of length via
For at least two vertices lie outside , each fixed or on a cycle of length at least three, so one of the two merges is available. Each identity can be verified by tracking labels, and distinct blocks act on disjoint vertex sets, so both factors are vertex-disjoint unions of cycles of length at least three and execute in one round each. The value two is exact, since a single-transposition target moves only two labels while every nontrivial round moves at least three. Density monotonicity (Proposition 2.2) gives .
7.3. Connectivity without a Routing Theorem. The compiler of Theorem 7.1 multiplies by . When no strong matching-routing bound is available, connectivity alone still gives polynomial bounds. Here the transposed vertices need not be adjacent, so the theta exchange takes time proportional to the support size rather than three rounds. All upper bounds below extend to every agent count by Proposition 2.2.
LEMMA 7.10 (Theta-terminal exchange, following Yu-Rus [36]). If is a theta with terminals , then the labels at can be transposed in at most rotation rounds, restoring every other label.
Proof. Let be the three branches. Since the graph is simple, choose to have an internal vertex, and let be its first vertex after . Rotate once from into . The label of now occupies , and the label of occupies a vertex of , possibly itself. The cycle avoids , so at most rotations of this cycle put the label of at without moving the label at . Apply Lemma 4.2 to transpose in three rounds and undo all positioning rotations. This conjugation exchanges exactly the original terminal labels and uses at most rounds. It is the positioning-exchange-reverse construction in the expanded proof of [36, Theorem 2, equation (2)], specialized to the terminals.
THEOREM 7.11 (Sequential connectivity bound). If is -vertex-connected with , then .
Proof. For any pair , Menger's theorem gives internally vertex-disjoint paths. The three shortest have at most internal vertices in total, so their union is a theta of size . Lemma 7.10 transposes , restoring all other labels, in rounds. Every permutation is a product of at most transpositions.
THEOREM 7.12 (Parallel connectivity bound). For every k-vertex-connected n-vertex graph with ,
Proof. The first term is Theorem 7.11. We prove the second for sufficiently large k, the other case being dominated. By Lemma 7.5, it suffices to process a set of disjoint terminal pairs.
L. MCMANAMON AND J. YU
Bulk phases. Put . Select unprocessed pairs and delete their endpoints. The residual graph is at least -connected. Greedily choose three private neighbors outside the endpoint set for every and , all helpers distinct. This is possible because each terminal has at least neighbors while fewer than vertices are forbidden at any step. Pair the helpers of with those of . A graph is -linked if any prescribed pairing of distinct vertices can be joined by mutually vertex-disjoint paths. The residual graph is at least -connected. The theorem of Bollobás and Thomason [5] that -connectivity implies -linkedness, with , therefore supplies all helper paths. Adding the terminal-helper edges gives vertex-disjoint thetas. Their total size is at most , so at least have size at most . Their terminal exchanges from Lemma 7.10 run in parallel in rounds. A phase thus processes pairs. Repeating until fewer than pairs remain costs phases and rounds.
Tail. Now pairs remain. For a fixed pair , delete the endpoints of all other pairs. After deletion, the graph remains -connected and contains internally disjoint paths avoiding all other terminals, of which a constant fraction have vertices. Keep short paths and choose three uniformly at random for each pair independently, forming a theta of size . For a nonterminal vertex , within one pair's candidate family lies on at most one path, so ; independence over the pairs makes the expected load of constant. For a sum of independent Bernoulli variables with bounded mean, ; taking and union-bounding over vertices yields a choice with maximum load , while other terminals have load one by construction. Conflict coloring with colors and rounds per color class costs
The two involutions change only the constant factor.
PROPOSITION 7.13 (Connectivity bottleneck). For every there are k-vertex-connected n-vertex graphs with .
Proof. Let , , and , where is the graph join. Removing the central disconnects the side cliques, while removing fewer than vertices leaves a central vertex adjacent to everything, so . Pair the vertices of the smaller side with vertices of the larger side and transpose each pair. All crossing pebbles must occupy a central vertex at the end of some round, since the side cliques have no edges between them. A schedule of rounds provides at most such vertex-time positions, so .
The gap between and the parallel upper bound is roughly a factor . Determining the correct dependence is open (Section 8).
7.4. Random Regular Graphs via Codegrees and Subgraphs. Two additional random-graph inputs complement the spectral bound. For large degrees, a published codegree estimate applies directly to Theorem 7.7. For every growing degree on even orders, a monotone coupling transfers both random-cubic bounds.
THEOREM 7.14 (Dense random regular graphs). Let be a positive integer with even, , and . Then with high probability
and the same bound holds for every .
Proof. Suppose first that . Krivelevich et al. [21, Theorem 2.1(i)] imply, under the stated growth condition, that with high probability
where the first term can be omitted when . Below this threshold, its ratio to is ; the ratio of the second term is throughout. Hence with high probability. Apply Theorem 7.7. For , Corollary 7.8 gives the asserted constant bound deterministically. Density monotonicity gives the same conclusion for every p on the same graph event.
COROLLARY 7.15 (Linear degree). If for a fixed , along orders for which exists, then with high probability. For , the same conclusion holds deterministically for every sufficiently large -regular graph.
Proof. The upper bound is Theorem 7.14 or Corollary 7.8. For the lower bound, a target consisting of a single transposition cannot be realized in one round, since every nontrivial round moves at least three labels.
PROPOSITION 7.16 (Cubic-backbone transfer). Let be even and , with . Then with high probability
simultaneously for all p. Moreover, with high probability, for every fixed ,
Proof. Hollom et al. [17, Theorem 1.2] couple and with with high probability whenever is even, , , and . Take and . On the coupling event, edge monotonicity gives for every . Corollaries 4.5 and 5.10 therefore give the two bounds, with density monotonicity extending the first to all .
For even , one may take the minimum of the applicable spectral, codegree, and cubic-subgraph bounds. The codegree construction is explicit once the graph is given; the coupling proposition asserts the existence of a suitable cubic subgraph and does not supply an efficient method for finding one in an input graph.
- Construction of Schedules and Open Questions. The principal upper bounds combine a matching-routing schedule with a legal implementation of each layer. Cycle covers control the overlap of local supports, expansion permits simultaneous vacancy delivery, and planar faces allow several exchanges to share a rotation. The common-neighbor extension instead implements two arbitrary involutions directly. These distinctions also determine the inputs required by the proofs.
8.1. Makespan and the cost of constructing a schedule. The makespan counts parallel motion rounds, not the computation used to find them. The transfer proofs explicitly specify legal schedules once their routing schedules and auxiliary combinatorial objects have been supplied. Their output can be represented by a list of pebbles' moves in each round, or more compactly by the paths and cycles rotated in that round.
L. MCMANAMON AND J. YU
For the local-support transfer, suppose a virtual matching layer has edges and the chosen rotation words have supports of size at most . Form a conflict graph as follows. For each vertex, list the supports incident to it, and add an edge between two vertices when the intersection of their lists is nonempty. If is the number of chosen supports containing , constructing the conflict graph takes
elementary operations using incidence lists. Duplicate conflict edges can be discarded. The layer schedule is then produced with greedy coloring and simultaneous execution of the words in each color. The bound on the number of colors in Theorem 4.3 controls makespan, while these incidence counts describe the work of the translation. Given a cycle cover, the local trees and rotation words in Theorem 4.4 are obtained by graph searches. Finding the input cover and finding the virtual matching-routing schedule are additional tasks, governed by the respective external results.
The vacancy transfer is also effective. Its disjoint delivery paths can be obtained by an integral maximum-flow computation. Replace each vertex with an input and an output vertex joined by a capacity-one arc. Encode the port and hole sets as a source and a sink vertex. Each phase completes a constant fraction of the designated exchanges, and the proofs bound the number of phases. Neighborhood colorings, the sequential fallback, and the reversal of delivery paths are direct finite graph operations. The construction analysis in Section 5 gives computational overhead for an explicitly supplied -layer matching schedule, with the expansion parameter fixed. This statement concerns the transfer, and does not identify its running time with its much smaller number of parallel motion rounds.
For the planar transfer, the star-forest decomposition becomes part of the elementary construction. Lemma 6.3 finds it by degree deletion and tree searches. Given a plane embedding and a -layer virtual schedule, Section 6 gives conversion time, including output. The common-neighbor theorem needs no virtual schedule: its proof gives a deterministic algorithm from an adjacency matrix, again including output.
The source of an auxiliary object matters. The random-cubic argument uses the explicit routing and cycle-cover constructions cited in Section 4. Their computation is additional to the conversion cost. In Theorem 7.1, Menger paths can be found by flow, independently sampled supports have checkable loads, and rejection sampling gives an expected polynomial construction for each supplied matching layer. By contrast, the large prescribed linkage in Theorem 7.12 and the suitable cubic subgraph in Proposition 7.16 are used as existence statements. Those two makespan bounds do not by themselves supply a uniform polynomial algorithm to find the required objects. This separation preserves the extremal content without making a stronger algorithmic claim than the proofs establish.
8.2. Extremal questions.
Random cubic graphs and occupancy. The first question is to close the gaps between and at full occupancy, and between and at every fixed density below one. Theorem 4.6 excludes constant overhead for a compiler that assigns independent first-edge theta supports and batches only vertex-disjoint supports. It places no lower bound on the optimal makespan and does not exclude shared rotations or constructions that avoid compiling each matching layer separately. Below full occupancy, a reusable, well-distributed set of holes may reduce the repeated cost of vacancy delivery. Whether the true asymptotic worst-case makespan differs between full occupancy and any fixed smaller density remains open.
Chord span and deterministic cubic families. The bound isolates the role of chord span, but is quadratic only when is bounded. Determining the order uniformly for growing would refine the one-chord example. The largest makespan over bridgeless cubic graphs also remains to be determined: the universal quadratic upper bound and the much smaller bounds for typical cubic graphs do not settle that class maximum. Fixed regular degrees at least four provide further unresolved families.
Connectivity and common neighbors. For -vertex-connected graphs with , Section 7.3 proves an upper bound of
A family of lower bounds gives for , leaving a substantial gap. The constant-order bounds under strong common-neighbor hypotheses in Section 7 suggest studying which local intersection conditions suffice for low-cost simultaneous exchanges beyond the dense setting.
Planar graphs and lattices. The linear class maximum for simple 3-connected planar cubic graphs uses the way face boundaries intersect in these graphs. Both cubicity and 3-connectivity enter the proof. The corresponding class maximum for bridgeless planar cubic graphs is open. A vacancy-only transfer in planar graphs, with a bound expressed through distances and cut capacities, would address a different limitation of the current facial proof. For standard honeycomb patches, an matching-routing scheme or a suitable bounded-congestion simulation of a square grid would match the diameter lower bound. We include the square and triangular lattice estimates in Section 6.2 to recover established benchmarks from prior work rather than to introduce new bounds.
Acknowledgments. This work was carried out while one of the authors, Lucy McManamon, was a participant in the 2026 DIMACS REU program at Rutgers University, supported by NSF grant CCF-2447342.
REFERENCES
[1] R. M. ADIN, N. ALON, AND Y. ROICHMAN, Circular sorting, 2025, https://arxiv.org/abs/2502.14398. To appear in Israel Journal of Mathematics.
[2] N. ALON, F. R. K. CHUNG, AND R. L. GRAHAM, Routing permutations on graphs via matchings, SIAM J. Discrete Math., 7 (1994), pp. 513–530, https://doi.org/10.1137/S0895480192236628, https://web.math.princeton.edu/~nalon/PDFS/r.pdf.
[3] H. ALPERT, R. BARNES, S. BELL, A. MAURO, N. NEVO, N. TUCKER, AND H. YANG, Routing by matching on convex pieces of grid graphs, Comput. Geom., 104 (2022), p. 101862, https://doi.org/10.1016/j.comgeo.2022.101862.
[4] B. BOLLOBÁS AND W. FERNÁNDEZ DE LA VEGA, The diameter of random regular graphs, Combinatorica, 2 (1982), pp. 125–134, https://doi.org/10.1007/BF02579310.
[5] B. BOLLOBÁS AND A. THOMASON, Highly linked graphs, Combinatorica, 16 (1996), pp. 313–320, https://doi.org/10.1007/BF01261316.
[6] R. CHINTA, S. HAN, AND J. YU, Coordinating the motion of labeled discs with optimality guarantees under extreme density, in Algorithmic Foundations of Robotics XIII, Springer, 2020, pp. 817–834, https://doi.org/10.1007/978-3-030-44051-0_47.
[7] N. A. COOK, L. GOLDSTEIN, AND T. JOHNSON, Size biased couplings and the spectral gap for random regular graphs, Ann. Probab., 46 (2018), pp. 72–125.
L. MCMANAMON AND J. YU
[8] E. D. DEMAINE, S. P. FEKETE, P. KELDENICH, H. MEIJER, AND C. SCHEFFER, Coordinated motion planning: Reconfiguring a swarm of labeled robots with bounded stretch, SIAM J. Comput., 48 (2019), pp. 1727–1762, https://doi.org/10.1137/18M1194341.
[9] A. DHAR, P. NYATI, T. PRASAD, A. HOTA, AND S. KOLAY, Universal solvability for robot motion planning on graphs, in Proceedings of the 25th International Conference on Autonomous Agents and Multiagent Systems, 2026, pp. 947–955, https://doi.org/10.65109/VEXW9837.
[10] S. P. FEKETE, R. KOSFELD, P. KRAMER, J. NEUTZNER, C. RIECK, AND C. SCHEFFER, Coordinated motion planning: Multi-agent path finding in a densely packed, bounded domain, Autonomous Agents and Multi-Agent Systems, 40 (2026), p. 40, https://doi.org/10.1007/s10458-026-09766-4. Article 40; preliminary version in ISAAC 2024.
[11] F. FIORAVANTES, D. KNOP, J. M. KRİŠTAN, N. MELISSINOS, AND M. OPLER, Exact algorithms and lowerbounds for multiagent path finding: Power of treelike topology, in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 38, 2024, pp. 17380–17388, https://doi.org/10.1609/aaai.v38i16.29686.
[12] K.-T. FOERSTER, L. GRONER, T. HOEFLER, M. KÖNIG, S. SCHMID, AND R. WATTENHOFER, Multi-agent pathfinding with n agents on graphs with n vertices: Combinatorial classification and tight algorithmic bounds, in Algorithms and Complexity: 10th International Conference (CIAC 2017), vol. 10236 of Lecture Notes in Computer Science, Springer, 2017, pp. 247–259, https://doi.org/10.1007/978-3-319-57586-5_21.
[13] J. FRIEDMAN, A proof of alon's second eigenvalue conjecture and related problems, Mem. Amer. Math. Soc., 195 (2008), https://doi.org/10.1090/memo/0910.
[14] M. GOZON AND J. YU, On computing makespan-optimal solutions for generalized sliding-tile puzzles, in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 38, 2024, pp. 10288–10296, https://doi.org/10.1609/aaai.v38i9.28895, https://ojs.aaai.org/index.php/AAAI/article/view/28895.
[15] T. GUO AND J. YU, Expected 1.x makespan-optimal multi-agent path finding on grid graphs in low polynomial time, J. Artificial Intelligence Res., 81 (2024), pp. 443–479, https://doi.org/10.1613/jair.1.16299, https://arxiv.org/abs/2408.05385.
[16] S. L. HAKIMI, J. MITCHEM, AND E. SCHMEICHEL, Star arboricity of graphs, Discrete Math., 149 (1996), pp. 93–98, https://doi.org/10.1016/0012-365X(94)00313-8.
[17] L. HOLLOM, L. LICHEV, A. MOND, J. PORTIER, AND Y. WANG, Monotonicity and decompositions of random regular graphs, 2025, https://arxiv.org/abs/2505.22875, https://arxiv.org/abs/2505.22875. To appear in the Annals of Applied Probability.
[18] P. HORN AND A. PURCILLY, Routing number of dense and expanding graphs, J. Comb., 11 (2020), pp. 329–350, https://doi.org/10.4310/JOC.2020.v11.n2.a5.
[19] J. KAWAHARA, T. SAITOH, AND R. YOSHINAKA, The time complexity of permutation routing via matching, token swapping and a variant, J. Graph Algorithms Appl., 23 (2019), pp. 29–70, https://doi.org/10.7155/jgaa.00483.
[20] D. KORNHAUSER, G. L. MILLER, AND P. G. SPIRAKIS, Coordinating pebble motion on graphs, the diameter of permutation groups, and applications, in 25th Annual Symposium on Foundations of Computer Science, IEEE, 1984, pp. 241–250, https://doi.org/10.1109/SFCS.1984.715921.
[21] M. KRIVELEVICH, B. SUDAKOV, V. H. VU, AND N. C. WORMALD, Random regular graphs of high degree, Random Structures & Algorithms, 18 (2001), pp. 346–363, https://doi.org/10.1002/rsa.1013, https://people.math.ethz.ch/~sudakovb/reghigh.pdf.
[22] R. LUNA AND K. E. BEKRIS, Push and swap: Fast cooperative path-finding with completeness guarantees, in Proceedings of the 22nd International Joint Conference on Artificial Intelligence, 2011, pp. 294–300, https://doi.org/10.5591/978-1-57735-516-8/IJCAI11-059, https://www.cs.rutgers.edu/~kb572/pubs/push_and_swap_ijcai.pdf.
[23] B. D. McKAY, N. C. WORMALD, AND B. WYSOCKA, Short cycles in random regular graphs, Electron. J. Combin., 11 (2004), p. R66, https://doi.org/10.37236/1819.
[24] T. MILTZOW, L. NARINS, Y. OKAMOTO, G. ROTE, A. THOMAS, AND T. UNO, Approximation and hardness of token swapping, in 24th Annual European Symposium on Algorithms, vol. 57 of Leibniz International Proceedings in Informatics, Schloss Dagstuhl-Leibniz-Zentrum für Informatik, 2016, pp. 66:1–66:15, https://doi.org/10.4230/LIPics.ESA.2016.66.
[25] R. NENADOV, Routing permutations on spectral expanders via matchings, Combinatorica, 43 (2023), pp. 737–742, https://doi.org/10.1007/s00493-023-00033-8.
[26] M. PARTER AND E. YOGEV, Low congestion cycle covers and their applications, in Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SIAM, 2019, pp. 1673–1692, https://doi.org/10.1137/1.9781611975482.101, https://arxiv.org/abs/1812.04492. The linked expanded version includes the detailed cycle-cover construction.
[27] K. K. SAI, G. VIGLIETTA, AND R. UEHARA, Cyclic shift problems on graphs, IEICE Transac-tions on Information and Systems, E105-D (2022), pp. 532–540, https://doi.org/10.1587/transinf.2021FCP0010.
[28] R. STERN, N. R. STURTEVANT, A. FELNER, S. KOENIG, H. MA, T. T. WALKER, J. LI, D. ATZMON, L. COHEN, T. K. S. KUMAR, R. BARTÁK, AND E. BOYARSKI, Multi-agent pathfinding: Definitions, variants, and benchmarks, in Proceedings of the International Symposium on Combinatorial Search, vol. 10, 2019, pp. 151–158, https://doi.org/10.1609/socs.v10i1.18510.
[29] P. SURYNEK, A novel approach to path planning for multiple robots in bi-connected graphs, in Proceedings of the 2009 IEEE International Conference on Robotics and Automation, IEEE, 2009, pp. 3613–3619, https://doi.org/10.1109/ROBOT.2009.5152326, https://surynek.net/publications/files/SurynekPavel_BIBOX_ICRA-2009.pdf.
[30] P. SURYNEK, Multi-agent path finding with generalized conflicts: An experimental study, in Agents and Artificial Intelligence, vol. 11978 of Lecture Notes in Computer Science, Springer, 2019, pp. 118–142, https://doi.org/10.1007/978-3-030-37494-5_7.
[31] K. TIKHOMIROV AND P. YOUSSEF, The spectral gap of dense random regular graphs, Ann. Probab., 47 (2019), pp. 362–419.
[32] R. M. WILSON, Graph puzzles, homotopy, and the alternating group, J. Combin. Theory Ser. B, 16 (1974), pp. 86–96, https://doi.org/10.1016/0095-8956(74)90098-7.
[33] N. C. WORMALD, The asymptotic connectivity of labelled regular graphs, J. Combin. Theory Ser. B, 31 (1981), pp. 156–167, https://doi.org/10.1016/S0095-8956(81)80021-4.
[34] N. C. WORMALD, Models of random regular graphs, in Surveys in Combinatorics 1999, vol. 267 of London Mathematical Society Lecture Note Series, Cambridge University Press, 1999, pp. 239–298, https://doi.org/10.1017/CBO9780511721335.010.
[35] J. YU AND S. M. LAVALLE, Structure and intractability of optimal multi-robot path planning on graphs, in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 27, 2013, pp. 1443–1449, https://doi.org/10.1609/aaai.v27i1.8541.
[36] J. YU AND D. RUS, Pebble motion on graphs with rotations: Efficient feasibility tests and planning algorithms, in Algorithmic Foundations of Robotics XI, vol. 107 of Springer Tracts in Advanced Robotics, Springer, 2015, pp. 729–746, https://doi.org/10.1007/978-3-319-16595-0_42, https://people.csail.mit.edu/jingjin/files/YuRus15STAR.pdf. Expanded author version includes the proof of Theorem 2.