mirror of
https://github.com/Z3Prover/z3
synced 2025-08-19 01:32:17 +00:00
enable incremental consequence finding with restart timeout
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
a4d5c4a00a
commit
74d3de01b3
4 changed files with 141 additions and 30 deletions
|
@ -252,12 +252,17 @@ public:
|
|||
m_solver.pop_to_base_level();
|
||||
lbool r = internalize_formulas();
|
||||
if (r != l_true) return r;
|
||||
r = internalize_vars(vars, bvars);
|
||||
if (r != l_true) return r;
|
||||
r = internalize_assumptions(assumptions.size(), assumptions.c_ptr(), dep2asm);
|
||||
if (r != l_true) return r;
|
||||
r = internalize_vars(vars, bvars);
|
||||
|
||||
r = m_solver.get_consequences(m_asms, bvars, lconseq);
|
||||
if (r == l_false) return r;
|
||||
if (r == l_false) {
|
||||
if (!m_asms.empty()) {
|
||||
extract_core(dep2asm);
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
||||
// build map from bound variables to
|
||||
// the consequences that cover them.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue