3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-19 10:52:02 +00:00

prepare ground for drup trim

By not deleting justifications in base level unit literals it is possible for drup-trim to inspect the trail for dependencies - which clauses were used to derive a literal.
This commit is contained in:
Nikolaj Bjorner 2022-06-12 10:45:39 -07:00
parent 35d4605425
commit 25ad5cb073
2 changed files with 3 additions and 3 deletions

View file

@ -945,8 +945,8 @@ namespace sat {
if (j.level() == 0) {
if (m_config.m_drat)
drat_log_unit(l, j);
j = justification(0); // erase justification for level 0
if (!m_config.m_drup_trim)
j = justification(0); // erase justification for level 0
}
else {
VERIFY(!at_base_lvl());