First use weak compactness of bounded sets in the Hilbert space to pass to a subsequence with globally in . The weak lower semicontinuity of the Hilbert norm gives . This global step also applies if is unbounded.
Choose a nested exhaustion by bounded smooth open sets. Part (i) bounds in for every . By the Rellich-Kondrachov compactness theorem, embeds compactly in . Weak compactness in and a diagonal subsequence argument therefore give, for the same subsequence,
The local limit agrees with the global weak limit. Using smooth exhaustion sets avoids imposing any unprinted boundary regularity on a general .
For a smooth compactly supported test function, the weak equation passes to the limit: the fixed bounded coefficients multiply fixed test functions, and local weak gradient convergence handles both the principal and drift terms. The zeroth-order term passes by local convergence. Thus weakly, , and the global bound already proved gives .
To improve convergence of the gradients, put . Crucially the forcing is the same for all , so . Given , choose with . Apply part (i) on to the homogeneous equation for :
This establishes strong local Sobolev compactness for a fixed elliptic equation and proves