The pebble motion problem (PMP) asks whether labeled pebbles on a graph can be rearranged by moving them to adjacent empty vertices (blanks). Kornhauser, Miller, and Spirakis (FOCS 1984) proved the tight $Θ(N^3)$ worst-case bound on $N$-vertex graphs and asked for efficient approximation of move counts. Whether this bound is tight on trees remained open for over four decades. We give the first $\mathrm{o}(N^3)$ upper bound on trees: every feasible instance admits an $\mathrm{O}(N^2\log N)$-move solution, constructible in time linear in its length, within a logarithmic factor of the known $Ω(N^2)$ lower bound. We extend the tree method to a hybrid algorithm with structure-dependent bounds for general graphs. When $2\leq N-n=\mathrm{O}(1)$, every instance on a feasible puzzle admits an $\mathrm{O}(n\,\mathrm{CL}(G)\,\mathrm{D}(G))$-move solution, where $n$ counts pebbles, $\mathrm{D}(G)$ is the diameter, and $\mathrm{CL}(G)$ is the maximum shortest-cycle length through a vertex. For square grids, this matches the classical $\mathrm{O}(N^{3/2})$ bound. Cubic complexity requires $\mathrm{O}(1)$ blanks. We develop cut-vertex reconfiguration and a closure theorem under arbitrary ear extensions. These imply that cubic complexity requires a unique biconnected component $X$ of order $Θ(N)$ with reconfiguration cost $Θ(N^3)$; the total attachment through each cut vertex of $G$ in $X$ has bounded order. Moreover, $X$ has no cycle of unbounded sublinear order, and intersecting $Θ(N)$-cycles in $X$ share at least $N-n$ vertices. Attaching bounded-size connected graphs along $\mathrm{O}(1)$ individual edges of a $Θ(N)$-cycle yields cubic complexity for feasible puzzles, whereas two $Θ(N)$-cycles sharing one vertex have worst-case complexity $Θ(N^2\log N)$. We conjecture that this construction characterizes the cubic regime.
翻译:暂无翻译