Abstract
In the paper, the equivalence checking problem for program schemas in balanced semigroup models of programs is studied. A method for constructing algorithms to resolve this problem is proposed in the case where a semigroup model of programs possesses the left cancellation property h 1 h 2 = h 1 h 3 ⟹ h 2 = h 3. The equivalence checking problem is shown to be decidable in time that polynomially depends on size of the schema being checked if the balanced semigroup model of programs possesses additionally the right cancellation property h 2 h 1 = h 3 h 1 ⟹ h 2 = h 3.
Similar content being viewed by others
References
Podlovchenko, R.I., Hierarchy of Program Models, Programmirovanie, 1981, no. 2, pp. 3–14.
Glushkov, V.M. and Letichevsky, A.A., Theory of Discrete Transformations, in Izbrannye voprosy algebry i logiki (Selected Issues of Algebra and Logics), Novosibirsk: Nauka, 1973, pp. 5–39.
Letichevsky, A.A., Equivalence of Automata Relative to Semigroups with Cancellation, Problemy kibernetiki, 1973, vol. 27, pp. 195–212.
Podlovchenko, R.I., Trace Technique in Solving Equivalence Problem in Algebraic Models of Programs, Kibernetika i sistemnyi analiz, 2009, no. 5, pp. 25–37.
Podlovchenko, R.I., On Polynomial Solvability of the Equivalence Problem in Algebraic Models of Programs, Kibernetika i sistemnyi analiz, 2011, no. 4.
Podlovchenko, R.I. and Zakharov, V.A., Polynomial in Complexity Algorithm Recognizing Commutative Equivalence in Program Schemas, Dokl. Ross. Akad. Nauk, 1998, vol. 362, no. 6, pp. 744–747.
Zakharov, V.A., Two-Tape Machinery for the Equivalence Checking of Sequential Programs, Proc. of the Int. Workshop on Program Understanding, Novosibirsk, 2009, pp. 28–40.
Zakharov, V.A., Equivalence Checking of Programs with the Help of Two-Tape Automata, Kibernetika i sistemnyi analiz, 2010, no. 4, pp. 39–48.
Author information
Authors and Affiliations
Corresponding author
Additional information
Original Russian Text © R.I. Podlovchenko, 2011, published in Programmirovanie, 2011, Vol. 37, No. 6.
Rights and permissions
About this article
Cite this article
Podlovchenko, R.I. On an equivalence checking technique for algebraic models of programs. Program Comput Soft 37, 292–298 (2011). https://doi.org/10.1134/S0361768811060065
Received:
Published:
Issue Date:
DOI: https://doi.org/10.1134/S0361768811060065