Question
Which one of the following well-formed formulae in predicate calculus is NOT valid?
Official answer and solution
- Official answer
- D
- From
- Official GATE 2016 answer key
Solution
Find an interpretation in which the formula evaluates to false to demonstrate invalidity.
A formula in first-order logic is valid if it is true under all possible interpretations (domains and predicates).
Examine Option (D): .
Construct an interpretation:
- Domain: The set of positive integers .
- Let be " is even".
- Let be " is odd".
Evaluate the antecedent and consequent under this interpretation:
- Antecedent: . Every integer is either even or odd. This is TRUE.
- Consequent: .
- states "all integers are even", which is FALSE.
- states "all integers are odd", which is FALSE.
- False False is FALSE.
- The implication becomes , which evaluates to FALSE.
Since there exists an interpretation under which the formula is false, it is NOT valid.
All other options are valid tautologies of predicate logic:
- (A) distributes negation through implication: .
- (B) existential quantification distributes over disjunction: .
- (C) if an element satisfies both and , then an element satisfies and an element satisfies .
Hence, option (D) is not valid.
D
Assuming the universal quantifier distributes over disjunction (it only distributes over conjunction).
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2016 Computer Science and Information Technology (CS) Session 2
- Question
- 37 of 65, printed as CS Q.27
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.