An effectful way to eliminate addiction to dependence
An effectful way to eliminate addiction to dependence
复制标题
消除依赖成瘾的有效方法
DOI:
--
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
Nicolas Tabareau
中科院分区:
文献类型:
--
作者:
Pierre;Nicolas Tabareau
We define a monadic translation of type theory, called the weaning translation, that allows for a large range of effects in dependent type theory—such as exceptions, non-termination, non-determinism or writing operations. 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 version of the Calculus of Inductive Constructions (CIC) with a restricted version of dependent elimination. Finally, we show how to recover a translation of full CIC by mixing parametricity techniques with the weaning translation. This provides the first effectful version of CIC.
DOI:
10.1145/3009837.3009898
发表时间:
2017
期刊:
--
影响因子:
--
作者:
Levy P
通讯作者:
Levy P