blob: ef792b2bd28e8f8db43849cc6dc582303a864477 (
plain)
1
2
3
4
5
6
7
8
9
10
|
function AtLeast(int, int) returns ([int]bool);
axiom(forall n:int, x:int :: {AtLeast(n,x)} AtLeast(n,x)[x]);
var myInt:int;
procedure main()
modifies myInt;
ensures myInt==5;
{
myInt:=4;
}
|