Improving Programs which Recurse over Multiple Inductive Structures

Leonidas Fegaras,Tim Sheard,Tong Zhou
1994-01-01
Abstract:This paper considers generic recursion schemes for programs which recurse over multiple inductive structures simultaneously, such as equality, zip and the nth element of a list function. Such schemes have been notably absent from pervious work. This paper defines a uniform mechanism for defining such programs and shows that these programs satisfy generic theorems. These theorems are the basis for an automatic improvement algorithm. This algorithm is an improvement over the algorithm presented earlier [15] because, in addition to inducting over multiple structures, it can be incorporated into any algebraic language and is no longer restricted to a "safe" subset.
What problem does this paper attempt to address?