mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
User Propagator: Return if propagated lemma is redundant (#6791)
* Give users ability to see if propagation failed * Skip propagations in the new core if they are already satisfied
This commit is contained in:
parent
f5c069f899
commit
4cb158a79b
10 changed files with 48 additions and 31 deletions
|
@ -9,7 +9,7 @@ namespace user_propagator {
|
|||
class callback {
|
||||
public:
|
||||
virtual ~callback() = default;
|
||||
virtual void propagate_cb(unsigned num_fixed, expr* const* fixed_ids, unsigned num_eqs, expr* const* eq_lhs, expr* const* eq_rhs, expr* conseq) = 0;
|
||||
virtual bool propagate_cb(unsigned num_fixed, expr* const* fixed_ids, unsigned num_eqs, expr* const* eq_lhs, expr* const* eq_rhs, expr* conseq) = 0;
|
||||
virtual void register_cb(expr* e) = 0;
|
||||
virtual bool next_split_cb(expr* e, unsigned idx, lbool phase) = 0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue