Predicate Logic HELP.
Ok, I need to convert an English sentence to predicate logic.
The domain is C , the set of Olympic competitors.
f(x,y) = x is faster than y
s(x,y) = x is the same person as y.
b(x,y) = x beats y
w(x) = x is the winner.
Translate the following English statements into precise symbolic notation. Only use the predicates and domain defined above.
1. There is exactly one fastest competitor.
2. If every competitor beats exactly one other competitor, then there is no winner.
Thank you guys
well, for 1 you need something like:
there exists a winner, such that for all y, if y beats x then x is the same person as y.
and for the second part... I dunno. I mean the consequent of the implication: "then there is no winner" is going to be the negation of part 1, I believe. So, you need to find a way to describe the antecedent, "If every competitor beats exactly one other competitor", and I think you're going to need the "x is the same person as y" predicate to describe the "exactly one" part.
Hmmm... what about:
"the negation of the above." ? Does that work?
I don't know how to code the logical "and," but you get the idea.
Oh yeah, great work icemanfan! I think you're right- as you see, I'm no expert at this and I find 2 Quantors difficult and 3 nigh on impossible, but, you're saying that:
Originally Posted by icemanfan
"there exists a swimmer, so that when he's not competing against himself, he's faster than every other swimmer."
First of all, you don't need to keep saying
Originally Posted by XDemonoid
, , etcbecause is the domain, the universe from which all elements are chosen. (Which at least makes things a bit easier.)
Then for number 1 (and this is complicated, so bear with me) I think you need to say:
There is a competitor, , that is faster than all others ( ), and whenever we find a competitor, , that is faster than all others, then and are the same person.The second half is there to ensure that there is only one that is faster than all others.
Now to begin translating this. The first phrase 'There is an ' is obviously . But the phrase 'all others ( )' is a bit tricky. You can't just say , because that will include , and I think we must assume that cannot be faster than itself. So we must include somewhere that and are not the same person.
So the first section, that states the existence of a fastest competitor is:Then the bit that makes a fastest competitor is, in the same way:We now need to say that whenever this second statement is true (in other words, for all ), then and are the same person. This will look like this:We now join this to the first phrase with a logical 'and':I don't know whether all the brackets are strictly necessary, or whether there's a simpler expression, but I think that works.
If I have time, I'll have a look at number 2.
Hi, I went and asked one of the PhD students at the uni about this question, and he explained it very well:
which kind of makes it cleear what the problem is. Then you have a syntax issue, because you're not allowed to use set notation, but after first writing it down this way you can more easily make the change to:
2. The first thing to do with 2 is to write down the implikation, which is fairly easy:
and then think about the first half of the sentence:
"For all swimmers x there exists a swimmer y so that x is faster than y and so that there exists no other swimmers faster than that x faster than y."
Thanks grandad, I'll have a detailed look at what you have written. This question is turning out to be a real thriller- unfortunately, I have to go out for a while now. Thanks again!
Well, the following solution to part 2 is from my maths tutor, but I really think I have to look at Quantifiers again.
Now to work through the solution...