mirror of
https://github.com/Z3Prover/z3
synced 2025-08-05 10:50:24 +00:00
Z3str3: Add consistency checks for string-integer conversion terms in model construction (#4551)
* z3str3: check consistency of str.to_int in fixed length solver * z3str3: add similar check for int.to_str as well * z3str3: refactor string-integer conversion check and add post checks for model construction
This commit is contained in:
parent
8fda4f904d
commit
fce1252145
3 changed files with 199 additions and 35 deletions
|
@ -753,6 +753,7 @@ protected:
|
|||
|
||||
bool finalcheck_str2int(app * a);
|
||||
bool finalcheck_int2str(app * a);
|
||||
bool string_integer_conversion_valid(zstring str, rational& converted) const;
|
||||
|
||||
lbool fixed_length_model_construction(expr_ref_vector formulas, expr_ref_vector &precondition,
|
||||
expr_ref_vector& free_variables,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue