mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 02:45:51 +00:00
parent
0b856638e9
commit
426e4cc75c
65 changed files with 135 additions and 146 deletions
|
@ -96,7 +96,7 @@ protected:
|
|||
m_solver.push();
|
||||
reduce(fml);
|
||||
m_solver.pop(1);
|
||||
if (m.canceled())
|
||||
if (!m.inc())
|
||||
return;
|
||||
SASSERT(m_solver.get_scope_level() == 0);
|
||||
TRACE("ctx_solver_simplify_tactic",
|
||||
|
@ -172,7 +172,7 @@ protected:
|
|||
names.push_back(n);
|
||||
m_solver.push();
|
||||
|
||||
while (!todo.empty() && !m.canceled()) {
|
||||
while (!todo.empty() && m.inc()) {
|
||||
expr_ref res(m);
|
||||
args.reset();
|
||||
expr* e = todo.back().m_expr;
|
||||
|
@ -244,7 +244,7 @@ protected:
|
|||
names.pop_back();
|
||||
m_solver.pop(1);
|
||||
}
|
||||
if (!m.canceled()) {
|
||||
if (m.inc()) {
|
||||
VERIFY(cache.find(fml, path_r));
|
||||
result = path_r.m_expr;
|
||||
}
|
||||
|
|
|
@ -57,9 +57,7 @@ struct unit_subsumption_tactic : public tactic {
|
|||
}
|
||||
|
||||
void checkpoint() {
|
||||
if (m.canceled()) {
|
||||
throw tactic_exception(m.limit().get_cancel_msg());
|
||||
}
|
||||
tactic::checkpoint(m);
|
||||
}
|
||||
|
||||
void reduce_core(goal_ref const& g, goal_ref_buffer& result) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue