Skip to content
Official PYQ · 2015

GATE CS 2015 Set 2 Q3 — Propositional and First Order Logic

Explain with AI

Consider the following two statements.

  • S1S_1: If a candidate is known to be corrupt, then he will not be elected
  • S2S_2: If a candidate is kind, he will be elected

Which one of the following statements follows from S1S_1 and S2S_2 as per sound inference rules of logic?

Choose one option
View worked solution

Answer: C

Let us define the following propositional variables for a candidate:

  • CC: The candidate is known to be corrupt.
  • EE: The candidate is elected.
  • KK: The candidate is kind.

We can translate the given statements S1S_1 and S2S_2 into logical implications:

  • S1S_1: If a candidate is known to be corrupt, then he will not be elected.
    C  ⟹  ¬EC \implies \neg E
  • S2S_2: If a candidate is kind, he will be elected.
    K  ⟹  EK \implies E

Using the law of contrapositive, S1S_1 can be rewritten as:

E  ⟹  ¬CE \implies \neg C

Now, applying the rule of hypothetical syllogism (transitivity of implication) to S2S_2 and the contrapositive of S1S_1:

(K  ⟹  E)∧(E  ⟹  ¬C)  ⟹  (K  ⟹  ¬C)\left(K \implies E\right) \land \left(E \implies \neg C\right) \implies \left(K \implies \neg C\right)

Translating the inferred statement K  ⟹  ¬CK \implies \neg C back into English:

"If a person is kind, then he is not known to be corrupt."

This corresponds to Option C.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Propositional and First Order Logic questions