1 (* bitvector modules, is not in smt-libv2.gen since cvc4 and z3 don't
2 have the same name for the function to_uint *)
5 syntax function to_uint "(bv2int %1)"
9 (* mapping of_int to int2bv is disabled because it breaks proofs
10 in examples/queens_bv, examples/bitwalker *)
12 (* syntax function of_int "((_ int2bv 256) %1)" *)
13 syntax function t'int "(bv2int %1)"
15 remove prop Nth_bv_is_nth
16 remove prop Nth_bv_is_nth2
20 (* syntax function of_int "((_ int2bv 128) %1)" *)
21 syntax function t'int "(bv2int %1)"
23 remove prop Nth_bv_is_nth
24 remove prop Nth_bv_is_nth2
28 (* syntax function of_int "((_ int2bv 64) %1)" *)
29 syntax function t'int "(bv2int %1)"
31 remove prop Nth_bv_is_nth
32 remove prop Nth_bv_is_nth2
36 (* syntax function of_int "((_ int2bv 32) %1)" *)
37 syntax function t'int "(bv2int %1)"
39 remove prop Nth_bv_is_nth
40 remove prop Nth_bv_is_nth2
44 (* syntax function of_int "((_ int2bv 16) %1)" *)
45 syntax function t'int "(bv2int %1)"
47 remove prop Nth_bv_is_nth
48 remove prop Nth_bv_is_nth2
52 (* syntax function of_int "((_ int2bv 8) %1)" *)
53 syntax function t'int "(bv2int %1)"
55 remove prop Nth_bv_is_nth
56 remove prop Nth_bv_is_nth2