We define the Heaviside step function:
\begin{equation} \mathcal{H}(x) = \mathbb{1} _{[0, \infty[}(x) \end{equation}
Why is $\mathcal{H}$ an element of $L_{loc}^1(\Omega)$? I.e., $\forall K$ compact in $\Omega$, $\mathcal{H} \in L^1(\Omega)$? I've got the following result:
\begin{equation} \int_{\Omega} |\mathcal{H}(x)|dx = \int_{0}^{\infty}dx = \infty \end{equation} which is not strictly inferior to infinity. What am I doing wrong?