RUS  ENG
Full version
JOURNALS // Program Systems: Theory and Applications // Archive

Program Systems: Theory and Applications, 2018 Volume 9, Issue 2, Pages 3–21 (Mi ps299)

Mathematical Foundations of Programming

On solving quadratic word equations

A. N. Nepeivoda

Ailamazyan Program Systems Institute of Russian Academy of Sciences

Abstract: Word equations are natural constraints in an automatic analysis of string manipulating programs. In particular, equations with at most two occurrences of each variable (quadratic word equations) are of interest of the analysis. The algorithm solving such equations with the exponential complexity is given by Yu. Hmelevskij in 1971. V. Diekert in 1999 proved that the satisfiability problem for the quadratic word equations is NP-hard. In this paper we suggest some refinements of Hmelevskij's algorithm to make it more applicable in the automatic analysis of programs. We consider the length analysis and splitting procedures and show when these refinements can be used to extract explicit solutions of the equations and when they can be used only for deciding satisfiability. (In Russian).

Key words and phrases: supercompilation, word equations.

UDC: 510.52

MSC: 20M05;02E10

Received: 16.05.2018
Accepted: 05.06.2018

DOI: 10.25209/2079-3316-2018-9-2-3-21



© Steklov Math. Inst. of RAS, 2026