A definition of the Axiom of Choice mentions that:
[...] no choice function is known for the collection of all non-empty subsets of the real numbers --Wikipedia
However, for all non-empty subsets $X$ of the real numbers I can construct a function $f$ which chooses the element closest to $0$, and if there are two such elements, chooses the positive one.
Below is my attempt at stating this rigorously:
$ \forall X \subset \mathbb{R} | X \neq \emptyset: f(X)=\begin{cases} x:\min (|X|),& \text{if } (\max(x):x \in X, x<0) \neq (\min(x):x \in X, x>0)\\ \min(|X|),& \text{otherwise} \end{cases}$
This certainly holds for subsets of reals which
- are positive only $\longrightarrow$ select the smallest
- are negative only $\longrightarrow$ select the largest
- contain $0$ $\longrightarrow$ select $0$
- are positive and negative $\longrightarrow$ select the element nearest to $0$
- contain a positive and a negative element both closest to $0$ $\longrightarrow$ select the positive one
Is this a choice function for the collection of all non-empty subsets of the real numbers? And if it's not a breakthrough, what am I missing?
No, it is not a choice function, because it is not defined for all non-empty subsets of $\mathbb R$. For instance, $f\bigl((1,2]\bigr)$ is not defined.