Hoare Logics for Time Bounds


Title: Hoare Logics for Time Bounds
Authors: Maximilian P. L. Haslbeck and Tobias Nipkow
Submission date: 2018-02-26
Abstract: We study three different Hoare logics for reasoning about time bounds of imperative programs and formalize them in Isabelle/HOL: a classical Hoare like logic due to Nielson, a logic with potentials due to Carbonneaux et al. and a separation logic following work by Atkey, Chaguérand and Pottier. These logics are formally shown to be sound and complete. Verification condition generators are developed and are shown sound and complete too. We also consider variants of the systems where we abstract from multiplicative constants in the running time bounds, thus supporting a big-O style of reasoning. Finally we compare the expressive power of the three systems.
  author  = {Maximilian P. L. Haslbeck and Tobias Nipkow},
  title   = {Hoare Logics for Time Bounds},
  journal = {Archive of Formal Proofs},
  month   = feb,
  year    = 2018,
  note    = {\url{https://isa-afp.org/entries/Hoare_Time.html},
            Formal proof development},
  ISSN    = {2150-914x},
License: BSD License
Depends on: Separation_Algebra
Status: [ok] This is a development version of this entry. It might change over time and is not stable. Please refer to release versions for citations.