3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-01-18 08:18:55 +00:00

extract also units from search state

This commit is contained in:
Nikolaj Bjorner 2022-02-07 06:15:49 +02:00
parent d4ea67a6e7
commit 3f3d058567
7 changed files with 36 additions and 1 deletions

View file

@ -242,6 +242,7 @@ expr_ref_vector solver::get_units() {
ast_manager& m = get_manager();
expr_ref_vector fmls(m), result(m), tmp(m);
get_assertions(fmls);
get_units_core(fmls);
obj_map<expr, bool> units;
for (expr* f : fmls) {
if (m.is_not(f, f) && is_literal(m, f)) {