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) 487 B
import type { PropFormula } from "../../../models"; /** * Applies the implication introduction rule. * * Given two formulas premise and conclusion, it returns their implication * * @param formulas An array of propositional formulas. * @returns {[PropFormula]} A tuple containing the inferred formula. * @throws {Error} if the formulas do not satisfy disjunction introduction conditions. */ export declare function implicationIntroduction(formulas: PropFormula[]): [PropFormula];