How to write this into predicate logic ?
Some boys like every girl
I wrote two predicate logic sentences:
$\forall(x)(girl(x) \rightarrow \exists(y) (boy(y) \wedge likes(y,x)))$
and
$\exists(x)(boy(x) \wedge \forall(y)(girl(y) \rightarrow likes(x,y)))$
Obviously, the second one is right. But I am confused for 1st one. I guess its also right.
As I think English translation of 1st one - "Every girl is liked by some boy"
As I see it, there are two parts to this question: understanding exactly what we mean by "some boys like every girl," and writing down symbols that capture that meaning. I think "some boys like every girl" is a little ambiguous. It could mean either:
I personally read "some boys like every girl" as either the first or the second, depending on how much one reads into the fact that "boys" is plural. I can certainly see people reading it any of these three ways, though; it's frustratingly ambiguous. Translating directly into propositional logic notation, these interpreations are:
There are two main things to pay attention to:
Your first attempt is exactly the same as what I wrote for interpretation 3, and you analyzed it correctly. Your second attempt is almost what I wrote for interpretation 1, except that you make an error in how you specified the "universes" for your quantifiers. What you wrote literally translates to "there is something that, if it that thing is a boy, everything is a girl liked by the first thing," which is pretty clearly not what you wanted ;-).