GATE / CS ARCHIVE

GATE CSE 1993 / QUESTION 18

Truth-table proof of logical consequence

Discrete Mathematics · Propositional & Predicate Logic · Full GATE CSE 1993 paper

GATE 1993, Q18 5 marks · Descriptive
Report issue

Propositional & Predicate Logic

Question 18, GATE 1993: Using a truth table, prove that C follows logically from F=A AND (A implies (B OR C)) AND (B implies NOT A).
Tap to enlarge
Answer & solution

Answer: F entails C; F is true only on (A,B,C)=(1,0,1). (no official key was published)

A logical consequence requires that every valuation making the premises true also makes C true. It does not require C to be true on every valuation. Evaluate the two material implications using P implies Q = (NOT P) OR Q. The complete truth table is:

A B C | B∨C | A→(B∨C) | ¬A | B→¬A | F | F→C
0 0 0 |  0  |     1    |  1 |   1   | 0 |  1
0 0 1 |  1  |     1    |  1 |   1   | 0 |  1
0 1 0 |  1  |     1    |  1 |   1   | 0 |  1
0 1 1 |  1  |     1    |  1 |   1   | 0 |  1
1 0 0 |  0  |     0    |  0 |   1   | 0 |  1
1 0 1 |  1  |     1    |  0 |   1   | 1 |  1
1 1 0 |  1  |     1    |  0 |   0   | 0 |  1
1 1 1 |  1  |     1    |  0 |   0   | 0 |  1

The only row with F=1 is A=1,B=0,C=1; in that row C=1. Equivalently the final column F→C consists entirely of 1s, so F entails C. This is a non-vacuous consequence because F does have a satisfying assignment.

For an additional reasoning check, F includes A, forcing A=true. Its last conjunct B→¬A then forces B=false, because ¬A is false. With A true, the middle conjunct forces B∨C=true, so C must be true. In fact F is equivalent to A AND NOT B AND C. The table, rather than this shorter argument alone, supplies the proof format requested by the question.

Original paper, page 12