2017 32nd Annual ACM/IEEE Symposium on Logic in Computer Science (LICS) 2017
DOI: 10.1109/lics.2017.8005113
|View full text |Cite
|
Sign up to set email alerts
|

An effectful way to eliminate addiction to dependence

Abstract: We define a monadic translation of type theory, called weaning translation, that allows for a large range of effects in dependent type theory-such as exceptions, non-termination, non-determinism or writing operation. Through the light of a call-by-push-value decomposition, we explain why the traditional approach fails with type dependency and justify our approach. Crucially, the construction requires that the universe of algebras of the monad forms itself an algebra. The weaning translation applies to a versio… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
16
0

Year Published

2017
2017
2021
2021

Publication Types

Select...
5
2

Relationship

3
4

Authors

Journals

citations
Cited by 17 publications
(17 citation statements)
references
References 16 publications
0
16
0
Order By: Relevance
“…Additionally, the combination of dependent typing with gradual typing is worth exploring, especially because while dependent contract checking been used for some time and was explicitly inspired in part by dependent typing, no semantic connection has been established between dependent contracts and category-theoretic models of dependent typing. The main difficulty will be the combination of dependent typing with effects, but there has been much recent work in this area [1,41,27].…”
Section: Contracts As Coreflectionsmentioning
confidence: 99%
“…Additionally, the combination of dependent typing with gradual typing is worth exploring, especially because while dependent contract checking been used for some time and was explicitly inspired in part by dependent typing, no semantic connection has been established between dependent contracts and category-theoretic models of dependent typing. The main difficulty will be the combination of dependent typing with effects, but there has been much recent work in this area [1,41,27].…”
Section: Contracts As Coreflectionsmentioning
confidence: 99%
“…[1], by Vákár [35,36] or by Pédrot and Tabareau who proposed a systematical way to add effects to type theory [33]. Side effects-that are impure computations in functional programming-are often interpreted by means of monads.…”
Section: :2 éTienne Miqueymentioning
confidence: 99%
“…Since the same problem arises with a wider class of effects, it seems that we are facing the following dilemma: either we choose an effectful language (allowing us to write more programs) while accepting the lack of dependent types, or we choose a dependently typed language (allowing us to write finer specifications) and give up effects.Many works have tried to fill the gap between effectful programming languages and logic, by accommodating weaker forms of dependent types with computational effects (e.g., divergence, I/O, local references, exceptions). Amongst other works, we can cite the recent works by Ahman et al[1], by Vákár [35,36] or by Pédrot and Tabareau who proposed a systematical way to add effects to type theory [33]. Side effects-that are impure computations in functional programming-are often interpreted by means of monads.…”
mentioning
confidence: 99%
“…Our long term goal is to leverage this technique to extend the logical and computational power of Coq using, for instance, the forcing translation [14] or the weaning translation [20].…”
Section: Related Work and Future Workmentioning
confidence: 99%