3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-01 21:05:52 +00:00
This commit is contained in:
Jakob Rath 2021-09-07 14:06:32 +02:00
parent 7d58296ad2
commit 733c21bb20
6 changed files with 92 additions and 60 deletions

View file

@ -44,6 +44,7 @@ namespace polysat {
// ptr_addr_map<constraint, vector<signed_constraint>> m_saturation_premises;
map<signed_constraint, vector<signed_constraint>, obj_hash<signed_constraint>, default_eq<signed_constraint>> m_saturation_premises;
void handle_saturation_premises(signed_constraint c);
public:
conflict_core(solver& s);
~conflict_core();
@ -88,7 +89,7 @@ namespace polysat {
bool resolve_value(pvar v, vector<signed_constraint> const& cjust_v);
/** Convert the core into a lemma to be learned. */
clause_ref build_lemma();
clause_ref build_lemma(unsigned model_level);
bool try_eliminate(pvar v);
bool try_saturate(pvar v);