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.
References
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.
H. Abdulrab, J.-P. Pécuchet, “Solving Word Equations,” J. Symbolic Computation 8 (1989), pp. 499–521.
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.
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.
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).
A. Colmerauer, “Final Specification for Prolog III,” ESPRIT Ref. number P1219(1106), 1988.
D.C. Cooper, “Theorem Proving in Arithmetic without Multiplication,” Machine Intelligence 7 (1972), pp. 82–95.
J.I. Hmelevskii, “Equations in Free Semigroups”, Trudy Mat. Inst. Steklov, Vol. 107, 1971; English translation: Proc. Steklov Inst. of Mathematics, Vol 107, 1971.
J. Jaffar, “Minimal and Complete Word Unification”, Journal of the ACM 37, No. 1, 1990, pp. 47–85.
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.
A. Lentin, “Equations in Free Monoids”, in Automata Languages and Programming, (M.Nivat, Ed.) North Holland Publishers, Amsterdam 1972, pp. 67–85.
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.
M. Livesey, J. Siekmann, “Termination and Decidability Results for String Unification”, Essex University, 1975.
G.S. Makanin, “The problem of solvability of equations in a free semigroup”, Math. USSR Sbornik 32, 2 (1977), pp. 129–198.
G.S. Makanin, “Recognition of the Rank of Equations in a free semigroup”, Math. USSR Izvestija Vol. 14 (1980) No. 3, pp. 499–545.
G.S. Makanin, “Equations in a free semigroup”, Amer. Math. Soc. Transl. (2) Vol. 117 (1981).
J.P. Pécuchet, “Equations avec constantes et algorithme de Makanin”, Thèse de doctorat, Laboratoire d' informatique, Rouen 1981.
G. Plotkin, “Building-in Equational Theories”, Machine Intelligence 7 (1972), pp. 73–90.
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.
K.U. Schulz, “Word Unification and Transformation of Generalized Equations”, to appear in the Journal of Automated Reasoning.
J. Siekmann,“Unification and Matching Problems”, Ph.D. Thesis, Essex University, Memo CSA-4-78, 1978.
J. Siekmann,“Unification Theory: A Survey”, in C. Kirchner (Ed.), Special Issue on Unification, Journal of Symbolic Computation 7, 1989.
Author information
Authors and Affiliations
Editor information
Rights 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