English

Deciding twin-width at most 4 is NP-complete

Computational Complexity 2021-12-17 v1 Discrete Mathematics Data Structures and Algorithms Combinatorics

Abstract

We show that determining if an nn-vertex graph has twin-width at most 4 is NP-complete, and requires time 2Ω(n/logn)2^{\Omega(n/\log n)} unless the Exponential-Time Hypothesis fails. Along the way, we give an elementary proof that nn-vertex graphs subdivided at least 2logn2 \log n times have twin-width at most 4. We also show how to encode trigraphs HH (2-edge colored graphs involved in the definition of twin-width) into graphs GG, in the sense that every dd-sequence (sequence of vertex contractions witnessing that the twin-width is at most dd) of GG inevitably creates HH as an induced subtrigraph, whereas there exists a partial dd-sequence that actually goes from GG to HH. We believe that these facts and their proofs can be of independent interest.

Keywords

Cite

@article{arxiv.2112.08953,
  title  = {Deciding twin-width at most 4 is NP-complete},
  author = {Pierre Bergé and Édouard Bonnet and Hugues Déprés},
  journal= {arXiv preprint arXiv:2112.08953},
  year   = {2021}
}

Comments

30 pages, 17 figures

R2 v1 2026-06-24T08:20:33.094Z