edited by
16,906 views
59 votes
59 votes

Which of the following is a valid first order formula? (Here \(\alpha\) and \(\beta\) are first order formulae with $x$ as their only free variable)

  1. $((∀x)[α] ⇒ (∀x)[β]) ⇒ (∀x)[α ⇒ β]$
  2. $(∀x)[α] ⇒ (∃x)[α ∧ β]$
  3. $((∀x)[α ∨ β] ⇒ (∃x)[α]) ⇒ (∀x)[α]$
  4. $(∀x)[α ⇒ β] ⇒ (((∀x)[α]) ⇒ (∀x)[β])$
edited by

7 Answers

2 votes
2 votes

For faster problem solving, try this method/hack:

Let Universe $=\{1, 2\}$

Option A: $(\forall x α_x \rightarrow \forall x β_x) \rightarrow \forall x (α_x \rightarrow β_x)$

$=[α_1α_2 \rightarrow β_1β_2] \rightarrow \{(α_1 \rightarrow β_1)(α_2 \rightarrow β_2)\}$

$= [(α_1α_2)’ + β_1β_2] \rightarrow (α_1’ + β_1)(α_2’ +  β_2) = (α_1α_2)(β_1β_2)’ + (α_1’ + β_1)(α_2’ +  β_2)$

$=$ contingengy

 

Option B: $\forall x α_x \rightarrow \exists x (α_x \land β_x)$

$= (α_1α_2)’ + (α_1β_1) + (α_2β_2) = $ valid

 

Option C: $\forall x (α_x \lor β_x) \rightarrow (\exists x α_x \rightarrow \forall x α_x)$

$= [(α_1 +  β_1)(α_2 +  β_2)]’ + (α_1 + α_1)’  +  α_1α_2) = $ contingency

 


Option D: $\forall x (α_x \rightarrow β_x) \rightarrow (\forall x α_x \rightarrow \forall x β_x)$

$= [(α_1’ + β_1)(α_2’ + β_2)]’ + (α_1α_2)’ + β_1β_2 = $ contingengy

 

How is valid/contingency magically declared? Well, there are 3 ways:

  1. Solve till completion (not recommended for GATE problems)
     
  2. Try out all combinations of truth values, till at least one $false$ (only if you have too much time to spare)
     
  3. For 2 formula systems $\alpha(x), \beta(x)$, after changing FOL to propositional form,

    put $(α_1, α_2, β_1, β_2) = (1, 0, 0, 1)$ respectively

    This will give the proper result in most cases.

    If any ambiguity arises, then try option 2(above)

NOTE:

This is not an official method. I found this method out myself after solving loads of GATE questions.

I'm yet to encounter a question which is not solvable by this method, but I'm sure such a problem exists somewhere, hence the caveat 'most cases.

Don't believe me, try it out yourself. You're welcome!

edited by
0 votes
0 votes

The correct option is D (∀x)[α⇒β]⇒((∀x)[α]⇒(∀x)[β])
 

(∀x)[α⇒β]⇒((∀x)[α]⇒∀(x)[β])
is a logical equivalence and therefore 

a valid first order formula.

–3 votes
–3 votes
Option (D) (∀x)[α ⇒ β] ⇒ (((∀x)[α]) ⇒ (∀x)[β]) is valid.

So,(D) is ans.
Answer:

Related questions

4 votes
4 votes
0 answers
3
Syedarshadali asked Jun 29, 2017
1,006 views
Consider the following logic program P A(x) <- B(x, y), C(y) <- B(x,x) Which of the following first order sentences is equivalent to P?Can anyone explain how it can be s...