mirror of
https://github.com/Z3Prover/z3
synced 2025-04-26 18:45:33 +00:00
consolidate methods that add lemma specific information to under "new_lemma"
This commit is contained in:
parent
caee936af5
commit
179c9c2da2
12 changed files with 314 additions and 560 deletions
|
@ -85,7 +85,7 @@ bool intervals::check_nex(const nex* n, u_dependency* initial_deps) {
|
|||
scoped_dep_interval i(get_dep_intervals());
|
||||
std::function<void (const lp::explanation&)> f = [this](const lp::explanation& e) {
|
||||
new_lemma lemma(*m_core, "check_nex");
|
||||
m_core->current_expl().add(e);
|
||||
lemma &= e;
|
||||
};
|
||||
if (!interval_of_expr<e_with_deps::without_deps>(n, 1, i, f)) {
|
||||
// found a conflict during the interval calculation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue