mirror of
https://github.com/Z3Prover/z3
synced 2025-07-18 02:16:40 +00:00
fix bugs in model generation reported by Ken
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
6b2f31756b
commit
7553c3c86e
6 changed files with 24 additions and 11 deletions
|
@ -139,9 +139,6 @@ lbool dl_interface::query(expr * query) {
|
|||
m_ctx.reopen();
|
||||
m_ctx.replace_rules(old_rules);
|
||||
|
||||
if (m_pdr_rules.get_rules().empty()) {
|
||||
return l_false;
|
||||
}
|
||||
|
||||
m_context->set_proof_converter(pc);
|
||||
m_context->set_model_converter(mc);
|
||||
|
@ -149,6 +146,10 @@ lbool dl_interface::query(expr * query) {
|
|||
m_context->set_axioms(bg_assertion);
|
||||
m_context->update_rules(m_pdr_rules);
|
||||
|
||||
if (m_pdr_rules.get_rules().empty()) {
|
||||
m_context->set_unsat();
|
||||
return l_false;
|
||||
}
|
||||
|
||||
while (true) {
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue