Well-formed formulas (wffs) are defined recursively as follows

Well-formed formulas (wffs) are defined recursively as follows: T is a wff. F is a wff. Any proposition variable is a wff. If X is a wff, then (~X) is also a wff. If X and Y are wffs, then (X ^ Y) is also a wff. If X and Y are wffs, then (X V Y) is also a wff. We say that a formula is in De Morgan normal form if it satisfies the following conditions. (“De Morgan normal form” is not standard terminology; I just made it up.) Every negation in the formula is applied to a variable, not to a more complicated subformula. Either the entire formula is T, or the formula does not contain T. Either the entire formula is F, or the formula does not contain F. Prove that for every wff, there is a logically equivalent wff in De Morgan normal form. For example, the well-formed formula (~((p ^ q) V ~))^(-(p V ~) ^ q) is logically equivalent to the following wff in De Morgan normal form: (((-p V -q) ^ r))^((-P A) ^ q)
Well-formed formulas (wffs) are defined recursively as follows: T is a wff. F is a wff. Any proposition variable is a wff. If X is a wff, then (~X) is also a wff. If X and Y are wffs, then (X ^ Y) is also a wff. If X and Y are wffs, then (X V Y) is also a wff. We say that a formula is in De Morgan normal form if it satisfies the following conditions. (“De Morgan normal form” is not standard terminology; I just made it up.) Every negation in the formula is applied to a variable, not to a more complicated subformula. Either the entire formula is T, or the formula does not contain T. Either the entire formula is F, or the formula does not contain F. Prove that for every wff, there is a logically equivalent wff in De Morgan normal form. For example, the well-formed formula (~((p ^ q) V ~))^(-(p V ~) ^ q) is logically equivalent to the following wff in De Morgan normal form: (((-p V -q) ^ r))^((-P A) ^ q)

The Correct Answer and Explanation is:

Theorem:

For every well-formed formula (wff) in propositional logic, there exists a logically equivalent formula in De Morgan normal form (DMNF).


Proof Outline (Structural Induction):

We proceed by structural induction on the formation of wffs.

Base Cases:

  1. T and F are trivially in De Morgan normal form (DMNF), as they satisfy the condition that the entire formula is T or F or contains neither.
  2. Any propositional variable is in DMNF.
  3. A negated variable, e.g., ~p, is in DMNF because negation applies directly to a variable.

Inductive Step:

Assume wffs X and Y have logically equivalent formulas X' and Y' in DMNF. We must show that:

  • ~X, (X ^ Y), and (X V Y) also have logically equivalent formulas in DMNF.
  1. Negation:
    • If X is a variable → ~X is already in DMNF.
    • If X is a negation ~Y~(~Y)Y (double negation elimination).
    • If X = (A ^ B), then ~(A ^ B)~A V ~B (De Morgan’s Law).
    • If X = (A V B), then ~(A V B)~A ^ ~B (De Morgan’s Law).
      Apply the inductive hypothesis recursively to subformulas so all negations apply only to variables.
  2. Conjunction and Disjunction:
    • Given X ≡ X' and Y ≡ Y' in DMNF, then (X ^ Y) ≡ (X' ^ Y'), and (X V Y) ≡ (X' V Y') are also in DMNF.

Conclusion:

By recursively applying De Morgan’s laws and double negation elimination, we can push negations down to the level of propositional variables. This transformation eliminates any negation of compound formulas. Furthermore, if T or F appears inside a formula (not as the entire formula), we can apply logical equivalences (e.g., T ^ X ≡ X, F V X ≡ X, etc.) to eliminate them. Therefore, every wff has a logically equivalent formula in De Morgan normal form.


Example:

Given wff:
~((p ^ q) V r) ^ (~(p V s) ^ q)

Apply De Morgan:
(¬(p ^ q) ∧ ¬r) ∧ ((¬p ∧ ¬s) ∧ q)
((¬p ∨ ¬q) ∧ ¬r) ∧ ((¬p ∧ ¬s) ∧ q) ← in DMNF (negations apply only to variables)

This proves the transformation is always possible.

Scroll to Top