Understanding First Order Logic for "Two Purple Mushrooms

AI Thread Summary
The discussion clarifies the representation of the statement "There are exactly two purple mushrooms" in First Order Logic (FOL). The key point is that the expression includes a condition ensuring that any additional purple mushroom (z) must be identical to one of the two already identified (x or y). This is crucial because it prevents the existence of a third distinct purple mushroom, thereby affirming the exclusivity of the two. The use of "OR" in the formula indicates that z can be equal to either x or y, reinforcing the concept of exactly two. Understanding these logical structures is essential for grasping the fundamentals of FOL.
jamborta
Messages
2
Reaction score
0
hi,

could someone explain to me why the sentence - There are exactly two purple mushrooms is represented in FOL like this:
(Ex)(Ey) mushroom(x) ^ purple(x) ^ mushroom(y) ^ purple(y) ^ ~(x=y) ^ (Az) (mushroom(z) ^ purple(z)) => ((x=z) v (y=z))

especially the last part i have problem with. i assume that i misunderstood some of the definitions which are the basis of FOL, that might be the source of the confusion.

thanks for your help
 
Physics news on Phys.org
well without the last part with z, you actually stating that there are at least 2 purple mushrooms, while with the last part you stating that there are exactly two.
 
thanks. but i don't understand why it's and OR ((x=z) v (y=z)) which would allow either of them being equal to z.
 
Yes, that's the whole point. If you posit three purple mushrooms, x, y, and z, saying that there are, in fact, only two, the last of them, z, must be the same as either one of the first two. If you start of with two purple mushrooms, x and y, and state they are not the same mushroom, then any third purple mushroom must be the same mushroom as x or y but you don't know which. Yes, definitely, either of them could be equal to z.
 
I was reading documentation about the soundness and completeness of logic formal systems. Consider the following $$\vdash_S \phi$$ where ##S## is the proof-system making part the formal system and ##\phi## is a wff (well formed formula) of the formal language. Note the blank on left of the turnstile symbol ##\vdash_S##, as far as I can tell it actually represents the empty set. So what does it mean ? I guess it actually means ##\phi## is a theorem of the formal system, i.e. there is a...

Similar threads

Back
Top