Reason: Initial publication of the proof: locality of the difference quotient and of the continuity estimate, then induction on k over the recursive definition of class C^k.
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.