Skip to content

Commit

Permalink
Removed the set cardinality/subset axiom (with no trigger, it caused …
Browse files Browse the repository at this point in the history
…test suite to fail; even with a restrictive trigger, it added a few minutes to the test suite)
  • Loading branch information
Rustan Leino committed Apr 2, 2013
1 parent 572da62 commit 10f618e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Binaries/DafnyPrelude.bpl
Expand Up @@ -84,8 +84,9 @@ axiom (forall<T> a, b: Set T, y: T :: { Set#Difference(a, b), b[y] }
function Set#Subset<T>(Set T, Set T): bool;
axiom(forall<T> a: Set T, b: Set T :: { Set#Subset(a,b) }
Set#Subset(a,b) <==> (forall o: T :: {a[o]} {b[o]} a[o] ==> b[o]));
axiom(forall<T> a: Set T, b: Set T :: { Set#Subset(a,b) }
Set#Subset(a,b) ==> Set#Card(a) <= Set#Card(b));
//axiom(forall<T> a: Set T, b: Set T ::
// { Set#Subset(a,b), Set#Card(a), Set#Card(b) } // very restrictive trigger
// Set#Subset(a,b) ==> Set#Card(a) <= Set#Card(b));


function Set#Equal<T>(Set T, Set T): bool;
Expand Down

0 comments on commit 10f618e

Please sign in to comment.