// track double negation elimination
if (negated)
{
- d_proof.addStep(node[0],
- PfRule::MACRO_SR_PRED_TRANSFORM,
- {node.notNode()},
- {node[0]});
- Trace("cnf") << "ProofCnfStream::convertAndAssert: "
- "MACRO_SR_PRED_TRANSFORM added norm "
- << node[0] << "\n";
+ d_proof.addStep(node[0], PfRule::NOT_NOT_ELIM, {node.notNode()}, {});
+ Trace("cnf")
+ << "ProofCnfStream::convertAndAssert: NOT_NOT_ELIM added norm "
+ << node[0] << "\n";
}
convertAndAssert(node[0], !negated);
break;
{
// track double negation elimination
// (not (not n))
- // -------------- MACRO_SR_PRED_TRANSFORM
+ // -------------- NOT_NOT_ELIM
// n
- d_proof.addStep(
- nnode, PfRule::MACRO_SR_PRED_TRANSFORM, {node.notNode()}, {nnode});
- Trace("cnf") << "ProofCnfStream::convertAndAssert: "
- "MACRO_SR_PRED_TRANSFORM added norm "
- << nnode << "\n";
+ d_proof.addStep(nnode, PfRule::NOT_NOT_ELIM, {node.notNode()}, {});
+ Trace("cnf")
+ << "ProofCnfStream::convertAndAssert: NOT_NOT_ELIM added norm "
+ << nnode << "\n";
}
if (added)
{
// eliminate double neg
if (n.getKind() == kind::NOT && n[0].getKind() == kind::NOT)
{
- addStep(PfRule::MACRO_SR_PRED_TRANSFORM, {n}, {n[0][0]}, n[0][0]);
+ addStep(PfRule::NOT_NOT_ELIM, {n}, {}, n[0][0]);
return n[0][0];
}
return n;