Title :
On Synergies between Type Inference, Generation and Normalization of SK-Combinator Trees
Author_Institution :
Dept. of Comput. Sci. &
Abstract :
The S and K combinator expressions form a well-known Turing-complete subset of the lambda calculus. Using Prolog as a meta-language, we specify evaluation, type inference and combinatorial generation algorithms for SK-combinator trees. In the process, we unravel properties shedding new light on interesting aspects of their structure and distribution. We study the proportion of well-typed terms among size-limited SK-expressions as well as the type-directed generation of terms of sizes smaller than the size of their simple types. We also introduce the well-typed frontier of an untypable term and we use it to design a simplification algorithm for untypable terms taking advantage of the fact that well-typed terms are normalizable.
Keywords :
"Inference algorithms","Calculus","Binary trees","Generators","Logic programming","Computational modeling","Transforms"
Conference_Titel :
Symbolic and Numeric Algorithms for Scientific Computing (SYNASC), 2015 17th International Symposium on
DOI :
10.1109/SYNASC.2015.33