summaryrefslogtreecommitdiff
path: root/test/smt/arith_LC32L.unsat.sail
diff options
context:
space:
mode:
authorAlasdair Armstrong2019-06-04 15:18:27 +0100
committerAlasdair Armstrong2019-06-04 15:19:17 +0100
commit727abfbae118d9cdf8d8b47b080a5453cecf9c7d (patch)
tree7e4fab806ef984f0aa9bb3505d4dcbd1a3d1b281 /test/smt/arith_LC32L.unsat.sail
parent15d455f388075db4dcccb5c348e9cd725124b318 (diff)
SMT: Add a fuzzing tool for the SMT builtins
Diffstat (limited to 'test/smt/arith_LC32L.unsat.sail')
-rw-r--r--test/smt/arith_LC32L.unsat.sail17
1 files changed, 1 insertions, 16 deletions
diff --git a/test/smt/arith_LC32L.unsat.sail b/test/smt/arith_LC32L.unsat.sail
index 547a5cb1..82184bf8 100644
--- a/test/smt/arith_LC32L.unsat.sail
+++ b/test/smt/arith_LC32L.unsat.sail
@@ -2,26 +2,11 @@ default Order dec
$include <prelude.sail>
-$option -smt_ignore_overflow
-
$property
function prop(x: int, y: int(32), z: int) -> bool = {
let add_comm = x + y == y + x;
let add_assoc = (x + y) + z == x + (y + z);
let add_id = x + 0 == x;
- let mul_comm = x * y == y * x;
- let mul_assoc = (x * y) * z == x * (y * z);
- let mul_zero = x * 0 == 0;
-
- let add_mul_distrib = x * (y + z) == (x * y) + (x * z);
-
- let add_neg_zero = x + negate(x) == 0;
- let add_neg_sub = x + negate(y) == x - y;
- let neg_neg = negate(negate(x)) == x;
-
add_comm & add_assoc & add_id
- & mul_comm & mul_assoc & mul_zero
- & add_mul_distrib
- & add_neg_zero & add_neg_sub & neg_neg
-} \ No newline at end of file
+}