DocumentCode :
2023039
Title :
An observationally complete program logic for imperative higher-order functions
Author :
Honda, Kohei ; Yoshida, Nobuko ; Berger, Martin
Author_Institution :
London Univ., UK
fYear :
2005
fDate :
26-29 June 2005
Firstpage :
270
Lastpage :
279
Abstract :
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.
Keywords :
formal logic; logic programming; Hoare logic; complete program logic; finite canonical form; imperative higher-order function; Computer languages; Data structures; Educational institutions; Functional programming; Logic programming; Network address translation;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Logic in Computer Science, 2005. LICS 2005. Proceedings. 20th Annual IEEE Symposium on
ISSN :
1043-6871
Print_ISBN :
0-7695-2266-1
Type :
conf
DOI :
10.1109/LICS.2005.5
Filename :
1509231
Link To Document :
بازگشت