Combinatorics of -terms: a natural approach

M Bendkowski, K Grygiel, P Lescanne… - Journal of Logic and …, 2017 - academic.oup.com
We consider combinatorial aspects of-terms in the model based on de Bruijn indices where
each building constructor is of size one. Surprisingly, the counting sequence for-terms …

Boltzmann samplers for closed simply-typed lambda terms

M Bendkowski, K Grygiel, P Tarau - … PADL 2017, Paris, France, January 16 …, 2017 - Springer
Simply-typed lambda terms are often used in the internal language of compilers and proof
assistants, for which generation of large, uniformly distributed random terms is instrumental …

On the number of unary-binary tree-like structures with restrictions on the unary height

O Bodini, D Gardy, B Gittenberger… - Annals of Combinatorics, 2018 - Springer
We investigate various classes of Motzkin trees as well as lambda-terms for which we derive
asymptotic enumeration results. These classes are defined through various restrictions …

On the number of lambda terms with prescribed size of their de Bruijn representation

B Gittenberger, Z Gołębiewski - arXiv preprint arXiv:1509.06139, 2015 - arxiv.org
John Tromp introduced the so-called'binary lambda calculus' as a way to encode lambda
terms in terms of binary words. Later, Grygiel and Lescanne conjectured that the number of …

A hiking trip through the orders of magnitude: deriving efficient generators for closed simply-typed lambda terms and normal forms

P Tarau - Logic-Based Program Synthesis and Transformation …, 2017 - Springer
Contrary to several other families of lambda terms, no closed formula or generating function
is known and none of the sophisticated techniques devised in analytic combinatorics can …

[HTML][HTML] Enumerating lambda terms by weighted length of their de bruijn representation

O Bodini, B Gittenberger, Z Gołębiewski - Discrete Applied Mathematics, 2018 - Elsevier
John Tromp introduced the so-called 'binary lambda calculus' as a way to encode lambda
terms in terms of 0–1-strings using the de Bruijn representation along with a weighting …

Statistical properties of lambda terms

M Bendkowski, O Bodini, S Dovgal - arXiv preprint arXiv:1805.09419, 2018 - arxiv.org
We present a quantitative, statistical analysis of random lambda terms in the de Bruijn
notation. Following an analytic approach using multivariate generating functions, we …

Random generation of closed simply typed λ-terms: A synergy between logic programming and Boltzmann samplers

M Bendkowski, K Grygiel, P Tarau - Theory and Practice of Logic …, 2018 - cambridge.org
A natural approach to software quality assurance consists in writing unit tests securing
programmer-declared code invariants. Throughout the literature, a great body of work has …

Almost Every Simply Typed Lambda-Term Has a Long Beta-Reduction Sequence

K Asada, N Kobayashi, R Sin'Ya… - Logical Methods in …, 2019 - lmcs.episciences.org
It is well known that the length of a beta-reduction sequence of a simply typed lambda-term
of order k can be huge; it is as large as k-fold exponential in the size of the lambda-term in …

Almost Every Simply Typed-Term Has a Long-Reduction Sequence

R Sin'Ya, K Asada, N Kobayashi, T Tsukada - International Conference on …, 2017 - Springer
It is well known that the length of a β-reduction sequence of a simply typed λ-term of order k
can be huge; it is as large as k-fold exponential in the size of the λ-term in the worst case …