English

Towards Settling the Complexity of the Lettericity Problem

Data Structures and Algorithms 2026-05-11 v1

Abstract

The lettericity of a graph G=(V,E)G=(V,E) is defined as the smallest size of an alphabet Σ\Sigma such that there is a word w1wVΣw_1 \dots w_{|V|} \in \Sigma^* and a decoder DΣ2\mathcal{D} \subseteq \Sigma^2 with the property that GG is isomorphic to the letter graph G(D,w)G(\mathcal{D}, w), that is, the graph with vertex set {1,,n}\{1, \dots, n\} and edge set {ij1i<jn,wiwjD}\{ij \mid 1\leq i < j \leq n, w_iw_j \in \mathcal{D}\}. Note that G(D,w)G(\mathcal{D}, w) can be seen as a graph with inherent coloring χ ⁣:V(G)Σ\chi \colon V(G) \rightarrow \Sigma. It is unknown whether the lettericity of a given graph can be computed in polynomial time. The problem to determine the lettericity of a given graph is called the lettericity problem. As a step towards answering the complexity of this problem, we investigate the following retrieval problems: given a graph GG together with two of the three solution-objects (word ww, decoder D\mathcal{D}, and coloring χ\chi), the goal is to compute the third solution-object. We show that word retrieval and decoder retrieval are solvable in polynomial time, while coloring retrieval is equivalent to the graph isomorphism problem. Beyond this, we introduce symmetric lettericity which is a restricted version of lettericity where each decoder needs to be symmetrical (abDab\in \mathcal{D} if and only if baDba\in \mathcal{D}). As we show, the symmetric lettericity of a graph always equals the neighborhood diversity of the graph, which in fact can be computed in linear time.

Keywords

Cite

@article{arxiv.2605.07899,
  title  = {Towards Settling the Complexity of the Lettericity Problem},
  author = {Mario Grobler and Nils Morawietz and Silas Cato Sacher},
  journal= {arXiv preprint arXiv:2605.07899},
  year   = {2026}
}
R2 v1 2026-07-01T12:58:02.142Z