2000 character limit reached
Optimal Regular Expressions for Permutations (1812.06347v1)
Published 15 Dec 2018 in cs.FL
Abstract: The permutation language $P_n$ consists of all words that are permutations of a fixed alphabet of size $n$. Using divide-and-conquer, we construct a regular expression $R_n$ that specifies $P_n$. We then give explicit bounds for the length of $R_n$, which we find to be $4n n{-(\lg n)/4+\Theta(1)}$, and use these bounds to show that $R_n$ has minimum size over all regular expressions specifying $P_n$.
- Antonio Molina Lovett (4 papers)
- Jeffrey Shallit (157 papers)