An observationally complete program logic for imperative higher-order functions

被引:0
|
作者
Honda, K [1 ]
Yoshida, N [1 ]
Berger, M [1 ]
机构
[1] Univ London, London WC1E 7HU, England
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We propose a simple compositional program logic for an imperative extension of call-by-value PCF, built on Hoare logic and our preceding work on program logics for pure higher-order functions. A systematic use of names and operations on them allows precise and general description of complex higher-order imperative behaviour. The logic offers a foundation for general treatment of aliasing and local state on its basis, with minimal extensions. After establishing soundness, we prove that valid assertions for programs completely characterise their behaviour up to observational congruence, which is proved using a variant of finite canonical forms. The use of the logic is illustrated through reasoning examples which are hard to assert and infer using existing program logics.
引用
收藏
页码:270 / 279
页数:10
相关论文
共 50 条
  • [1] An observationally complete program logic for imperative higher-order functions
    Honda, Kohei
    Yoshida, Nobuko
    Berger, Martin
    [J]. THEORETICAL COMPUTER SCIENCE, 2014, 517 : 75 - 101
  • [2] A logical analysis of aliasing in imperative higher-order functions
    Berger, Martin
    Honda, Kohei
    Yoshida, Nobuko
    [J]. JOURNAL OF FUNCTIONAL PROGRAMMING, 2007, 17 : 473 - 546
  • [3] A logical analysis of aliasing in imperative higher-order functions
    Berger, M
    Honda, K
    Yoshida, N
    [J]. ACM SIGPLAN NOTICES, 2005, 40 (09) : 280 - 293
  • [4] Logic program synthesis in a higher-order setting
    Lacey, D
    Richardson, J
    Smaill, A
    [J]. COMPUTATIONAL LOGIC - CL 2000, 2000, 1861 : 87 - 100
  • [5] Partial recursive functions in Higher-Order Logic
    Krauss, Alexander
    [J]. AUTOMATED REASONING, PROCEEDINGS, 2006, 4130 : 589 - 603
  • [6] Program abstraction in a higher-order logic framework
    Benini, M
    Kalvala, S
    Nowotka, D
    [J]. THEOREM PROVING IN HIGHER ORDER LOGICS, 1998, 1479 : 33 - 48
  • [7] USE OF HIGHER-ORDER LOGIC IN PROGRAM VERIFICATION
    ERNST, GW
    HOOKWAY, RJ
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 1976, 25 (08) : 844 - 851
  • [8] Implementing a program logic of objects in a higher-order logic theorem prover
    Hofmann, M
    Tang, F
    [J]. THEOREM PROVING IN HIGHER ORDER LOGICS, PROCEEDINGS, 2000, 1869 : 268 - 282
  • [9] ON HIGHER-ORDER LOGIC
    KOGALOVS.SR
    [J]. DOKLADY AKADEMII NAUK SSSR, 1966, 171 (06): : 1272 - &
  • [10] Sound and Complete Concolic Testing for Higher-order Functions
    You, Shu-Hung
    Findler, Robert Bruce
    Dimoulas, Christos
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS, ESOP 2021, 2021, 12648 : 635 - 663