I would like to write following sentence in second order logic:
universum has even number of elements.
And my atempt is as follows:
$$\psi \wedge \exists_{f()} \forall_x \forall_y x\neq y \wedge f(x) = y \rightarrow f(y) = x $$
$\psi$ states that universum is finite - it is easy to express in second order logic.
Is this correct ?
Edition
Below, @Noah answered and corrected slightly my solution. However, I would like to try use his hint for alternative solution:
$$\phi_A=\exists_{A_1}\exists_{A_2}\forall_{x\in A}\left[ (x\in A_1\rightarrow x\notin A_2 \wedge x\in A_2\rightarrow x\notin A_1\right) \wedge (\exists_{f:A_1\to A_2} \text{f is injective and surjective}]$$
$$\phi_A \wedge (\forall_{x\in A}\neg \phi_{A\setminus \{x\}})$$ expresses weakly even - I believe. However, I don't know how to express strong parity. Can you help me ?