Logical Methods in Computer Science (Apr 2019)

All-Path Reachability Logic

  • Andrei Stefanescu,
  • Stefan Ciobaca,
  • Radu Mereuta,
  • Brandon Moore,
  • Traian Florin Serbanuta,
  • Grigore Rosu

DOI
https://doi.org/10.23638/LMCS-15(2:5)2019
Journal volume & issue
Vol. Volume 15, Issue 2

Abstract

Read online

This paper presents a language-independent proof system for reachability properties of programs written in non-deterministic (e.g., concurrent) languages, referred to as all-path reachability logic. It derives partial-correctness properties with all-path semantics (a state satisfying a given precondition reaches states satisfying a given postcondition on all terminating execution paths). The proof system takes as axioms any unconditional operational semantics, and is sound (partially correct) and (relatively) complete, independent of the object language. The soundness has also been mechanized in Coq. This approach is implemented in a tool for semantics-based verification as part of the K framework (http://kframework.org)

Keywords