Algorithms, equivalence of
A binary relation connecting algorithms of a fixed type and expressing the fact that any two algorithms thus connected yield the same results if fed with the same given type of inputs (and may also yield some additional information as regards the computations thus performed — the so-called history of the computation). A few typical examples of this connection are given below.
a) Consider all possible recursive schemes — i.e. systems of equations which define -place partial recursive functions. Two schemes which define functions and are called functionally equivalent if for any natural numbers the conditional equality
is true (it is considered to be true if both its sides are meaningful at the same time and, if meaningful, assume the same value). It was shown by S.C. Kleene (see, for example, ) that for any everywhere-defined computable operator over recursive schemes it is possible to find a scheme such that and are functionally equivalent (the so-called fixed-point theorem). The consequence of this is, in particular, the Uspenskii–Rice theorem on the unsolvability of any property of recursive schemes which is invariant with respect to functional equivalence if there exist schemes and such that has this property, while scheme does not have it. The unsolvability of the relation of functional equivalence itself follows from this theorem.
b) Consider normal algorithms (cf. Normal algorithm) over a fixed alphabet . Two such algorithms and are called equivalent with respect to  if for any word in the following condition is satisfied: If one of these algorithms converts to some word which is also contained in the alphabet , then the second algorithm also converts to . These algorithms are called completely equivalent with respect to if for any in the conditional equality
is true. Both these relations are unsolvable.
c) Consider logical schemes of algorithms (Yanov schemes, ). The realization of such a scheme is a sequence of operators involved in its execution, from beginning to end. Two schemes are called equivalent if the sets of their realizations coincide. The equivalence relation of Yanov schemes proved to be solvable, and a complete system of equivalent transformations has been constructed for it , .
A detailed study of the relations of algorithmic equivalence is of major importance in the context of a number of tasks of current interest (especially in the theory of programming schemes), which can only be solved by advanced techniques of equivalent transformations of algorithms. Such problems include the translation of algorithms from one language to another and their optimization (transformations aimed at improving their "working characteristics" ). Special attention is given in this connection  to finding solvable relations of algorithmic equivalence which would permit complete systems of equivalent transformations that are convenient with regard to their applications. The concept outlined in  to a large extent determined the general approach to the study of algorithmic equivalence.
|||S.C. Kleene, "Introduction to metamathematics" , North-Holland (1951)|
|||A.A. Markov, "Theory of algorithms" , Israel Program Sci. Transl. (1961) (Translated from Russian) (Also: Trudy Mat. Inst. Steklov. 42 (1954))|
|||Yu.I. Yanov, "On logical schemes of algorithms" Problemy Kibernet. , 1 (1958) pp. 75–127 (In Russian)|
|||A.P. Ershov, "Operator algorithms III. (On Yanov operator schemes)" Problemy Kibernet. , 20 (1968) pp. 181–200 (In Russian)|
|||A.P. Ershov, "The contemporary state of the theory of programming schemes" Problemy Kibernet. , 27 (1973) pp. 87–110 (In Russian)|
Algorithms, equivalence of. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Algorithms,_equivalence_of&oldid=12948