Let $a,b \in X$ be distinct and suppose $\langle -,- \rangle : X^2 \rightarrow X$ is a bijection (thought of as a pairing function, with $\pi_1,\pi_2 : X \rightarrow X$ satisfying $\pi_1\langle x,y\rangle = x$, $\pi_2\langle x,y\rangle = y$). Originally, I was curious as to whether or not one could constructively prove that $X$ is infinite i.e. there is an injection from the naturals into $X$. However, I am actually stuck on a much simpler problem: Can we constructively prove that $X$ has at least 3 distinct elements? an element distinct from $a$ and $b$?
If $X$ has decidable equality, then this is fairly simple: Suppose $a = \langle a_0,a_1 \rangle$ and $b = \langle b_0,b_1\rangle$. Check whether or not these pairs lie on the diagonal of $X^2$; if both do, triangulate to find a third pair e.g. $\langle a_0,b_1\rangle$; if only one is on the diagonal, take the transpose of the off-diagonal pair; and if both are off-diagonal, project one of them onto the diagonal.
Without decidable equality, I can't see how one can do this. My intuition tells me that such a constructive proof would need to correspond to some polynomial in two variables $\phi(x,y)$ built from the operations $\langle -,- \rangle, \pi_1, \pi_2$ having the property that for any such isomorphism and distinct $a,b$ we have that $\phi(a,b) \neq a$ and $\phi(a,b) \neq b$. But it seems to me that for any such $\phi$ it should be possible to "refute" it. Of course, perhaps my intuition is mistaken and I'm missing something obvious.