Skip to content
Official PYQ · 2019

GATE CS 2019 Q35 — Propositional and First Order Logic

Explain with AI

Consider the first order predicate formula φ\varphi:

∀x[(∀z z∣x⇒((z=x)∨(z=1)))→∃w(w>x)∧(∀z z∣w⇒((w=z)∨(z=1)))]\forall x [ ( \forall z \: z | x \Rightarrow (( z=x) \vee (z=1))) \rightarrow \exists w ( w > x) \wedge (\forall z \: z | w \Rightarrow ((w=z) \vee (z=1)))]

Here a∣ba \mid b denotes that  ’a divides b’’a \text{ divides } b’ , where  aa and bb are integers. Consider the following sets:

  • S1:{1,2,3,…,100}S_1: \{1, 2, 3, \dots , 100\}
  • S2:S_2: Set of all positive integers
  • S3:S_3: Set of all integers

Which of the above sets satisfy φ\varphi?

Choose one option
View worked solution

Answer: C

Let the predicate P(u)P(u) be defined as:

P(u)≡∀z [z∣u⇒(z=u∨z=1)]P(u) \equiv \forall z \ [z \mid u \Rightarrow (z = u \vee z = 1)]

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

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