1 (* bitvector modules, is not in smt-libv2.gen since cvc4 and z3 don't
2 have the same name for the function to_int *)
5 syntax function to_uint "(bv2nat %1)"
9 (* mapping of_int to int2bv is disabled because it breaks proofs
10 in examples/bitcount, examples/esterel,
11 examples/isqrt_von_neumann, examples/rightmostbittrick,
14 (* syntax function of_int "((_ int2bv 256) %1)" *)
15 syntax function t'int "(bv2nat %1)"
19 (* syntax function of_int "((_ int2bv 128) %1)" *)
20 syntax function t'int "(bv2nat %1)"
24 (* syntax function of_int "((_ int2bv 64) %1)" *)
25 syntax function t'int "(bv2nat %1)"
29 (* syntax function of_int "((_ int2bv 32) %1)" *)
30 syntax function t'int "(bv2nat %1)"
34 (* syntax function of_int "((_ int2bv 16) %1)" *)
35 syntax function t'int "(bv2nat %1)"
39 (* syntax function of_int "((_ int2bv 8) %1)" *)
40 syntax function t'int "(bv2nat %1)"