summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2021-07-13 20:09:07 -0700
committerGitHub <noreply@github.com>2021-07-13 22:09:07 -0500
commit4890b90d346b8382ce2de697e2e086c3e59de774 (patch)
treeb5842ece616f71b6cf11e2b37a5f0c586b4f7357
parentbfc4e276709166bfde990357f048cf9ab2c65c6f (diff)
bv: Add missing BV_EAGER_ATOM proof rule. (#6874)
Fixes an issue with --proof-eager-checking and --bitblast=eager.
-rw-r--r--src/theory/bv/bv_solver_simple.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/theory/bv/bv_solver_simple.cpp b/src/theory/bv/bv_solver_simple.cpp
index 4216fa087..414de41ce 100644
--- a/src/theory/bv/bv_solver_simple.cpp
+++ b/src/theory/bv/bv_solver_simple.cpp
@@ -123,6 +123,8 @@ bool BVSolverSimple::preNotifyFact(
}
else
{
+ d_bitblaster->getProofGenerator()->addRewriteStep(
+ fact, n, PfRule::BV_EAGER_ATOM, {}, {fact});
TrustNode tlem =
TrustNode::mkTrustLemma(lemma, d_bitblaster->getProofGenerator());
d_im.trustedLemma(tlem, InferenceId::BV_SIMPLE_LEMMA);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback