English

Properties of Graphs Specified by a Regular Language

Formal Languages and Automata Theory 2021-10-13 v2

Abstract

Traditionally, graph algorithms get a single graph as input, and then they should decide if this graph satisfies a certain property Φ\Phi. What happens if this question is modified in a way that we get a possibly infinite family of graphs as an input, and the question is if there is a graph satisfying Φ\Phi in the family? We approach this question by using formal languages for specifying families of graphs, in particular by regular sets of words. We show that certain graph properties can be decided by studying the syntactic monoid of the specification language LL if a certain torsion condition is satisfied. This condition holds trivially if LL is regular. More specifically, we use a natural binary encoding of finite graphs over a binary alphabet Σ\Sigma, and we define a regular set GΣ\mathbb{G}\subseteq \Sigma^* such that every nonempty word wGw\in \mathbb{G} defines a finite and nonempty graph. Also, graph properties can then be syntactically defined as languages over Σ\Sigma. Then, we ask whether the automaton A\mathcal{A} specifies some graph satisfying a certain property~Φ\Phi. Our structural results show that we can answer this question for all "typical" graph properties. In order to show our results, we split LL into a finite union of subsets and every subset of this union defines in a natural way a single finite graph FF where some edges and vertices are marked. The marked graph in turn defines an infinite graph FF^\infty and therefore the family of finite subgraphs of FF^\infty where FF appears as an induced subgraph. This yields a geometric description of all graphs specified by LL based on splitting LL into finitely many pieces; then using the notion of graph retraction, we obtain an easily understandable description of the graphs in each piece.

Keywords

Cite

@article{arxiv.2105.00436,
  title  = {Properties of Graphs Specified by a Regular Language},
  author = {Volker Diekert and Henning Fernau and Petra Wolf},
  journal= {arXiv preprint arXiv:2105.00436},
  year   = {2021}
}

Comments

25 pages

R2 v1 2026-06-24T01:42:31.341Z