Skip to main content

Word unification and transformation of generalized equations

  • Conference paper
  • First Online:

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

Abstract

Makanin's algorithm [Ma77] shows that it is decidable whether a word equation has a solution. The original description was hard to understand and not designed for implementation. Since words represent a fundamental data type, various authors have given improved descriptions [Pé81, Ab87, Sc90, Ja90]. In this paper we present a version of the algorithm which probably cannot be further simplified without fundamentally new insights which exceed Makanin's original ideas. We give a transformation rule which is efficient, conceptually simple and applies to arbitrary generalized equations. No further subprocedure is needed for search tree generation. In contrast to our older work in [Sc90] the presentation will be based on Jaffar's [Ja90] notion of generalized equations. We also prove that a combination of Plotkin's algorithm (see [P172], also [Le72]) and Makanin's algorithm offers a simple solution to the problem of terminating minimal and complete word unification.

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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. H. Abdulrab, “Résolution d'équations sur les mots: Etude et implémentation LISP de l'algorithme de MAKANIN,” Thèse de doctorat — Laboratoire d'informatique, Rouen 1987.

    Google Scholar 

  2. H. Abdulrab, J.-P. Pécuchet, “Solving Word Equations,” J. Symbolic Computation 8 (1989), pp. 499–521.

    Google Scholar 

  3. A.V. Aho, “Algorithms for Finding Patterns in Strings,” in Handbook of The-oretical Computer Schience (J. van Leeuwen, Ed.) Elsevier Science Publishers 1990, pp. 256–300.

    Google Scholar 

  4. F. Baader, “Unification Theory,” Proceedings of the First International Workshop on Word Equations and Related Topics IWWERT '90, (K.U. Schulz, Ed.) Tübingen 1990, Springer LNCS 572.

    Google Scholar 

  5. V.K. Bulitko, “Equations and Inequalities in a Free Group and a Free Semigroup,” Tul. Gos. Ped. Inst. Učen. Zap. Mat. Kafedr Vyp.2, Geometr. i Algebra, (1970), pp. 242–252 (Russian).

    Google Scholar 

  6. A. Colmerauer, “Final Specification for Prolog III,” ESPRIT Ref. number P1219(1106), 1988.

    Google Scholar 

  7. D.C. Cooper, “Theorem Proving in Arithmetic without Multiplication,” Machine Intelligence 7 (1972), pp. 82–95.

    Google Scholar 

  8. J.I. Hmelevskii, “Equations in Free Semigroups”, Trudy Mat. Inst. Steklov, Vol. 107, 1971; English translation: Proc. Steklov Inst. of Mathematics, Vol 107, 1971.

    Google Scholar 

  9. J. Jaffar, “Minimal and Complete Word Unification”, Journal of the ACM 37, No. 1, 1990, pp. 47–85.

    Google Scholar 

  10. A. KoŚcielski, L. Pacholski, “Complexity of Makanin's Algorithms”, Research Report, University of Wroclaw (1991); preliminary version: Complexity of Unification in Free Groups and Free Semigroups, Proceedings 31st annual IEEE Symposium on Foundations of Computer Science, Los Alamitos 1990, pp.824–829.

    Google Scholar 

  11. A. Lentin, “Equations in Free Monoids”, in Automata Languages and Programming, (M.Nivat, Ed.) North Holland Publishers, Amsterdam 1972, pp. 67–85.

    Google Scholar 

  12. A. Leutin, M.P. Schützenberger, “A Combinatorial Problem in the Theory of Free Monoids”, in Proceedings of the University of North Carolina, (1967) pp. 67–85.

    Google Scholar 

  13. M. Livesey, J. Siekmann, “Termination and Decidability Results for String Unification”, Essex University, 1975.

    Google Scholar 

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

    Google Scholar 

  15. G.S. Makanin, “Recognition of the Rank of Equations in a free semigroup”, Math. USSR Izvestija Vol. 14 (1980) No. 3, pp. 499–545.

    Google Scholar 

  16. G.S. Makanin, “Equations in a free semigroup”, Amer. Math. Soc. Transl. (2) Vol. 117 (1981).

    Google Scholar 

  17. J.P. Pécuchet, “Equations avec constantes et algorithme de Makanin”, Thèse de doctorat, Laboratoire d' informatique, Rouen 1981.

    Google Scholar 

  18. G. Plotkin, “Building-in Equational Theories”, Machine Intelligence 7 (1972), pp. 73–90.

    Google Scholar 

  19. K.U. Schulz, “Makanin's Algorithm — Two Improvements and a Generalization”, (Habilitationsschrift), CIS-Report 91-39, University of Munich, also in Proceedings of the First International Workshop on Word Equations and Related Topics IWWERT '90, Tübingen 1990, Springer LNCS 572.

    Google Scholar 

  20. K.U. Schulz, “Word Unification and Transformation of Generalized Equations”, to appear in the Journal of Automated Reasoning.

    Google Scholar 

  21. J. Siekmann,“Unification and Matching Problems”, Ph.D. Thesis, Essex University, Memo CSA-4-78, 1978.

    Google Scholar 

  22. J. Siekmann,“Unification Theory: A Survey”, in C. Kirchner (Ed.), Special Issue on Unification, Journal of Symbolic Computation 7, 1989.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Habib Abdulrab Jean-Pierre Pécuchet

Rights and permissions

Reprints and permissions

Copyright information

© 1993 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Schulz, K.U. (1993). Word unification and transformation of generalized equations. In: Abdulrab, H., Pécuchet, JP. (eds) Word Equations and Related Topics. IWWERT 1991. Lecture Notes in Computer Science, vol 677. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-56730-5_36

Download citation

  • DOI: https://doi.org/10.1007/3-540-56730-5_36

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

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

  • Online ISBN: 978-3-540-47636-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics