summaryrefslogtreecommitdiff
path: root/Test/dafny1
diff options
context:
space:
mode:
authorGravatar rustanleino <unknown>2011-03-07 15:44:53 +0000
committerGravatar rustanleino <unknown>2011-03-07 15:44:53 +0000
commitf855c20da04c68c2ab262e98afb7b64258186d5b (patch)
tree0fceffb8075689f4dd19d99d4c9cd3b2be4bbb58 /Test/dafny1
parentc9e579f489e48ccbba4df0c5ca4d7867e20cd948 (diff)
Dafny: Fixed typo in P16 of Rippling benchmarks, which now makes it (true and) verifiable
Diffstat (limited to 'Test/dafny1')
-rw-r--r--Test/dafny1/Rippling.dfy3
1 files changed, 1 insertions, 2 deletions
diff --git a/Test/dafny1/Rippling.dfy b/Test/dafny1/Rippling.dfy
index c0e4da0b..17613d62 100644
--- a/Test/dafny1/Rippling.dfy
+++ b/Test/dafny1/Rippling.dfy
@@ -348,9 +348,8 @@ ghost method P15()
}
ghost method P16()
- ensures (forall x, xs :: last(#List.Cons(x, xs)) == x ==> xs == #List.Nil);
+ ensures (forall x, xs :: xs == #List.Nil ==> last(#List.Cons(x, xs)) == x);
{
- assume false; // Dafny is not able to verify it automatically
}
ghost method P17()