Skip to Main content Skip to Navigation
Preprints, Working Papers, ...

Quantitative aspects of linear and affine closed lambda terms

Abstract : Affine $λ$-terms are $λ$-terms in which each bound variable occurs at most once and linear $λ$-terms are $λ$-terms in which each bound variables occurs once. and only once. In this paper we count the number of closed affine $λ$-terms of size $n$, closed linear $λ$-terms of size $n$, affine $β$-normal forms of size $n$ and linear $β$-normal forms of ise $n$, for different ways of measuring the size of $λ$-terms. From these formulas, we show how we can derive programs for generating all the terms of size $n$ for each class. For this we use a specific data structure, which are contexts taking into account all the holes at levels of abstractions.
Complete list of metadatas

Cited literature [21 references]  Display  Hide  Download
Contributor : Pierre Lescanne <>
Submitted on : Sunday, May 21, 2017 - 3:22:31 PM
Last modification on : Wednesday, November 20, 2019 - 2:46:40 AM
Long-term archiving on: : Wednesday, August 23, 2017 - 10:53:02 AM


Files produced by the author(s)


  • HAL Id : ensl-01464047, version 5
  • ARXIV : 1702.03085



Pierre Lescanne. Quantitative aspects of linear and affine closed lambda terms. 2017. ⟨ensl-01464047v5⟩



Record views


Files downloads