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) 453 B
import type { PropFormula } from "../../../models"; /** * Performs equivalence elimination on the given formulas. * * If A <=> B, then we derive (A => B) and (B => A). * * @param formulas An array of propositional formulas. * @returns {PropFormula[]} An array containing the inferred formulas. * @throws {Error} if the formulas are not all equivalences. */ export declare function equivalenceElimination(formulas: PropFormula[]): PropFormula[];