arXiv:2608.24249cs.FLAug 2026

Manuscript Offprint

arXiv:2608.24249

Language-Representability: Possibilities and Limitations

Zhidan Feng, Henning Fernau, Pamela Fleischmann, Kevin Mann, Silas Cato Sacher

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Zhidan Feng

BTU, China

zhidanfeng@bjut.edu.cn

Pamela Fleischmann

Kiel University, Germany

fpa@informatik.uni-kiel.de

Henning Fernau

Kevin Mann

Silas Cato Sacher

Trier University, Germany

{fernau,mann,sacher}@uni-trier.de

The study of word-representability was initiated by the seminal work of Kitaev and Pyatkin in 2008 that has later led to the monograph by Kitaev and Lozin in 2015. In this paper, we build on the very recent work by Fernau et al. who proposed a general framework that generalizes certain aspects of word-representability, so that any binary language describes a graph class. In this work, we systematically study particularly small languages and observe that they characterize well-known graph classes, e.g., interval, permutation, circle, and bipartite chain graphs. Thus, we strengthen the bond between formal languages and graph classes, even for small binary languages. We also show some limitations of our approach by proving that, e.g., families of sparse graphs like planar graphs cannot be characterized by any language following this approach.

1 Introduction

In classical word-representability, a word ww represents a graph GG iff the graph's vertices are exactly the word's letters and two letters in ww alternate iff they are adjacent in GG [10]. This pattern of alternation has been altered since then to overcome the disadvantage that not all graphs are word-representable in the classical way (e.g., kk-11-representability [1], permutational representability [11]). Also, word-representability has been generalized towards so-called multi-word-representability in [7, 8]; this approach is different from ours but we also introduce a generalization of both approaches. In this paper, we investigate further the recent notion of LL-representability for a formal language LL [4]. This notion allows for other patterns than alternations; in particular a binary language LL represents a class of graphs iff there exists a word w∈Lw \in L such that the projection of ww onto two letters follows the pattern given by LL iff the associated vertices are adjacent. With this new notion, we are able to change the pattern, e.g., to the language of palindromes, to Lyndon words, or to {0n1n,1n0n∣n≥1}\{0^n 1^n, 1^n 0^n | n \geq 1\} and other variants of the Dyck language, see [4], or to any other language with a certain symmetry property. Consider for instance the regular language Leven:={w∈{0,1}∗∣∣w∣0≡20∨∣w∣1≡20}L_{\text{even}} := \{w \in \{0,1\}^* | |w|_0 \equiv_2 0 \lor |w|_1 \equiv_2 0\}, i.e., the language of all words having an even number of 0s or 1s. Additionally, let w∈V∗w \in V^* be a word over the alphabet VV and v1,v2∈Vv_1, v_2 \in V. Then ww represents the following graph: if ∣v1∣0≡2∣v2∣0≡20|v_1|_0 \equiv_2 |v_2|_0 \equiv_2 0 then there is an edge between v1v_1 and v2v_2; if ∣v1∣0≡2∣v2∣0≡21|v_1|_0 \equiv_2 |v_2|_0 \equiv_2 1 then there is no edge between v1v_1 and v2v_2; lastly every vv with ∣v∣0≡20|v|_0 \equiv_2 0 is connected to every v′v' with ∣v′∣0≡21|v'|_0 \equiv_2 1. Thus, LevenL_{\text{even}} represents graphs where some vertices form a clique, the others are an independent set, and all vertices from the clique are adjacent to all vertices from the independent set - a split graph.

One of the natural syntactic complexity measures w.r.t. word-representable graphs is the representation number R(G)\mathcal{R}(G) of a graph GG which is the smallest k≥1k \geq 1 such that there is a kk-uniform word-

M. Hospodár et al. (Eds.): 17th International Conference on Automata and Formal Languages (AFL 2026) EPTCS 451, 2026, pp. 155–170, doi:10.4204/EPTCS.451.11

© Z. Feng, H. Fernau, P. Fleischmann, K. Mann, S. C. Sacher This work is licensed under the Creative Commons Attribution License.

Language-Representability: Possibilities and Limitations

representing G. For instance, it is known that a graph is a circle graph iff R(G)≤2\mathcal{R}(G) \leq 2 [2, 9]. This corresponds in our setting to L={01,10,010,101,0101,1010}L = \{01, 10, 010, 101, 0101, 1010\} characterizing circle graphs. Thus, studying languages of limited word size already gives insights into graph classes in our new setting. Unfortunately, not all graph classes are representable in this way, but this downside is compensated by the fact that we can represent or exclude whole graph classes as, e.g., each representable graph class is closed under twinning, i.e., all classes not closed under twinning cannot be representable in our setting and thus can be excluded immediately without any further proof. This excludes all sparse graph classes (like planar graphs) and complements thereof.

References (14)