chop-logic-core
Version:
Core classes, methods and functions for calculating logical formulas and constructing proofs within the Chop Logic project.
12 lines (11 loc) • 520 B
TypeScript
import type { PropFormula } from "../../../models";
/**
* Applies Conjunction Elimination rule to an array of conjunction formulas.
*
* Given (A ∧ B), this rule allows us to infer A and B separately.
*
* @param formulas An array of conjunction formulas to eliminate.
* @returns {PropFormula[]} An array of inferred formulas after applying conjunction elimination.
* @throws {Error} if any formula is not a conjunction.
*/
export declare function conjunctionElimination(formulas: PropFormula[]): PropFormula[];