Heterogeneous absolutely free algebras with a finite number of carriers and constructors have been proved very fruitful since the specification, through systems of equations, of iterative functions on such algebras may be automatically translated into terms of second order typed lambda-calculus [Bohm Berarducci, 1985], Since many definitions of functions on data structures are given by systems of recursive (but not iterative) equations it follows that reducing recursion to iteration becomes even more suitable. In this paper we recall the definition (first given in the previous paper) of the family D of algebraic data systems (without parameters) and of the class I of iterative functions over D. We next define a primitive recursive scheme for functions whose domain is any finite cartesian product of components of D, generalizing the well known scheme for functions over the set N of nonnegative integers. Let PR be the family of functions obtained by replacing the iterative scheme by the primitive recursive scheme inside the definition of I, We prove that PR = I The method of proof essentially consists in adding new carriers and new constructors. Especially in the case of homogeneous algebras the heterogeneous algebras resulting from the extension become meaningful from the computer science point of view, as it is pointed out in the paper by examples. The relationship with the case of N is further discussed.
CITATION STYLE
Böhm, C. (1986). Reducing recursion to iteration by algebraic extension. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 213 LNCS, pp. 111–118). Springer Verlag. https://doi.org/10.1007/3-540-16442-1_8
Mendeley helps you to discover research relevant for your work.