mirror of
https://github.com/Z3Prover/z3
synced 2025-06-28 00:48:45 +00:00
enable unsat core extraction in nlsat_tactic
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
84172302a2
commit
305e080239
9 changed files with 46 additions and 20 deletions
|
@ -137,7 +137,9 @@ lbool tactic2solver::check_sat_core(unsigned num_assumptions, expr * const * ass
|
|||
g->assert_expr(m_assertions.get(i));
|
||||
}
|
||||
for (unsigned i = 0; i < num_assumptions; i++) {
|
||||
g->assert_expr(assumptions[i], m.mk_asserted(assumptions[i]), m.mk_leaf(assumptions[i]));
|
||||
proof_ref pr(m.mk_asserted(assumptions[i]), m);
|
||||
expr_dependency_ref ans(m.mk_leaf(assumptions[i]), m);
|
||||
g->assert_expr(assumptions[i], pr, ans);
|
||||
}
|
||||
|
||||
model_ref md;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue