Consider a function $f: \mathbb{R}^n \times \mathbb{R}^m \rightarrow \mathbb{R}$ which is continuous in the first argument, measurable in the second.
Let $m: \mathcal{B}(\mathbb{R}^m) \rightarrow [0,1]$ be a finite measure.
I am wondering if the function $F: \mathbb{R}^n \rightarrow [0,1]$ defined as $$ F(x) := m\left( \{ y \in \mathbb{R}^m \mid f(x,y) \leq 0 \} \right) $$ is measurable.
What I tried to do is to claim that $F$ is upper semicontinuous. This should imply measurability.