diff options
author | 2010-06-11 02:02:36 +0000 | |
---|---|---|
committer | 2010-06-11 02:02:36 +0000 | |
commit | d0411d08eba6e800509744dbb9e0b4c380964e9b (patch) | |
tree | b67726e5eb114d28fc8af048344f16ed8eed71bd /Test/dafny1/SchorrWaite.dfy | |
parent | 5dddcccf78dbd7752963c5fe9da288697ccd27eb (diff) |
Dafny: Added two additional heuristics for guessing missing loop decreases clauses (for loop guard A!=B and for loop guards with multiple conjuncts)
Diffstat (limited to 'Test/dafny1/SchorrWaite.dfy')
-rw-r--r-- | Test/dafny1/SchorrWaite.dfy | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Test/dafny1/SchorrWaite.dfy b/Test/dafny1/SchorrWaite.dfy index a46e83a3..3e64a4bd 100644 --- a/Test/dafny1/SchorrWaite.dfy +++ b/Test/dafny1/SchorrWaite.dfy @@ -64,7 +64,6 @@ class Main { invariant (forall n :: n in S ==>
n.childrenVisited == old(n.childrenVisited) &&
n.children == old(n.children));
- decreases |root.children| - i;
{
var c := root.children[i];
if (c != null) {
|