Implementation of the translation of CONTRA rules into the Alethe calculus.
Co-authored-by: Haniel Barbosa <hanielbbarbosa@gmail.com>
{},
*cdp);
}
+ // ======== Contradiction
+ // See proof_rule.h for documentation on the CONTRA rule. This
+ // comment uses variable names as introduced there.
+ //
+ // P1 P2
+ // --------- RESOLUTION
+ // (cl)*
+ //
+ // * the corresponding proof node is false
+ case PfRule::CONTRA:
+ {
+ return addAletheStep(AletheRule::RESOLUTION,
+ res,
+ nm->mkNode(kind::SEXPR, d_cl),
+ children,
+ {},
+ *cdp);
+ }
default:
{
return addAletheStep(AletheRule::UNDEFINED,