Chop Logic Core - v1.6.0
    Preparing search index...

    Function isNegationEliminationApplicable

    • Checks if negation elimination is applicable to all given formulas.

      Negation elimination states that if we have a double negation, we can remove it. This function verifies whether each formula in the array has exactly two negations at the top level.

      Parameters

      • formulas: PropFormula[]

        An array of propositional formulas to check.

      Returns boolean

      true if all formulas contain exactly two negations, otherwise false.