TL;DR
This paper introduces an algorithm to generate unambiguous regular tree grammars that characterize combinatory logic terms requiring a specific number of normal-order reduction steps, enabling precise counting and analysis.
Contribution
It provides the first recursive method to construct grammars for normalizing combinatory logic terms and analyzes their size with a primitive recursive bound.
Findings
Generated grammars precisely characterize normalizing terms.
Recursive formulas count combinators by reduction steps.
Size of grammars has a primitive recursive upper bound.
Abstract
We present an algorithm which, for given , generates an unambiguous regular tree grammar defining the set of combinatory logic terms, over the set of primitive combinators, requiring exactly 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 -combinators reducing in normal-order reduction steps. Finally, we investigate the size of generated grammars, giving a primitive recursive upper bound.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
