Skip to main content

Weak Minimization of DFA — An Algorithm and Applications

  • Conference paper
  • First Online:
Book cover Implementation and Application of Automata (CIAA 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2759))

Included in the following conference series:

  • 349 Accesses

Abstract

DFA minimization is a central problem in algorithm design and is based on the notion of DFA equivalence: Two DFA’s are equivalent if and only if they accept the same set of strings. In this paper, we propose a new notion of DFA equivalence (that we call weak-equivalence):We say that two DFA’s are weakly equivalent if they both accept the same number of strings of length k for every k. The motivation for this problem is as follows. A large number of counting problems can be solved by encoding the combinatorial objects we want to count as strings over a finite alphabet. If the collection of encoded strings is accepted by a DFA, then standard algorithms from computational linear algebra can be used to solve the counting problem efficiently. When applying this approach to largwe-scale applications, the bottleneck is the space complexity since the computation involves a matrix of order k × k if k is the size of the underlying DFA M. This leads to the natural question: Is there a smaller DFA that is weakly equivalent to M? We present an algorithm of time complexity O(k 2) to find a compact DFA equivalent to a given DFA. We illustrate, in the case of tiling problem, that our algorithm reduces a (strongly minimal) DFA by a factor close to 2.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. D. Coppersmith and S. Winograd: Matrix Multiplication via Arithmetic Progressions. Journal of Symbolic Computation 9(3): 251–280 (1990).

    Article  MATH  MathSciNet  Google Scholar 

  2. M. Garey and D. Johnson, Computers and Intractability-A Guide to the Theory of NP-completeness, W.H. Freeman & Sons (1979).

    Google Scholar 

  3. J. Hopcroft and J. Ullman, Introduction to Automata, Languages and Theory of Computation, Addison-Wesley, Inc. (1979).

    Google Scholar 

  4. T. Jiang and B. Ravikumar, Minimal NFA problems are hard, SIAM Journal on Computing Vol. 22, No. 6, 1117–1141, (1993).

    Article  MATH  MathSciNet  Google Scholar 

  5. D. Klarner and J. Pollack, Domino tilings with rectangles of fixed width, Discrete Mathematics 32 (1980), 45–52.

    Article  MATH  MathSciNet  Google Scholar 

  6. C. L. Liu, Introduction to Combinatorial Mathematics, McGraw Hill, New York, NY, 1968.

    MATH  Google Scholar 

  7. N. Madras and G. Slade, The Self-avoiding walk, Birkhauser, Boston, MA, 1993.

    MATH  Google Scholar 

  8. M. Ogihara and S. Toda, The complexity of computing the number of selfavoiding walks, Mathematical Foundations of Computer Science 2001, Editors: J. Sgall et al., Springer-Verlag Lecture Notes in Computer Science, Vol. 2136, 585–597.

    Chapter  Google Scholar 

  9. L. Pachter, Combinatorial Approaches and Conjectures for 2-Divisibility Problems Concerning Domino Tilings of Polyominoes, Electronic Journal of Combinatorics 4 (1997), #R29.

    Google Scholar 

  10. A. Ponitz and P. Tittmann, Improved Upper Bounds for Self-Avoiding Walks in Zd, Electronic Journal of Combinatorics 7 (2000), # R 21.

    Google Scholar 

  11. J. Propp, A reciprocity theorem for domino tilings, Electronic Journal of Combinatorics 8 (2001), # R 18.

    Google Scholar 

  12. R. Stanley, On dimer coverings of rectangles of fixed width, Discrete Applied Mathematics 12 (1985), 81–87.

    Article  MATH  MathSciNet  Google Scholar 

  13. R. Stearns and H. Hunt, On the quivalence and containment problems for unambiguous regular expressions, regular grammars and finite automata, SIAM Journal on Computing 14 (1985), 598–611.

    Article  MATH  MathSciNet  Google Scholar 

  14. L. Valiant, The complexity of enumeration and reliability problems, SIAM Journal on Computing, 8(3): 410–421, 1979.

    Article  MATH  MathSciNet  Google Scholar 

  15. H. Wilf, The problem of kings, Electronic Journal of Combinatorics. 2 (1995), #R3.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Ravikumar, B. (2003). Weak Minimization of DFA — An Algorithm and Applications. In: Ibarra, O.H., Dang, Z. (eds) Implementation and Application of Automata. CIAA 2003. Lecture Notes in Computer Science, vol 2759. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45089-0_21

Download citation

  • DOI: https://doi.org/10.1007/3-540-45089-0_21

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40561-0

  • Online ISBN: 978-3-540-45089-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics