diff options
author | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2015-08-28 21:05:19 -0700 |
---|---|---|
committer | Clément Pit--Claudel <clement.pitclaudel@live.com> | 2015-08-28 21:05:19 -0700 |
commit | f3cfd7a9994af3518655bc4d1d77eeb3619b0999 (patch) | |
tree | f060144b2b1eb9adaf4e176f3b06f977acee9a67 /Test/dafny3 | |
parent | 95a42a224dff8eae383d93beb37a3da6a28bb0f3 (diff) |
Implement workarounds for some tests that fail with /autoTriggers.
The issues here are mostly with induction (wrt. to trigger selection and
quantifier splitting) and with expressions like P(i, j-1) where no good choices
are available.
Diffstat (limited to 'Test/dafny3')
-rw-r--r-- | Test/dafny3/InductionVsCoinduction.dfy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/dafny3/InductionVsCoinduction.dfy b/Test/dafny3/InductionVsCoinduction.dfy index 89fa6cc8..0074b742 100644 --- a/Test/dafny3/InductionVsCoinduction.dfy +++ b/Test/dafny3/InductionVsCoinduction.dfy @@ -80,7 +80,7 @@ lemma SAppendIsAssociative(a:Stream, b:Stream, c:Stream) {
forall k:nat { SAppendIsAssociativeK(k, a, b, c); }
// assert for clarity only, postcondition follows directly from it
- assert (forall k:nat :: SAppend(SAppend(a, b), c) ==#[k] SAppend(a, SAppend(b, c)));
+ assert (forall k:nat {:autotriggers false} :: SAppend(SAppend(a, b), c) ==#[k] SAppend(a, SAppend(b, c))); //FIXME: Should Dafny generate a trigger here? If so then which one?
}
// Equivalent proof using the colemma syntax.
|