Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
169 tokens/sec
GPT-4o
7 tokens/sec
Gemini 2.5 Pro Pro
45 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Combinatorics of explicit substitutions (1804.03862v1)

Published 11 Apr 2018 in cs.LO and math.CO

Abstract: $\lambda\upsilon$ is an extension of the $\lambda$-calculus which internalises the calculus of substitutions. In the current paper, we investigate the combinatorial properties of $\lambda\upsilon$ focusing on the quantitative aspects of substitution resolution. We exhibit an unexpected correspondence between the counting sequence for $\lambda\upsilon$-terms and famous Catalan numbers. As a by-product, we establish effective sampling schemes for random $\lambda\upsilon$-terms. We show that typical $\lambda\upsilon$-terms represent, in a strong sense, non-strict computations in the classic $\lambda$-calculus. Moreover, typically almost all substitutions are in fact suspended, i.e. unevaluated, under closures. Consequently, we argue that $\lambda\upsilon$ is an intrinsically non-strict calculus of explicit substitutions. Finally, we investigate the distribution of various redexes governing the substitution resolution in $\lambda\upsilon$ and investigate the quantitative contribution of various substitution primitives.

Citations (3)

Summary

We haven't generated a summary for this paper yet.