3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-16 04:20:25 +00:00

assign_verify: separate lemma production and activation

This commit is contained in:
Jakob Rath 2022-11-30 15:00:58 +01:00
parent e338d42cff
commit fdca0cd86f
4 changed files with 31 additions and 20 deletions

View file

@ -250,8 +250,8 @@ namespace polysat {
// Check whether all constraints for 'v' are satisfied;
// or find an arbitrary violated constraint.
bool check_constraints(pvar v) { return !find_violated_constraint(v); }
signed_constraint find_violated_constraint(pvar v);
bool check_constraints(assignment const& a, pvar v) { return !find_violated_constraint(a, v); }
signed_constraint find_violated_constraint(assignment const& a, pvar v);
dd::find_t find_viable(pvar v, rational& out_val);
signed_constraints unsat_core(pvar v);