Skip to main content

Minimizing NFA’s and Regular Expressions

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 3404))

Abstract

We show inapproximability results concerning minimization of nondeterministic finite automata (nfa’s) as well as regular expressions relative to given nfa’s, regular expressions or deterministic finite automata (dfa’s). We show that it is impossible to efficiently minimize a given nfa or regular expression with n states, transitions, resp. symbols within the factor o(n), unless P = PSPACE. Our inapproximability results for a given dfa with n states are based on cryptographic assumptions and we show that any efficient algorithm will have an approximation factor of at least \(\frac{n}{poly({\rm log} n)}\). Our setup also allows us to analyze the minimum consistent dfa problem.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Champarnaud, J.-M., Coulon, F.: NFA Reduction Algorithms by Means of Regular Inequalities. In: Ésik, Z., Fülöp, Z. (eds.) DLT 2003. LNCS, vol. 2710, pp. 194–205. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  2. Domaratzki, M., Kisman, D., Shallit, J.: On the Number of Distinct Languages Accepted by Finite Automata with n States. Journal of Automata, Languages and Combinatorics 7(4) (2002)

    Google Scholar 

  3. Gramlich, G.: Probabilistic and Nondeterministic Unary Automata. In: Rovan, B., Vojtáš, P. (eds.) MFCS 2003. LNCS, vol. 2747, pp. 460–469. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  4. Ilie, L., Navarro, G., Yu, S.: On NFA reductions. In: Karhumäki, J., Maurer, H., Păun, G., Rozenberg, G. (eds.) Theory Is Forever. LNCS, vol. 3113, pp. 112–124. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  5. Ilie, L., Yu, S.: Follow automata. Informat. & Computation 186, 140–162 (2003)

    Article  MATH  MathSciNet  Google Scholar 

  6. Jiang, T., McDowell, E., Ravikumar, B.: The structure and complexity of minimal NFA’s over a unary alphabet. Int. J. Found. of Comp. Sci. 2, 163–182 (1991)

    Article  MATH  MathSciNet  Google Scholar 

  7. Jiang, T., Ravikumar, B.: Minimal NFA problems are hard. SIAM Journal on Computing 22(1), 1117–1141 (1993)

    Article  MATH  MathSciNet  Google Scholar 

  8. Kearns, M., Valiant, L.G.: Cryptographic Limitations on Learning Boolean Formulae and Finite Automata. Journal of the ACM 41(1), 67–95 (1994)

    Article  MATH  MathSciNet  Google Scholar 

  9. Matz, O., Potthoff, A.: Computing small nondeterministic finite automata. In: Proc. of the Workshop on Tools and Algorithms for the Construction and Analysis of Systems, Dpt. of CS., Univ. of Aarhus, pp. 74–88 (1995)

    Google Scholar 

  10. Meyer, A.R., Stockmeyer, L.J.: The Equivalence Problem for Regular Expressions with Squaring Requires Exponential Space. In: Proc. 13th Ann. IEEE Symp. on Switching and Automata Theory, pp. 125–129 (1972)

    Google Scholar 

  11. Naor, M., Reingold, O.: Number-Theoretic constructions of efficient pseudo-random functions. Journal of the ACM 51(2), 231–262 (2004)

    Article  MathSciNet  Google Scholar 

  12. Pitt, L., Warmuth, M.K.: The Minimum Consistent DFA Problem Cannot be Approximated within any Polynomial. Journ. of the ACM 40, 95–142 (1993)

    Article  MATH  MathSciNet  Google Scholar 

  13. Pitt, L., Warmuth, M.K.: Prediction-Preserving Reducibility. Journal of Computer and System Science 41(3), 430–467 (1990)

    Article  MATH  MathSciNet  Google Scholar 

  14. Razborov, A.A., Rudich, S.: Natural Proofs. Journal of Computer and Systems Sciences 55, 24–35 (1997)

    Article  MATH  MathSciNet  Google Scholar 

  15. Stockmeyer, L., Meyer, A.: Word Problems Requiring Exponential Time. In: Proc. of the 5th Annual ACM Symposium on Theory of Computing, pp. 1–9 (1973)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2005 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Gramlich, G., Schnitger, G. (2005). Minimizing NFA’s and Regular Expressions. In: Diekert, V., Durand, B. (eds) STACS 2005. STACS 2005. Lecture Notes in Computer Science, vol 3404. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-31856-9_33

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-31856-9_33

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-24998-6

  • Online ISBN: 978-3-540-31856-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics