Let $f,g : \mathbb{R^n} \to [-\infty, \infty]$ are lebesgue-measurable functions and $f,g$ are finite a.e.
Then, prove that $f\cdot g$ is lebesgue-measurable by using the fact that $h(x,y)=xy$ defined on $\mathbb{R^2}$ is continuous.
My attempt is here.
Let $F:= h(f,g)=f\cdot g$. Then, it is enough to prove that $F$ is lebesgue-measurable.
Since $h$ is continuous, $F$ is also continuous.
Let $N_1:= \{ x \in \mathbb{R^n} \ | \ f(x)=\pm \infty \},$ and $N_2=\{ x \in \mathbb{R^n} \ | \ g(x)=\pm \infty \}$. Since $f$ and $g$ are finite a.e, $m(N_1)=m(N_2)=0.$
For all $a\in \mathbb{R},$
\begin{align} \{ F > a \} &=\Bigg( \{ F > a \}\cap (N_1 \cup N_2)\Bigg) \bigcup \Bigg(\{ F > a \}\cap (N_1 \cup N_2)^c\Bigg) \end{align}
Let $A:=\{ F > a \}\cap (N_1 \cup N_2)$ and $B:=\{ F > a \}\cap (N_1 \cup N_2)^c$.
Since $A \subset N_1\cup N_2$, $m(A)\leqq m(N_1)+m(N_2)=0$ thus $m(A)=0$ and $A$ is lebesgue-measurable.
$B=\{ x \in \mathbb{R^n} \ | \ F(x)> a, F(x)\neq \pm \infty \} =F^{-1}((a, \infty))$
Since $F$ is continuous, $F^{-1}((a, \infty))$ is open and therefore lebesgue-measurable.
Thus, $\{ F > a \} =A\cup B$ is lebesgue-measurable.
I wonder if this proof is correct.
At the beginning, I let $F:=h(f,g)$. But is this possible? $h$ is defined on $\mathbb{R^2}$, but $f,g$ can be $\pm \infty$. So if $f=\infty$ and $g=\infty,$ $F=h(\infty, \infty)$. This cannot be defined.
Well, things go wrong early on here.
This statement is not true. Consider $f(x) = \begin{cases} 0 & x \le 0 \\ 1 & x > 0\end{cases},$ and let $g = f$. Then $F(x) = h(f(x), f(x)) = f(x) \cdot f(x) = f(x),$ which is discontinuous.
BTW, you don't appear to use the continuity of $F$ anywhere else in the proof, so just deleting the sentence about the continuity of $F$ might be a good first step.