On Isomorphism of "Functional" Intersection and Union Types

被引:1
|
作者
Coppo, Mario [1 ]
Dezani-Ciancaglini, Mariangiola [1 ]
Margaria, Ines [1 ]
Zacchi, Maddalena [1 ]
机构
[1] Univ Torino, Dipartimento Informat, Corso Svizzera 185, I-10149 Turin, Italy
关键词
D O I
10.4204/EPTCS.177.5
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Type isomorphism is useful for retrieving library components, since a function in a library can have a type different from, but isomorphic to, the one expected by the user. Moreover type isomorphism gives for free the coercion required to include the function in the user program with the right type. The present paper faces the problem of type isomorphism in a system with intersection and union types. In the presence of intersection and union, isomorphism is not a congruence and cannot be characterised in an equational way. A characterisation can still be given, quite complicated by the interference between functional and non functional types. This drawback is faced in the paper by interpreting each atomic type as the set of functionsmapping any argument into the interpretation of the type itself. This choice has been suggested by the initial projection of Scott's inverse limit lambda-model. The main result of this paper is a condition assuring type isomorphism, based on an isomorphism preserving reduction.
引用
收藏
页码:53 / 64
页数:12
相关论文
共 50 条
  • [41] Intersection Types and Counting
    Parys, Pawel
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2017, (242): : 48 - 63
  • [42] On Isomorphisms of Intersection Types
    Dezani-Ciancaglini, Mariangiola
    Di Cosmo, Roberto
    Giovannetti, Elio
    Tatsuta, Makoto
    [J]. ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2010, 11 (04) : 1 - 24
  • [43] Infinite intersection types
    Bonsangue, MM
    Kok, JN
    [J]. INFORMATION AND COMPUTATION, 2003, 186 (02) : 285 - 318
  • [44] Disjoint Intersection Types
    Oliveira, Bruno C. d. S.
    Shi, Zhiyuan
    Alpuim, Joao
    [J]. ACM SIGPLAN NOTICES, 2016, 51 (09) : 364 - 377
  • [45] A tale of intersection types
    Bono, Viviana
    Dezani-Ciancaglini, Mariangiola
    [J]. PROCEEDINGS OF THE 35TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS 2020), 2020, : 7 - 20
  • [46] Retractions in Intersection Types
    Coppo, Mario
    Dezani-Ciancaglini, Mariangiola
    Diaz-Caro, Alejandro
    Margaria, Ines
    Zacchi, Maddalena
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2017, (242): : 31 - 47
  • [47] INTERSECTION TYPES FOR THE λμ-CALCULUS
    van Bakel, Steffen
    Barbanera, Franco
    de'Liguoro, Ugo
    [J]. LOGICAL METHODS IN COMPUTER SCIENCE, 2018, 14 (01)
  • [48] Disjoint intersection types
    [J]. 1600, Association for Computing Machinery, 2 Penn Plaza, Suite 701, New York, NY 10121-0701, United States (51):
  • [49] On Isomorphisms of Intersection Types
    Dezani-Ciancaglini, Mariangiola
    Di Cosmo, Roberto
    Giovannetti, Elio
    Tatsuta, Makoto
    [J]. COMPUTER SCIENCE LOGIC, PROCEEDINGS, 2008, 5213 : 461 - +
  • [50] Applicative Intersection Types
    Xue, Xu
    Oliveira, Bruno C. d. S.
    Xie, Ningning
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS, APLAS 2022, 2022, 13658 : 155 - 174