summaryrefslogtreecommitdiff
path: root/src/proof
diff options
context:
space:
mode:
Diffstat (limited to 'src/proof')
-rw-r--r--src/proof/cnf_proof.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/proof/cnf_proof.cpp b/src/proof/cnf_proof.cpp
index 9634cb47b..b546fcf87 100644
--- a/src/proof/cnf_proof.cpp
+++ b/src/proof/cnf_proof.cpp
@@ -194,7 +194,7 @@ void LFSCCnfProof::printInputClauses(std::ostream& os, std::ostream& paren) {
//Assert( child_pol==childPol[child_base] );
os_main << "(or_elim_1 _ _ ";
prop::SatLiteral lit = (*clause)[itcic->second];
- if( childPol[child_base] ){
+ if( childPol[child_base] && base_pol ){
os_main << ProofManager::getLitName(lit) << " ";
}else{
os_main << "(not_not_intro _ " << ProofManager::getLitName(lit) << ") ";
@@ -224,7 +224,7 @@ void LFSCCnfProof::printInputClauses(std::ostream& os, std::ostream& paren) {
if( itcic!=childIndex.end() ){
os << "(contra _ ";
prop::SatLiteral lit = (*clause)[itcic->second];
- if( childPol[child_base] ){
+ if( childPol[child_base] && base_pol ){
os << os_main.str() << " " << ProofManager::getLitName(lit);
}else{
os << ProofManager::getLitName(lit) << " " << os_main.str();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback