Skip to main content

On the complexity of unification and disunification in commutative idempotent semigroups

  • Session 5a
  • Conference paper
  • First Online:
Principles and Practice of Constraint Programming-CP97 (CP 1997)

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

  • 134 Accesses

Abstract

We analyze the computational complexity of elementary unification and disunification problems for the equational theory ACI of commutative idempotent semigroups. From earlier work, it was known that the decision problem for elementary ACI-unification is solvable in polynomial time. We show that this problem is inherently sequential by establishing that it is complete for polynomial time (P-complete) via logarithmic-space reductions. We also investigate the decision problem and the counting problem for elementary ACI-matching and observe that the former is solvable in logarithmic space, but the latter is #P-complete. After this, we analyze the computational complexity of the decision problem for elementary ground ACI-disunification. Finally, we study the computational complexity of a restricted version of elementary ACI-matching, which arises naturally as a set-term matching problem in the context of the logic data language LDL. In both cases, we delineate the boundary between polynomial-time solvability and NP-hardness by taking into account two parameters, the number of free constants and the number of disequations or equations.

Research of this author was partially supported by NSF Grant CCR-9610257.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. N. Arni, S. Greco, and D. Saccá. Matching of bounded set terms in the logic language LDL++. J. Logic Prog., 27(1):73–87, 1996.

    Google Scholar 

  2. F. Baader and W. Büttner. Unification in commutative idempotent monoids. Theoretical Comp. Sci., 56(3):345–353, 1988.

    Google Scholar 

  3. D. Benanav, D. Kapur, and P. Narendran. Complexity of matching problems. J. Symb. Comp., 3:203–216, 1987.

    Google Scholar 

  4. S.A. Cook. An observation on time-storage trade off. J. of Comp. and System Sci., 9(3):308–316, 1974.

    Google Scholar 

  5. W.F. Dowling and J.H. Gallier. Linear-time algorithms for testing the satis fiability of propositional Horn formulae. J. Logic Prog., 1(3):267–284, 1984.

    Google Scholar 

  6. C. Dwork, P.C. Kanellakis, and J.C. Mitchell. On the sequential nature of unification. J. Logic Prog., 1:35–50, 1984.

    Google Scholar 

  7. R. Greenlaw, H.J. Hoover, and W.L. Ruzzo. Limits to parallel computation: P-completeness theory. Oxford University Press, New York, 1995.

    Google Scholar 

  8. M.R. Garey and D.S. Johnson. Computers and intractability: A guide to the theory of NP-completeness. W.H. Freeman and Co, 1979.

    Google Scholar 

  9. M. Hermann and P.G. Kolaitis. The complexity of counting problems in equational matching. J. Symb. Comp., 20(3):343–362, 1995.

    Google Scholar 

  10. M. Hermann and P.G. Kolaitis. Computational complexity of simultaneous elementary matching problems. In J. Wiedermann and P. Hájek, eds, Proc. 20th MFCS, Prague (Czech Republic), LNCS 969, pp 359–370. Springer, 1995.

    Google Scholar 

  11. N.D. Jones and W.T. Laaser. Complete problems for deterministic polynomial time. Theoretical Comp. Sci., 3(1):105–117, 1976.

    Google Scholar 

  12. D.S. Johnson. A catalog of complexity classes. In J. van Leeuwen, ed, Handbook of Theoretical Computer Science, Volume A, chapter 2, pp 67–161. North-Holland, Amsterdam, 1990.

    Google Scholar 

  13. D. Kapur and P. Narendran. NP-completeness of the set unification and matching problems. In J.H. Siekmann, ed, Proc. 8th CADE, Oxford (England), LNCS 230, pp 489–495. Springer, 1986.

    Google Scholar 

  14. D. Kapur and P. Narendran Complexity of unification problems with associative-commutative operators. J. of Autom. Reasoning, 9:261–288, 1992.

    Google Scholar 

  15. P. Narendran. Unification modulo ACI+1+0. Fundamenta Informaticac, 25(1):49–57, 1996.

    Google Scholar 

  16. C.H. Papadimitriou. Computational complexity. Addison-Wesley, 1994.

    Google Scholar 

  17. D.A. Plaisted. Complete problems in the first-order predicate calculus. J. of Comp. and System Sci., 29(1):8–35, 1984.

    Google Scholar 

  18. O. Shmueli, S. Tsur, and C. Zaniolo. Compilation of set terms in the logic data language (LDL). J. Logic Prog., 12(1 & 2):89–119, 1992.

    Google Scholar 

  19. L.G. Valiant. The complexity of computing the permanent. Theoretical Comp. Sci., 8:189–201, 1979.

    Google Scholar 

  20. L.G. Valiant. The complexity of enumeration and reliability problems. SIAM J. on Comp., 8(3):410–421, 1979.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Gert Smolka

Rights and permissions

Reprints and permissions

Copyright information

© 1997 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Hermann, M., Kolaitis, P.G. (1997). On the complexity of unification and disunification in commutative idempotent semigroups. In: Smolka, G. (eds) Principles and Practice of Constraint Programming-CP97. CP 1997. Lecture Notes in Computer Science, vol 1330. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0017446

Download citation

  • DOI: https://doi.org/10.1007/BFb0017446

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

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

  • Online ISBN: 978-3-540-69642-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics