Skip to content

Commit

Permalink
Dont use ext rewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
ajreynol committed Nov 16, 2024
1 parent f29ae68 commit 6d2262c
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/smt/proof_post_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,20 +218,13 @@ Node ProofPostprocessCallback::expandMacros(ProofRule id,
{
TrustId tid;
getTrustId(args[0], tid);
// we don't do this for steps that are already extended theory rewrite
// steps, or we would get an infinite loop in reconstruction.
if (tid == TrustId::EXT_THEORY_REWRITE)
{
return Node::null();
}
// maybe we can show it rewrites to true based on (extended) rewriting
// maybe we can show it rewrites to true based on rewriting
// modulo original forms (MACRO_SR_PRED_INTRO).
TheoryProofStepBuffer psb(d_pc);
if (psb.applyPredIntro(res,
{},
MethodId::SB_DEFAULT,
MethodId::SBA_SEQUENTIAL,
MethodId::RW_EXT_REWRITE))
MethodId::SBA_SEQUENTIAL))
{
cdp->addSteps(psb);
return res;
Expand Down

0 comments on commit 6d2262c

Please sign in to comment.