mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 00:55:31 +00:00
bail out on failure to properly project
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
32c63ce4cd
commit
20790c46ee
5 changed files with 19 additions and 25 deletions
|
@ -294,6 +294,7 @@ public:
|
|||
|
||||
void extract_literals(model& model, expr_ref_vector& fmls) {
|
||||
expr_ref val(m);
|
||||
TRACE("qe", tout << fmls << "\n";);
|
||||
for (unsigned i = 0; i < fmls.size(); ++i) {
|
||||
expr* fml = fmls[i].get(), *nfml, *f1, *f2, *f3;
|
||||
SASSERT(m.is_bool(fml));
|
||||
|
@ -404,6 +405,7 @@ public:
|
|||
// TBD other Boolean operations.
|
||||
}
|
||||
}
|
||||
TRACE("qe", tout << fmls << "\n";);
|
||||
m_visited.reset();
|
||||
}
|
||||
|
||||
|
|
|
@ -909,6 +909,7 @@ namespace qe {
|
|||
num_scopes = 2;
|
||||
}
|
||||
else {
|
||||
if (level.max() + 2 > m_level) return false;
|
||||
SASSERT(level.max() + 2 <= m_level);
|
||||
num_scopes = m_level - level.max();
|
||||
SASSERT(num_scopes >= 2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue