Every Regular Language Has a Bipartite Cactus Automaton
Abstract
Thompson's classical construction turns every regular expression into an equivalent epsilon-NFA whose transition graph is series-parallel. The construction uses epsilon-transitions, and eliminating them by the usual shortcut construction need not preserve planarity or the bound of two on the treewidth of the transition graph. Book and Chandra proved that every regular language nevertheless has an epsilon-free NFA with a planar transition graph. We show that the transition graph can in fact be chosen to be a bipartite cactus: every cycle is even, and any two cycles have at most one vertex in common. In particular, it is outerplanar and has treewidth at most two. This is a considerably more simple structure than the general series-parallel guarantee supplied by Thompson's construction. The proof is a direct induction on parity-typed regular expressions and uses only elementary closure properties of cactus graphs.
Create a lesson
Related papers
Conditional Membership in Regular Languages
Shared title terminology · Antoine Amarilli, Sebastien Felipe Labbe, Charles Paperman
Translation of Regular Expression with Lookahead into Finite State Automaton
Shared title terminology · Akimasa Morihata
Decision trees for subword-closed languages over arbitrary finite alphabets
Shared title terminology · Shahid Hussain
The Regular Cover Problem is NP-complete
Shared title terminology · Stefan Hetzl, Parham Shadman
The Left Ripple of Byte-Pair Encoding: Certified Lookbehind for Every Dictionary
Shared title terminology · Nicklas Nidhögg
Regular Separability for Bidirected VASS
Shared title terminology · Łukasz Orlikowski, Georg Zetzsche