[proofs] Fix a trace in SAT proof manager (#7732)
authorHaniel Barbosa <hanielbbarbosa@gmail.com>
Thu, 2 Dec 2021 16:43:10 +0000 (13:43 -0300)
committerGitHub <noreply@github.com>
Thu, 2 Dec 2021 16:43:10 +0000 (10:43 -0600)
src/prop/sat_proof_manager.cpp

index e12b2cae927e7fcd9435645dec080e64e3420736..fb37b1d011172d540d401259c9f48abdeb6f820a 100644 (file)
@@ -450,7 +450,8 @@ void SatProofManager::explainLit(SatLiteral lit,
       Trace("sat-proof") << "SatProofManager::explainLit:   " << children[i];
       if (i > 0)
       {
-        Trace("sat-proof") << " [" << args[i - 1] << "]";
+        Trace("sat-proof") << " [" << args[(2 * i) - 2] << ", "
+                           << args[(2 * i) - 1] << "]";
       }
       Trace("sat-proof") << "\n";
     }