I am wondering how one would go about constructing a "only one" statement using first order logic.
I stumbled into an example that said "Only one student took Greek in Spring of 2011."
I can easily construct something like "There is a student who took Greek in Spring of 2011." How can I add "Only one" to it?
The usual way is to say that if two elements both satisfy the property, then they are the same element.
In other words, the sentence
is written as
$$\exists x: (P(x)\land \forall y:(P(y)\implies x=y))$$