Using Z3, is it possible to somehow merge/simplify
t>=2 or t>=1
into
t>=1
where t is an integer?
We wish keep the constraint for t as simple as possible.
Using Z3, is it possible to somehow merge/simplify
t>=2 or t>=1
into
t>=1
where t is an integer?
We wish keep the constraint for t as simple as possible.
Z3 can do it by using the tactic ctx-solver-simplify
.
Note that this tactic may be quite expensive.
The tactic ctx-simplify
is cheaper by it only "propagates" equalities.
Here is a link for script using this tactic: http://rise4fun.com/Z3/F7Q