Each result cited below is universally quantified over the data appearing in its own statement, and is applied here to the data named at the point of use. We write dH(x,y)=∣x−y∣H, by Real Inner Product Space §distance, and use the triangle inequality of The Norm Metric of a Real Inner Product Space: Triangle Inequalities, Limits and Continuity §triangle and the symmetry of dH from the metric axioms without further mention. Being a viscosity subsolution, f is bounded above near each point of U; being a viscosity supersolution, g is bounded below near each point of U.
Claim 1. Let x∈U. Since f∈G, the number f(x) belongs to {v(x):v∈G}, of which u(x) is an upper bound, so f(x)≤u(x) by Upper Bound and Least Upper Bound; and g(x) is an upper bound of that set while u(x) is its least upper bound, so u(x)≤g(x).
Since g is bounded above near each point of U, for x∈U there are c∈R and a positive r with g(y)≤c for every y∈U with dH(y,x)≤r; then u(y)≤g(y)≤c for such y, so u is bounded above near each point of U by Upper and Lower Semicontinuous Envelopes of a Real-Valued Function §near-bounds. The same argument with f and the reversed inequalities shows that u is bounded below near each point of U.
Claim 2, the subsolution property. The set G is nonempty and each of its members is a viscosity subsolution of F on U. It is locally uniformly bounded above in the sense of The Pointwise Supremum of a Locally Uniformly Bounded Family of Viscosity Subsolutions on a Hilbert Triple is a Viscosity Subsolution §locally-bounded: given x∈U, the pair c,r furnished above by the local upper bound for g satisfies v(y)≤g(y)≤c for every v∈G and every y∈U with dH(y,x)≤r. The function whose value at x is sup{v(x):v∈G} is u, so claim 2 of The Pointwise Supremum of a Locally Uniformly Bounded Family of Viscosity Subsolutions on a Hilbert Triple is a Viscosity Subsolution shows that u is a viscosity subsolution of F on U.
Claim 2, the supersolution property. Suppose, seeking a contradiction, that u is not a viscosity supersolution of F on U. By claim 1 the local boundedness below required by Viscosity Subsolution, Supersolution and Solution of a Second-Order Equation on a Hilbert Triple §supersolution holds, so the failure is of the quantified condition: there are a real δ>0, a function φ∈C2(U), a point x^∈V∩U at which the function V∩U→R with value uδ+(x)−φ(x) at x has a local minimum relative to V∩U, and a real ε>0, such that no y∈W, s∈R, q∈H and Y∈Sym(H) satisfy all six conditions there. Since the order of R is total, this says:
(\ensuremath\ast)every (y,s,q,Y)∈W×R×H×Sym(H) obeying the five closeness conditions satisfies Fδ+(y,s,q,Y)<−ε,
the five closeness conditions being ∣y−x^∣H<ε, ∣uδ+(y)−uδ+(x^)∣<ε, ∣s−uδ+(x^)∣<ε, ∣q−Dφ(x^)∣H<ε and ∥Y−D2φ(x^)∥<ε. Let τ be a positive real number witnessing the local minimum as in Local Minimum of a Function Relative to a Subset of a Metric Space, so that
uδ+(x^)−φ(x^)≤uδ+(x)−φ(x)for every x∈V∩U with dH(x^,x)<τ.
The function φ is continuous on U and its gradient and Hessian maps are continuous on U, by claim 2 of Basic Properties of Differentiability on an Open Subset of a Real Inner Product Space and The Classes C1 and C2 on an Open Subset of a Real Inner Product Space §c1, The Classes C1 and C2 on an Open Subset of a Real Inner Product Space §c2. Finally, u(x)≤g(x) for every x∈U and both functions are bounded below near each point of U, so claim 5 of Basic Properties of the δ-Envelopes: Semicontinuity, Duality, Closed Superlevel Sets, Bounds and Monotonicity gives uδ+(x)≤gδ+(x) for every x∈V∩U.
Step 1: a strict gap at x^. We show that uδ+(x^)<gδ+(x^). Suppose instead that uδ+(x^)=gδ+(x^). For x∈V∩U with dH(x^,x)<τ,
gδ+(x^)−φ(x^)=uδ+(x^)−φ(x^)≤uδ+(x)−φ(x)≤gδ+(x)−φ(x),
so the function with value gδ+(x)−φ(x) at x has a local minimum at x^ relative to V∩U. By Continuous Map Between Metric Spaces there is a positive σ1≤τ such that every z∈U with dH(x^,z)<σ1 satisfies ∣φ(z)−φ(x^)∣<ε; put ε1=min{ε,σ1}, positive by claim 2 of Elementary Properties of the Minimum of Two Elements. Applying Viscosity Subsolution, Supersolution and Solution of a Second-Order Equation on a Hilbert Triple §supersolution to the viscosity supersolution g, with δ, φ, x^ and the tolerance ε1, we obtain y∈W, s∈R, q∈H and Y∈Sym(H) with
∣y−x^∣H<ε1, ∣gδ+(y)−gδ+(x^)∣<ε1, ∣s−gδ+(x^)∣<ε1, ∣q−Dφ(x^)∣H<ε1, ∥Y−D2φ(x^)∥<ε1,
and −ε1≤Fδ+(y,s,q,Y). Since ε1≤ε and gδ+(x^)=uδ+(x^), four of the five closeness conditions of (∗) hold at once. For the remaining one, y∈W⊆V∩U and dH(x^,y)<ε1≤σ1≤τ, so on the one hand
uδ+(y)≤gδ+(y)<gδ+(x^)+ε1≤uδ+(x^)+ε,
and on the other hand uδ+(y)≥uδ+(x^)+φ(y)−φ(x^)>uδ+(x^)−ε by the local minimum and claim 3 of Properties of the Absolute Value in an Ordered Field; so ∣uδ+(y)−uδ+(x^)∣<ε by claim 9 of that lemma. Then (∗) gives Fδ+(y,s,q,Y)<−ε≤−ε1, contradicting −ε1≤Fδ+(y,s,q,Y). Hence uδ+(x^)<gδ+(x^), and we set G=gδ+(x^)−uδ+(x^), a positive real number by claim 3 of Elementary Arithmetic in an Ordered Field.
Step 2: the radius and the parameters. By Basic Properties of the δ-Envelopes: Semicontinuity, Duality, Closed Superlevel Sets, Bounds and Monotonicity §semicontinuity, gδ+ is lower semicontinuous on V∩U. Using Continuous Map Between Metric Spaces for φ, Dφ and D2φ at x^ and Lower Semicontinuous Function on a Subset of a Metric Space for gδ+ at x^, and shrinking finitely many radii by claim 2 of Elementary Properties of the Minimum of Two Elements, choose a positive γ with γ≤τ, γ≤ε and BdH(x^,γ)⊆U, the last being possible by Open Subset of a Metric Space, such that every z∈U with dH(x^,z)<γ satisfies
∣φ(z)−φ(x^)∣<min{4ε,4G},∣Dφ(z)−Dφ(x^)∣H<2ε,∥D2φ(z)−D2φ(x^)∥<2ε,
and every z∈V∩U with dH(x^,z)<γ satisfies gδ+(x^)−4G<gδ+(z). Put
U′=BdH(x^,γ),η=min{8ε, 8γε, 4γ2ε, γ2G},κ=4ηγ2,c=uδ+(x^)−φ(x^),
with η and κ positive. By claim 1 of Elementary Properties of the Minimum of Two Elements and claim 5 of Elementary Arithmetic in an Ordered Field we record
2η≤4ε,2ηγ≤4ε,ηγ2≤4ε,κ≤16ε,κ≤4G.
The set U′ is open in H by Open Ball in a Metric Space is Open, contains x^, and is contained in U.
Let ψ:U→R be given by ψ(x)=φ(x)+c+κ−η∣x−x^∣H2. By claim 3 of Affine and Quadratic Functions on a Real Hilbert Space are of Class C2, applied with α=−2η and y0=x^, and by claim 4 of that lemma, the function x↦−η∣x−x^∣H2 restricted to U belongs to C2(U), with gradient −2η(x−x^) and Hessian −2ηIH; so by claims 1 and 2 of Constants, Sums, Scalar Multiples and Differences of Differentiable Functions on an Open Subset of a Real Inner Product Space, ψ∈C2(U) with
Dψ(x)=Dφ(x)−2η(x−x^),D2ψ(x)=D2φ(x)−2ηIH(x∈U),
and ψ(x^)=φ(x^)+c+κ=uδ+(x^)+κ.
Step 3: the bump on U′. Write F′=F∣U′ and W′=D(A)∩U′. By claim 1 of Restriction of the Equation and the Locality of the Viscosity Sub- and Supersolution Properties on a Hilbert Triple, F′ is a degenerate elliptic second-order equation operator on U′ relative to (H,V,A) whose δ-shifts are the restrictions of those of F; by claim 2 of that lemma, u∣U′ is a viscosity subsolution of F′ on U′; and ψ∣U′∈C2(U′) with the same gradients and Hessians, by claim 4 of Basic Properties of Differentiability on an Open Subset of a Real Inner Product Space.
We verify the hypothesis The Bump Construction on a Hilbert Triple: the Maximum of a Viscosity Subsolution and a Penalised C2 Function §condition for these data with δ in the role of its μ. Let x∈W′ satisfy u(x)<ψ(x)−δh(x). Then x∈W and dH(x^,x)<γ, so we may test (∗) with (y,s,q,Y)=(x,ψ(x),Dψ(x),D2ψ(x)):
First, ∣x−x^∣H<γ≤ε.
Secondly, by claim 1 of Basic Properties of the δ-Envelopes: Semicontinuity, Duality, Closed Superlevel Sets, Bounds and Monotonicity and the hypothesis on x, and since 0≤η∣x−x^∣H2,
uδ+(x)≤u(x)+δh(x)<ψ(x)≤φ(x)+c+κ=uδ+(x^)+(φ(x)−φ(x^))+κ<uδ+(x^)+4ε+16ε,
while x∈W′⊆V∩U and dH(x^,x)<γ≤τ give uδ+(x)≥uδ+(x^)+φ(x)−φ(x^)>uδ+(x^)−4ε. Hence ∣uδ+(x)−uδ+(x^)∣<ε by claim 9 of Properties of the Absolute Value in an Ordered Field.
Thirdly, ∣ψ(x)−uδ+(x^)∣≤∣φ(x)−φ(x^)∣+κ+η∣x−x^∣H2<4ε+16ε+4ε<ε, using claim 5 of Properties of the Absolute Value in an Ordered Field, ∣x−x^∣H<γ and claim 2 of Monotonicity of Squaring on the Nonnegative Elements of an Ordered Field.
Fourthly, ∣Dψ(x)−Dφ(x^)∣H≤∣Dφ(x)−Dφ(x^)∣H+2η∣x−x^∣H<2ε+2ηγ≤2ε+4ε<ε.
Finally, ∥D2ψ(x)−D2φ(x^)∥≤∥D2φ(x)−D2φ(x^)∥+∥2ηIH∥<2ε+2η≤43ε<ε, by claim 3 of Elementary Properties of Bounded Symmetric Bilinear Forms: Norm, Quadratic Form, Order and Continuity, where ∥2ηIH∥≤2η because ∣2η⟨x′,y′⟩H∣≤2η∣x′∣H∣y′∣H for all x′,y′∈H by The Cauchy-Schwarz Inequality in a Real Inner Product Space and claim 4 of Properties of the Absolute Value in an Ordered Field, so that claim 2 of Elementary Properties of Bounded Symmetric Bilinear Forms: Norm, Quadratic Form, Order and Continuity applies.
Therefore Fδ+(x,ψ(x),Dψ(x),D2ψ(x))<−ε<0, and this number equals (F′)δ+(x,ψ(x),Dψ(x),D2ψ(x)) by claim 1 of Restriction of the Equation and the Locality of the Viscosity Sub- and Supersolution Properties on a Hilbert Triple. The hypothesis The Bump Construction on a Hilbert Triple: the Maximum of a Viscosity Subsolution and a Penalised C2 Function §condition thus holds.
Let w′:U′→R be the function of The Bump Construction on a Hilbert Triple: the Maximum of a Viscosity Subsolution and a Penalised C2 Function for these data, namely w′(x)=max{ψ(x)−δh(x),u(x)} for x∈V∩U′ and w′(x)=u(x) for x∈U′∖V. By claim 3 of that lemma, w′ is a viscosity subsolution of F′ on U′, and by claim 1 of it, u(x)≤w′(x) on U′.
Step 4: gluing. Define w~:U→R by w~(x)=w′(x) for x∈U′ and w~(x)=u(x) for x∈U∖U′.
We first check that w~(x)=u(x) whenever x∈U and 2γ≤dH(x^,x). This is clear if x∈/U′, and if x∈U′∖V. Let then x∈V∩U′ with 2γ≤dH(x^,x). By claim 1 of Basic Properties of the δ-Envelopes: Semicontinuity, Duality, Closed Superlevel Sets, Bounds and Monotonicity, uδ+(x)≤u(x)+δh(x), and by the local minimum, dH(x^,x)<γ≤τ giving uδ+(x)≥uδ+(x^)+φ(x)−φ(x^)=φ(x)+c; hence u(x)≥φ(x)+c−δh(x). By claim 2 of Monotonicity of Squaring on the Nonnegative Elements of an Ordered Field applied to 0≤2γ≤∣x−x^∣H and claim 5 of Elementary Arithmetic in an Ordered Field, κ=4ηγ2≤η∣x−x^∣H2, so
ψ(x)−δh(x)=φ(x)+c+κ−η∣x−x^∣H2−δh(x)≤φ(x)+c−δh(x)≤u(x),
and therefore w′(x)=max{ψ(x)−δh(x),u(x)}=u(x) by Maximum of Two Elements of a Totally Ordered Set.
Put U′′={x∈U:2γ<dH(x^,x)}, the intersection of U with the complement of the closed ball BˉdH(x^,2γ). That ball is closed in H by claim 3 of Elementary Properties of the Closed Ball in a Metric Space, so its complement is open by Closed Subset of a Topological Space, and U′′ is open in H by Metric Open Sets Form a Topology. Every x∈U lies in U′ or in U′′: if dH(x^,x)<γ then x∈U′, and otherwise 2γ<γ≤dH(x^,x) by claim 8 of Elementary Order Arithmetic in an Ordered Field, so x∈U′′. Moreover w~ restricted to U′ is w′, a viscosity subsolution of F∣U′ on U′; and if U′′ is nonempty then w~ restricted to U′′ is u restricted to U′′ by the previous paragraph, a viscosity subsolution of F∣U′′ on U′′ by claim 2 of Restriction of the Equation and the Locality of the Viscosity Sub- and Supersolution Properties on a Hilbert Triple. By claim 3 of that lemma, w~ is a viscosity subsolution of F on U.
Step 5: w~ belongs to G. For x∈U we have u(x)≤w~(x), with equality off U′ and by claim 1 of The Bump Construction on a Hilbert Triple: the Maximum of a Viscosity Subsolution and a Penalised C2 Function on U′; hence f(x)≤u(x)≤w~(x) by claim 1 of the present theorem.
For the upper bound, let x∈U. If x∈/U′, or if x∈U′∖V, then w~(x)=u(x)≤g(x). Let then x∈V∩U′. By claim 1 of Basic Properties of the δ-Envelopes: Semicontinuity, Duality, Closed Superlevel Sets, Bounds and Monotonicity applied to g, gδ+(x)≤g(x)+δh(x), and by the choice of γ in Step 2,
g(x)≥gδ+(x)−δh(x)>gδ+(x^)−4G−δh(x)=uδ+(x^)+43G−δh(x),
whereas, using 0≤η∣x−x^∣H2, ∣φ(x)−φ(x^)∣<4G and κ≤4G,
ψ(x)−δh(x)≤φ(x)+c+κ−δh(x)=uδ+(x^)+(φ(x)−φ(x^))+κ−δh(x)<uδ+(x^)+2G−δh(x).
Since 2G<43G, we get ψ(x)−δh(x)<g(x); together with u(x)≤g(x) this gives w~(x)=max{ψ(x)−δh(x),u(x)}≤g(x) by claim 3 of Elementary Properties of the Maximum of Two Elements. Hence w~∈G.
Step 6: the contradiction. Since w~∈G, the number w~(x) belongs to {v(x):v∈G}, of which u(x) is an upper bound, so w~(x)≤u(x) for every x∈U; with Step 5 this gives w~=u on U. In particular, for x∈V∩U′,
u(x)=w′(x)=max{ψ(x)−δh(x),u(x)}≥ψ(x)−δh(x)
by claim 1 of Elementary Properties of the Maximum of Two Elements, that is, ψ(x)≤u(x)+δh(x).
By claim 1 of The δ-Envelopes on an Open Subset, under Penalisation of a Continuous Function, and on a Closed Subset, (u∣U′)δ+(x^)=uδ+(x^), and by The δ-Envelopes uδ− and uδ+ of a Function on an Open Subset of a Hilbert Triple §plus the left-hand side is the value at x^ of the lower semicontinuous envelope of the function V∩U′→R with value u(x)+δh(x) at x. By claim 6 of Properties of the Lower Semicontinuous Envelope, by Duality, applied to that function on the nonempty set V∩U′, there is a sequence (xk)k∈N in V∩U′ converging to x^ in (H,dH) such that (u(xk)+δh(xk))k∈N converges to uδ+(x^). Since ψ is continuous at x^ relative to U′, being continuous on U, and (xk) is a sequence in U′ converging to x^, Continuity Between Metric Spaces is Equivalent to Sequential Continuity shows that (ψ(xk))k∈N converges to ψ(x^). As ψ(xk)≤u(xk)+δh(xk) for every k, claim 1 of Order Properties of Limits of Real Sequences gives
ψ(x^)≤uδ+(x^).
But ψ(x^)=uδ+(x^)+κ, so claim 3 of Elementary Arithmetic in an Ordered Field gives κ≤0, contradicting 0<κ.
This contradiction shows that u is a viscosity supersolution of F on U. Being also a viscosity subsolution, and bounded above and below near each point of U by claim 1, u is a viscosity solution of F on U by Viscosity Subsolution, Supersolution and Solution of a Second-Order Equation on a Hilbert Triple §solution.