[step:Reduce log-concavity of the marginal to an inequality between three fibre functions]Let $x_0,x_1 \in S$, and let $t \in [0,1]$. Define the interpolated base point $x_t \in \mathbb{R}^n$ by
\begin{align*}
x_t := (1-t)x_0+t x_1.
\end{align*}
If $t=0$ or $t=1$, then
\begin{align*}
g(x_t)=g(x_0)^{1-t}g(x_1)^t
\end{align*}
by direct substitution, so assume $0<t<1$.
Define measurable fibre functions
\begin{align*}
h_0:\mathbb{R}^m &\to [0,\infty), & y &\mapsto f(x_0,y),\\
h_1:\mathbb{R}^m &\to [0,\infty), & y &\mapsto f(x_1,y),\\
h_t:\mathbb{R}^m &\to [0,\infty), & y &\mapsto f(x_t,y).
\end{align*}
By definition of $g$,
\begin{align*}
\int_{\mathbb{R}^m} h_0(y)\,d\mathcal{L}^m(y) &= g(x_0),\\
\int_{\mathbb{R}^m} h_1(y)\,d\mathcal{L}^m(y) &= g(x_1),\\
\int_{\mathbb{R}^m} h_t(y)\,d\mathcal{L}^m(y) &= g(x_t).
\end{align*}
Because $x_0,x_1 \in S$, the first two integrals are positive and finite.[/step]