From: Lachnitt Date: Tue, 26 Oct 2021 13:40:07 +0000 (-0700) Subject: [proofs] Alethe: Translate AND_ELIM rule (#7404) X-Git-Tag: cvc5-1.0.0~971 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f767e820881e57fd315616efa2a1817110758e93;p=cvc5.git [proofs] Alethe: Translate AND_ELIM rule (#7404) Implementation of the translation of AND_ELIM rules into the Alethe calculus. Co-authored-by: Haniel Barbosa --- diff --git a/src/proof/alethe/alethe_post_processor.cpp b/src/proof/alethe/alethe_post_processor.cpp index c3925af22..ae6705025 100644 --- a/src/proof/alethe/alethe_post_processor.cpp +++ b/src/proof/alethe/alethe_post_processor.cpp @@ -949,6 +949,17 @@ bool AletheProofPostprocessCallback::update(Node res, {}, *cdp); } + // ======== And elimination + // This rule is translated according to the singleton pattern. + case PfRule::AND_ELIM: + { + return addAletheStep(AletheRule::AND, + res, + nm->mkNode(kind::SEXPR, d_cl, res), + children, + {}, + *cdp); + } default: { return addAletheStep(AletheRule::UNDEFINED,