diff options
author | rustanleino <unknown> | 2010-11-17 17:34:09 +0000 |
---|---|---|
committer | rustanleino <unknown> | 2010-11-17 17:34:09 +0000 |
commit | f3cd67af3c2c7f99b8e75dd5660fc1c7a0b3114d (patch) | |
tree | 0b92eaf314db3ce5eb929eeefd5efa4a00ddd7ce /Chalice | |
parent | 9b2ab3b80a0c816862b8b6c90e64050b8369a51e (diff) |
Chalice: white space delta in test file
Dafny: Simplified VSComp2010/Problem4-Queens.dfy from using an inductive ghost-method lemmas to just using an assert
Diffstat (limited to 'Chalice')
-rw-r--r-- | Chalice/refinements/DuplicatesVideo.chalice | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Chalice/refinements/DuplicatesVideo.chalice b/Chalice/refinements/DuplicatesVideo.chalice index f70fb82f..3886cb78 100644 --- a/Chalice/refinements/DuplicatesVideo.chalice +++ b/Chalice/refinements/DuplicatesVideo.chalice @@ -15,7 +15,7 @@ class Duplicates1 refines Duplicates0 { invariant 0 <= n && n <= |s|;
invariant b <==> exists i in [0..n] :: s[i] in s[..i];
{
- var c := s[n] in s[..n];
+ var c := s[n] in s[..n];
b := b || c;
n := n + 1;
}
@@ -26,7 +26,7 @@ class Duplicates2 refines Duplicates1 { transforms Find(s: seq<int>) returns (b: bool)
{
_;
- // bitset has length 100, initially all false
+ // bitset has length 100, initially all false
var bitset:seq<bool> [|bitset| == 100 && true !in bitset ];
while
invariant |bitset| == 100;
|