Consider the famous Collatz sequence
$$ x_{n+1} = c(x_n) = \left\{ \matrix{x_n/2 & {\rm if \; x_n \; even} \hfil \cr 3x_n+1 & {\rm if \; x_n \; odd} \hfil \cr } \right. $$
and define $f: ℕ-\{0\}→\{0, 1\}$
$$ f(x) = \left\{ \matrix{ 0 & {\rm if} \; \exists n : c^n(x) = 1 \hfil\cr 1 & {\rm otherwise}\hfil\cr }\right. $$
Is that a valid definition for a function? Is it a constant function? What if we replace Collatz conjecture with a true proposition that however cannot be proved with current set of axioms (Gödel incompleteness)? What if it's replaced by something that can only be decided with a new axiom?
For any given $x\in ℕ$, I would say that $f(x)$ is a well defined number, but if that's true does it mean that for example well defined functions from naturals to $\{0, 1\}$ are either:
- non-constant functions
- provably constant functions
- functions that are constant but that cannot be proved constant
- functions for which cannot be decided if they're constant or not
(this to me sounds pretty crazy)