I am reviewing my analysis notes, and having trouble understanding certain parts of the proof to Lusin's theorem.
$\textbf{Lusin's Theorem}$: Let $F: [0,1] \rightarrow [0,\infty)$ be a nonnegative, measurable function. Suppose $\epsilon > 0$. Then $\exists$ a compact set $K \subseteq [0,1]$ such that $m(K) > 1 - \epsilon$ ($K$ fills out most of $[0,1]$), and a continuous function $g$ on $[0,1]$ such that $g(x) = f(x)$ if $x \in K$.
Here is the proof given in class:
First, find a sequence of simple functions $s_{n}$, such that $\lim \limits_{n \rightarrow \infty} s_{n}(x) = F(x)$ for all $x \in [0,1]$. Choose $E_{n}$ measurable such that $m(E_{n}) \leq \epsilon*2^{-n-2}$, and continuous functions $f_{n}$ such that $f_{n}(x) = s_{n}(x)$ for $x \in [0,1] \setminus E_{n}$.
- First question: I know we can find a continuous function that is nearly equal to the characteristic function of a measurable set, and each simple function $s_{n}(x)$ is the sum of characteristic functions, but why does that mean I can find a continuous function nearly equal to the sum of simple functions? Is it because the sum of the continuous functions for each characteristic function is itself continuous?
Now we let $Y = \bigcup \limits_{n = 1}^{\infty} E_{n}$. Then $m(Y) \leq \frac{\epsilon}{4}$, and $f_{n}(x) = s_{n}(x)$ if $x \in [0,1] \setminus Y$. This means $\lim \limits_{n \rightarrow \infty} f_{n}(x) = \lim \limits_{n \rightarrow \infty} s_{n}(x) = F(x)$ if $x \in [0,1] \setminus Y$. Using Egoroff's theorem, we can find a set $Z \subseteq [0,1] \setminus Y$ such that $s_{n} \rightarrow F$ uniformly on $Z$, and consequently, $f_{n} \rightarrow F$ uniformly on $Z$.
- Second question: Uniform convergence of a sequence of continuous functions has a continuous limit, so doesn't this mean $F$ is continuous on $Z$? My professor does something strange by saying $\exists$ a continuous function $G : Z \rightarrow [0, \infty)$ such that $G(x) = F(x)$ for all $x \in Z$, which has confused me. Where did $G$ come from, and why does its codomain not include $\infty$? What if $F$ did equal $\infty$ on some part of $Z$?
Finally, we find a compact set $K \subseteq Z$ such that $m(K) > 1 - \epsilon$, and extend $G\mid_{k}$ to a continuous function on $[0,1]$ by letting the extension be linear on the complementary intervals in $[0,1] \setminus K$.
- Third question: What complementary intervals of $[0,1] \setminus K$?