Skip to content

Commit

Permalink
[alethe] more fixes in resolution's pivots tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
HanielB committed Mar 29, 2024
1 parent 567e87f commit 9eac613
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/proof/alethe/alethe_post_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1704,6 +1704,7 @@ bool AletheProofPostprocessCallback::update(Node res,
{
case Kind::EQUAL:
{
Trace("alethe-proof") << "..case EQUAL\n";
Node leq, geq;
if (children[0].getKind() == Kind::LEQ)
{
Expand Down Expand Up @@ -1787,15 +1788,16 @@ bool AletheProofPostprocessCallback::update(Node res,
AletheRule::RESOLUTION,
res,
nm->mkNode(Kind::SEXPR, d_cl, res),
{laDiseqCl, leq, resPi1Conc},
{leq, laDiseqCl, resPi1Conc},
d_resPivots
? std::vector<Node>{leq, d_false, leqInverted, d_false}
? std::vector<Node>{leq, d_true, leqInverted, d_false}
: std::vector<Node>(),
*cdp);
break;
}
case Kind::GT:
{
Trace("alethe-proof") << "..case GT\n";
Node geq, notEq;
Kind kc0 = children[0].getKind();
if (kc0 == Kind::GEQ
Expand Down Expand Up @@ -1965,7 +1967,7 @@ bool AletheProofPostprocessCallback::update(Node res,
addAletheStep(AletheRule::RESOLUTION,
res,
nm->mkNode(Kind::SEXPR, d_cl, res),
{laDiseqCl, notEq, resPi1Conc, resPi2Conc},
{notEq, laDiseqCl, resPi1Conc, resPi2Conc},
d_resPivots ? std::vector<Node>{notEq[0],
d_false,
leqInverted,
Expand All @@ -1978,6 +1980,7 @@ bool AletheProofPostprocessCallback::update(Node res,
}
case Kind::LT:
{
Trace("alethe-proof") << "..case LT\n";
Node leq, notEq;
Kind kc0 = children[0].getKind();
if (kc0 == Kind::LEQ
Expand Down

0 comments on commit 9eac613

Please sign in to comment.