On Intersection Types and Probabilistic Lambda Calculi

被引:16
|
作者
Breuvart, Flavien [1 ]
Dal Lago, Ugo [2 ,3 ]
机构
[1] Univ Paris 13, LIPN, Villetaneuse, France
[2] Univ Bologna, Bologna, Italy
[3] INRIA Sophia Antipolis, Valbonne, France
关键词
COHERENCE SPACES; MODEL;
D O I
10.1145/3236950.3236968
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We define two intersection type systems for the pure, untyped, probabilistic lambda-calculus, and prove that type derivations precisely reflect the probability of convergence of the underlying term. We first define a simple system of oracle intersection types in which derivations are annotated by binary strings and the probability of termination can be computed by combining all the different possible annotations. Although inevitable due to recursion theoretic limitations, the fact that (potentially) infinitely many derivations need to be considered is of course an issue when seeing types as a verification methodology. We thus develop a more complex system: the monadic intersection type system. In this second system, the probability of termination of a term is shown to be the least upper bound of the weights of its type derivations.
引用
收藏
页数:13
相关论文
共 50 条