pith. sign in

arxiv: 1812.06347 · v1 · pith:EG4WKS72new · submitted 2018-12-15 · 💻 cs.FL

Optimal Regular Expressions for Permutations

classification 💻 cs.FL
keywords regularboundsexpressionspermutationssizealphabetconsistsconstruct
0
0 comments X
read the original 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 $4^n 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$.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.