UNPKG

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) 481 B
import type { PropFormula } from "../../models"; /** * Checks if conjunction introduction rule is applicable. * * Conjunction introduction allows us to infer a conjunction from any two conjuncts. * * @param formulas - An array of propositional formulas to check. * @returns `true` if all there are exactly two formulas in the array, otherwise `false`. * @category Validators */ export declare function isConjunctionIntroductionApplicable(formulas: PropFormula[]): boolean;