平面常规语言


32

在我的课上,一个学生问是否可以画出所有有限的自动机而不会交叉边缘(看来我的所有例子都做到了)。当然答案是否定的,这是语言{x{a,b}#a(x)+2#b(x)0mod5}K5

我的问题是:如何显示这种语言的每个有限状态自动机都是非平面的?使用Myhill-Nerode之类的特征,可以确定该语言的结构已出现在图表中,但是我们如何精确地做到这一点呢?

And if that can be done, is there a characterization of "planar regular languages"?


Also, the problem of deciding whether a regular language can be recognized by a planar DFA seems hard. Its decidability is open, and it has links with open problems in graph theory.
Denis

Answers:


29

It isn't true that every DFA for this language is non-planar:

Counterexample

Here is a language that is truly non-planar:

{x{σ1,,σ6}|i=16i#σi(x)0(mod7)}.
Take any planar FSA for this language. If we remove all unreachable states, we still get a planar graph. Each reachable state has six distinct outgoing edges, which contradicts the known fact that every planar graph has a vertex of degree at most five.


21

The concept has been researched before. (Once you know the answer, google for it ...)

First there is old work by Book and Chandra, with the following abstract.

Summary. It is shown that for every finite-state automaton there exists an equivalent nondeterministic automaton with a planar state graph. However there exist finite-state automata with no equivalent deterministic automaton with a planar state graph.

The example and argumentation given is exactly the one by Yuval in his answer!

Moreover they also consider the binary alphabet.

There is a 35-state inherently nonplanar deterministic automaton over a 2-letter alphabet.

This work is continued rather recently by Bonfante and Deloup. They consider topological embeddings. Informally the genus of a graph is the number of holes that have to be added to embed the graph a surface without crossing edges. Graphs with genus zero are planar. Then the genus of a language is the minimal genus of the automata for the language.

Theorem 9 (Genus-Based Hierarchy). There are regular languages of arbitrarily large genus.

In the section "State-minimal automata versus genus-minimal automata" one finds the result, the proof of which is the first example given by Yuval (ten states to make the five state K5 language planar).

Proposition 7. There are deterministic automata with a genus strictly lower than the genus of their corresponding minimal automaton.

G.Bonfante, F.Deloup: The genus of regular languages, Mathematical Structures in Computer Science, 2018. doi 10.1017/S0960129516000037. Also ArXiv 1301.4981 (2013)

R.V. Book, A. K. Chandra, Inherently Nonplanar Automata, Acta informatica 6 (1976) doi 10.1007/BF00263745

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.