Since V is open, Open Subset of Euclidean Space provides a real Ļ>0 such that every w=(w1ā,ā¦,wnā)āRn with āl=1nā(wlāāxlā)2<Ļ2 belongs to V. Consequently, if hāR satisfies 0<ā£hā£<Ļ, then āl=1nā(xlhāāxlā)2=ā£hā£2<Ļ2 by claim 1 of Monotonicity of Squaring on the Nonnegative Elements of an Ordered Field, both ā£h⣠and Ļ being nonnegative; hence xhāV, and therefore also xhāU.
Claim 1. Suppose first that the partial derivative of g with respect to the ith variable exists at x with value L, and let εāR with 0<ε. Let Ī“1ā>0 be as in Partial Derivative on a Euclidean Open Set for g, and let Ī“ be the lesser of Ī“1ā and Ļ, which exists by claim 9 of Elementary Order Arithmetic in an Ordered Field and is positive, being equal to one of the two. Let hāR with 0<ā£hā£<Ī“. Then ā£hā£<Ļ, so xhāV by the previous paragraph, and ā£hā£<Ī“1ā, so
āhg(xh)āg(x)āāLā<ε.
Since x and xh lie in V and gā£Vā agrees with g there, the same estimate holds with gā£Vā in place of g. As ε was arbitrary, the partial derivative of gā£Vā with respect to the ith variable exists at x with value L.
Conversely, suppose the partial derivative of gā£Vā with respect to the ith variable exists at x with value L, and let ε>0. Let Ī“>0 be as in Partial Derivative on a Euclidean Open Set for gā£Vā, and let hāR with 0<ā£hā£<Ī“. Then xhāV and
āhgā£Vā(xh)āgā£Vā(x)āāLā<ε,
and xhāVāU while gā£Vā agrees with g at x and xh, so the corresponding statement for g holds. Hence the partial derivative of g with respect to the ith variable exists at x with value L. This proves the equivalence; the two partial derivatives therefore have exactly the same admissible values at x, which justifies the notation āiā(gā£Vā)(x)=āiāg(x).
Claim 2. Let ε>0 and let Ī“>0 be as in Continuity at a Point for Maps Between Euclidean Spaces for f at x, the domain there being U. Every wāV with āl=1nā(wlāāxlā)2<Ī“2 lies in U, hence satisfies āj=1mā(fjā(w)āfjā(x))2<ε2; and fā£Vā agrees with f on V. So the same Ī“ witnesses continuity of fā£Vā at x, its domain being V. The argument for g is the same, with m=1.
Claim 3. Claims 1 and 2 were proved for arbitrary data satisfying the hypotheses of this lemma. Let A be the set of natural numbers k with the following property: for all natural numbers nā²,mā², every open subset Uā² of Rnā², every open Vā²āUā² and every map F:Uā²āRmā² of class Ck on Uā², the restriction Fā£Vā²ā is of class Ck on Vā². We show A=N using Principle of Induction for the Natural Numbers.
Base case. Let F=(F1ā,ā¦,Fmā²ā):Uā²āRmā² be of class C1 on Uā², and let Vā²āUā² be open. By clause 1 of C^k Maps on a Euclidean Open Set, each Fjā is continuous at every point of Uā², each partial derivative āiāFjā exists at every point of Uā², and each function āiāFjā:Uā²āR is continuous at every point of Uā². By claim 2, each Fjāā£Vā²ā is continuous at every point of Vā². By claim 1, applied at each point of Vā² to the function Fjā, the partial derivative āiā(Fjāā£Vā²ā) exists at every point of Vā² and takes there the same values as āiāFjā; that is, āiā(Fjāā£Vā²ā)=(āiāFjā)ā£Vā²ā as functions on Vā². By claim 2 again, this function is continuous at every point of Vā². Hence Fā£Vā²ā is of class C1 on Vā², and 1āA.
Inductive step. Let kāA and let F:Uā²āRmā² be of class CS(k) on Uā², where S is the successor map and S(k)=k+1 by claim 1 of Arithmetic of Addition on the Natural Numbers. By clause 2 of C^k Maps on a Euclidean Open Set, F is of class C1 on Uā² and each āiāFjā:Uā²āR is of class Ck on Uā². The base case gives that Fā£Vā²ā is of class C1 on Vā², and there āiā(Fjāā£Vā²ā)=(āiāFjā)ā£Vā²ā. Since kāA, applied to the map āiāFjā from Uā² into R1 in the sense of clause 3 of C^k Maps on a Euclidean Open Set, the restriction (āiāFjā)ā£Vā²ā is of class Ck on Vā². By clause 2 of that definition, Fā£Vā²ā is of class CS(k) on Vā²; hence S(k)āA.
By the principle of induction A=N, which is claim 3; the statement for g is the case mā²=1 under the scalar convention.
Claim 4. If f is smooth on U, then by Smooth Map on a Euclidean Open Set it is of class Ck on U for every natural number k, so by claim 3 the restriction fā£Vā is of class Ck on V for every natural number k, that is, fā£Vā is smooth on V. The same argument applies to g.