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 条
  • [31] Local Higher-Order Fixpoint Iteration
    Bruse, Florian
    Kreiker, Jorg
    Lange, Martin
    Salzer, Marco
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2020, (326): : 97 - 113
  • [32] A relational realizability model for higher-order stateful ADTs
    Birkedal, Lars
    Stovring, Kristian
    Thamsborg, Jacob
    JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING, 2012, 81 (04): : 491 - 521
  • [33] A Relational Modal Logic for Higher-Order Stateful ADTs
    Dreyer, Derek
    Neis, Georg
    Rossberg, Andreas
    Birkedal, Lars
    ACM SIGPLAN NOTICES, 2010, 45 (01) : 185 - 198
  • [34] Local Higher-Order Graph Clustering
    Yin, Hao
    Benson, Austin R.
    Leskovec, Jure
    Gleich, David F.
    KDD'17: PROCEEDINGS OF THE 23RD ACM SIGKDD INTERNATIONAL CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING, 2017, : 555 - 564
  • [35] A Relational Modal Logic for Higher-Order Stateful ADTs
    Dreyer, Derek
    Neis, Georg
    Rossberg, Andreas
    Birkedal, Lars
    POPL'10: PROCEEDINGS OF THE 37TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2010, : 185 - 198
  • [36] State transition induced by higher-order effects and background frequency
    Liu, Chong
    Yang, Zhan-Ying
    Zhao, Li-Chen
    Yang, Wen-Li
    PHYSICAL REVIEW E, 2015, 91 (02):
  • [37] Mathematical reasoning with higher-order anti-unifcation
    Guhe, Markus
    Pease, Alison
    Smaill, Alan
    Schmidt, Martin
    Gust, Helmar
    Kuehnberger, Kai-Uwe
    Krumnack, Ulf
    COGNITION IN FLUX, 2010, : 1992 - 1997
  • [38] HIGHER-ORDER REPRESENTATION AND REASONING FOR AUTOMATED ONTOLOGY EVOLUTION
    Chan, Michael
    Lehmann, Jos
    Bundy, Alan
    KEOD 2010: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON KNOWLEDGE ENGINEERING AND ONTOLOGY DEVELOPMENT, 2010, : 84 - 93
  • [39] Reasoning with Higher-Order Abstract Syntax and Contexts: A Comparison
    Felty, Amy
    Pientka, Brigitte
    INTERACTIVE THEOREM PROVING, PROCEEDINGS, 2010, 6172 : 227 - +
  • [40] A non-probabilist principle of higher-order reasoning
    William J. Talbott
    Synthese, 2016, 193 : 3099 - 3145