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 条
  • [21] Decidable Tag-Based Semantic Subtyping for Nominal Types, Tuples, and Unions
    Belyakova, Julia
    PROCEEDINGS OF THE 21ST WORKSHOP ON FORMAL TECHNIQUES FOR JAVA-LIKE PROGRAMS (FTFJP 2019), 2019,
  • [22] 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
  • [23] Gradual typing with union and intersection types
    Castagna G.
    Lanvin V.
    Proceedings of the ACM on Programming Languages, 2017, 1 (ICFP):
  • [24] Disjoint Polymorphism with Intersection and Union Types
    Rehman, Baber
    Oliveira, Bruno C. d S.
    PROCEEDINGS OF THE 26TH ACM INTERNATIONAL WORKSHOP ON FORMAL TECHNIQUES FOR JAVA-LIKE PROGRAMS, FTFJP 2024, 2024, : 23 - 29
  • [25] Toward Isomorphism of Intersection and Union Types
    Coppo, Mario
    Dezani-Ciancaglini, Mariangiola
    Margaria, Ines
    Zacchi, Maddalena
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2013, (121): : 58 - 80
  • [26] INTERSECTION AND UNION TYPES - SYNTAX AND SEMANTICS
    BARBANERA, F
    DEZANICIANCAGLINI, M
    DELIGUORO, U
    INFORMATION AND COMPUTATION, 1995, 119 (02) : 202 - 230
  • [27] On Isomorphism of "Functional" Intersection and Union Types
    Coppo, Mario
    Dezani-Ciancaglini, Mariangiola
    Margaria, Ines
    Zacchi, Maddalena
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2015, (177): : 53 - 64
  • [28] The Duality of Classical Intersection and Union Types
    Downen, Paul
    Ariola, Zena M.
    Ghilezan, Silvia
    FUNDAMENTA INFORMATICAE, 2019, 170 (1-3) : 39 - 92
  • [29] Semantics for Combinatory Logic With Intersection Types
    Ghilezan, Silvia
    Kasterovic, Simona
    FRONTIERS IN COMPUTER SCIENCE, 2022, 4
  • [30] INTERSECTION TYPES FOR COMBINATORY-LOGIC
    DEZANICIANCAGLINI, M
    HINDLEY, JR
    THEORETICAL COMPUTER SCIENCE, 1992, 100 (02) : 303 - 324