Question
Consider the first order predicate formula :
Here '' denotes that ' divides ', where and are integers. Consider the following sets:
:
: Set of all positive integers
: Set of all integers
Which of the above sets satisfy ?
Official answer and solution
- Official answer
- C
- From
- Official GATE 2019 answer key
Solution
Translate the first-order predicate formula into natural language and evaluate its truth across the given domains.
The predicate formula is:
Let . This condition states that has no positive divisors other than and itself, which characterizes prime numbers (and 1).
Thus, the formula states:
"For every prime , there exists a prime such that ."
Now let us evaluate for each domain:
- : In this domain, satisfies the antecedent since is prime. However, the next prime is , which is not in . Thus, there is no with that is prime. Hence is FALSE in .
- (Positive integers): By Euclid's theorem, the set of primes is infinite. For every positive prime , there exists a strictly greater prime . Hence is TRUE in .
- (All integers): For negative integers and 0, the antecedent is false (for example, for , divides , but and ), making the implication vacuously true. For positive primes , larger positive primes always exist in . Hence is TRUE in .
Therefore, is satisfied by and (Option C).
C
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2019 Computer Science and Information Technology (CS)
- Question
- 45 of 65, printed as CS Q.35
- 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.