3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 02:45:51 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-01 18:18:44 -07:00
parent 2ac8d3461e
commit b686bb61fe
2 changed files with 7 additions and 2 deletions

View file

@ -15,6 +15,7 @@ Author:
--*/
#include "ast/ast_util.h"
#include "smt/tactic/unit_subsumption_tactic.h"
#include "smt/smt_context.h"
@ -92,7 +93,8 @@ struct unit_subsumption_tactic : public tactic {
m_context.push();
for (unsigned j = 0; j < m_clause_count; ++j) {
if (i == j) {
m_context.assert_expr(m.mk_not(m_clauses.get(j)));
expr_ref fml(mk_not(m, m_clauses.get(j)), m);
m_context.assert_expr(fml);
}
else if (!m_is_deleted.get(j)) {
m_context.assert_expr(m_clauses.get(j));