mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
re.range with non-unit arguments is the empty language (#4360)
This commit is contained in:
parent
152d6338f8
commit
1c760b04cf
2 changed files with 14 additions and 7 deletions
|
@ -308,7 +308,8 @@ eautomaton* re2automaton::re2aut(expr* e) {
|
|||
return a.detach();
|
||||
}
|
||||
else {
|
||||
TRACE("seq", tout << "Range expression is not handled: " << mk_pp(e, m) << "\n";);
|
||||
// if e1/e2 are not unit, (re.range e1 e2) is defined to be the empty language
|
||||
return alloc(eautomaton, sm);
|
||||
}
|
||||
}
|
||||
else if (u.re.is_complement(e, e0) && (a = re2aut(e0)) && m_sa) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue