pith. sign in

arxiv: 1603.01758 · v3 · pith:YBDJ6RT3new · submitted 2016-03-05 · 💻 cs.LO

Normal-order reduction grammars

classification 💻 cs.LO
keywords reductiongrammarsnormal-ordercombinatorscombinatorylogicprimitiverecursive
0
0 comments X
read the original abstract

We present an algorithm which, for given $n$, generates an unambiguous regular tree grammar defining the set of combinatory logic terms, over the set $\{S,K\}$ of primitive combinators, requiring exactly $n$ normal-order reduction steps to normalize. As a consequence of Curry and Feys's standardization theorem, our reduction grammars form a complete syntactic characterization of normalizing combinatory logic terms. Using them, we provide a recursive method of constructing ordinary generating functions counting the number of $S K$-combinators reducing in $n$ normal-order reduction steps. Finally, we investigate the size of generated grammars, giving a primitive recursive upper bound.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.