English

The edit distance of word-representable and comparability graphs

Combinatorics 2026-05-19 v1

Abstract

In this paper, we establish that the maximum edit distance of an nn-vertex graph from the hereditary property of word-representable graphs is n2/8o(n2)n^2/8-o(n^2). In addition, we establish that the maximum edit distance of an nn-vertex graph from the hereditary property of poset comparability graphs is 5n2/32o(n2)5n^2/32-o(n^2). In fact, we determine the edit distance function over all edge densities p[0,1]p\in [0,1] for the property of word-representable graphs, for the property of kk-word-representable graphs for each k2k\geq 2, and for the property comparability graphs. The latter has a peculiar structure that requires an infinite sequence of colored regularity graphs.

Cite

@article{arxiv.2605.18308,
  title  = {The edit distance of word-representable and comparability graphs},
  author = {Sergey Kitaev and Ryan R. Martin},
  journal= {arXiv preprint arXiv:2605.18308},
  year   = {2026}
}

Comments

27 pages, 7 figures

R2 v1 2026-07-22T07:18:59.144Z