There seems to be a bug in SBVDIV that was introduced in SVN r1423. The following two CVC queries should be equivalent, but they return different results:
X : BITVECTOR(2);
ASSERT(X = 0b01);
QUERY(NOT(SBVDIV(2,X,0b11) = 0b11));
Valid.
QUERY(NOT(SBVDIV(2,0b01,0b11) = 0b11));
Invalid.
In my testing, it seems to only occur when the left operand is a variable.
Yit
January 4, 2012
From: Khoo Yit Phang <kho...@cs.umd.edu>
To: stp-users <stp-...@googlegroups.com>
Cc: Khoo Yit Phang <kho...@cs.umd.edu>
Sent: Thursday, 5 January 2012 9:01 AM
Subject: Bug in SBVDIV introduced in r1423