[SMT-LIB] Signed comparisons in bit vector theory

Regis Blanc regwblanc at gmail.com
Tue Sep 2 12:28:45 EDT 2014


Hello all,

I am trying to use the theory of bit vectors to encode some
properties of java Integers. However, as far as I can tell, the only
comparison operator available in the standard is bvult, which
does an unsigned comparison. I was wondering if there was a standard
way to do signed comparison (negative numbers in two-complement) or
if I had to do my own encoding based on the unsigned comparison and
extracting leading bits?

Thanks,
Regis


More information about the SMT-LIB mailing list