Transforming Proof Tableaux of Hoare Logic into Inference Sequences of Rewriting Induction

02/19/2018
by   Shinnosuke Mizutani, et al.
0

A proof tableau of Hoare logic is an annotated program with pre- and post-conditions, which corresponds to an inference tree of Hoare logic. In this paper, we show that a proof tableau for partial correctness can be transformed into an inference sequence of rewriting induction for constrained rewriting. We also show that the resulting sequence is a valid proof for an inductive theorem corresponding to the Hoare triple if the constrained rewriting system obtained from the program is terminating. Such a valid proof with termination of the constrained rewriting system implies total correctness of the program w.r.t. the Hoare triple. The transformation enables us to apply techniques for proving termination of constrained rewriting to proving total correctness of programs together with proof tableaux for partial correctness.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/16/2019

On correctness of an n queens program

Thom Frühwirth presented a short, elegant and efficient Prolog program f...
research
02/12/2021

Operational Annotations: A new method for sequential program verification

I present a new method for specifying and verifying the partial correctn...
research
02/12/2002

Logic program specialisation through partial deduction: Control issues

Program specialisation aims at improving the overall performance of prog...
research
09/04/2019

(Co)inductive Proof Systems for Compositional Proofs in Reachability Logic

Reachability Logic is a formalism that can be used, among others, for ex...
research
02/14/2020

Flexible Coinduction in Agda

Theorem provers are tools that help users to write machine readable proo...
research
12/28/2021

Inductive and Coinductive Predicate Liftings for Effectful Programs

We formulate a framework for describing behaviour of effectful higher-or...
research
12/03/2020

Modeling Adverse Conditions in the Framework of Graph Transformation Systems

The concept of adverse conditions addresses systems interacting with an ...

Please sign up or login with your details

Forgot password? Click here to reset