diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-02-02 15:12:45 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 15:12:45 -0600 |
commit | d97cee1a7c1a688d1ad9c748247bd9da1d86973f (patch) | |
tree | 836301d49970579f065e570be3b95be1202ae5a1 /src/theory/theory_engine.cpp | |
parent | 3393c0c828b44f88c92e52a2b49d8a572b2a9b93 (diff) |
(proof-new) Miscellaneous fixes and regressions (#5841)
Diffstat (limited to 'src/theory/theory_engine.cpp')
-rw-r--r-- | src/theory/theory_engine.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp index 66c9b9f20..9fb76ab44 100644 --- a/src/theory/theory_engine.cpp +++ b/src/theory/theory_engine.cpp @@ -1622,6 +1622,9 @@ theory::TrustNode TheoryEngine::getExplanation( Trace("te-proof-exp") << "- t-explained[" << toExplain.d_theory << "]: " << toExplain.d_node << " by " << texplanation.getNode() << std::endl; + // should prove the propagation we asked for + Assert(texplanation.getKind() == TrustNodeKind::PROP_EXP + && texplanation.getProven()[1] == toExplain.d_node); // if not a trivial explanation if (!CDProof::isSame(texplanation.getNode(), toExplain.d_node)) { |