Wednesday, 13 February 2013

The Order of Multiple Quantifiers

Thoughts about switching the order of quantifiers.
For example,  for the statement below:
Can we switch the first two quantifiers?
At first I kept thinking about Calculus and it was really distracting. Then I realized I can simply ignore the implication part and focus on the quantifier itself.
Then I thought whether 'there exists a Delta in natural numbers' is in the front or the second, we are going to pick delta first to evaluate the statement. Therefore, there should be no difference if I switch the first two quantifiers.
However, having discussed with TA, I realized there is a difference and the way he showed me was insightful. He further simplified the questions by giving Delta and Epsilon actual meanings:
Let C be courses, S be students, L(x, y) be x likes y.
Statement1: there exists s in S, for all c in C, L(s, c)
Statement2: for all c in C, there exists s in S, L(s, c)
Are S1, S2 the same? No.
S1 is saying that there is a student likes all courses but S2 means that for all courses there is at least one student likes it (that student need not like all courses).
Problem solved. 

1 comment: