The Impact of Higher-Order State and Control Effects on Local Relational Reasoning

被引:0
|
作者
Dreyer, Derek
Neis, Georg
Birkedal, Lars
机构
关键词
Step-indexed Kripke logical relations; biorthogonality; observational equivalence; higher-order state; local state; first-class continuations; exceptions; state transition systems;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Reasoning about program equivalence is one of the oldest problems in semantics. In recent years, useful techniques have been developed, based on bisimulations and logical relations, for reasoning about equivalence in the setting of increasingly realistic languages-languages nearly as complex as ML or Haskell. Much of the recent work in this direction has considered the interesting representation independence principles enabled by the use of local state, but it is also important to understand the principles that powerful features like higher-order state and control effects disable. This latter topic has been broached extensively within the framework of game semantics, resulting in what Abramsky dubbed the "semantic cube": fully abstract game-semantic characterizations of various axes in the design space of ML-like languages. But when it comes to reasoning about many actual examples, game semantics does not yet supply a useful technique for proving equivalences. In this paper, we marry the aspirations of the semantic cube to the powerful proof method of step-indexed Kripke logical relations. Building on recent work of Ahmed, Dreyer, and Rossberg, we define the first fully abstract logical relation for an ML-like language with recursive types, abstract types, general references and call/cc. We then show how, under orthogonal restrictions to the expressive power of our language-namely, the restriction to first-order state and/or the removal of call/cc-we can enhance the proving power of our possible-worlds model in correspondingly orthogonal ways, and we demonstrate this proving power on a range of interesting examples. Central to our story is the use of state transition systems to model the way in which properties of local state evolve over time.
引用
收藏
页码:143 / 155
页数:13
相关论文
共 50 条
  • [11] A relational logic for higher-order programs
    Aguirre, Alejandro
    Barthe, Gilles
    Gaboardi, Marco
    Garg, Deepak
    Strub, Pierre-Yves
    JOURNAL OF FUNCTIONAL PROGRAMMING, 2019, 29
  • [12] Reasoning about higher-order processes
    Amadio, RM
    Dam, M
    TAPSOFT '95: THEORY AND PRACTICE OF SOFTWARE DEVELOPMENT, 1995, 915 : 202 - 216
  • [13] THE DEVELOPMENT OF HIGHER-ORDER REASONING IN ADOLESCENCE
    STERNBERG, RJ
    DOWNING, CJ
    CHILD DEVELOPMENT, 1982, 53 (01) : 209 - 221
  • [14] Soliton explosion control by higher-order effects
    Latas, Sofia C. V.
    Ferreira, Mario F. S.
    OPTICS LETTERS, 2010, 35 (11) : 1771 - 1773
  • [15] First-order reasoning for higher-order concurrency
    Koutavas, Vasileios
    Hennessy, Matthew
    COMPUTER LANGUAGES SYSTEMS & STRUCTURES, 2012, 38 (03) : 242 - 277
  • [16] STRONGLY NORMALIZING HIGHER-ORDER RELATIONAL QUERIES
    Ricciotti, Wilmer
    Cheney, James
    LOGICAL METHODS IN COMPUTER SCIENCE, 2020, 18 (03) : 23:1 - 23:41
  • [17] A Relational Framework for Higher-Order Shape Analysis
    Kaki, Gowtham
    Jagannathan, Suresh
    ICFP'14: PROCEEDINGS OF THE 2014 ACM SIGPLAN INTERNATIONAL CONFERENCE ON FUNCTIONAL PROGRAMMING, 2014, : 311 - 324
  • [18] A Relational Framework for Higher-Order Shape Analysis
    Kaki, Gowtham
    Jagannathan, Suresh
    ACM SIGPLAN NOTICES, 2014, 49 (09) : 311 - 324
  • [19] Bialgebraic Reasoning on Higher-Order Program Equivalence
    Goncharov, Sergey
    Milius, Stefan
    Tsampas, Stelios
    Urbat, Henning
    PROCEEDINGS OF THE 39TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, LICS 2024, 2024,
  • [20] A Higher-Order Indistinguishability Logic for Cryptographic Reasoning
    Baelde, David
    Koutsos, Adrien
    Lallemand, Joseph
    2023 38TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, LICS, 2023,