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

fix missing call change to cross-nested. Prepare for lower-bound and upper-bound cardinality constraints

This commit is contained in:
Nikolaj Bjorner 2025-09-19 18:57:50 -07:00
parent 2517b5a40a
commit a8ae52bfbf
3 changed files with 123 additions and 1 deletions

View file

@ -313,6 +313,8 @@ namespace opt {
bool is_maxsat(expr* fml, expr_ref_vector& terms,
vector<rational>& weights, rational& offset, bool& neg,
symbol& id, expr_ref& orig_term, unsigned& index);
bool is_min_max_of_sums(expr *fml, expr_ref_vector &fmls);
bool simplify_min_max_of_sums(expr_ref_vector &fmls);
void purify(app_ref& term);
app* purify(generic_model_converter_ref& fm, expr* e);
bool is_mul_const(expr* e);