Algebraic separation logic

被引:18
作者
Dang, H. -H. [1 ]
Hoefner, P. [1 ,2 ]
Moeller, B. [1 ]
机构
[1] Univ Augsburg, Inst Informat, D-86159 Augsburg, Germany
[2] Natl ICT Australia Ltd NICTA, Sydney, NSW, Australia
来源
JOURNAL OF LOGIC AND ALGEBRAIC PROGRAMMING | 2011年 / 80卷 / 06期
关键词
Formal semantics; Separation logic; Frame rule; Algebra; Semirings; Quantales; KLEENE; RESOURCES; BI;
D O I
10.1016/j.jlap.2011.04.003
中图分类号
学科分类号
摘要
We present an algebraic approach to separation logic. In particular, we give an algebraic characterisation for assertions of separation logic, discuss different classes of assertions and prove abstract laws fully algebraically. After that, we use our algebraic framework to give a relational semantics of the commands of a simple programming language associated with separation logic. On this basis we prove the frame rule in an abstract and concise way, parametric in the operator of separating conjunction, of which two particular variants are discussed. In this we also show how to algebraically formulate the requirement that a command preserves certain variables. The algebraic view does not only yield new insights on separation logic but also shortens proofs due to a point free representation. It is largely first-order and hence enables the use of off-the-shelf automated theorem provers for verifying properties at an abstract level. (C) 2011 Elsevier Inc. All rights reserved.
引用
收藏
页码:221 / 247
页数:27
相关论文
共 50 条
  • [1] [Anonymous], 2006, STUDIES LOGIC FDN MA
  • [2] Back R.J., 1998, Graduate Texts in Computer Science
  • [3] Backhouse R.C., 1993, Math. Struct. Comput. Sci., V3, P417
  • [4] BI-hyperdoctrines, higher-order separation logic, and abstraction
    Biering, Bodil
    Birkedal, Lars
    Torp-Smith, Noah
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2007, 29 (05):
  • [5] BIRKHOFF G, 1967, ANN MATH STUDIES, V25
  • [6] Blyth T.S., 1972, Residuation Theory
  • [7] Buch A, 1996, LECT NOTES COMPUT SC, V1128, P63
  • [8] BURSTALL RM, 1972, MACH INTELL, V7, P23
  • [9] Local action and abstract separation logic
    Calcagno, Cristiano
    O'Hearn, Peter W.
    Yang, Hongseok
    [J]. 22ND ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 2007, : 366 - +
  • [10] Cohen Ernie., 1994, Using Kleene algebra to reason about concurrency control