3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-20 07:24:40 +00:00

more graceful proof checks

This commit is contained in:
Nikolaj Bjorner 2020-11-27 14:40:46 -08:00
parent 6771e44d93
commit 67a8492bd0
3 changed files with 12 additions and 7 deletions

View file

@ -122,7 +122,7 @@ public:
{
DEBUG_CODE(proof_checker pc(m);
expr_ref_vector side(m);
SASSERT(pc.check(pr, side));
if (!pc.check(pr, side)) IF_VERBOSE(1, verbose_stream() << "check failed: " << mk_pp(pr, m) << "\n");
);
obj_map<app, app*> cache;
bool_rewriter brwr(m);
@ -236,7 +236,7 @@ public:
DEBUG_CODE(
proof_checker pc(m);
expr_ref_vector side(m);
SASSERT(pc.check(r, side));
if (!pc.check(r, side)) IF_VERBOSE(1, verbose_stream() << mk_pp(r, m) << "check failed\n");
);
res = r ;