Aşağıdaki bağıntılardan hangisi bir fonksiyon belirtir?
A) $f: \mathbb{R} \to \mathbb{R}$, $f(x) = \frac{1}{x-1}$
B) $f: \mathbb{N} \to \mathbb{N}$, $f(x) = x-2$
C) $f: \mathbb{R} \to \mathbb{R}$, $f(x) = \sqrt{x}$
D) $f: \mathbb{Z} \to \mathbb{Z}$, $f(x) = \frac{x+1}{2}$
E) $f: \mathbb{R} \to \mathbb{R}$, $f(x) = x^2+1$