Skip to content

Commit

Permalink
Weaken rewrite db failure
Browse files Browse the repository at this point in the history
  • Loading branch information
ajreynol committed Feb 29, 2024
1 parent d7c5f2e commit 7466dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rewriter/rewrite_db_proof_cons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ bool RewriteDbProofCons::prove(CDProof* cdp,
Trace("rpc") << "...success (basic)" << std::endl;
return true;
}
// if there are quantifiers, fail immediately
if (expr::hasBoundVar(a) || expr::hasBoundVar(b))
// if a is a quantified formula, fail immediately
if (a.isClosure())
{
Trace("rpc") << "...fail (out of scope)" << std::endl;
return false;
Expand Down

0 comments on commit 7466dce

Please sign in to comment.