summaryrefslogtreecommitdiff
path: root/Test/dafny1/Rippling.dfy
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
commitb9f45ea020cab2f5ce7de69a60dc6a19f7df810e (patch)
tree86700bdba253baec9a0d384bc72c747a773d0ad6 /Test/dafny1/Rippling.dfy
parentb1edecd2a2908054005f45a4d172d9c47fd8f2ba (diff)
Dafny: Fixed typo in P16 of Rippling benchmarks, which now makes it (true and) verifiable
Diffstat (limited to 'Test/dafny1/Rippling.dfy')
-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()