mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 12:11:23 +00:00
add option to rewrite and for arithmetic simplification
This commit is contained in:
parent
088898834c
commit
bd4db4c41f
5 changed files with 47 additions and 10 deletions
|
@ -215,6 +215,11 @@ struct th_rewriter_cfg : public default_rewriter_cfg {
|
|||
if (st != BR_FAILED)
|
||||
return st;
|
||||
}
|
||||
if (false && k == OP_AND) {
|
||||
st = m_a_rw.mk_and_core(num, args, result);
|
||||
if (st != BR_FAILED)
|
||||
return st;
|
||||
}
|
||||
if (k == OP_EQ && m_seq_rw.u().has_seq() && is_app(args[0]) &&
|
||||
to_app(args[0])->get_family_id() == m_seq_rw.get_fid()) {
|
||||
st = m_seq_rw.mk_eq_core(args[0], args[1], result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue