Combinatorics of explicit substitutions

Maciej Bendkowski, Pierre Lescanne
4/11/2018
cs.LOmath.CO

Official code: maciej-bendkowski/combinatorics-of-explicit-substitutions (2 stars, Coq, MIT, last commit 2018-04-11).

Abstract

$λ\upsilon$ is an extension of the $λ$-calculus which internalises the calculus of substitutions. In the current paper, we investigate the combinatorial properties of $λ\upsilon$ focusing on the quantitative aspects of substitution resolution.

Show full abstract

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

View on arXivView PDF

Code Implementations(1)

MIT

Supplementary material to the "Combinatorics of explicit substitutions" paper

20Coq, HaskellApr 11, 20188 years agoMIT

Similar Papers

Cite this paper

@article{bendkowski2018combinatorics,
  title  = {Combinatorics of explicit substitutions},
  author = {Maciej Bendkowski and Pierre Lescanne},
  year   = {2018},
  eprint = {1804.03862},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1804.03862}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1804.03862.svg)](https://codeofpaper.com/paper/1804.03862)

Discussion