I would like to represent in predicate logic notation (I'm not sure this is the correct name) the sentence "There are at least 3 elements in X such that A(x) is true and B(x) is false".
Without that "at least 3", I would translate the sentence as $\exists x \in X. A(x) \land \lnot B(x)$ but I have no idea how to say the same for 3 distinct elements of X.
One solution I've found is this but I feel like this would be too long, repetitive and definitely not elegant.
An elegant solution (that could also easily be modified to represent "at least n" instead of just "at least 3") may be something like:
"Let Y be the set of all elements of X such that A(element) is true and B(element) is false;
there are at least 3 (or n) distinct elements in Y".
How would this translate into "predicate logic notation"?
Is this actually more elegant?
Am I on the right track?
"At least three x such that P" will be: