3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-06-19 15:16:29 +00:00

Remove is_nullable_rec from seq_rewriter, delegate to derive::nullable

This commit is contained in:
copilot-swe-agent[bot] 2026-06-10 18:53:55 +00:00 committed by GitHub
parent 4cd4d16868
commit b6a29b800b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 100 deletions

View file

@ -519,8 +519,7 @@ namespace seq {
m_br.mk_not(is_nullable(r1), result);
}
else if (re().is_to_re(r, r1)) {
SASSERT(u().is_seq(r1->get_sort()));
result = m.mk_eq(u().str.mk_empty(r1->get_sort()), r1);
result = is_nullable(r1);
}
else if (m.is_ite(r, cond, r1, r2)) {
m_br.mk_ite(cond, is_nullable(r1), is_nullable(r2), result);