diff options
Diffstat (limited to 'Test/snapshots/Snapshots16.v0.bpl')
-rw-r--r-- | Test/snapshots/Snapshots16.v0.bpl | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Test/snapshots/Snapshots16.v0.bpl b/Test/snapshots/Snapshots16.v0.bpl index 45cb4a76..3ab51400 100644 --- a/Test/snapshots/Snapshots16.v0.bpl +++ b/Test/snapshots/Snapshots16.v0.bpl @@ -1,15 +1,15 @@ -function {:checksum "1"} PlusOne(n: int) : int
-{
- n + 1
-}
-
-function {:checksum "0"} F(n: int) : int;
-
-axiom (forall n: int :: { F(n) } F(n) == PlusOne(n));
-
-procedure {:checksum "2"} M();
-
-implementation {:id "M"} {:checksum "3"} M()
-{
- assert F(0) == 1;
-}
+function {:checksum "1"} PlusOne(n: int) : int +{ + n + 1 +} + +function {:checksum "0"} F(n: int) : int; + +axiom (forall n: int :: { F(n) } F(n) == PlusOne(n)); + +procedure {:checksum "2"} M(); + +implementation {:id "M"} {:checksum "3"} M() +{ + assert F(0) == 1; +} |