Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HanielB committed Feb 28, 2024
1 parent 5a82854 commit 7102f90
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/proof/alethe/alethe_post_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2075,13 +2075,11 @@ bool AletheProofPostprocessCallback::maybeReplacePremiseProof(Node premise,
// of EQ_RESOLVE.
NodeManager* nm = NodeManager::currentNM();
Trace("alethe-proof") << "\n";
CVC5_UNUSED AletheRule premiseProofRule =
getAletheRule(premisePf->getArguments()[0]);
CVC5_UNUSED AletheRule premiseChildProofRule =
getAletheRule(premisePf->getChildren()[0]->getArguments()[0]);
AletheRule premiseProofRule = getAletheRule(premisePf->getArguments()[0]);
if ((premiseProofRule == AletheRule::CONTRACTION
|| premiseProofRule == AletheRule::REORDERING)
&& premiseChildProofRule == AletheRule::OR)
|| premiseProofRule == AletheRule::REORDERING)
&& getAletheRule(premisePf->getChildren()[0]->getArguments()[0])
== AletheRule::OR)
{
// get great grand child
std::shared_ptr<ProofNode> premiseChildPf =
Expand Down

0 comments on commit 7102f90

Please sign in to comment.