Skip to content

Commit

Permalink
Do not handle ENCODE_EQ_INTRO in LFSC (cvc5#11439)
Browse files Browse the repository at this point in the history
This rule was updated from a previous version ENCODE_PRED_TRANSFORM, but
the LFSC printer was never updated to handle this, we drop support for
this.

Fixes 2 of the failing regressions in the nightlies.

Also downgrades a warning to a trace message, fixing a further issue in
the nightlies.
  • Loading branch information
ajreynol authored Dec 11, 2024
1 parent 0100937 commit 86bb230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/proof/lfsc/lfsc_printer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -540,11 +540,6 @@ void LfscPrinter::printProofInternal(
Assert(passumeIt != passumeMap.end());
out->printId(passumeIt->second, d_assumpPrefix);
}
else if (r == ProofRule::ENCODE_EQ_INTRO)
{
// just add child
visit.push_back(PExpr(cur->getChildren()[0].get()));
}
else if (isLambda)
{
Assert(cur->getArguments().size() == 3);
Expand Down
3 changes: 2 additions & 1 deletion src/smt/proof_post_processor_dsl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,9 @@ void ProofPostprocessDsl::reconstruct(
Trace("pp-dsl") << "REM SUBGOALS: " << std::endl;
for (std::shared_ptr<ProofNode> p : d_subgoals)
{
Warning() << "WARNING: unproven subgoal " << p->getResult() << std::endl;
Trace("pp-dsl") << " " << p->getResult() << std::endl;
Trace("pp-dsl-warn") << "WARNING: unproven subgoal " << p->getResult()
<< std::endl;
}
d_subgoals.clear();
}
Expand Down

0 comments on commit 86bb230

Please sign in to comment.