mirror of
https://github.com/Z3Prover/z3
synced 2025-08-27 13:39:49 +00:00
solver::check_sat_cc : check_sat assuming cube and clause
Extends check_sat with an ability to assume a single clause in addition to assuming a cube of assumptions
This commit is contained in:
parent
4477f7d326
commit
26339119e4
6 changed files with 50 additions and 70 deletions
|
@ -152,7 +152,10 @@ public:
|
|||
The cube corresponds to auxiliary assumptions. The clause as an auxiliary disjunction that is also
|
||||
assumed for the check.
|
||||
*/
|
||||
virtual lbool check_sat(expr_ref_vector const& cube, expr_ref_vector const& clause, model_ref* mdl = nullptr, expr_ref_vector* core = nullptr, proof_ref* pr = nullptr);
|
||||
virtual lbool check_sat_cc(expr_ref_vector const& cube, expr_ref_vector const& clause) {
|
||||
if (clause.empty()) return check_sat(cube.size(), cube.c_ptr());
|
||||
NOT_IMPLEMENTED_YET();
|
||||
}
|
||||
|
||||
/**
|
||||
\brief Set a progress callback procedure that is invoked by this solver during check_sat.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue