Abstract
Many regularity properties of strings, like those appearing in hardware specification and verification, can be expressed in terms of word equations. The solvability problem of word equations is NP-hard and the first algorithm to find a solution for a word equation, when this solution exists, was given by Makanin in 1977. The time complexity of Makanin’s algorithm is triple exponential in the length of the equations. In this paper we present an evolutionary algorithm with a local search procedure that is efficient for solving word equation systems. The fitness function of our algorithm is based on Levensthein distance considered as metric for the set of 0-1 binary strings. Our experimental results evidence that this metric is better suited for solving word equations than other edit metrics like, for instance, Hamming distance.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Alonso, C.L., Drubi, F., Montaña, J.L.: An Evolutionary Algorithm for Solving Word Equation Systems. In: Conejo, R., Urretavizcaya, M., Pérez-de-la-Cruz, J.L. (eds.) Current Topics in Artificial Intelligence. LNCS (LNAI), vol. 3040, pp. 147–156. Springer, Heidelberg (2004)
Alonso, C.L., Drubi, F., Gómez-García, J., Montaña, J.L.: Word Equation Systems: The Heuristic Approach. In: Bazzan, A.L.C., Labidi, S. (eds.) SBIA 2004. LNCS (LNAI), vol. 3171, pp. 83–92. Springer, Heidelberg (2004)
Angluin, D.: Finding patterns common to a set of strings, J. J. C. S. S. 21(1), 46–62 (1980)
Baader, F., Siekmann, J.H.: Unification Theory. In: Handbook of Logic in Artif. Int. and Logic Prog, vol. 2, Clarendon Press, Oxford (1994)
Eiben, A., van der Hauw, J.: Solving 3-SAT with adaptive Genetic Algorithms. In: 4th IEEE Conference on Evolutionary Computation, pp. 81–86. IEEE Press, Los Alamitos (1997)
Goldbert, D.E.: Genetic Algorithms in Search Optimization & Machine Learning. Addison Wesley Longmann, London (1989)
Gottlieb, J., Marchiori, E., Rossi, C.: Evolutionary Algorithms for the Satisfiability Problem. Evolutionary Computation 10(1) (2002)
Gutiérrez, C.: Satisfiability of word equations with constants is in exponential space. In: Proc. FOCS 1998, IEEE Computer Society Press, California (1998)
Gutiérrez, C.: Satisfiability of equations in free groups is in PSPACE. In: STOC 2000. Theory of Computing, pp. 21–27. ACM Press, New York (2000)
Levenshtein, V.I.: Bynary Coded Capable of Correcting Deletions, Insertions and Reversals. Doklads Akademii Nauk SSR 163(4), 845–848 (1965)
Makanin, G.S.: The Problem of Solvability of Equations in a Free Semigroup. Math. USSR Sbornik 32(2), 129–198 (1977)
Marchiori, E., Rossi, C.: A Flipping Genetic Algorithm for Hard 3-SAT Problems. In: Banzhaf, W., et al. (eds.) Proccedings of G.E.C.C.O., pp. 393–400 (1999)
Plandowski, W.: Satisfiability of Word Equations with Constants is in PSPACE. In: FOCS 1999, pp. 495–500 (1999)
Plandowski, W.: An efficient algorithm for solving word equations. In: Annual ACM Symposium on Theory of Computing archive Proceedings of the thirty-eighth annual ACM symposium on Theory of computing, pp. 467–476. ACM Press, New York (2006)
Plandowski, W., Rytter, W.: Application of Lempel-Ziv encodings to the Solution of Words Equations. In: Larsen, K.G., Skyum, S., Winskel, G. (eds.) ICALP 1998. LNCS, vol. 1443, pp. 731–742. Springer, Heidelberg (1998)
Robson, J.M., Diekert, V.: On quadratic Word Equations. In: Meinel, C., Tison, S. (eds.) STACS 99. LNCS, vol. 1563, pp. 217–226. Springer, Heidelberg (1999)
Srivas, M.K., Miller, S.P.: formal Verification of the AAMP5 Microprocesor. In: Hinchey, M.G., Bowen, J.P. (eds.) Application of Formal Methods, International Series in Computer Science, ch.7, pp. 125–180. Prentice-Hall, Hemel Hempstead (1995)
Ukkonen, E.: On-line construction of suffix trees. Algorithmica 14(3), 249–260 (1995)
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 2007 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Alonso, C.L., Alonso, D., Callau, M., Montaña, J.L. (2007). A Word Equation Solver Based on Levensthein Distance. In: Gelbukh, A., Kuri Morales, Á.F. (eds) MICAI 2007: Advances in Artificial Intelligence. MICAI 2007. Lecture Notes in Computer Science(), vol 4827. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-76631-5_30
Download citation
DOI: https://doi.org/10.1007/978-3-540-76631-5_30
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-76630-8
Online ISBN: 978-3-540-76631-5
eBook Packages: Computer ScienceComputer Science (R0)