Let $f\in C_c(X), f:X \to \mathbb{R}$ be a continuous function with compact support on a measure space $X$ with $f \ge 0$.
Allegedly it is possiple to approximate that function by a monotonic decreasing sequence of simple functions $s_n$ of the form $s_n(x) = \sum_j c_j \chi_{K_j}(x)$, where the $K_j$ are compact.
Well, if I divide the co-domain into intervals of the form $[\frac{j-1}{2^n}, \frac{j}{2^n}]$, I get compact sets within the support of $f$ by $f^{-1}([\frac{j-1}{2^n}, \frac{j}{2^n}])$, but then these sets are not disjoint and I can't define a simple function of the form described above.
How can I remedy that?
An idea I have is dividing the co-domain into intervals of the form $(\frac{j-1}{2^n}, \frac{j}{2^n}]$ and then taking $f^{-1}([a, \frac{j}{2^n}])$, where $[a, \frac{j}{2^n}]\subset (\frac{j-1}{2^n}, \frac{j}{2^n}]$ is the largest compact interval that is contained in $(\frac{j-1}{2^n}, \frac{j}{2^n}]$.
Does this work?
There seems to be some issues with the requirement that the partitioned compact sets in the support must be disjoint. For example, take some function whose domain is R. It would be impossible to partition a compact set of R into an arbitrary number disjoint compact sets (as each partition must itself be closed and bounded there is at least some intersection at the boundaries).