Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > math > arXiv:1707.02101

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Mathematics > Combinatorics

arXiv:1707.02101 (math)
[Submitted on 7 Jul 2017]

Title:Enumerating Lambda Terms by Weighted Length of Their De Bruijn Representation

Authors:Olivier Bodini, Bernhard Gittenberger, Zbigniew Gołębiewski
View a PDF of the paper titled Enumerating Lambda Terms by Weighted Length of Their De Bruijn Representation, by Olivier Bodini and Bernhard Gittenberger and Zbigniew Go{\l}\k{e}biewski
View PDF
Abstract: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 scheme. Later, Grygiel and Lescanne conjectured that the number of binary lambda terms with $m$ free indices and of size $n$ (encoded as binary words of length $n$ and according to Tromp's weights) is $o(n^{-3/2} \tau^{-n})$ for $\tau \approx 1.963448\ldots$. We generalize the proposed notion of size and show that for several classes of lambda terms, including binary lambda terms with $m$ free indices, the number of terms of size $n$ is $\Theta{n^{-3/2} \rho^{-n}}$ with some class dependent constant $\rho$, which in particular disproves the above mentioned conjecture.
The methodology used is setting up the generating functions for the classes of lambda terms. These are infinitely nested radicals which are investigated then by a singularity analysis.
We show further how some properties of random lambda terms can be analyzed and present a way to sample lambda terms uniformly at random in a very efficient way. This allows to generate terms of size more than one million within a reasonable time, which is significantly better than the samplers presented in the literature so far.
Comments: 19 pp, 3 figures
Subjects: Combinatorics (math.CO); Logic (math.LO)
Cite as: arXiv:1707.02101 [math.CO]
  (or arXiv:1707.02101v1 [math.CO] for this version)
  https://doi.org/10.48550/arXiv.1707.02101
arXiv-issued DOI via DataCite

Submission history

From: Bernhard Gittenberger [view email]
[v1] Fri, 7 Jul 2017 09:43:17 UTC (98 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Enumerating Lambda Terms by Weighted Length of Their De Bruijn Representation, by Olivier Bodini and Bernhard Gittenberger and Zbigniew Go{\l}\k{e}biewski
  • View PDF
  • TeX Source
  • Other Formats
view license
Current browse context:
math
< prev   |   next >
new | recent | 2017-07
Change to browse by:
math.CO
math.LO

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack