chop-logic-core
Version:
Core classes, methods and functions for calculating logical formulas and constructing proofs within the Chop Logic project.
13 lines (12 loc) • 559 B
TypeScript
import type { PropFormula } from "../../models";
/**
* Checks if implication distribution is applicable to all formulas in the array.
*
* Each formula in the input array must satisfy the schema F => (G => H).
* If all formulas match the schema, distribution can be applied to each.
*
* @param formulas - An array of propositional formulas to check.
* @returns True if all formulas match the distribution schema, false otherwise.
* @category Validators
*/
export declare function isImplicationDistributionApplicable(formulas: PropFormula[]): boolean;