On counting untyped lambda terms

P Lescanne - Theoretical Computer Science, 2013 - Elsevier
Despite λ-calculus is now three quarters of a century old, no formula counting λ-terms has
been proposed yet, and the combinatorics of λ-calculus is considered a hard problem. The …

Deriving theorems in implicational linear logic, declaratively

P Tarau, V de Paiva - arXiv preprint arXiv:2009.10241, 2020 - arxiv.org
The problem we want to solve is how to generate all theorems of a given size in the
implicational fragment of propositional intuitionistic linear logic. We start by filtering for …

A hiking trip through the orders of magnitude: deriving efficient generators for closed simply-typed lambda terms and normal forms

P Tarau - Logic-Based Program Synthesis and Transformation …, 2017 - Springer
Contrary to several other families of lambda terms, no closed formula or generating function
is known and none of the sophisticated techniques devised in analytic combinatorics can …

[PDF][PDF] On Type-directed Generation of Lambda Terms.

P Tarau - ICLP (Technical Communications), 2015 - Citeseer
We describe a Prolog-based combined lambda term generator and type-inferrer for closed
well-typed terms of a given size, in de Bruijn notation. By taking advantage of Prolog's …

On a uniform representation of combinators, arithmetic, lambda terms and types

P Tarau - Proceedings of the 17th international symposium on …, 2015 - dl.acm.org
A uniform representation, as binary trees with empty leaves, is given to expressions built
with Rosser's X-combinator, natural numbers, lambda terms and simple types. Type …

Constructing generator of words of context-sensitive language on example of typed λ-calculus

IO Slieptsov, VE Wolfengagen, SV Kosikov - Procedia Computer Science, 2022 - Elsevier
The given paper considers a problem of generating words of a context-dependent language.
It reviews the application of the problem to the unit testing of functions, examines in detail the …

On logic programming representations of lambda terms: de Bruijn indices, compression, type inference, combinatorial generation, normalization

P Tarau - Practical Aspects of Declarative Languages: 17th …, 2015 - Springer
We introduce a compressed de Bruijn representation of lambda terms and define its
bijections to standard representations. Compact combinatorial generation algorithms are …

Quantitative aspects of linear and affine closed lambda terms

P Lescanne - ACM Transactions on Computational Logic (TOCL), 2018 - dl.acm.org
Affine λ-terms are λ-terms in which each bound variable occurs at most once, and linear λ-
terms are λ-terms in which each bound variable occurs once and only once. In this article …

Foundation for synthesising programming language semantics

S Bartha - 2024 - era.ed.ac.uk
Programming or scripting languages used in real-world systems are seldom designed with a
formal semantics in mind from the outset. Therefore, the first step for developing well …

Ranking/unranking of lambda terms with compressed de Bruijn indices

P Tarau - … International Conference, CICM 2015, Washington, DC …, 2015 - Springer
We introduce a compressed de Bruijn representation of lambda terms and define its
bijections to standard representations. Our compressed terms facilitate derivation of size …