[unsat cores] [proofs] Revert test about when to explain propagations (#7034)
authorHaniel Barbosa <hanielbbarbosa@gmail.com>
Thu, 19 Aug 2021 14:06:23 +0000 (11:06 -0300)
committerGitHub <noreply@github.com>
Thu, 19 Aug 2021 14:06:23 +0000 (14:06 +0000)
Reverts a change from #7031, which changed the contract for when the proof CNF stream is handling propagations. When doing unsat cores with sat proofs (but not full proofs), theory engine will not be proof producing but the proof cnf stream still needs to connect theory lemmas with their clausified equivalents in the SAT solver.

src/prop/theory_proxy.cpp

index b4bc7fa60194003d9d9f3598071dbe7e4b432388..c18fe2dd4474fec678af6e3989fdf3fb18b804b9 100644 (file)
@@ -98,7 +98,7 @@ void TheoryProxy::explainPropagation(SatLiteral l, SatClause& explanation) {
 
   TrustNode tte = d_theoryEngine->getExplanation(lNode);
   Node theoryExplanation = tte.getNode();
-  if (d_env.isTheoryProofProducing())
+  if (d_env.isSatProofProducing())
   {
     Assert(options::unsatCoresMode() != options::UnsatCoresMode::FULL_PROOF
            || tte.getGenerator());