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 条
  • [21] A logic for reasoning with higher-order abstract syntax
    McDowell, R
    Miller, D
    12TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 1997, : 434 - 445
  • [22] Impact of higher-order effects on dissipative soliton in metamaterials
    Ali, A. K. Shafeeque
    Ullah, Malik Zaka
    Lakshmanan, M.
    PHYSICS LETTERS A, 2020, 384 (28)
  • [23] APPLICATION OF HIGHER-ORDER ULTRAPRODUCTS TO THEORY OF LOCAL PROPERTIES IN UNIVERSAL ALGEBRAS AND RELATIONAL SYSTEMS
    MALCOLM, WG
    PROCEEDINGS OF THE LONDON MATHEMATICAL SOCIETY, 1973, 27 (NOV) : 617 - 637
  • [24] ON HIGHER-ORDER STATE CONSTRAINTS
    Karamzin, Dmitry
    Pereira, Fernando Lobo
    SIAM JOURNAL ON CONTROL AND OPTIMIZATION, 2023, 61 (04) : 1913 - 1933
  • [25] Higher-Order Ghost State
    Jung, Ralf
    Krebbers, Robbert
    Birkedal, Lars
    Dreyer, Derek
    ACM SIGPLAN NOTICES, 2016, 51 (09) : 256 - 269
  • [26] A Relational Model of Types-and-Effects in Higher-Order Concurrent Separation Logic
    Krogh-Jespersen, Morten
    Svendsen, Kasper
    Birkedal, Lars
    ACM SIGPLAN NOTICES, 2017, 52 (01) : 218 - 231
  • [27] Impact of higher-order uncertainty
    Weinstein, Jonathan
    Yildiz, Muhamet
    GAMES AND ECONOMIC BEHAVIOR, 2007, 60 (01) : 200 - 212
  • [28] On regularity conditions in higher-order state-constrained control
    Karamzin, D. Yu.
    JOURNAL OF COMPUTATIONAL AND APPLIED MATHEMATICS, 2024, 452
  • [29] HIGHER-ORDER MOTOR CONTROL
    GEORGOPOULOS, AP
    ANNUAL REVIEW OF NEUROSCIENCE, 1991, 14 : 361 - 377
  • [30] Local higher-order fixpoint iteration
    Bruse, Florian
    Kreiker, Joerg
    Lange, Martin
    Saelzer, Marco
    INFORMATION AND COMPUTATION, 2022, 289