Semantic subtyping: dealing set-theoretically with function, union, intersection, and negation types

被引:77
|
作者
Frisch, Alain [1 ]
Castagna, Giuseppe [2 ]
Benzaken, Veronique [3 ]
机构
[1] LexiFi SAS, F-92100 Boulogne, France
[2] Univ Paris 07, CNRS, PPS, F-75013 Paris, France
[3] Univ Paris 11, CNRS, LRI, F-91405 Orsay, France
关键词
languages; theory; subtyping; union types; intersection types; negation types; higherorder functions;
D O I
10.1145/1391289.1391293
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Subtyping relations are usually defined either syntactically by a formal system or semantically by an interpretation of types into an untyped denotational model. This work shows how to define a subtyping relation semantically in the presence of Boolean connectives, functional types and dynamic dispatch on types, without the complexity of denotational models, and how to derive a complete subtyping algorithm.
引用
收藏
页数:64
相关论文
共 6 条
  • [1] A Decidable Subtyping Logic for Intersection and Union Types
    Liquori, Luigi
    Stolze, Claude
    [J]. TOPICS IN THEORETICAL COMPUTER SCIENCE, TTCS 2017, 2017, 10608 : 74 - 90
  • [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] Empowering Union and Intersection Types with Integrated Subtyping
    Muehlboeck, Fabian
    Tate, Ross
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2018, 2
  • [4] Rewriting for Sound and Complete Union, Intersection and Negation Types
    Pearce, David J.
    [J]. PROCEEDINGS OF THE 16TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON GENERATIVE PROGRAMMING: CONCEPTS AND EXPERIENCES (GPCE'17), 2017, : 117 - 130
  • [5] Rewriting for Sound and Complete Union, Intersection and Negation Types
    Pearce, David J.
    [J]. ACM SIGPLAN NOTICES, 2017, 52 (12) : 117 - 130
  • [6] On declarative rewriting for sound and complete union, intersection and negation types
    Pearce, David J.
    [J]. JOURNAL OF COMPUTER LANGUAGES, 2019, 50 : 84 - 101