René David ; Katarzyna Grygiel ; Jakub Kozik ; Christophe Raffalli ; Guillaume Theyssier et al.
-
Asymptotically almost all \lambda-terms are strongly normalizing
Asymptotically almost all \lambda-terms are strongly normalizingArticle
Authors: René David ; Katarzyna Grygiel ; Jakub Kozik ; Christophe Raffalli ; Guillaume Theyssier ; Marek Zaionc
NULL##NULL##0000-0002-1362-7780##NULL##NULL##NULL
René David;Katarzyna Grygiel;Jakub Kozik;Christophe Raffalli;Guillaume Theyssier;Marek Zaionc
We present quantitative analysis of various (syntactic and behavioral)
properties of random \lambda-terms. Our main results are that asymptotically
all the terms are strongly normalizing and that any fixed closed term almost
never appears in a random term. Surprisingly, in combinatory logic (the
translation of the \lambda-calculus into combinators), the result is exactly
opposite. We show that almost all terms are not strongly normalizing. This is
due to the fact that any fixed combinator almost always appears in a random
combinator.
MACIEJ BENDKOWSKI;KATARZYNA GRYGIEL;PAUL TARAU, 2017, Random generation of closed simply typed λ-terms: A synergy between logic programming and Boltzmann samplers, Theory and Practice of Logic Programming, 18, 1, pp. 97-119, 10.1017/s147106841700045x.