arXiv:2608.30894cs.DMAug 2026

Manuscript Offprint

arXiv:2608.30894

The Cayley Completion of a Graph

Rigobert Fokam Souop, Laurent Bitjoka

Abstract

A finite connected graph is rarely a Cayley graph. We measure how far it is from being one: given GG with nn vertices and mm edges, how few edges must be added, or added and deleted, before the result is a Cayley graph of an abelian group of order nn on the same vertex set? This defines two invariants, the completion number γ+\gamma^{+}, which permits additions only, and the Cayley edit distance γ△\gamma_{\triangle}, which permits both, each normalized by mm.

We show that deciding the edit version is NP-complete already for a fixed cyclic host, by a reduction from Hamiltonian Cycle in which the edit cost of a labeling is n+m−2kn + m - 2k when the labeling realizes a longest path with kk edges; there the optimal cost is m−n+2pp(G)m - n + 2pp(G), which the matching number bounds in polynomial time. We prove that irregularity alone forces γ+(G)≥nΔ∗/(2m)−1\gamma^+(G) \geq n\Delta^*/(2m) - 1, where Δ∗\Delta^* is the least d≥Δd \geq \Delta with ndnd even, a bound computable in linear time from the degree sequence; we characterize its equality case exactly. It is attained on the star, where γ+(K1,q)=(q−1)/2\gamma^+(K_{1,q}) = (q - 1)/2, and the star maximizes γ+\gamma^+, while γ△\gamma_\triangle is bounded by an absolute constant. We determine paths and grids exactly, obtaining γ+(Pn)=γ+(Pn□Pn)=1/(n−1)\gamma^+(P_n) = \gamma^+(P_n \square P_n) = 1/(n - 1), and we show that γ△(K1,q)\gamma_\triangle(K_{1,q}) tends to 2, and not to the value 3/23/2 suggested by the additive case.

We then report an exhaustive certified census of all 995 connected graphs on at most seven vertices. The degree bound is attained on 89.4% of them and the two invariants separate strictly on 84.7%, though both rates vary sharply with order: attainment runs 100%, 100%, 84.8%, 89.7% and separation 0%, 61.9%, 73.2%, 87.7% for n = 4, 5, 6, 7, so the pooled figures are dominated by the 853 graphs on seven vertices. The star is the unique maximizer of both. We also show that edit count and the bi-Lipschitz distortion of the completed host are independent invariants, moving in opposite directions on stars and on paths. Data and certificates are deposited at doi:10.5281/zenodo.21852006.

Keywords: Cayley graph, abelian group, graph editing, completion number, graph census. MSC 2020: 05C25, 05C12, 05C85, 68Q17, 20K01.

1 Introduction

A finite connected graph is rarely a Cayley graph. One response, taken by [16, 20], is to enlarge the ambient object: seek an abelian group Γ\Gamma and an isometric embedding of GG into Cay(Γ,S)\text{Cay}(\Gamma, S), paying for exactness with a host that may be much larger than GG. This paper takes the opposite route. We keep the vertex set fixed and perturb the graph, asking how few edges must be added, or added and deleted, before GG becomes an abelian Cayley graph on its own nn vertices. The smallest instance is familiar: a single added edge turns the path PnP_n into the cycle CnC_n, and CnC_n is Cay(Zn,{±1})\text{Cay}(\mathbb{Z}_n, \{\pm 1\}). We call the general answer the Cayley completion of GG and study two invariants: the completion number γ+\gamma^+, which permits additions only, and the Cayley edit distance γ△\gamma_\triangle, which permits both, each normalized by ∣E(G)∣|E(G)|.

*Laboratory of Energy, Signal, Imaging and Automation (LESIA), University of Ngaoundéré, P.O. Box 454, Ngaoundéré, Cameroon. fokamrigobert@gmail.com

†^{\dagger}LESIA, University of Ngaoundéré; and Laboratory of Scientific Artificial Intelligence and Applied Mathematics, University of Garoua, P.O. Box 346, Garoua, Cameroon. laurent.bitjoka@univ-garoua.cm

Two features make the question non-trivial. Being an abelian Cayley graph on a fixed vertex set is not a property of the abstract graph alone but of the graph together with a labeling of its vertices by group elements, so the problem carries a search over Γ\Gamma and over labelings. And regularity is necessary but far from sufficient: vertex-transitivity is already strictly weaker than being a Cayley graph [11], so the invariants do not collapse on regular graphs.

Main results. Our two principal results are the following; they are restated with proofs as Theorem 16 and Theorem 5.

Theorem A (Hardness). Deciding, for a fixed cyclic host CnC_n and a given budget B, whether G can be edited into CnC_n with at most B edits is NP-complete.

The reduction is from Hamiltonian Cycle: a labeling π:V(G)→Zn\pi: V(G) \to \mathbb{Z}_n carrying kk edges of GG onto consecutive pairs has edit cost n+m−2kn + m - 2k, so minimizing the cost is maximizing the longest path realized in the cyclic order. The completion problem is therefore hard even when the host group and its connection set are given in advance, and all of the difficulty lies in the labeling.

Theorem B (Degree bound, and the star). For every connected G,

γ+(G)  ≥  nΔ∗2m−1,\gamma^{+}(G)\;\geq\;\frac{n\Delta^{*}}{2m}-1,

computable in linear time from the degree sequence. Equality holds for the star: γ+(K1,q)=(q−1)/2\gamma^+(K_{1,q}) = (q - 1)/2, and K1,qK_{1,q} is the unique maximizer of both invariants among connected graphs on n≤7n \leq 7 vertices.

The bound isolates the obstruction that irregularity alone imposes, and says nothing else; in particular it is blind to whether the added edges can be arranged into legitimate generator classes, which is precisely the difficulty Theorem A shows to be hard. It is attained on 89.4% of our census, which makes it usable as a triage filter.

Alongside these, Section 4 records the structural fact on which the computations rest — a labeling of V(G)V(G) by Γ\Gamma sorts the edges into inverse-pair classes, each class of a host contributing either a perfect matching or a disjoint union of equal-length cycles, so the cost of a labeling depends only on the class-count vector. Section 6 determines further families exactly, including γ△(K1,q)=(2q−3)/q\gamma_{\triangle}(K_{1,q}) = (2q - 3)/q, whose limit is 2 rather than the 3/2 one might guess from the additive case, and the path and grid values γ+(Pn)=γ+(Pn□Pn)=1/(n−1)\gamma^{+}(P_n) = \gamma^{+}(P_n \square P_n) = 1/(n - 1). Section 9 reports an exhaustive certified census of all 995 connected graphs on at most seven vertices, on which the two invariants separate strictly 84.7% of the time. Appendix A describes a solver for graphs beyond exhaustive range, and Appendix B shows that edit count and bi-Lipschitz distortion of the completed host are independent invariants, moving in opposite directions on stars and on paths.