Disjunctive Normal Form
Literal
A literal is a propositional symbol or the negation of a propositional symbol.
For example, or meanwhile or are not since literals may have at most one logical connective and it must be a negation.
Link to original
Disjunctive Normal Form
Disjunctive Normal Form (DNF) is when a formula: ?
- contains no connectives other than conjunction, disjunction and negation.
- only applies negation to propositional symbols (within literals)
- no disjunction appears in a sub-formula of a formula whose main connective is conjunction
Alternatively, you can see it as a disjunction of one or more formulae, each of which is a conjunction of one or more literals.
Link to original
Rewrite Rules
DNF Rewrite Rules
To obtain DNF, we can preform a series of transformations:
Link to original
title: Example 1
Represent $P \land (P \rightarrow Q)$ in DNF.
$$
\begin{aligned}
P \land (P \rightarrow Q) &\Rightarrow P \land (\neg P \lor Q) \\
&\Rightarrow (P \land \neg P) \lor (P \land Q) \\
&\Rightarrow 0 \lor (P \land Q) \\
&\Rightarrow P \land Q
\end{aligned}
$$Truth Table to DNF
Given the truth table for with the models highlighted:
| interpretation | ||||||
|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 1 | 1 | 0 | |
| 0 | 0 | 1 | 1 | 1 | 1 | |
| 0 | 1 | 0 | 0 | 0 | 0 | |
| 0 | 1 | 1 | 0 | 0 | 0 | |
| 1 | 0 | 0 | 1 | 1 | 0 | |
| 1 | 0 | 1 | 1 | 1 | 1 | |
| 1 | 1 | 0 | 0 | 1 | 0 | |
| 1 | 1 | 1 | 0 | 1 | 1 |
We can associate each propositional symbol and interpretation with the literal if makes true or if makes false.
Hence we find that:
- is associated with
- is associated with
- is associated with
So we can now combine these to find the DNF:
Special Cases
These apply to both DNF and CNF.
Any contradictory formula is equivalent to the single conjunction , which can be abbreviated to . Any tautology is equivalent to the single disjunction , which can be abbreviated to .