Logical Step-Indexed Logical Relations

被引:32
|
作者
Dreyer, Derek
Ahmed, Amal
Birkedal, Lars
机构
关键词
RECURSIVE TYPES;
D O I
10.1109/LICS.2009.34
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We show how to reason about "step-indexed" logical relations in art abstract way, avoiding the tedious, error-prone, and proof-obscuring step-index arithmetic that seems superficially to be an essential element of the method. Specifically; we define a logic LSLR, which is inspired by Plotkin and Abadi's logic for parametricity, but also supports recursively defined relations by means of the modal "later" operator from Appel et al.'s "very modal model" paper. We encode in LSLR a logical relation for reasoning (in-)equationally about programs in call-by-value System F extended with recursive types. Using this logical relation, we derive a useful set of rules with which we can prove contextual (in-)equivalences without mentioning step indices.
引用
收藏
页码:71 / 80
页数:10
相关论文
共 50 条
  • [1] LOGICAL STEP-INDEXED LOGICAL RELATIONS
    Dreyer, Derek
    Ahmed, Amal
    Birkedal, Lars
    [J]. LOGICAL METHODS IN COMPUTER SCIENCE, 2011, 7 (02)
  • [2] Step-Indexed Logical Relations for Probability
    Bizjak, Ales
    Birkedal, Lars
    [J]. FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES (FOSSACS 2015), 2015, 9034 : 279 - 294
  • [3] Step-indexed syntactic logical relations for recursive and quantified types
    Ahmed, A
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS, PROCEEDINGS, 2006, 3924 : 69 - 83
  • [4] Step-Indexed Logical Relations for Countable Nondeterminism and Probabilistic Choice
    Aguirre, Alejandro
    Birkedal, Lars
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2023, 7 (POPL): : 33 - 60
  • [5] Proving Correctness of a Compiler Using Step-indexed Logical Relations
    Rodriguez, Leonardo
    Pagano, Miguel
    Fridlender, Daniel
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2016, 323 : 197 - 214
  • [6] Scala Step-by-Step Soundness for DOT with Step-Indexed Logical Relations in Iris
    Giarrusso, Paolo G.
    Stefanesco, Leo
    Timany, Amin
    Birkedal, Lars
    Krebbers, Robbert
    [J]. PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2020, 4 (ICFP):
  • [7] A step-indexed model of substructural state
    Ahmed, A
    Fluet, M
    Morrisett, G
    [J]. ACM SIGPLAN NOTICES, 2005, 40 (09) : 78 - 91
  • [8] Logical Relations for a Logical Framework
    Rabe, Florian
    Sojakova, Kristina
    [J]. ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2013, 14 (04)
  • [9] A STEP-INDEXED SEMANTICS OF IMPERATIVE OBJECTS
    Hritcu, Catalin
    Schwinghammer, Jan
    [J]. LOGICAL METHODS IN COMPUTER SCIENCE, 2009, 5 (04) : 1 - 48
  • [10] STEP-INDEXED RELATIONAL REASONING FOR COUNTABLE NONDETERMINISM
    Birkedal, Lars
    Bizjak, Ales
    Schwinghammer, Jan
    [J]. LOGICAL METHODS IN COMPUTER SCIENCE, 2013, 9 (04)