diff options
author | lianah <lianahady@gmail.com> | 2013-05-10 18:23:20 -0400 |
---|---|---|
committer | lianah <lianahady@gmail.com> | 2013-05-10 18:23:27 -0400 |
commit | d4c5c5d06f71958fcca6e561b7eade8fd72f7304 (patch) | |
tree | b6fce44c439a5ee46a69a6802d0d1cff46937871 /src/prop/cnf_stream.cpp | |
parent | 38216791c43f9be4afecbc700548d1dbba63acb0 (diff) |
now proofs print mapping between atom and propositional variable as a comment in LFSC
Diffstat (limited to 'src/prop/cnf_stream.cpp')
-rw-r--r-- | src/prop/cnf_stream.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/prop/cnf_stream.cpp b/src/prop/cnf_stream.cpp index 4be58bdef..8ebb461e5 100644 --- a/src/prop/cnf_stream.cpp +++ b/src/prop/cnf_stream.cpp @@ -27,7 +27,9 @@ #include "expr/expr.h" #include "prop/theory_proxy.h" #include "theory/bv/options.h" - +#include "proof/proof_manager.h" +#include "proof/sat_proof.h" +#include "prop/minisat/minisat.h" #include <queue> using namespace std; @@ -236,7 +238,7 @@ SatLiteral CnfStream::convertAtom(TNode node) { // Make a new literal (variables are not considered theory literals) SatLiteral lit = newLiteral(node, theoryLiteral, preRegister, canEliminate); - + PROOF (ProofManager::getSatProof()->storeAtom(MinisatSatSolver::toMinisatLit(lit), node.toExpr()); ); // Return the resulting literal return lit; } |