A Decidable Subtyping Logic for Intersection and Union Types

被引:3
|
作者
Liquori, Luigi [1 ]
Stolze, Claude [1 ]
机构
[1] Univ Cote Azur, INRIA, Sophia Antipolis, France
关键词
Logics and lambda-calculus; Type; Subtype systems; MODEL;
D O I
10.1007/978-3-319-68953-1_7
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Using Curry-Howard isomorphism, we extend the typed lambda-calculus with intersection and union types, and its corresponding proof-functional logic, previously defined by the authors, with subtyping and explicit coercions. We show the extension of the lambda-calculus to be isomorphic to the Barbanera-Dezani-de'Liguoro type assignment system and we provide a sound interpretation of the proof-functional logic with the NJ (/3) logic, using Mints' realizers. We finally present a sound and complete algorithm for subtyping in presence of intersection and union types. The algorithm is conceived to work for the (sub)type theory (SIC).
引用
收藏
页码:74 / 90
页数:17
相关论文
共 50 条
  • [1] Empowering Union and Intersection Types with Integrated Subtyping
    Muehlboeck, Fabian
    Tate, Ross
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2018, 2
  • [2] Empowering Union and Intersection Types with Integrated Subtyping
    Muehlboeck, Fabian
    Tate, Ross
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2018, 2
  • [3] Decidable Subtyping for Path Dependent Types
    Mackay, Julian
    Potanin, Alex
    Aldrich, Jonathan
    Groves, Lindsay
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2020, 4 (POPL):
  • [4] Decidable Subtyping of Existential Types for Julia
    Belyakova, Julia
    Chung, Benjamin
    Tate, Ross
    Vitek, Jan
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2024, 8 (PLDI):
  • [5] Logic and Computation in a Lambda Calculus with Intersection and Union Types
    Dougherty, Daniel J.
    Liquori, Luigi
    [J]. LOGIC FOR PROGRAMMING, ARTIFICIAL INTELLIGENCE, AND REASONING (LPAR-16), 2010, 6355 : 173 - 191
  • [6] Subtyping union types
    Vouillon, R
    [J]. COMPUTER SCIENCE LOGIC, PROCEEDINGS, 2004, 3210 : 415 - 429
  • [7] Subtyping and Intersection Types Revisited
    Pfenning, Frank
    [J]. ICFP'07 PROCEEDINGS OF THE 2007 ACM SIGPLAN INTERNATIONAL CONFERENCE ON FUNCTIONAL PROGRAMMING, 2007, : 219 - 219
  • [8] Subtyping and intersection types revisited
    Pfenning, Frank
    [J]. ACM SIGPLAN NOTICES, 2007, 42 (09) : 219 - 219
  • [10] Structural subtyping of non-recursive types is decidable
    Kuncak, V
    Rinard, M
    [J]. 18TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 2003, : 96 - 107