definitionlogic

Definition

In order to find a CNF for a formula ,

Step 1

Make a truth table for .

Step 2

For each row in which gets value , form a disjunction consisting of each variable in row with value and the negation of each variable with value .

Note that if there are no rows with getting value , so is a tautology, then we can take .

Step 3

Take conjunction of these disjunctions.

Examples