arXiv · 1511.05334
Counting and Generating Terms in the Binary Lambda Calculus (Extended version)
Abstract
In a paper entitled Binary lambda calculus and combinatory logic, John Tromp presents a simple way of encoding lambda calculus terms as binary sequences. In what follows, we study the numbers of binary strings of a given size that represent lambda terms and derive results from their generating functions, especially that the number of terms of size n grows roughly like 1.963447954. .. n. In a second part we use this approach to generate random lambda terms using Boltzmann samplers.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Katarzyna Grygiel, Pierre Lescanne. 2015-11-17. Counting and Generating Terms in the Binary Lambda Calculus (Extended version). https://doi.org/10.1017/s0956796815000271
Cite the original work for its findings. Save a collection to share your selection of sources.