This paper discusses the transformation power of Burstall and Darlington's folding/unfolding system, i.e. what kind of programs can be derived from a given one. A necessary condition of derivability is proved. The notion of inherent complexity of recursive functions in introduced. A bound on efficiency gain by folding/unfolding transformations is obtained for all reasonable computation models. The well-known partial correctness and incompleteness of the system are corollaries of the result. Examples of underivability are given, e.g. binary searching cannot be derived from linear searching, merge sorting cannot be derived from insert sorting. © 1994, Cambridge University Press. All rights reserved.
CITATION STYLE
Zhu, H. (1994). How Powerful are Folding/unfolding Transformations? Journal of Functional Programming, 4(1), 89–112. https://doi.org/10.1017/S0956796800000964
Mendeley helps you to discover research relevant for your work.