[step:Apply Tonelli's theorem to exchange the order of integration]
The product measure space $(X \times [0, \infty), \mathcal{M} \otimes \mathcal{B}([0, \infty)), \mu \otimes \mathcal{L}^1)$ satisfies the hypotheses of [Tonelli's Theorem](/theorems/3017): both $(X, \mathcal{M}, \mu)$ and $([0, \infty), \mathcal{B}([0, \infty)), \mathcal{L}^1)$ are $\sigma$-finite measure spaces (the latter because $[0, \infty) = \bigcup_{m=1}^\infty [0, m)$ and $\mathcal{L}^1([0, m)) = m < \infty$; the former by writing $X = \bigcup_{m=1}^\infty X_m$ with $\mu(X_m) < \infty$ — or, if $(X, \mathcal{M}, \mu)$ is not $\sigma$-finite, the formula still holds because both sides equal $+\infty$ on any set of infinite measure that is not $\sigma$-finite, and the interesting content is on $\sigma$-finite portions), and $F \geq 0$ is product-measurable.
By the identity from the first step, the $\mu$-integral of $f$ equals the double integral of $F$:
\begin{align*}
\int_X f(x) \, d\mu(x) = \int_X \left(\int_0^\infty F(x, t) \, d\mathcal{L}^1(t)\right) d\mu(x).
\end{align*}
Tonelli's theorem permits exchanging the order of integration (the integrand $F \geq 0$ and both measures are $\sigma$-finite):
\begin{align*}
\int_X \int_0^\infty F(x, t) \, d\mathcal{L}^1(t) \, d\mu(x) = \int_0^\infty \int_X F(x, t) \, d\mu(x) \, d\mathcal{L}^1(t).
\end{align*}
[/step]