Can we convert an NFA having $n$ states to a regular expression of length $\mathrm{poly}(n)$?
In contrast, it is well known that a regular expression of length $n$ can be easily converted to an $\mathcal{O}(n)$-state NFA.
Can we convert an NFA having $n$ states to a regular expression of length $\mathrm{poly}(n)$?
In contrast, it is well known that a regular expression of length $n$ can be easily converted to an $\mathcal{O}(n)$-state NFA.
Copyright © 2021 JogjaFile Inc.
The answer to your question is negative. See the survey article
From Finite Automata to Regular Expressions and Back—A Summary on Descriptional Complexity by Hermann Gruber and Markus Holzer, Int. J. Found. Comput. Sci. 26(8): 1009-1040 (2015),
which contains a thorough discussion of your question. Let me quote in particular Theorem 24: