git-svn-id: https://stp-fast-prover.svn.sourceforge.net/svnroot/stp-fast-prover/trunk/stp@1253
e59a4935-1847-0410-ae03-
e826735625c1
return output;
} //end of BVSolve_Odd()
- bool containsExtract(const ASTNode& n, ASTNodeSet& visited) {
- if (visited.find(n) != visited.end())
- return false;
-
- if (BVEXTRACT == n.GetKind())
- return true;
-
- for (unsigned i = 0; i < n.Degree(); i++) {
- if (containsExtract(n[i], visited))
- return true;
- }
- visited.insert(n);
- return false;
- }
-
// Solve for XORs.
// to do. Flatten the XOR.
ASTNode BVSolver::solveForXOR(const ASTNode& xorNode)