3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-14 06:45:25 +00:00

fix backtracking of m_needs_congruence

This commit is contained in:
Jakob Rath 2023-07-18 16:00:26 +02:00
parent a96df2292e
commit 28ed3bd7ab
3 changed files with 32 additions and 6 deletions

View file

@ -214,6 +214,7 @@ namespace polysat {
pvar mk_slice_extract(enode* src, unsigned hi, unsigned lo);
bool invariant() const;
bool invariant_needs_congruence() const;
/** Get variable representing x[hi:lo] */
pvar mk_extract_var(pvar x, unsigned hi, unsigned lo);
@ -243,6 +244,8 @@ namespace polysat {
void add_value(pvar v, rational const& value);
void add_constraint(signed_constraint c);
bool can_propagate() const;
// update congruences, egraph
void propagate();