case CVC4::kind::IFF:
case CVC4::kind::IMPLIES:
return false;
+ default:
+ ; /* fall through */
}
for (Expr::iterator k = begin(), kend=end(); k != kend; ++k) {
if (!CVC3::Expr(*k).isAtomic()) {
case CVC4::kind::XOR:
case CVC4::kind::ITE:
return true;
+ default:
+ return false;
}
- return false;
}
bool Expr::isPropLiteral() const {
VarSet d_propVars;
Proof* d_fullProof;
- ProofFormat d_format;
+ ProofFormat d_format; // used for now only in debug builds
protected:
std::string d_logic;
MinisatSatSolver::MinisatSatSolver() :
d_minisat(NULL),
- d_theoryProxy(NULL),
d_context(NULL)
{}
/** The SatSolver used */
Minisat::SimpSolver* d_minisat;
- /** The SatSolver uses this to communicate with the theories */
- TheoryProxy* d_theoryProxy;
-
/** Context we will be using to synchronize the sat solver */
context::Context* d_context;
/** The theory engine we are using */
TheoryEngine* d_theoryEngine;
- /** Context we will be using to synchronzie the sat solver */
- context::Context* d_context;
-
/** Queue of asserted facts */
context::CDQueue<TNode> d_queue;
d_cnfStream(cnfStream),
d_decisionEngine(decisionEngine),
d_theoryEngine(theoryEngine),
- d_context(context),
d_queue(context)
{}
SharedTermsDatabase::SharedTermsDatabase(TheoryEngine* theoryEngine, context::Context* context)
: ContextNotifyObj(context)
-, d_context(context)
, d_statSharedTerms("theory::shared_terms", 0)
, d_addedSharedTermsSize(context, 0)
, d_termsToTheories(context)
private:
- /** The context */
- context::Context* d_context;
-
/** Some statistics */
IntStat d_statSharedTerms;
typedef std::hash_map<Node, Node, NodeHashFunction> NodeCache;
- /** The context within which this SubstitutionMap was constructed. */
- context::Context* d_context;
-
/** The variables, in order of addition */
NodeMap d_substitutions;
public:
SubstitutionMap(context::Context* context, bool substituteUnderQuantifiers = true, bool solvedForm = false) :
- d_context(context),
d_substitutions(context),
d_substitutionCache(),
d_substituteUnderQuantifiers(substituteUnderQuantifiers),