[step:Control the empirical fluctuation by the VC kernel maximal inequality]Define, for each $h>0$ and compact $A \subset \mathbb{R}^d$, the function class
\begin{align*}
\mathcal{G}_{h,A}:=\{g_{x,h}: x \in A\}.
\end{align*}
We use the VC-subgraph and pointwise-measurability assumptions on $\mathcal K$. For fixed $h>0$ and compact $A$, the restricted scaled class $\mathcal{G}_{h,A}$ is pointwise measurable because pointwise measurability is inherited by restricting the index set and multiplying every function by the fixed positive scalar $h^{-d}$. The subgraph VC dimension is unchanged by multiplication by the positive scalar $h^{-d}$, because
\begin{align*}
\{(u,t):h^{-d}K((x-u)/h)>t\}=\{(u,t):K((x-u)/h)>h^d t\},
\end{align*}
and the map $(u,t)\mapsto (u,h^dt)$ is a bijection of $\mathbb{R}^d\times\mathbb{R}$ preserving shattering relations.
Let $B_K:=\sup_{z \in \mathbb{R}^d}|K(z)|<\infty$. Define the constant envelope $G_h: \mathbb{R}^d \to [0,\infty)$ by
\begin{align*}
G_h(u)=h^{-d}B_K.
\end{align*}
This is a measurable envelope for $\mathcal{G}_{h,A}$. Since $\mathcal{K}$ is VC-subgraph, there exist constants $a\geq e$ and $v\geq 1$, depending only on the VC characteristics of $\mathcal{K}$, such that for every probability measure $Q$ on $\mathbb{R}^d$ and every $0<\eta\leq 1$,
\begin{align*}
N\left(\eta\|G_h\|_{L^2(Q)},\mathcal{G}_{h,A},L^2(Q)\right)
\leq
\left(\frac{a}{\eta}\right)^v.
\end{align*}
This is the polynomial entropy hypothesis required by the outer-probability VC maximal inequality.
The variance is bounded uniformly in $x \in A$. First,
\begin{align*}
P g_{x,h}^2=\int_{\mathbb{R}^d}h^{-2d}K\left(\frac{x-u}{h}\right)^2 f(u)\,d\mathcal{L}^d(u).
\end{align*}
Using the affine substitution $z=(x-u)/h$, equivalently $u=x-hz$, the measure transforms as $d\mathcal{L}^d(u)=h^d\,d\mathcal{L}^d(z)$ and the domain remains $\mathbb{R}^d$. Hence
\begin{align*}
P g_{x,h}^2=h^{-d}\int_{\mathbb{R}^d}K(z)^2f(x-hz)\,d\mathcal{L}^d(z).
\end{align*}
Since $f$ is bounded and $K$ is bounded with compact support,
\begin{align*}
P g_{x,h}^2\leq h^{-d}\|f\|_{\infty}\int_{\mathbb{R}^d}K(z)^2\,d\mathcal{L}^d(z).
\end{align*}
Set
\begin{align*}
C_{K,f}:=
\|f\|_{\infty}
\int_{\mathbb{R}^d}K(z)^2\,d\mathcal{L}^d(z)<\infty.
\end{align*}
Thus $\sup_{g\in\mathcal{G}_{h,A}}Pg^2\leq C_{K,f}h^{-d}$.
We use the following VC empirical-process maximal inequality with Bernstein-Talagrand concentration, in the form of Theorem 2.14.1 in van der Vaart and Wellner's empirical-process theory together with the standard Bernstein-Talagrand tail integration: if a pointwise measurable class $\mathcal{F}$ has measurable envelope $F$, polynomial covering numbers
\begin{align*}
N\left(\eta\|F\|_{L^2(Q)},\mathcal{F},L^2(Q)\right)\leq \left(\frac{a}{\eta}\right)^v
\end{align*}
for all probability measures $Q$ and all $0<\eta\leq 1$, and if $\sup_{g\in\mathcal F}Pg^2\leq \sigma^2$, then the measurable [random variable](/page/Random%20Variable) $\sup_{g\in\mathcal F}|(P_n-P)g|$ satisfies
\begin{align*}
\sup_{g\in\mathcal F}|(P_n-P)g|
=
O_{\mathbb P}\left(\sqrt{\frac{\sigma^2\Lambda}{n}}\right)
+
O_{\mathbb P}\left(\frac{\|F\|_{\infty}\Lambda}{n}\right),
\end{align*}
where
\begin{align*}
\Lambda:=1+\log\left(\frac{a\|F\|_{\infty}}{\sigma}\right),
\end{align*}
and the implicit constants depend only on $a$ and $v$. Apply this result with $\mathcal F=\mathcal G_{h,A}$, $F=G_h$, and $\sigma^2=C_{K,f}h^{-d}$. The preceding paragraphs verify pointwise measurability, polynomial entropy, measurability of the envelope, and the variance bound. Moreover $\|G_h\|_{\infty}=B_Kh^{-d}$, so
\begin{align*}
\Lambda
=
1+\log\left(\frac{aB_Kh^{-d}}{C_{K,f}^{1/2}h^{-d/2}}\right)
\leq C_1\log(e/h)
\end{align*}
for a constant $C_1=C_1(a,B_K,C_{K,f},d)>0$ and all sufficiently small $h>0$. Therefore there is a constant $C_2=C_2(a,v,B_K,C_{K,f},d)>0$ such that along $h=h_n$,
\begin{align*}
\sup_{x \in A}|(P_n-P)g_{x,h}|
=
O_{\mathbb{P}}\left(\sqrt{\frac{\log(e/h)}{n h^d}}\right)+O_{\mathbb{P}}\left(\frac{\log(e/h)}{n h^d}\right)
\end{align*}
as $n \to \infty$ and $h=h_n \downarrow 0$.[/step]