blob: 5c3eb0e53ba67a0f4efba09f430f1103f291c416 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
type ref;
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;
}
|