[step:Obtain the entropy inequality and the conservation law]Combining the convergence away from $t=0$, the uniform small-time estimate, the initial trace convergence, and the vanishing of the viscosity term, then first passing $j \to \infty$ and afterwards letting $\delta\downarrow0$, gives
\begin{align*}
\int_0^{\,T} \int_{\mathbb{R}} \eta(u(t,x))\partial_t\phi(t,x) + q(u(t,x))\partial_x\phi(t,x)\, d\mathcal{L}^1(x)\, d\mathcal{L}^1(t) + \int_{\mathbb{R}} \eta(u_0(x))\phi(0,x)\, d\mathcal{L}^1(x) \ge 0.
\end{align*}
This is exactly the entropy inequality with initial data $u_0$ for every smooth convex entropy pair $(\eta,q)$.
We next pass from smooth convex entropies to the Kruzhkov entropies. Define $\operatorname{sgn}:\mathbb R\to\{-1,0,1\}$ by setting $\operatorname{sgn}(r)=1$ for $r>0$, $\operatorname{sgn}(0)=0$, and $\operatorname{sgn}(r)=-1$ for $r<0$. Fix $k\in\mathbb R$. Let $\rho : \mathbb R\to\mathbb R$ be a nonnegative function in $C_c^\infty((-1,1))$ with
\begin{align*}
\int_{\mathbb R}\rho(s)\,d\mathcal L^1(s)=1.
\end{align*}
For each $m\in\mathbb N$, define $\rho_m: \mathbb R\to\mathbb R$ by $\rho_m(s)=m\rho(ms)$. Define the smooth convex map $\eta_{k,m}:\mathbb R\to\mathbb R$ by
\begin{align*}
\eta_{k,m}(r)=\int_{\mathbb R}|r-k-s|\rho_m(s)\,d\mathcal L^1(s).
\end{align*}
Let $q_{k,m}:\mathbb R\to\mathbb R$ be its associated entropy flux,
\begin{align*}
q_{k,m}(r)=\int_k^r \eta_{k,m}'(s)f'(s)\,d\mathcal L^1(s).
\end{align*}
On the compact interval $I$, the functions $\eta_{k,m}$ converge uniformly to $r\mapsto |r-k|$, and $\eta_{k,m}'$ converge pointwise for $r\ne k$ to $\operatorname{sgn}(r-k)$ with $|\eta_{k,m}'|\le1$. Define $q_k:I\to\mathbb R$ by
\begin{align*}
q_k(r)=\operatorname{sgn}(r-k)(f(r)-f(k)).
\end{align*}
For $r\in I$, the fundamental theorem of calculus gives
\begin{align*}
|q_{k,m}(r)-q_k(r)|\le \int_I |\eta_{k,m}'(s)-\operatorname{sgn}(s-k)|\,|f'(s)|\,d\mathcal L^1(s).
\end{align*}
The preceding estimate is only valid when the integration interval contains both $r$ and $k$. Define the compact interval
\begin{align*}
I_k := [\min\{-M,k\},\max\{M,k\}].
\end{align*}
For $r\in I$, both $r$ and $k$ lie in $I_k$, and the [Fundamental Theorem of Calculus](/theorems/632) gives
\begin{align*}
|q_{k,m}(r)-q_k(r)|\le \int_{I_k} |\eta_{k,m}'(s)-\operatorname{sgn}(s-k)|\,|f'(s)|\,d\mathcal L^1(s).
\end{align*}
The integrand is bounded by $2\sup_{s\in I_k}|f'(s)|$, an $\mathcal L^1$-integrable constant on the compact interval $I_k$, and it converges to $0$ for $\mathcal L^1$-almost every $s\in I_k$. The [Dominated Convergence Theorem](/theorems/4) with respect to $\mathcal L^1$ on $I_k$ therefore shows that $q_{k,m}\to q_k$ uniformly on $I$. Since $u$ and $u_0$ take values in $I$ up to null sets, the [uniform convergence](/page/Uniform%20Convergence) of $\eta_{k,m}$ and $q_{k,m}$ on the relevant bounded range handles the spacetime entropy term, the spacetime flux term, and the initial term containing $\eta_{k,m}(u_0)$. Passing $m\to\infty$ in the smooth entropy inequality gives the Kruzhkov entropy inequality for the entropy pair $(|r-k|,\operatorname{sgn}(r-k)(f(r)-f(k)))$. Since $k\in\mathbb R$ was arbitrary, $u$ satisfies all Kruzhkov entropy inequalities with initial data $u_0$.
To recover the weak conservation law, take the affine entropy $\eta_1(r)=r$, whose entropy flux is $q_1(r)=f(r)-f(0)$, and the affine entropy $\eta_2(r)=-r$, whose entropy flux is $q_2(r)=-f(r)+f(0)$. Applying the smooth entropy inequality to $\eta_1$ and $\eta_2$ gives opposite inequalities. Adding the harmless constant terms involving $f(0)\partial_x\phi$, whose spacetime integral vanishes because $\phi$ has compact spatial support, yields equality:
\begin{align*}
\int_0^{\,T} \int_{\mathbb{R}} u(t,x)\partial_t\phi(t,x) + f(u(t,x))\partial_x\phi(t,x)\, d\mathcal{L}^1(x)\, d\mathcal{L}^1(t) + \int_{\mathbb{R}} u_0(x)\phi(0,x)\, d\mathcal{L}^1(x) = 0.
\end{align*}
The entropy inequality above contains the initial boundary term $\int_{\mathbb R}\eta(u_0(x))\phi(0,x)\,d\mathcal L^1(x)$. We now use the standard weak-in-time initial-trace theorem for scalar Kruzhkov entropy solutions, viewed as an external theorem from the scalar [entropy solution](/page/Entropy%20Solution) theory. In the form needed here, it says: if $v\in L^\infty((0,T)\times\mathbb R)\cap L^1_{\mathrm{loc}}((0,T)\times\mathbb R)$ satisfies the weak conservation law
\begin{align*}
\int_0^{\,T} \int_{\mathbb R} v\,\partial_t\psi+f(v)\,\partial_x\psi\,d\mathcal L^1(x)\,d\mathcal L^1(t)+\int_{\mathbb R}v_0(x)\psi(0,x)\,d\mathcal L^1(x)=0
\end{align*}
for every $\psi\in C_c^\infty([0,T)\times\mathbb R)$, and satisfies every Kruzhkov entropy inequality with the boundary term determined by $v_0\in L^\infty(\mathbb R)\cap L^1_{\mathrm{loc}}(\mathbb R)$, then, after changing $v$ on a null set of times if necessary,
\begin{align*}
v(t,\cdot)\to v_0 \quad \text{in } L^1_{\mathrm{loc}}(\mathbb R) \text{ as } t\downarrow0.
\end{align*}
Its hypotheses are satisfied here: $u\in L^\infty((0,T)\times\mathbb R)\cap L^1_{\mathrm{loc}}((0,T)\times\mathbb R)$ by the uniform range bound and local convergence, $u_0\in L^\infty(\mathbb R)\cap L^1(\mathbb R)\subset L^1_{\mathrm{loc}}(\mathbb R)$ by hypothesis, $u$ satisfies the weak conservation law just proved for every test function in $C_c^\infty([0,T)\times\mathbb R)$, and the Kruzhkov inequalities hold for every $k\in\mathbb R$ with the initial boundary term involving $u_0$. Therefore
\begin{align*}
u(t,\cdot)\to u_0 \quad \text{in } L^1_{\mathrm{loc}}(\mathbb R) \text{ as } t\downarrow0.
\end{align*}
Thus $u$ is a bounded Kruzhkov [entropy solution](/page/Entropy%20Solution) of $\partial_tu+\partial_xf(u)=0$ with initial trace $u_0$.[/step]