- #1
tmt1
- 234
- 0
How to translate "there exists exactly one happy person" into predicate logic?
I came up with $$ \exists x : happy(x) \implies \forall y: happy(y) \land y = x$$. But this is incorrect.
I also tried $$\exists x: happy(x) \land \forall y: happy(y) \land x = y$$. This is also incorrect.
The correct answer is :
$$ \exists x : (Happy(x) \land \forall y: Happy(y) \implies x = y))
$$
What is the error in my thinking?
I came up with $$ \exists x : happy(x) \implies \forall y: happy(y) \land y = x$$. But this is incorrect.
I also tried $$\exists x: happy(x) \land \forall y: happy(y) \land x = y$$. This is also incorrect.
The correct answer is :
$$ \exists x : (Happy(x) \land \forall y: Happy(y) \implies x = y))
$$
What is the error in my thinking?
Last edited: