Title :
Folding of finite program terms to recursive program schemes
Author :
Kitzelmann, Emanuel ; Schmid, Ute ; Mühlpfordt, Martin ; Wysotzki, Fritz
Author_Institution :
Dept. of Comput. Sci., Tech. Univ. Berlin, Germany
Abstract :
We present an approach to inductive synthesis of functional programs based on the detection of recurrence relations. A given term is considered as the kth unfolding of an unknown recursive program. If a recurrence relations can be identified in the term, it can be folded into a recursive program which: (a) can reproduce the term and (b) generalizes over it. Our approach goes beyond Summers´ classical approach (1977) in several aspects: it is language independent and works for terms belonging to an arbitrary term algebra; it allows induction of sets of recursive equations which are in some arbitrary ´calls´ relation; induced equations can be dependent on more than one input parameters and we can detect interdependencies of variable substitutions in recursive calls; the given input terms can represent incomplete unfoldings of an hypothetical recursive program.
Keywords :
automatic programming; functional programming; program control structures; programming theory; rewriting systems; functional programs; induced equations; inductive synthesis; input parameters; recurrence relations; recursive equations; term rewriting; Algebra; Art; Artificial intelligence; Computer science; Equations; Natural languages; Poles and towers; Software engineering; Terminology;
Conference_Titel :
Intelligent Systems, 2002. Proceedings. 2002 First International IEEE Symposium
Print_ISBN :
0-7803-7134-8
DOI :
10.1109/IS.2002.1044245