Modular Denotational Semantics for Effects with Guarded Interaction Trees

被引:1
|
作者
Frumin, Dan [1 ]
Timany, Amin [2 ]
Birkedal, Lars [2 ]
机构
[1] Univ Groningen, Groningen, Netherlands
[2] Aarhus Univ, Aarhus, Denmark
关键词
Coq; Iris; denotational semantics; logical relations; MODEL;
D O I
10.1145/3632854
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present guarded interaction trees - a structure and a fully formalized framework for representing higher-order computations with higher-order effects in Coq, inspired by domain theory and the recently proposed interaction trees. We also present an accompanying separation logic for reasoning about guarded interaction trees. To demonstrate that guarded interaction trees provide a convenient domain for interpreting higher-order languages with effects, we define an interpretation of a PCF-like language with effects and show that this interpretation is sound and computationally adequate; we prove the latter using a logical relation defined using the separation logic. Guarded interaction trees also allow us to combine different effects and reason about them modularly. To illustrate this point, we give a modular proof of type soundness of cross-language interactions for safe interoperability of different higher-order languages with different effects. All results in the paper are formalized in Coq using the Iris logic over guarded type theory.
引用
收藏
页数:30
相关论文
共 50 条
  • [41] Denotational semantics of object specification
    Sernadas, A
    Sernadas, C
    Caleiro, C
    [J]. ACTA INFORMATICA, 1998, 35 (09) : 729 - 773
  • [42] Denotational semantics for thread algebra
    Vu, Thuy Duong
    [J]. JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING, 2008, 74 (02): : 94 - 111
  • [43] Towards a denotational semantics for TimeML
    Katz, Graham
    [J]. ANNOTATING, EXTRACTING AND REASONING ABOUT TIME AND EVENTS, 2007, 4795 : 88 - 106
  • [44] A denotational semantics of defeasible logic
    Maher, MJ
    [J]. COMPUTATIONAL LOGIC - CL 2000, 2000, 1861 : 209 - 222
  • [45] DENOTATIONAL SEMANTICS OF PROGRAMMING LANGUAGES
    TENNENT, RD
    [J]. COMMUNICATIONS OF THE ACM, 1976, 19 (08) : 437 - 453
  • [46] Disentangling Denotational Semantics Definitions
    Tirelo, Fabio
    Bigonha, Roberto S.
    Saraiva, Joao
    [J]. JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2008, 14 (21) : 3592 - 3607
  • [47] ON DENOTATIONAL VERSUS PREDICATIVE SEMANTICS
    BROY, M
    LENGAUER, C
    [J]. JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1991, 42 (01) : 1 - 29
  • [48] Denotational semantics for JS']JSD
    Yeung, WL
    [J]. ASIA PACIFIC SOFTWARE ENGINEERING CONFERENCE AND INTERNATIONAL COMPUTER SCIENCE CONFERENCE, PROCEEDINGS, 1997, : 72 - 80
  • [49] DENOTATIONAL SEMANTICS OF NETS WITH NONDETERMINISM
    KOK, JN
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1986, 213 : 237 - 249
  • [50] A DENOTATIONAL SEMANTICS FOR SPARC TSO
    Kavanagh, Ryan
    Brookes, Stephen
    [J]. LOGICAL METHODS IN COMPUTER SCIENCE, 2019, 15 (02) : 10:1 - 10:23