2015
DOI: 10.1145/2858949.2784757
|View full text |Cite
|
Sign up to set email alerts
|

Which simple types have a unique inhabitant?

Abstract: We study the question of whether a given type has a unique inhabitant modulo program equivalence. In the setting of simplytyped lambda-calculus with sums, equipped with the strong βηequivalence, we show that uniqueness is decidable. We present a saturating focused logic that introduces irreducible cuts on positive types "as soon as possible". Backward search in this logic gives an effective algorithm that returns either zero, one or two distinct inhabitants for any given type. Preliminary application studies s… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1

Citation Types

0
3
0

Year Published

2017
2017
2024
2024

Publication Types

Select...
2
2

Relationship

0
4

Authors

Journals

citations
Cited by 4 publications
(3 citation statements)
references
References 41 publications
0
3
0
Order By: Relevance
“…Focusing has traditionally been applied in the context of logics [Andreoli 1992] and pure programming languages [Scherer 2017;Scherer and Rémy 2015]. Thus, much work remains to be done in applying computation focusing to languages with more complex types and effects.…”
Section: Future Workmentioning
confidence: 99%
“…Focusing has traditionally been applied in the context of logics [Andreoli 1992] and pure programming languages [Scherer 2017;Scherer and Rémy 2015]. Thus, much work remains to be done in applying computation focusing to languages with more complex types and effects.…”
Section: Future Workmentioning
confidence: 99%
“…There are many other recent results showing how to synthesize functions from type-based specifications [Augustsson 2004;Feser et al 2015;Frankle et al 2015;Polikarpova et al 2016;Scherer and Rèmy 2015]. These systems enumerate programs of their target language, orienting their search procedures to process only terms that are well-typed.…”
Section: Related Workmentioning
confidence: 99%
“…In earlier work (Liang and Miller, 2009), we have presented the focused proof system LJF as an improved version of Gentzen's sequent system LJ for intuitionistic logic. Such focused proof systems have been used to give a foundation to logic programming (Miller, 1989;Miller, Nadathur, Pfenning, and Scedrov, 1991), model checking (Heath and Miller, 2019), and term representation (Herbelin, 1995;Scherer, 2016).…”
Section: Introductionmentioning
confidence: 99%