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 条
  • [1] Decomposing Probabilistic Lambda-Calculi
    Dal Lago, Ugo
    Guerrieri, Giulio
    Heijltjes, Willem
    FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES, FOSSACS 2020, 2020, 12077 : 136 - 156
  • [2] Bisimulations for Probabilistic Linear Lambda Calculi
    Deng, Yuxin
    Feng, Yuan
    PROCEEDINGS 11TH 2017 INTERNATIONAL SYMPOSIUM ON THEORETICAL ASPECTS OF SOFTWARE ENGINEERING (TASE), 2017, : 24 - 31
  • [3] Intersection types and lambda models
    Alessi, F
    Barbanera, F
    Dezani-Ciancaglini, M
    THEORETICAL COMPUTER SCIENCE, 2006, 355 (02) : 108 - 126
  • [4] On Bisimilarity in Lambda Calculi with Continuous Probabilistic Choice
    Dal Lago, Ugo
    Gavazzo, Francesco
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2019, 347 : 121 - 141
  • [5] A Note on Confluence in Typed Probabilistic Lambda Calculi*
    Romero, Rafael
    Diaz-Caro, Alejandro
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2022, (357): : 18 - 24
  • [6] INTERSECTION TYPES FOR lambda(Gtz)-CALCULUS
    Ghilezan, Silvia
    Ivetic, Jelena
    PUBLICATIONS DE L INSTITUT MATHEMATIQUE-BEOGRAD, 2007, 82 (96): : 85 - 91
  • [7] A typed lambda calculus with intersection types
    Bono, Viviana
    Venneri, Betti
    Bettini, Lorenzo
    THEORETICAL COMPUTER SCIENCE, 2008, 398 (1-3) : 95 - 113
  • [8] Strict Intersection Types for the Lambda Calculus
    Van Bakel, Steffen
    ACM COMPUTING SURVEYS, 2011, 43 (03)
  • [9] Full intersection types and topologies in lambda calculus
    Ghilezan, S
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2001, 62 (01) : 1 - 14
  • [10] Intersection Types for Light Affine Lambda Calculus
    de Carvalho, Daniel
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2005, 136 : 133 - 152