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 条
  • [41] Reasoning about feature models in higher-order logic
    Janota, Mikolas
    Kiniry, Joseph
    SPLC 2007: 11TH INTERNATIONAL SOFTWARE PRODUCT LINE CONFERENCE, PROCEEDINGS, 2007, : 13 - 22
  • [42] A non-probabilist principle of higher-order reasoning
    Talbott, William J.
    SYNTHESE, 2016, 193 (10) : 3099 - 3145
  • [43] Initial-state, final-state and higher-order effects in electron impact ionization of helium atoms
    Reid, RHG
    Bartschat, K
    Raeker, A
    JOURNAL OF PHYSICS B-ATOMIC MOLECULAR AND OPTICAL PHYSICS, 1998, 31 (03) : 563 - 571
  • [44] Impact of higher-order effects on pulsating, erupting and creeping solitons
    Latas, S. C. V.
    Ferreira, M. F. S.
    Facao, M. V.
    APPLIED PHYSICS B-LASERS AND OPTICS, 2011, 104 (01): : 131 - 137
  • [45] Impact of higher-order effects on pulsating, erupting and creeping solitons
    S. C. V. Latas
    M. F. S. Ferreira
    M. V. Facão
    Applied Physics B, 2011, 104 : 131 - 137
  • [46] Modular Higher-Order Effects
    Wu, Nicolas
    PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, PADL 2024, 2023, 14512 : XIII - XIV
  • [47] HIGHER-ORDER INSTANTON EFFECTS
    LEVINE, H
    YAFFE, LG
    PHYSICAL REVIEW D, 1979, 19 (04): : 1225 - 1242
  • [48] HIGHER-ORDER ASYNCHRONOUS EFFECTS
    Ahman, Danel
    Pretnar, Matija
    LOGICAL METHODS IN COMPUTER SCIENCE, 2024, 20 (03)
  • [49] HIGHER-ORDER ENCODING - PROCESS OR STATE
    JOHNSON, NF
    MEMORY & COGNITION, 1973, 1 (04) : 491 - 494
  • [50] Higher-order transition state approximation
    Nakajima, Takahito
    Hirao, Kimihiko
    Chan, Bun
    JOURNAL OF CHEMICAL PHYSICS, 2022, 156 (11):