Namespaces
Variants
Actions

Refal

From Encyclopedia of Mathematics
Revision as of 17:17, 7 February 2011 by 127.0.0.1 (talk) (Importing text file)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

algorithmic language of recursive functions

An algorithmic language oriented towards problems of conversion of symbolic information. In its original version it was called a "meta-algorithmic language" (see [1]). Refal was created as a universal meta-language for describing the conversion of linguistic objects. It is used when translating from one algorithmic language into another, in the machine realization of analytic calculations, in proving theorems, in translating between natural languages, etc.

Writing an algorithm in Refal consists of describing a specific number of recursive functions on a set of expressions, (i.e. sequences of symbols and brackets) correctly constructed (in the usual sense) relative to the brackets. The value of a function on an argument is expressed in Refal in the form , where is the sign for concretization, which serves as a specific instruction on the need to calculate the value of the function, and the symbol denotes the closing bracket for . The description of a function is split up into several propositions (rules of concretization) relating to particular forms of the argument. For example, the function of addition in recursive arithmetic is described in Refal by two propositions:

1) ,

2) .

A proposition consists of a left- and a right-hand part, separated by the sign , and it can include free variables (such as and ). It is considered to be applicable in the concretization of an expression of the form , if the latter can be identified with the left-hand part of a proposition for certain values of the free variables contained in it. The application of a proposition consists of substituting the formula being concretized for the right-hand part of the proposition in which the free variables are replaced by their values. In order to calculate the value of a function, propositions are examined in succession and the first one that appears suitable is used. This process is repeated as long as the signs enter the object.

Efficient translators have been developed for the realization of programs in Refal (see [3], [4]; see [5] for an example of the use of Refal for machine calculations in theoretical physics).

References

[1] V.F. Turchin, "A meta-algorithmic language" Kibernetika : 4 (1968) pp. 45–54 (In Russian) (English abstract)
[2] V.F. Turchin, V.I. Serdobol'skii, "The language REFAL and its use for transformation of algebraic expressions" Kibernetika : 3 (1969) pp. 58–62 (In Russian) (English abstract)
[3] S.N. Florentzev, V.Yu. Olyunin, V.F. Turchin, , Proc. 1-st all-union Conf. on programming , Kiev (1968) pp. 114–133 (In Russian)
[4] S.A. Romanenko, V.F. Turchin, , Proc. 2-nd all-union Conf. on programming , Novosibirsk (1970) pp. 31–42 (In Russian)
[5] A.P., et al. Budnit, Yadernaya Fizika , 14 (1971) pp. 304–313
How to Cite This Entry:
Refal. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Refal&oldid=48467
This article was adapted from an original article by V.F. Turchin (originator), which appeared in Encyclopedia of Mathematics - ISBN 1402006098. See original article