mirror of
https://github.com/Z3Prover/z3
synced 2025-12-21 03:33:43 +00:00
clean up suffix/prefix rewriting
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
498fa87993
commit
aeb4d1864d
3 changed files with 65 additions and 49 deletions
|
|
@ -987,6 +987,11 @@ void seq_util::str::get_concat_units(expr* e, expr_ref_vector& es) const {
|
|||
}
|
||||
}
|
||||
|
||||
app* seq_util::str::mk_is_empty(expr* s) const {
|
||||
return m.mk_eq(mk_empty(get_sort(s)), s);
|
||||
}
|
||||
|
||||
|
||||
app* seq_util::re::mk_loop(expr* r, unsigned lo) {
|
||||
parameter param(lo);
|
||||
return m.mk_app(m_fid, OP_RE_LOOP, 1, ¶m, 1, &r);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue