I have an infinite set of variables X and I want to state that the property that there is a unique variable in X with value 2.
For a finite set, I would write the first-order logic formula: $$ (x_0 = 2 \wedge x_1 \neq 2 \wedge ... \wedge x_n\neq2) \vee (x_0 \neq 2 \wedge x_1 = 2 \wedge ... \wedge x_n\neq2) \vee ... $$
For the infinite set X, I could do the same but using infinite conjunction/disjunction.
Alternatively, using second-order logic, I could (if I understand correctly) quantify over X stating. $$ \exists x\in X. (x=2 \wedge (\forall y\in X. (x=y \vee y\neq 2))) $$
- Is there a name for first-order logic with infinite conjunction/disjunction?
- Does the example demonstrate that this logic is then more expressive than first-order logic with finite/binary conjunction/disjunction?
I am clearly not a logician so please don't overwhelm me too much :D