Tautologies, Well-Formed Formulae, Functional Completeness and Normal Forms
Learn tautologies, contradictions, WFFs, functionally complete connectives, and normal forms including DNF and CNF.
Gulshan Kumar
In propositional logic, compound propositions can behave differently depending on the truth values of their component propositions. Some expressions are always true, some are always false, and others may be true in some cases and false in others.
These ideas lead to the concepts of tautology, contradiction, contingency, well-formed formulae, functionally complete sets of connectives, and normal forms.
Tautology
A compound proposition that is true for every possible combination of truth values of its variables is called a tautology.
In a truth table, a tautology has only T values in its final column.
For example, consider
Its truth table is:
| T | T | T | T | T |
| T | F | F | T | T |
| F | T | T | F | T |
| F | F | T | T | T |
The final column contains only T.
Therefore,
is a tautology.
Another Example
Consider
| T | T | T | T |
| T | F | T | T |
| F | T | F | T |
| F | F | T | T |
Again, the final column contains only T.
Hence,
is a tautology.
Contradiction
A compound proposition that is false for every possible combination of truth values of its variables is called a contradiction.
Its final truth-table column contains only F.
Consider
| T | T | F | F | F |
| T | F | F | F | F |
| F | T | T | F | F |
| F | F | T | F | F |
Since
can never be true, the entire expression is always false.
Therefore,
is a contradiction.
Contingency
A proposition that is neither always true nor always false is called a contingency.
In other words, the final column of its truth table contains both T and F.
For example,
is a contingency because it is true when both and are true, but false in other cases.
Thus, compound propositions can be classified as:
- Tautology — always true
- Contradiction — always false
- Contingency — sometimes true and sometimes false
Identifying Tautology and Contradiction in Larger Expressions
Consider the expressions
and
Their truth table is:
| T | T | F | F | T | T | T | F |
| T | F | F | T | T | F | T | F |
| F | T | T | F | T | F | T | F |
| F | F | T | T | F | F | T | F |
The expression
has only T in its final column, so it is a tautology.
The expression
has only F in its final column, so it is a contradiction.
Well-Formed Formula
What Is a Well-Formed Formula?
A logical expression is constructed using:
- propositional variables such as
- logical connectives such as
- parentheses
However, not every arbitrary arrangement of these symbols forms a meaningful logical expression.
A syntactically correct logical expression is called a well-formed formula, abbreviated as WFF.
It is commonly pronounced “woof.”
For example,
is a well-formed formula.
But an expression such as
is not a WFF because the logical operators have not been used according to the rules of propositional logic.
Rules for Constructing a Well-Formed Formula
Well-formed formulae can be defined recursively.
Propositional Variables and Constants
Every propositional variable is a WFF.
Thus,
are well-formed formulae.
Logical constants such as
may also be treated as well-formed formulae.
Negation
If is a WFF, then
is also a WFF.
For example, if
is a WFF, then
is also a WFF.
Similarly, if
is a WFF, then
is also a WFF.
Combining Formulae
If and are WFFs, then the following are also WFFs:
By repeatedly applying these rules a finite number of times, more complex well-formed formulae can be constructed.
For example,
is a WFF because it is formed from valid variables and connectives according to these rules.
Functionally Complete Set of Connectives
Functional Completeness
A set of logical connectives is called a functionally complete set of connectives if every propositional formula can be expressed using only the connectives belonging to that set.
In other words, even if a formula originally contains several different logical operators, it should be possible to rewrite it using only the connectives from the functionally complete set.
Eliminating the Conditional
Recall the logical equivalence
Therefore, the conditional connective is not strictly necessary because it can be expressed using only negation and disjunction.
Eliminating the Biconditional
The biconditional can be expressed in different ways.
One useful identity is
Another equivalent form is
Since every implication can itself be replaced by negation and disjunction, the biconditional can also be eliminated.
Therefore, both
and
can be expressed using combinations of
Hence,
is a functionally complete set.
Reducing the Number of Required Connectives
Using De Morgan's Laws, conjunction can be expressed using only negation and disjunction:
Similarly, disjunction can be expressed using only negation and conjunction:
Therefore, conjunction is unnecessary if and are available.
Likewise, disjunction is unnecessary if and are available.
This means that the following sets are functionally complete:
and
Every propositional formula can be rewritten using only one of these two sets.
These are examples of minimal functionally complete sets, because removing one of the connectives from either set would destroy its ability to represent every propositional formula.
Normal Forms
Why Do We Need Normal Forms?
One way to determine whether two logical expressions and are equivalent is to construct their truth tables and compare the final columns.
However, when the number of variables increases, truth tables become increasingly large.
For example, a formula containing propositional variables requires
rows in its truth table.
Instead of always comparing large truth tables, logical expressions can be converted into standard structures called normal forms.
A normal form provides a systematic representation of a logical expression.
Two important normal forms are:
- Disjunctive Normal Form (DNF)
- Conjunctive Normal Form (CNF)
Before studying them, it is useful to understand elementary products and elementary sums.
Disjunctive Normal Form
Elementary Product
An elementary product is a conjunction of propositional variables or their negations.
Examples include
and
Each variable or negated variable appearing in such an expression is called a literal.
For example, in
the literals are
Elementary Sum
An elementary sum is a disjunction of propositional variables or their negations.
Examples include
and
Important Properties
An elementary product is always false if it contains a variable together with its negation.
For example,
is always false because
is a contradiction.
Thus,
Similarly, an elementary sum is always true if it contains a variable together with its negation.
For example,
is always true because
is a tautology.
Thus,
What Is Disjunctive Normal Form?
A logical expression is said to be in Disjunctive Normal Form (DNF) if it is a disjunction of elementary products.
In simple terms:
DNF has an OR of AND terms.
For example,
is in DNF.
Another example is
Here, the single literal itself can be treated as an elementary product.
Therefore, this expression is also in DNF.
However,
is not in DNF because the outermost operation is conjunction and one of its components is a disjunction.
Procedure for Obtaining DNF
A logical expression can be converted into Disjunctive Normal Form by following these steps.
Step 1: Eliminate Conditional and Biconditional Connectives
Replace every implication using
Replace every biconditional using, for example,
After this step, the expression should contain only
Step 2: Push Negations Inward
Use De Morgan's Laws:
and
Also use double negation:
Continue until negation applies directly to individual variables.
Step 3: Apply the Distributive Law
Use
until the expression becomes a disjunction of elementary products.
Example: Convert an Expression to DNF
Consider
First eliminate the implication:
Now apply the distributive law:
Since
we obtain
Therefore,
which is in Disjunctive Normal Form.
Another DNF Example
Consider
First eliminate the innermost implication:
Thus,
Now eliminate the remaining implication.
Since
we get
Therefore,
But
Hence,
So the original expression is a tautology.
It is also already expressible as a disjunction of literals during the simplification process, which is compatible with DNF.
Conjunctive Normal Form
What Is Conjunctive Normal Form?
A logical expression is said to be in Conjunctive Normal Form (CNF) if it is a conjunction of elementary sums.
In simple terms:
CNF has an AND of OR terms.
For example,
is in CNF.
Each parenthesized expression is an elementary sum, and these elementary sums are connected by conjunction.
Another example is
The literal can itself be treated as an elementary sum containing one literal.
Therefore, this expression is also in CNF.
However,
is not in CNF.
Procedure for Obtaining CNF
The procedure for obtaining CNF is similar to that used for DNF.
Step 1: Eliminate Conditional and Biconditional Connectives
Replace implications and biconditionals so that only
remain.
For example,
Step 2: Push Negations Inward
Use De Morgan's Laws and double negation until every negation applies directly to a variable.
Step 3: Apply the Appropriate Distributive Law
For CNF, distribute OR over AND:
Continue until the expression becomes a conjunction of elementary sums.
Example: Obtain CNF
Consider
First eliminate the implication:
The expression now consists of a conjunction of:
and
Therefore, it is already in Conjunctive Normal Form:
Another CNF Example
Consider
This is not initially in CNF because a conjunction occurs inside a disjunction.
Apply the distributive law:
Now both
and
are elementary sums.
Therefore,
is the Conjunctive Normal Form of the expression.
What did you think?
Follow the idea
Keep reading
Converse, Contrapositive, Inverse, Negation & Derived Connectives
Free · 15 min read
Algebra of Propositions and Logical Equivalences
Free · 20 min read
Propositional Logic: Statements, Connectives, Truth Tables
Free · 15 min read
Continue the conversation
Share a question, an insight, or a different perspective.
Discussion loads when you reach this section.