Skip to content

Commit

Permalink
fix resolution handling in the Alethe post-processor when pivots have…
Browse files Browse the repository at this point in the history
… Skolems
  • Loading branch information
HanielB committed Mar 2, 2024
1 parent 5e80e14 commit c9e8950
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/proof/alethe/alethe_post_processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2431,7 +2431,7 @@ bool AletheProofPostprocessCallback::updatePost(
polIdx = 2 * (i - 1) + 3 + 1;
pivIdx = 2 * (i - 1) + 3;
if (children[i].getKind() == Kind::OR
&& (args[polIdx] != d_false || args[pivIdx] != children[i]))
&& (args[polIdx] != d_false || args[pivIdx] != d_anc.convert(children[i])))
{
// the arguments will have been converted to witness form already, so
// we also check whether after conversion the child is still not the
Expand Down Expand Up @@ -2480,7 +2480,7 @@ bool AletheProofPostprocessCallback::updatePost(
// premise is a singleton but the rule concluding it yields a clause.
else if (children[i].getKind() == Kind::OR)
{
Assert(args[polIdx] == d_false && args[pivIdx] == children[i]);
Assert(args[polIdx] == d_false && args[pivIdx] == d_anc.convert(children[i]));
if (maybeReplacePremiseProof(children[i], cdp))
{
hasUpdated = true;
Expand Down

0 comments on commit c9e8950

Please sign in to comment.