summaryrefslogtreecommitdiff
path: root/Binaries
diff options
context:
space:
mode:
authorGravatar rustanleino <unknown>2011-02-03 02:27:13 +0000
committerGravatar rustanleino <unknown>2011-02-03 02:27:13 +0000
commit84bd33b3b99377f139dd60aaeb15f5e03b0c56b3 (patch)
tree9073139c508e8b4a8f6d418e68957bdad1ff24ec /Binaries
parentefc42f63a6b16ca433e532adc016b519b05f5588 (diff)
Dafny: replaced the user-defined $ite function with Boogie's built-in if-then-else expression
Diffstat (limited to 'Binaries')
-rw-r--r--Binaries/DafnyPrelude.bpl8
1 files changed, 0 insertions, 8 deletions
diff --git a/Binaries/DafnyPrelude.bpl b/Binaries/DafnyPrelude.bpl
index 8795d6a5..6c9faa29 100644
--- a/Binaries/DafnyPrelude.bpl
+++ b/Binaries/DafnyPrelude.bpl
@@ -179,14 +179,6 @@ axiom (forall<T> s, t: Seq T ::
Seq#Drop(Seq#Append(s, t), Seq#Length(s)) == t);
// ---------------------------------------------------------------
-// -- If then else -----------------------------------------------
-// ---------------------------------------------------------------
-
-function $ite<T>(bool, T, T): T;
-axiom (forall<T> g: bool, a,b: T :: { $ite(g,a,b) }
- (g ==> $ite(g,a,b) == a) && (!g ==> $ite(g,a,b) == b));
-
-// ---------------------------------------------------------------
// -- Boxing and unboxing ----------------------------------------
// ---------------------------------------------------------------