From: Guy Date: Tue, 26 Jul 2016 23:37:57 +0000 (-0700) Subject: Bug fix: X-Git-Tag: cvc5-1.0.0~6040^2~27 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=90312eb079b1f70ea4d8d229f66273a66a1b7ab1;p=cvc5.git Bug fix: If a lemma (a disjunction) has a "false" literal in it, it can be ignored, but a "true" literal really should stay --- diff --git a/src/proof/proof_manager.cpp b/src/proof/proof_manager.cpp index e5e00f117..65dbb644d 100644 --- a/src/proof/proof_manager.cpp +++ b/src/proof/proof_manager.cpp @@ -336,11 +336,8 @@ std::set ProofManager::satClauseToNodeSet(prop::SatClause* clause) { prop::SatLiteral lit = (*clause)[i]; Node node = getCnfProof()->getAtom(lit.getSatVariable()); Expr atom = node.toExpr(); - if (atom.isConst()) { - Assert (atom == utils::mkTrue()); - continue; - } - result.insert(lit.isNegated() ? node.notNode() : node); + if (atom != utils::mkTrue()) + result.insert(lit.isNegated() ? node.notNode() : node); } return result;