--- /dev/null
+(set-logic QF_BV)
+(set-info :smt-lib-version 2.0)
+(set-info :category "check")
+(set-info :status unsat)
+(declare-fun x () (_ BitVec 8))
+(declare-fun y () (_ BitVec 8))
+
+
+
+
+; This is always true.
+(assert
+ (not (=
+ (bvneg (bvmul (bvneg x) (bvneg y) ))
+ (bvneg (bvmul y x ))
+
+ ))
+)
+
+
+(check-sat)
+(exit)
+
#!/bin/bash
-#Each file should be simplified down to either true or false, so the CNF generated should
-#be very small if simplifications are working as they should.
+#Each input should be simplified down to either true or false.
+#We no longer generate a CNF for trivially true/false instances,
+#so there should be no CNF generated for these.
+
rm -f output_*.cnf
files=`ls -1 -S *.smt2 *.smt`
for f in $files; do
stp --output-CNF $f
- cnf=`cat output_*.cnf | grep -v "^c" | grep -v "^$" | wc -l`
- if [ $cnf -gt 3 ] ; then
+ #cnf=`cat output_*.cnf | grep -v "^c" | grep -v "^$" | wc -l`
+ if [ -e output_0.cnf ] ; then
echo --fail $f
exit 10
fi