Rely-Guarantee Proofs for Total Correctness of Sieve and Findp
This page describes the KIV proofs for total correctness of both the Sieve
and the FindPos algorithm using Rely-Guarantee style reasoning based on RGITL.
The proof is organized into a
library project
that gives some proofs for the "rg diamond" operator and two projects
Sieve
and
FindPos
for the applications.
The library contains
The application Sieve
- defines the
one algorithm Rem# that will
instantiate SEQ# from the generic theory. The corresponding instance of SPAWN# is the full
SIEVE algorithm.
- The specification also defines suitable instances of preconditions, relies,
invariants etc.
- The
instantiated specification has
proof obligations that justify that
Rem# is
correct, and that the predicate logic side conditions are ok.
- The toplevel specification just contains
the main correctness theorem. Given the result of the decomposition theorem, it is easy to prove.
The application FindPos
[Imprint]
[Data Privacy Statement]
[E-Mail]