You are on page 1of 1

Ex 1.1.

5 If P1,P2,…,Pn is a list of n formulas, at most how many compound formulas using this list
can be constructed, no two of which are equivalent?

Two formulas are equivalent if and only if they have the same truth table. And for any conceivable
truth table, there is a formula, say in disjunctive normal form, which has that truth table.
For each of the 2n
possible combinations of truth values of the pi, we have 2 choices for the truth value of the formula, for
a total of 2(2n)
.

If there are n variable, the truth table contains 2^n rows. In each row the function can be true or false.
There for by product rule the required number of functions = 2 × 2 × 2 × ••••••• upto 2^n times =
2^(2^n)

You might also like