diff options
author | akashlal <unknown> | 2013-05-27 12:32:24 +0530 |
---|---|---|
committer | akashlal <unknown> | 2013-05-27 12:32:24 +0530 |
commit | 0b5af50545d93128256acabcd09ec09996f495f6 (patch) | |
tree | 77b193a330e4a09fa47c19959fa06c620c973984 /Test/AbsHoudini/Answer | |
parent | 21f72bdf46f12d214ac1f58bcc1041de2827ff40 (diff) |
AbsHoudini: Added support for quantifiers
Diffstat (limited to 'Test/AbsHoudini/Answer')
-rw-r--r-- | Test/AbsHoudini/Answer | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/Test/AbsHoudini/Answer b/Test/AbsHoudini/Answer index 58da416e..db2f6631 100644 --- a/Test/AbsHoudini/Answer +++ b/Test/AbsHoudini/Answer @@ -439,3 +439,51 @@ function {:existential true} {:absdomain "Intervals"} {:inline} b3(x: int) : boo }
Boogie program verifier finished with 1 verified, 0 errors
+.
+-------------------- pred5.bpl --------------------
+function {:existential true} {:inline} b1(x: bool) : bool
+{
+ x
+}
+
+Boogie program verifier finished with 1 verified, 0 errors
+.
+-------------------- quant1.bpl --------------------
+function {:existential true} {:absdomain "IA[Intervals]"} {:inline} b1(x: int) : bool
+{
+ x >= 0 && x <= 2
+}
+
+Boogie program verifier finished with 1 verified, 0 errors
+.
+-------------------- quant2.bpl --------------------
+function {:existential true} {:absdomain "Intervals"} {:inline} b1(x: int) : bool
+{
+ x >= 0 && x <= 1
+}
+
+Boogie program verifier finished with 1 verified, 0 errors
+.
+-------------------- quant3.bpl --------------------
+function {:existential true} {:absdomain "Intervals"} {:inline} b1(x: int) : bool
+{
+ x >= 0 && x <= 0
+}
+
+Boogie program verifier finished with 1 verified, 0 errors
+.
+-------------------- quant4.bpl --------------------
+function {:existential true} {:absdomain "IA[HoudiniConst]"} {:inline} b1() : bool
+{
+ true
+}
+
+Boogie program verifier finished with 1 verified, 0 errors
+.
+-------------------- quant5.bpl --------------------
+function {:existential true} {:absdomain "Intervals"} {:inline} b1(x: int) : bool
+{
+ x >= 5 && x <= 5
+}
+
+Boogie program verifier finished with 1 verified, 0 errors
|