3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-08 00:41:56 +00:00

fix bug in antecedent collection for consequence finding: once an antecedent is set, it should not be cleared

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2017-01-06 19:34:50 -05:00
parent e9edcdc6e6
commit c69a86e647
2 changed files with 28 additions and 0 deletions

View file

@ -455,6 +455,8 @@ namespace sat {
void extract_assumptions(literal lit, index_set& s);
std::ostream& display_index_set(std::ostream& out, index_set const& s) const;
lbool get_consequences(literal_vector const& assms, literal_vector const& lits, vector<literal_vector>& conseq);
lbool get_bounded_consequences(literal_vector const& assms, bool_var_vector const& vars, vector<literal_vector>& conseq);