Proceedings of the 17th International Symposium on Principles and Practice of Declarative Programming 2015
DOI: 10.1145/2790449.2790526
|View full text |Cite
|
Sign up to set email alerts
|

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

Abstract: 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 inference, normalization of combinator expressions and lambda terms in de Bruijn notation, ranking/unranking algorithms and tree-based natural numbers are described as a literate Prolog program.With sound unification and compact expression of combinatorial generation algorithms, logic programming is shown to conveniently host a declarative p… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
7
0

Year Published

2016
2016
2020
2020

Publication Types

Select...
4
1

Relationship

3
2

Authors

Journals

citations
Cited by 6 publications
(7 citation statements)
references
References 27 publications
0
7
0
Order By: Relevance
“…However, the concepts of closable and typable skeletons of lambda terms and their uniquely closable and typable variants are new and have not been studied previously. The second author has used extensively Prolog as a metalanguage for the study of combinatorial and computational properties of lambda terms in papers like [16,11] covering different families of terms and properties, but not in combination with the precise analytic methods as developed in this paper.…”
Section: Related Workmentioning
confidence: 99%
See 3 more Smart Citations
“…However, the concepts of closable and typable skeletons of lambda terms and their uniquely closable and typable variants are new and have not been studied previously. The second author has used extensively Prolog as a metalanguage for the study of combinatorial and computational properties of lambda terms in papers like [16,11] covering different families of terms and properties, but not in combination with the precise analytic methods as developed in this paper.…”
Section: Related Workmentioning
confidence: 99%
“…We will follow the interleaving of term generation, checking for closedness and type inference steps shown in [11], but split it into a two stage program, with the first stage generating code to be executed, via Prolog's metacall by the second, while also ensuring that the terms generated by the second stage are closed.…”
Section: Typable and Untypable Closable Skeletonsmentioning
confidence: 99%
See 2 more Smart Citations
“…As a fortunate synergy, Prolog's sound unification of logic variables, backtracking and definite clause grammars have been shown to provide compact combinatorial generation algorithms for various families of lambda terms [11,12,13,14].…”
Section: Introductionmentioning
confidence: 99%