summaryrefslogtreecommitdiff
path: root/Test/dafny3
diff options
context:
space:
mode:
authorGravatar Rustan Leino <unknown>2015-10-02 18:56:13 -0700
committerGravatar Rustan Leino <unknown>2015-10-02 18:56:13 -0700
commitcfe05df94a5ccb6025c94bd21b09bfc1240de756 (patch)
tree94585c6f9e721829719472e5802367562c0e9f11 /Test/dafny3
parent1885f7d7d1fb9bd6ceb8220450dbb5d890501337 (diff)
Made /rewriteFocalPredicates:1 the default
Diffstat (limited to 'Test/dafny3')
-rw-r--r--Test/dafny3/Filter.dfy6
1 files changed, 3 insertions, 3 deletions
diff --git a/Test/dafny3/Filter.dfy b/Test/dafny3/Filter.dfy
index 6f541396..4f8b35ec 100644
--- a/Test/dafny3/Filter.dfy
+++ b/Test/dafny3/Filter.dfy
@@ -157,11 +157,11 @@ colemma Filter_IsSubStream(s: Stream, P: Predicate)
calc {
true;
== { Filter_IsSubStream(s.tail, P); } // induction hypothesis
- IsSubStream#[_k-1](Filter(s.tail, P), s.tail);
+ IsSubStream(Filter(s.tail, P), s.tail);
== // { assert Filter(s.tail, h) == Filter(s, h).tail; }
- IsSubStream#[_k-1](Filter(s, P).tail, s.tail);
+ IsSubStream(Filter(s, P).tail, s.tail);
==> { Lemma_TailSubStreamK(Filter(s, P).tail, s, _k-1); }
- IsSubStream#[_k-1](Filter(s, P).tail, s);
+ IsSubStream(Filter(s, P).tail, s);
}
calc {
In(Filter(s, P).head, s);