3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 11:25:51 +00:00
This commit is contained in:
Murphy Berzish 2017-05-03 17:45:56 -04:00
parent 41a242fab1
commit ab4fbe40b6
7 changed files with 11 additions and 20 deletions

View file

@ -185,6 +185,14 @@ namespace smt {
virtual void add_theory_assumptions(expr_ref_vector & assumptions) {
}
/**
\brief This method is called from the smt_context when an unsat core is generated.
The theory may change the answer to UNKNOWN by returning l_undef from this method.
*/
virtual lbool validate_unsat_core(expr_ref_vector & unsat_core) {
return l_false;
}
/**
\brief This method is invoked before the search starts.
*/
@ -200,14 +208,6 @@ namespace smt {
return FC_DONE;
}
/**
\brief This method is called from the smt_context when an unsat core is generated.
The theory may change the answer to UNKNOWN by returning l_undef from this method.
*/
virtual lbool validate_unsat_core(expr_ref_vector & unsat_core) {
return l_false;
}
/**
\brief Parametric theories (e.g. Arrays) should implement this method.
See example in context::is_shared