diff options
author | Rustan Leino <unknown> | 2013-03-27 13:51:16 -0700 |
---|---|---|
committer | Rustan Leino <unknown> | 2013-03-27 13:51:16 -0700 |
commit | 5296b17758c3e27bf551e9a322323a37983d7abb (patch) | |
tree | a7c818eedf1608eec0e59ff73ac3ee8356939751 /Binaries/DafnyPrelude.bpl | |
parent | 5f05e3a1c194dcda48115d7b6a1c5777bd2d5287 (diff) |
The "choose" statement, hacky and specialized as it was, is now gone. Use the assign-such-that statement instead. For example: x :| x in S;
Diffstat (limited to 'Binaries/DafnyPrelude.bpl')
-rw-r--r-- | Binaries/DafnyPrelude.bpl | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Binaries/DafnyPrelude.bpl b/Binaries/DafnyPrelude.bpl index 7c8a9db8..13ea8ed0 100644 --- a/Binaries/DafnyPrelude.bpl +++ b/Binaries/DafnyPrelude.bpl @@ -92,11 +92,6 @@ function Set#Disjoint<T>(Set T, Set T): bool; axiom (forall<T> a: Set T, b: Set T :: { Set#Disjoint(a,b) }
Set#Disjoint(a,b) <==> (forall o: T :: {a[o]} {b[o]} !a[o] || !b[o]));
-function Set#Choose<T>(Set T, TickType): T;
-axiom (forall<T> a: Set T, tick: TickType :: { Set#Choose(a, tick) }
- a != Set#Empty() ==> a[Set#Choose(a, tick)]);
-
-
// ---------------------------------------------------------------
// -- Axiomatization of multisets --------------------------------
// ---------------------------------------------------------------
|