\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern,amsmath,amssymb,amsthm,microtype,needspace} \usepackage[a4paper,margin=1in]{geometry} \usepackage[hidelinks]{hyperref} \hypersetup{pdftitle={The cost of a final edge exchange after P\'osa rotations in cubic Cayley graphs}, pdfauthor={Peiwei Wu and Qian Peng}, pdfkeywords={Hamiltonian paths, P\'osa rotations, path reconfiguration, cubic Cayley graphs}} \newtheorem{theorem}{Theorem} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{proposition}[theorem]{Proposition} \newtheorem{corollary}[theorem]{Corollary} \title{The cost of a final edge exchange after P\'osa rotations\\in cubic Cayley graphs} \author{Peiwei Wu \and Qian Peng\thanks{Corresponding author.}\\ \small The University of Melbourne} \date{29 November 2026} \begin{document} \maketitle \begin{abstract} For every integer $t\geq 0$, we construct a Hamiltonian bipartite cubic Cayley graph on $72t+156$ vertices and a path missing one vertex. If a single exchange must make the path immediately extendible to the missing vertex, its minimum size lies between $3t+2$ and $6t+13$, even when arbitrary P\'osa rotations are allowed beforehand. If rotations are also allowed after the exchange, the minimum exchange size is exactly two. Any repair with an exchange of size $k$ and $s$ subsequent rotations satisfies $k+s\geq 3t+2$. An explicit repair uses seven initial rotations, a two-edge exchange, and $6t+13$ subsequent rotations. The lower bound combines confinement of both endpoints with a signed height function. The main results are formalized in Lean~4. \end{abstract} \section{Two ways to extend a prescribed path} If a path misses just one vertex $v$, its endpoints determine whether it can immediately be extended. P\'osa's rotation~\cite{posa} moves an endpoint while preserving all vertices already visited. Even in a Hamiltonian graph, all paths reachable by rotations from a given path may have both endpoints outside the neighbourhood of $v$. We ask how many edges of such a path must be replaced in one exchange to expose $v$, and how the answer changes when rotations may follow the exchange. All graphs below are simple and undirected. In an ordering $(x_0,\ldots,x_\ell)$ a right rotation at $x_i$, where $i<\ell-1$ and $x_\ell x_i$ is an edge, reverses the suffix strictly after $x_i$. A left rotation is defined by reversal. Write $\mathcal R(P)$ for the paths reachable from $P$ by rotations at either end, including $P$ itself. We regard a path and its reversal as the same undirected path and choose an orientation when specifying a move. An ordering of $V(P)$ \emph{exposes} $v$ if it is a path with an endpoint adjacent to $v$. For simple paths $R,Q$ on the same vertices, set \[ d_E(R,Q)=|E(R)\setminus E(Q)|=\tfrac12|E(R)\mathbin{\triangle} E(Q)|. \] An exchange from $R$ to $Q$ simultaneously replaces $d_E(R,Q)$ path edges. Extension by the edge to $v$ is a separate final step. Define \[ \rho(P,v)=\min\{d_E(R,Q): R\in\mathcal R(P),\ V(Q)=V(P),\ Q\text{ exposes }v\}, \] with value $+\infty$ if there is no such pair. This is the cost when the exchange must expose $v$ immediately. \Needspace{7\baselineskip} \begin{theorem}\label{main} For each integer $t\geq0$ there are a Hamiltonian bipartite cubic Cayley graph $G$ on $n=72t+156$ vertices, a vertex $v$, and a path $P$ spanning $G-v$ with the following properties. \begin{enumerate} \item The cost of a final exchange satisfies \[ 3t+2\leq \rho(P,v)\leq 6t+13. \] \item With arbitrary rotations before and after one exchange, the minimum exchange size for completing $P$ is exactly two. \item Any repair with an exchange of size at most $k$ and $s$ subsequent rotations satisfies $k+s\geq 3t+2$. Seven initial rotations, a two-edge exchange and $6t+13$ subsequent rotations suffice. \end{enumerate} \end{theorem} Thus a final exchange has linear cost in the order of the graph. Moving the exchange earlier reduces its size to two, at the price of a linear number of subsequent rotations. Both statements concern the same missing vertex of the same prescribed path. Shields~\cite{shields} studied endpoint rotations in Hamilton cycle searches on cubic Cayley graphs. In the language of path reconfiguration, a rotation is also called a backbite. Kazazi~\cite{kazazi} studied when these moves connect the Hamiltonian paths of a graph. Here the relevant paths span the punctured graph $G-v$, and the target consists of orders that expose $v$. Our earlier work~\cite{previous} supplied a sixty-vertex rooted path whose free end stays confined under rotations. We use two copies of that path and vary the distance to the missing vertex. Our technical preprint~\cite{archive} proved the lower bound $3t+1$ and gave the two-edge repair with $6t+13$ subsequent rotations, implying a final-exchange upper bound of $6t+15$. Here we sharpen the final-exchange bounds and prove that two is the least possible exchange size when subsequent rotations are allowed. \input{construction} \input{protocol} \input{optimality} \begin{proof}[Completion of the proof of Theorem~\ref{main}] It remains to sharpen the upper bound on $\rho$. Adding the exchange size to the subsequent rotation count gives $6t+15$ before accounting for cancellations in the initial part of the schedule. Let $R$ be the ordering after seven rotations. Let $H=M^{\rm rev}W$ be the ordering after the exchange and the thirteen room rotations. The two rooted paths in $R$ contain $118$ internal edges. Of the $119$ edges in $W$, exactly $106$ belong to those paths. The room edges of $R$ missing from $W$ are precisely \[ \begin{gathered} (46,49),\ (48,56),\ (65,66),\ (67,75),\ (74,83),\ (76,79),\\ (77,78),\ (81,88),\ (91,99),\ (101,102),\ (108,116),\ (110,112). \end{gathered} \] Here each pair denotes an undirected edge in the code $6h+i$. Reversing $M$ preserves all its internal edges. Its junction with the vertex of code $0$ is present in both paths, so at most one other junction of $R$ is lost. Hence $d_E(R,H)\leq 12+1$. The remaining $6t$ rotations change at most $6t$ more edges. Their exposed output therefore lies at distance at most $6t+13$ from $R$. \end{proof} The exact value of $\rho(P,v)$ for this family remains open, as does the least number of post-exchange rotations at budget two. Does the ratio $\rho(P,v)/t$ converge as $t\to\infty$? Theorem~\ref{main} places any limit between three and six. \paragraph{Formal verification.} The Lean~4 development for this manuscript identifies the Cayley generators, constructs the path for every $t$, and checks the rooted rotations and the repair schedule. Its file \texttt{PaperVerification.lean} states the bounds and the optimal exchange size. The cited archives contain the earlier formal development and the rooted-path certificate~\cite{archive,previous}. \paragraph{Reproducibility.} The accompanying script \texttt{anc/verify.py} uses only the Python standard library. It reproduces the rooted-path enumeration and replays the exchange and rotations for the parameters specified by \texttt{--max-t}. The default is $0\leq t\leq 50$. \paragraph{Author contributions and use of AI.} Peiwei Wu and Qian Peng jointly formulated the research question, guided the comparison of the two repair protocols, and contributed to writing the manuscript. They used OpenAI Codex to help search the literature, develop and check the constructions and proofs, formalize the results in Lean~4, and draft and edit the text. The human review covered the problem formulation and the statements of the principal results. The detailed proofs and Lean code have not been checked in full by a human. \begin{thebibliography}{9} \raggedright \bibitem{kazazi} A. Kazazi, Connectivity of the reconfiguration graph of Hamiltonian paths, 2026. \href{https://arxiv.org/abs/2610.05068}{arXiv:2610.05068}. \bibitem{kuzman} B. Kuzman, On cubic rainbow domination regular graphs, \emph{Discrete Appl. Math.} \textbf{373} (2025), 26--38. \href{https://doi.org/10.1016/j.dam.2025.04.046}{doi:10.1016/j.dam.2025.04.046}. \href{https://arxiv.org/abs/2410.10662}{arXiv:2410.10662}. \bibitem{posa} L. P\'osa, Hamiltonian circuits in random graphs, \emph{Discrete Math.} \textbf{14} (1976), 359--364. \href{https://doi.org/10.1016/0012-365X(76)90068-6}{doi:10.1016/0012-365X(76)90068-6}. \bibitem{shields} I.~B. Shields, \emph{Hamilton Cycle Heuristics in Hard Graphs}, Ph.D. thesis, North Carolina State University, 2004. \href{https://repository.lib.ncsu.edu/server/api/core/bitstreams/75d6521e-5170-41a4-a1f9-762a65b8b38f/content}{NC State University Libraries}. \bibitem{previous} P. Wu and Q. Peng, Two-ended P\'osa rotations can get stuck in cubic Cayley graphs, v1.0.0, 2026. \href{https://doi.org/10.5281/zenodo.24621624}{doi:10.5281/zenodo.24621624}. \bibitem{archive} P. Wu and Q. Peng, Linear edge-exchange cost after P\'osa rotations in cubic Cayley graphs, v1.19.0, 2026. \href{https://doi.org/10.5281/zenodo.24639140}{doi:10.5281/zenodo.24639140}. \end{thebibliography} \end{document}