]> git.unchartedbackwaters.co.uk Git - francis/stp.git/commit
Bugfix. STP returned the wrong answer when something like bitwidth of 1: (0 = (1...
authortrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Sun, 22 Aug 2010 06:43:22 +0000 (06:43 +0000)
committertrevor_hansen <trevor_hansen@e59a4935-1847-0410-ae03-e826735625c1>
Sun, 22 Aug 2010 06:43:22 +0000 (06:43 +0000)
commit9211fcfc9e06702d3c124c95963b1309ed28a2d4
treef3830c0d979373359ffbfcd3751dbe2120bfbc8a
parent3c394b9b183022f04ab4daa87bc2a76563cb65e8
Bugfix. STP returned the wrong answer when something like bitwidth of 1: (0 = (1+1)) made it to the bitblaster. Simplifying terms collapses (as we do now), collapses this down to (0 =0) which returns the correct answer. The bitvector solver didn't expect to see two constant in a plus.

git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@998 e59a4935-1847-0410-ae03-e826735625c1
src/simplifier/bvsolver.cpp
src/simplifier/constantBitP/ConstantBitPropagation.cpp