Computing the exact k-metric antidimension of trees is NP-hard
Computing the exact \(k\)-metric antidimension of a tree in polynomial time for arbitrary input \(k\) is possible if and only if \(P=NP\). The decision problem of whether \(\operatorname{adim}_k(T)\le B\) for a given integer budget \(B\) is NP-complete. Hardness holds even when the tree has just one vertex of degree greater than four and an exact \(k\)-antiresolving set is guaranteed to exist. This answers the question posed by Fernández, Kuziak, Muñoz-Márquez and Yero for \(1\le k\le\kappa(T)\), where \(\kappa(T)\) is the largest exact value attained by an antiresolving set in the tree. Their question takes existence throughout this range as given and asks whether the minimum size can be computed in time polynomial in the number of vertices. Scientific Reports, final discussion in §6 · Author version of the paper posing the §6 question For a finite undirected tree \(T=(V,E)\), let \(d(x,s)\) be the number of edges on the unique path from \(x\) to \(s\). Given a proper nonempty set \(S\subset V\), group the vertices \(x\in V\setminus S\) by their distance vectors \((d(x,s))_{s\in S}\), using a common ordering of \(S\). The set \(S\) is exact \(k\)-antiresolving when the smallest group has size \(k\). Thus every group must have at least \(k\) members and some group must have exactly \(k\). The quantity \(\operatorname{adim}_k(T)\) is the minimum \(|S|\) over these sets. Grouping the vectors and checking \(|S|\le B\) verifies a candidate in polynomial time. If \(P=NP\), the budget decision can therefore be made in polynomial time, and binary search for the smallest successful budget computes \(\operatorname{adim}_k(T)\) on the promised inputs. For \(k\ge2\), a nonempty exact set must induce a connected subtree. At each vertex of that subtree, its neighbours outside the set form a single distance-vector class whenever there are any. Consequently a vertex of degree less than \(k\) in the set forces all its neighbours into the set. In the hardness construction, this means that the set contains the centre and includes or omits each branch in its entirety. The distance vectors of vertices in omitted branches then distinguish exactly their depths from the centre. The construction takes an Exact Cover by 3-Sets instance with universe \(u_1,\ldots,u_{3q}\), \(q\ge2\), and a nonempty list of triples \(E_1,\ldots,E_m\). Set \(k=2q+2\) and duplicate a triple if needed until \(m\ge k\). With \(L=2\lceil\log_2(20(m+q+1))\rceil\) and \(H=L+3q\), attach one selectable branch per triple to the centre. Each branch is a single path through depth \(L\), with two paths continuing from its last vertex through depth \(H\). At depth \(L+j\), add one leaf if \(u_j\in E_i\), attaching it to a vertex at the preceding depth in branch \(i\). Attach a further \(q+2\) branches, each a full binary tree of height \(L-1\) rooted at depth one. Extend one leaf of one such tree by a single path from depth \(L\) through depth \(H\). Set \(B\) to one plus the total number of vertices in the selectable branches. Each binary-tree branch alone exceeds \(B\), and the entire construction has polynomial size. If \(s\) selectable branches are omitted by a candidate within budget, the depth-one class has size \(q+2+s\), and the other classes through depth \(L\) contain at least that many vertices. The class at depth \(L+j\) has size \(1+2s+c_j\), where \(c_j\) counts omitted triples containing \(u_j\). The minimum is exactly \(k\) precisely when \(s=q\) and every \(c_j\ge1\). Those \(q\) triples then cover all \(3q\) elements exactly once. The existence promise holds for every constructed tree, regardless of the cover decision. Taking all vertices except those in any \(k\) selectable branches gives classes of size \(k\) through depth \(L\) and at least \(2k\) at greater depths. The reduction uses \(k\) that grows with the input. Each fixed-\(k\) complexity question requires a separate analysis.
Authors
- Zixuan He
Institutions
- University of Glasgow (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24766831
- Primary Topic
- Graph Labeling and Dimension Problems
- Type
- preprint