Skip to main content

Monadic Second-Order Unification Is NP-Complete

  • Conference paper
Rewriting Techniques and Applications (RTA 2004)

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

Included in the following conference series:

Abstract

Monadic Second-Order Unification (MSOU) is Second-Order Unification where all function constants occurring in the equations are unary. Here we prove that the problem of deciding whether a set of monadic equations has a unifier is NP-complete. We also prove that Monadic Second-Order Matching is also NP-complete.

This research has been partially supported by the CICYT Research Projects CADVIAL (TIC2001-2392-C03-01) and LOGFAC (TIC2001-1577-C03-01).

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. Farmer, W.M.: A unification algorithm for second-order monadic terms. Annals of Pure and Applied Logic 39, 131–174 (1988)

    Article  MATH  MathSciNet  Google Scholar 

  2. Farmer, W.M.: Simple second-order languages for wich unification is undecidable. Theoretical Computer Science 87, 173–214 (1991)

    Article  MathSciNet  Google Scholar 

  3. Garey, M., Johnson, D.: “Computers and Intractability”: A guide to the theory of NP-completeness. W.H. Freeman and Co., San Francisco (1979)

    MATH  Google Scholar 

  4. Goldfarb, W.D.: The undecidability of the second-order unification problem. Theoretical Computer Science 13, 225–230 (1981)

    Article  MATH  MathSciNet  Google Scholar 

  5. Huet, G.: A unification algorithm for typed λ-calculus. Theoretical Computer Science 1, 27–57 (1975)

    Article  MathSciNet  Google Scholar 

  6. Kościelski, A., Pacholski, L.: Complexity of Makanin’s algorithm. Journal of the ACM 43(4), 670–684 (1996)

    Article  MATH  MathSciNet  Google Scholar 

  7. Levy, J.: Decidable and undecidable second-order unification problems. In: Nipkow, T. (ed.) RTA 1998. LNCS, vol. 1379, pp. 47–60. Springer, Heidelberg (1998)

    Chapter  Google Scholar 

  8. Levy, J., Veanes, M.: On the undecidability of second-order unification. Information and Computation 159, 125–150 (2000)

    Article  MATH  MathSciNet  Google Scholar 

  9. Levy, J., Villaret, M.: Currying second-order unification problems. In: Tison, S. (ed.) RTA 2002. LNCS, vol. 2378, pp. 326–339. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  10. Makanin, G.S.: The problem of solvability of equations in a free semigroup. Math. USSR Sbornik 32(2), 129–198 (1977)

    Article  MATH  Google Scholar 

  11. Plandowski, W.: Testing equivalence of morphisms in context-free languages. In: van Leeuwen, J. (ed.) ESA 1994. LNCS, vol. 855, pp. 460–470. Springer, Heidelberg (1994)

    Chapter  Google Scholar 

  12. Plandowski, W.: The Complexity of the Morphism Equivalence Problem for Context-Free Languages. PhD thesis, Department of Mathematics, Informatics and Mechanics, Warsaw University (1995)

    Google Scholar 

  13. Plandowski, W.: Satisfiability of word equations with constants is in PSPACE. In: Proc. of the 40th IEEE Annual Symposium on Foundations of Computer Science (FOCS 1999), pp. 495–500 (1999)

    Google Scholar 

  14. Schmidt-Schauß, M.: Stratified context unification is in PSPACE. In: Fribourg, L. (ed.) CSL 2001 and EACSL 2001. LNCS, vol. 2142, pp. 498–512. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  15. Schmidt-Schauß, M.: Decidability of bounded second order unification. Information and Computation 188(2), 143–178 (2004)

    Article  MATH  MathSciNet  Google Scholar 

  16. Schmidt-Schauß, M., Schulz, K.U.: On the exponent of periodicity of minimal solutions of context equations. In: Nipkow, T. (ed.) RTA 1998. LNCS, vol. 1379, pp. 61–75. Springer, Heidelberg (1998)

    Chapter  Google Scholar 

  17. Zhezherun, A.P.: Decidability of the unification problem for second order languages with unary function symbols. Kibernetika (Kiev) 5, 120–125 (1979); Translated as Cybernetics 15(5), 735–741 (1980)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Levy, J., Schmidt-Schauß, M., Villaret, M. (2004). Monadic Second-Order Unification Is NP-Complete. In: van Oostrom, V. (eds) Rewriting Techniques and Applications. RTA 2004. Lecture Notes in Computer Science, vol 3091. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-25979-4_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-25979-4_4

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-22153-1

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

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics