From f767e820881e57fd315616efa2a1817110758e93 Mon Sep 17 00:00:00 2001 From: Lachnitt Date: Tue, 26 Oct 2021 06:40:07 -0700 Subject: [PATCH] [proofs] Alethe: Translate AND_ELIM rule (#7404) Implementation of the translation of AND_ELIM rules into the Alethe calculus. Co-authored-by: Haniel Barbosa --- src/proof/alethe/alethe_post_processor.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) 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, -- 2.30.2