3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 11:25:51 +00:00

unsat core validation for smt theories

This commit is contained in:
Murphy Berzish 2017-04-21 17:51:14 -04:00
parent bef64961ae
commit 5cfe5e15ac
5 changed files with 68 additions and 65 deletions

View file

@ -199,6 +199,14 @@ 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