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
来源
PPDP'18: PROCEEDINGS OF THE 20TH INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING | 2018年
关键词
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
相关论文
共 11 条
  • [1] A tale of intersection types
    Bono, Viviana
    Dezani-Ciancaglini, Mariangiola
    PROCEEDINGS OF THE 35TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS 2020), 2020, : 7 - 20
  • [2] Elaborating intersection and union types
    Dunfield, Joshua
    JOURNAL OF FUNCTIONAL PROGRAMMING, 2014, 24 (2-3) : 133 - 165
  • [3] A Realizability Interpretation for Intersection and Union Types
    Dougherty, Daniel J.
    de'Liguoro, Ugo
    Liquori, Luigi
    Stolze, Claude
    PROGRAMMING LANGUAGES AND SYSTEMS, APLAS 2016, 2016, 10017 : 187 - 205
  • [4] Finite Combinatory Logic with Intersection Types
    Rehof, Jakob
    Urzyczyn, Pawel
    TYPED LAMBDA CALCULI AND APPLICATIONS, (TLCA 2011), 2011, 6690 : 169 - 183
  • [5] A Decidable Subtyping Logic for Intersection and Union Types
    Liquori, Luigi
    Stolze, Claude
    TOPICS IN THEORETICAL COMPUTER SCIENCE, TTCS 2017, 2017, 10608 : 74 - 90
  • [6] Towards a Logical Framework with Intersection and Union Types
    Stolze, Claude
    Liquori, Luigi
    Honsell, Furio
    Scagnetto, Ivan
    PROCEEDINGS OF THE WORKSHOP ON LOGICAL FRAMEWORKS AND META-LANGUAGES: THEORY AND PRACTICE (LFMTP), 2017, : 1 - 9
  • [7] Probabilistic Forecasting of Nitrogen Dioxide Concentrations at an Urban Road Intersection
    Kaminska, Joanna A.
    SUSTAINABILITY, 2018, 10 (11)
  • [8] Complexity of Strongly Normalising λ-Terms via Non-idempotent Intersection Types
    Bernadet, Alexis
    Lengrand, Stephane
    FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATIONAL STRUCTURES, 2011, 6604 : 88 - 107
  • [9] Pedestrian Trajectory Prediction at Un-Signalized Intersection Using Probabilistic Reasoning and Sequence Learning
    Li, Y.
    Wang, J. Q.
    Lu, X. Y.
    Shi, T. Y.
    Xu, Q.
    Li, K. Q.
    2019 IEEE INTELLIGENT TRANSPORTATION SYSTEMS CONFERENCE (ITSC), 2019, : 1047 - 1053
  • [10] An integrated probabilistic assessment to analyse stochasticity of soil erosion in different restoration vegetation types
    Zhou, Ji
    Fu, Bojie
    Gao, Guangyao
    Lu, Yihe
    Wang, Shuai
    HYDROLOGY AND EARTH SYSTEM SCIENCES, 2017, 21 (03) : 1491 - 1514