First we construct the operator EE by assuming that u∈C∞(U‾)u \in \C^\infty (\overline{U}). Fix x0∈∂Ux^0 \in \partial U and let Φ:x↦y\Phi : x \mapsto y be a C1\C^1 mapping with Φ(x0)=0\Phi(x_0) = 0 and its inverse Ψ\Psi such that

Φ(∂U∩Br1(x0))=Br(0)∩{yn=0}andΦ(U∩Br1(x0))=Br(0)∩{yn>0}\Phi(\partial U \cap B_{r_1}(x_0)) = B_r(0) \cap \{y_n = 0\} \quad \text{and} \quad \Phi(U \cap B_{r_1}(x_0)) = B_r(0) \cap \{y_n > 0\}

for some r,r1>0r, r_1 > 0. We write y=Φ(x)y = \Phi (x), u′(y)=u(Ψ(y))u'(y) = u(\Psi(y)) and denote

{B+=Br(0)∩{yn≥0}⊂Φ(U‾)B−=Br(0)∩{yn≤0}⊂Φ(Rn∖U).\begin{cases} B^+ = B_r(0) \cap \{ y_n \geq 0 \} \subset \Phi(\overline{U})\\ B^- = B_r(0) \cap \{ y_n \leq 0 \} \subset \Phi(\R^n \setminus U). \end{cases}

Then we define

uˉ′(y)={u′(y)if y∈B+−3u′(y1,⋯ ,yn−1,−yn)+4u′(y1,⋯ ,yn−1,−yn2)if y∈B−.\bar{u}'(y) = \begin{cases} u'(y) \quad & \text{if }y \in B^+\\ -3 u'(y_1, \cdots, y_{n-1}, -y_n) + 4u'\left(y_1, \cdots, y_{n-1}, -\frac{y_n}{2}\right) \quad & \text{if }y \in B^-. \end{cases}

uˉ′∈C1(Br(0))\bar{u}' \in \C^1 (B_r(0)).

Denote u−=uˉ′∣B−u^-=\bar{u}'|_{B^{-}} and u+=uˉ′∣B+u^+=\bar{u}'|_{B^{+}} then we observe

∂u−∂xn(x)=3∂u∂xn(x1,…,xn−1,−xn)−2∂u∂xn(x1,…,xn−1,−xn2)\frac{\partial u^{-}}{\partial x_{n}}(x)=3 \frac{\partial u}{\partial x_{n}}\left(x_{1}, \ldots, x_{n-1},-x_{n}\right)-2 \frac{\partial u}{\partial x_{n}}\left(x_{1}, \ldots, x_{n-1},-\frac{x_{n}}{2}\right)

hence uxn−∣xn=0=uxn+∣xn=0u_{x_n}^-|_{x_n = 0} = u_{x_n}^+|_{x_n = 0}. Furthermore

uxi−∣xn=0=uxi+∣xn=0(1≤i≤n−1)u_{x_i}^-|_{x_n = 0} = u_{x_i}^+|_{x_n = 0} \quad (1 \leq i \leq n-1)

since u−=u+u^- = u^+ on {xn=0}\{x_n = 0\}. These imply

Dαu−∣xn=0=Dαu+∣xn=0D^\alpha u^- |_{x_n = 0} = D^\alpha u^+ |_{x_n = 0}

for each ∣α∣≤1|\alpha| \leq 1 so prove the claim.

Using these calculations we obtain

∥uˉ′∥W1,p(Br(0))≤C∥u′∥W1,p(B+)\|\bar{u}'\|_{W^{1, p}(B_r(0))} \leq C\|u'\|_{W^{1, p}\left(B^{+}\right)}

for some constant CC which does not depend on uu.

Let W=Ψ(Br(0))W = \Psi(B_r(0)) then we have the estimate

∥uˉ∥W1,p(W)≤C∥u∥W1,p(U).\|\bar{u}\|_{W^{1, p}(W)} \leq C\|u\|_{W^{1, p}(U)}.

Since ∂U\partial U is compact, there exist finitely many points xi0∈∂Ux_i^0 \in \partial U (1≤i≤N)(1 \leq i \leq N) so that each open set WiW_i constructed from xi0x_i^0 and extensions uˉ\bar{u} of uu to WiW_i as above such that

∂U⊂⋃i=1NWi.\partial U \subset \bigcup_{i=1}^N W_i.

Take W0⊂⊂UW_0 \subset \subset U so that

U⊂⋃i=0NWiU \subset \bigcup_{i=0}^N W_i

and let ζi∈Cc∞(Vi)\zeta_i \in \C^\infty_c (V_i) (1≤i≤N,0≤ζi≤1)(1 \leq i \leq N, 0 \leq \zeta_i \leq 1) be an associated partition of unity such that

∑i=0Nζi(x)=1for all x∈U.\sum_{i=0}^N \zeta_i(x) = 1 \quad \text{for all }x \in U.

Let uˉ=∑i=0Nζiuˉi\bar{u} = \sum_{i=0}^N \zeta_i \bar{u}_i where uˉ0=u\bar{u}_0 = u then we obtain the bound

∥uˉ∥W1,p(Rn)≤C∥u∥W1,p(U).\|\bar{u}\|_{W^{1, p}(\R^n)} \leq C\|u\|_{W^{1, p}(U)}.

for some constant CC which does not depend on uu. Furthermore we can arrange supp⁡uˉ⊂V\supp \bar{u} \subset V where V⊃⊃UV \supset \supset U. Note that EE is indeed linear.

So we have constructed the operator E:C∞(U)→W1,p(Rn)E : \C^\infty(U) \to W^{1, p}(\R^n). Hereafter we are going to extend its domain to W1,p(U)W^{1, p}(U), which is our desired result. Let um∈C∞(U‾)u_m \in \C^\infty(\overline{U}) such that um→u∈W1,p(U)u_m \to u \in W^{1, p}(U), then the previous estimate and the linearity of EE imply

∥Eum−Eul∥W1,p(Rn)≤C∥um−ul∥W1,p(U)\|E u_m - E u_l \|_{W^{1, p}(\R^n)} \leq C\|u_m - u_l \|_{W^{1, p}(U)}

thus EumE u_m is a Cauchy sequence converging to EuEu.