LARA

This is an old revision of the document!


Assume Guarantee Reasoning with Procedures

Procedures without parameters or results

Given

var x, y;
proc P() 
requires Pre(x,y)
ensures Post(x,y)
{ c }

Suppose we verify

proc Q() {
   c1;
   P();
   c2;
}

We will reduce it to: