scieee AI-readable full text Open interactive document viewer

Equivalence of weak and viscosity solutions for the nonhomogeneous double phase equation

Fang, Yuzhou; Radulescu, Vicentiu; Zhang, Chao

Abstract

We establish the equivalence between weak and viscosity solutions to the nonhomogeneous double phase equation with lower-order term - div(|Du|(p-2)Du+a(x)|Du|(q-2)Du)= f (x, u, Du), 1 < p <= q < infinity, a(x) >= 0. We find some appropriate hypotheses on the coefficient a(x), the exponents p, q and the nonlinear term f to show that the viscosity solutions with a priori Lipschitz continuity are weak solutions of such equation by virtue of the inf(sup)-convolution techniques. The reverse implication can be concluded through comparison principles. Moreover, we verify that the bounded viscosity solutions are exactly Lipschitz continuous, which is also of independent interest.

Full text

Mathematische Annalen https://doi.org/10.1007/s00208-023-02593-y Mathematische Annalen Equivalence of weak and viscosity solutions for the nonhomogeneous double phase equation Yuzhou Fang1·Vicen¸tiu D. R˘adulescu2,3,4,5 ·Chao Zhang6 Received: 28 August 2022 / Revised: 14 February 2023 / Accepted: 16 February 2023 © The Author(s) 2023 Abstract We establish the equivalence between weak and viscosity solutions to the nonhomogeneous double phase equation with lower-order term −div(|Du|p−2Du+a(x)|Du|q−2Du)=f(x,u,Du), 1<p≤q<∞,a(x)≥0. We find some appropriate hypotheses on the coefficient a(x), the exponents p,q and the nonlinear term fto show that the viscosity solutions with aprioriLipschitz continuity are weak solutions of such equation by virtue of the inf(sup)-convolution techniques. The reverse implication can be concluded through comparison principles. Moreover, we verify that the bounded viscosity solutions are exactly Lipschitz continuous, which is also of independent interest. BVicen¸tiu D. R˘adulescu [email protected].ro Yuzhou Fang [email protected] Chao Zhang [email protected] 1School of Mathematics, Harbin Institute of Technology, Harbin 150001, China 2Faculty of Applied Mathematics, AGH University of Science and Technology, Kraków 30-059, Poland 3Brno University of Technology, Faculty of Electrical Engineering and Communication, Technická 3058/10, Brno 61600, Czech Republic 4Department of Mathematics, University of Craiova, Street A.I. Cuza 13, 200585 Craiova, Romania 5Simion Stoilow Institute of Mathematics of the Romanian Academy, Calea Grivi¸tei No. 21, 010702 Bucharest, Romania 6School of Mathematics and Institute for Advanced Study in Mathematics, Harbin Institute of Technology, Harbin 150001, China 123 Y. Fang et al. Mathematics Subject Classification 35J92 ·35D40 ·35D30 ·35B45 1 Introduction Let be a bounded domain in Rn(n≥2). In this work we aim to examine the inner relationship between weak and viscosity solutions to the following nonhomogeneous double phase equation −div(|Du|p−2Du +a(x)|Du|q−2Du)=f(x,u,Du)in , (1.1) where 1 <p≤q<∞,a(x)≥0 and f(x,τ,ξ) :×R×Rn→Ris a continuous function. The double phase problems, stemming from the models of strongly anisotropic materials, were originally investigated by Zhikov [51,52] and Marcellini [40] in the context of homogenization and Lavrentiev phenomenon. Over the last years, problems of the type considered in (1.1) have attracted intensive attention from the variational point of view, whose celebrated prototype is given by the following unbalanced energy functional W1,1() u→ P(u,):=  (|Du|p+a(x)|Du|q)dx. The significant characteristics of this functional are that its ellipticity and growth rate will change drastically according to the modulating coefficient a(·)equal to 0 or not. The regularity of minimizers is determined via a delicate interaction between the growth conditions and the pointwise behaviour of a(·). For instance, under the hypotheses that 0≤a(·)∈C0,α(), α ∈(0,1]and q p≤1+α n,(1.2) Colombo, Mingione et. al. [6,7,13] established the gradient Hölder continuity and Harnack inequality for the minimizers of P. A key feature of this problem is that the minimizers could be even discontinuous when condition (1.2) is violated, by means of the counterexamples presented in [21,27]. For the double phase equation −div(|Du|p−2Du +a(x)|Du|q−2Du)=−div(|F|p−2F+a(x)|F|q−2F)in , the Calderón-Zygmund estimates of weak solutions were derived in [14,18] under assumption (1.2)(seealso[4,9]). More recently, De Filippis and Mingione [19] considered a very large class of vector-valued nonautonomous variational problems involving integral functionals of the double phase type, where the authors provided a comprehensive treatment of Lipschitz regularity of solutions under sharp conditions. Despite their relatively short history, double phase problems have achieved very fruitful results with several connections to other aspects, such as the existence and multiplicity of solutions [47], the nonlocal version [20,22], the properties of eigenvalues and 123 Equivalence of weak and viscosity solutions for the nonhomogeneous... eigenfunctions [12,46], as well as the removability and obstacle problems [10,35]. We also refer to [5,17,25,26,29,37,41,44] and references therein for more results. The topic on equivalence of different solutions started from the works of Lions [39] and Ishii [30] on linear equations. For what concerns the quasilinear case, Juutinen, Lindqvist and Manfredi [33] proved that the weak solutions coincide with the viscosity solutions to the p-Laplace equation and its parabolic version based on the uniqueness machinery of solutions; see [34]forp(x)-Laplace type equation. The equivalence of solutions was generalized to the fractional p-Laplace equation in [36] by following analogous ideas. Julin and Juutinen [32] gave a more immediate proof for the equivalence of viscosity and weak solutions to the p-Laplace equation without relying on the comparison principle of viscosity solutions. They introduced a technical regularization process through infimal convolution, which was applied to various equations incorporating the normalized p(x)-Laplace equation [49], the nonhomogeneous nonlocal p-Laplace equation [8] and the normalized p-Possion equation [3]. More related results can be found in [42,43,48,50]. From the results mentioned above, we can see that the research achievements for the double phase problems mainly focus on the weak solutions from the variational perspective and there are few results concerning the relationship between viscosity and weak solutions for the general nonuniformly elliptic equations. In particular, De Filippis and Palatucci [20] showed that the bounded viscosity solutions of the nonlocal counterpart to (1.1) are locally Hölder continuous. For the homogeneous case of (1.1), Fang and Zhang [23] established the equivalence between weak and viscosity solutions by introducing AH(·)-harmonic functions that serve as a bridge. Motivated by the previous works [20,23], our intention in the present paper is to prove the equivalence of weak and viscosity solutions for the nonhomogeneous problem (1.1). Due to the presence of the lower-order term, we cannot introduce AH(·)-harmonic functions any more and it is hard to use the full uniqueness machinery of viscosity solutions. To this end, we revisit the inf(sup)-convolution approximation, developed in [32], to verify directly that weak solutions are equivalent to viscosity solutions under some proper preconditions. We are now in a position to state the main contributions of this manuscript. The first one establishes the following qualitative property. Theorem 1.1 Let 0<a(x)∈C1() and q p≤1+1 nbe in force. Suppose that f(x,τ,ξ)is uniformly continuous in ×R×Rn, decreasing in τ, Lipschitz continuous with respect to ξand fulfilling the following growth condition |f(x,τ,ξ)|≤γ(|τ|)(|ξ|p−1+a(x)|ξ|q−1)+(x), (1.3) where γ(·)≥0is continuous and ∈L∞ loc(). Let u be a viscosity supersolution with local Lipschitz continuity to problem (1.1)in . Then u is a weak supersolution as well. We would like to mention that the double phase operator, compared to the usual p- Laplace operator, lacks translation invariance property and exhibits two diverse growth terms owing to the presence of a(x). It will lead to an additional error term E(ε) in 123 Y. Fang et al. the key Lemma 3.1 and demand an aprioriassumption that the viscosity solution u is locally Lipschictz continuous. The second result is about the local Lipschitz continuity of viscosity solutions, which is also of independent interest. Theorem 1.2 Let u be a bounded viscosity solution to (1.1)in . Under the assumptions that 0≤a(x)∈C1(),p≤q≤p+1 2and (1.3), for any ⊂⊂ , there is a constant C that depends on n,p,q,γ ∞, ,,aC1(),uL∞() and L∞(), such that |u(x)−u(y)|≤C|x−y| for all x,y∈.Here,γ∞:= maxt∈[0,uL∞()]γ(t). In order to verify Theorem 1.2, we need to utilize twice the Ishii-Lions methods [31], and to adjust carefully the distance q−pin order to get a contradiction. Combining the above two theorems yields that the bounded viscosity solutions are weak solutions with some explicit conditions. To show that weak solutions are viscosity solutions, we consider a class of functions satisfying the following comparison principle. Definition 1.3 Suppose that uis a weak supersolution to (1.1)in⊂. If for any weak subsolution vof (1.1) such that v≤ua.e. in ∂there holds that v≤ua.e. in , then we say that (u,f)fulfills the comparison principle property (CCP) in . Finally, the fact that weak solutions are viscosity solutions can be obtained under the (CCP) condition by a contradiction argument. Theorem 1.4 Let u be a lower semicontinuous weak supersolution to (1.1)in. Assume that f (x,τ,ξ)is uniformly continuous in ×R×Rn. If (CPP) holds true, then u is also a viscosity supersolution to problem (1.1). Remark 1.5 When the nonlinear term fonly depends on x, and not on uand ∇u,we know from [19] that the weak solutions are locally Lipschitz continuous under the minimal hypotheses that 0 ≤a∈W1,d(), d>n, and fbelongs to a proper Lorentz space along with q/p≤1+1/n−1/d,ifn>2 and q/p<p,ifn=2. This paper is organized as follows. In Sect. 2we introduce some basic properties of function spaces and concepts of solutions as well as some necessary known results. Section3is devoted to proving that viscosity solutions are weak solutions to (1.1), and the reverse implication is showed in Sect. 4, where we also establish the comparison principle for two equations with different nonlinearities. In Sect. 5, we verify that the bounded viscosity solutions of (1.1) are locally Lipschitz continuous, which is the indispensable element of equivalence. 123 Equivalence of weak and viscosity solutions for the nonhomogeneous... 2 Preliminaries In this section, we summarize some basic properties of the Musielak-Orlicz-Sobolev space W1,H(·)(). These properties can be found in [11,28,45]. In addition, we give different notions of solutions to Eq. (1.1) together with some auxiliary results. 2.1 Function spaces In the rest of this paper, unless otherwise stated, we always assume that hypothesis (1.2) holds. For all x∈and ξ∈Rn, we shall use the notation H(x,ξ):= |ξ|p+a(x)|ξ|q.(2.1) With abuse of notation, we shall also denote H(x,ξ)when ξ∈R. Observe that the generalized Young function His a Musielak-Orlicz function fulfilling (2)and (∇2) conditions. Here, a Young function His said to satisfy the 2-condition provided that there is a constant c>0 such that H(x,2t)≤cH(x,t)for every t≥0. We say that Hsatisfies the ∇2-condition if the Fenchel-Young conjugate H∗of H(see (2.2)), satisfies the 2-condition. Let us introduce some important properties, to be used later, of the energy density Hgiven by (2.1). We will keep on denoting H(x,t)=tp+a(x)tqfor t≥0, that is, ξis a non-negative number in (2.1). By the Fenchel-Young conjugate of H, we mean the function H∗(x,t):= sup s≥0{st −H(x,s)}.(2.2) It is well known that the equivalence H∗(x,H(x,t)/t)∼H(x,t)(2.3) holds up to some constants depending on p,q, and moreover the Young inequality st ≤H∗(x,t)+H(x,s)(2.4) holds for all x∈,s,t∈[0,+∞). The Musielak-Orlicz space LH(·)() is defined as LH(·)() := {u:→Rmeasurable :H(u)<∞}, and it is endowed with the norm uLH(·)() := inf λ>0:Hu λ≤1, where H(u):=  H(x,u)dx =|u|p+a(x)|u|qdx 123 Y. Fang et al. is called the H-modular function. The space LH(·)() is a separable, uniformly convex Banach space. From the definitions of the H-modular and the norm, we deduce that min up LH(·)(),uq LH(·)()≤H(u)≤max up LH(·)(),uq LH(·)().(2.5) It follows from (2.5) that un−uLH(·)() →0⇐⇒ H(un−u)→0, which indicates the equivalence of convergence in H-modular and in norm. For the space LH∗(·)() we know that min (H∗(u)) p p+1,(H∗(u)) q q+1≤uLH∗(·)() ≤max (H∗(u)) p p+1,(H∗(u)) q q+1.(2.6) If u∈LH(·)() and v∈LH∗(·)(), the following Hölder inequality  uvdx≤2uLH(·)()vLH∗(·)() (2.7) holds. The Musielak-Orlicz-Sobolev space W1,H(·)() is the set of those functions u∈ LH(·)() satisfying Du ∈LH(·)(). We equip the space W1,H(·)() with the norm uW1,H(·)() := uLH(·)() +DuLH(·)(). The space W1,H(·)() is a separable and reflexive Banach space. The local space W1,H(·) loc () is composed of those functions belonging to W1,H(·)()for any subdomain compactly involved in . Finally, we denote by W1,H(·) 0() the closure of C∞ 0() in W1,H(·)(). Indeed, the condition (1.2) ensures that the set C∞ 0() is dense in W1,H(·) 0() (see [1,21]). 2.2 Notions of solutions Set A(x,ξ):= |ξ|p−2ξ+a(x)|ξ|q−2ξ for all x∈and ξ∈Rn. We now give the definition of diverse type of solutions to problem (1.1). When considering the weak solutions to (1.1), we demand that the source term ffulfills the growth condition (1.3) unless otherwise stated. 123 Equivalence of weak and viscosity solutions for the nonhomogeneous... Definition 2.1 (weak solution) We say that u∈W1,H(·) loc () is a weak supersolution to problem (1.1)if A(x,Du), Dφdx ≥ f(x,u,Du)φ dx for each nonnegative function φ∈C∞ 0(). The inequality is reverse for weak subsolution. When u∈W1,H(·) loc () is both weak super- and subsolution, we call ua weak solution to (1.1), that is A(x,Du), Dφdx = f(x,u,Du)φ dx for any φ∈C∞ 0(). Remark 2.2 In the definition above, from (1.3), (2.3) and (2.4) we can see that the integral f(x,u,Du)φ dx is finite, for any φ∈C∞ 0(). Let now ξ,η ∈Rn,X∈Snwith Snbeing the set of symmetric n×nmatrices. We introduce some notations: M(x,ξ) =a(x)|ξ|q−2I+(q−2)ξ |ξ|⊗ξ |ξ|, F1(ξ, X)=−|ξ|p−2trX+(p−2)Xξ |ξ|,ξ |ξ|, F2(x,ξ,X)=−a(x)|ξ|q−2trX+(q−2)Xξ |ξ|,ξ |ξ|=−tr(M(x,ξ)X) and F3(x,ξ)=−|ξ|q−2ξ·Da(x), where ξ⊗ηdenotes an n×nmatrix whose (i,j)entry is ξiηj, and ξ,ηor ξ·η stands for the inner product of ξ,η. For a matrix X, we set the matrix norm X:= sup|ξ|≤1{|Xξ|}. In order to define the viscosity solutions of problem (1.1), we let a∈C1() and easily check that −div(|Du|p−2Du +a(x)|Du|q−2Du) =F1(Du,D2u)+F2(x,Du,D2u)+F3(x,Du) =: F(x,Du,D2u). (2.8) We now recall the notion of semi-jets. The subjet of u:→Rat xis given by letting (η, X)∈J2,−u(x)if u(y)≥u(x)+η·(y−x)+1 2X(y−x), (y−x)+o(|y−x|2) 123 Y. Fang et al. as y→x. The closure of a subjet is defined by (η, X)∈J2,−u(x)if there exists a sequence (ηj,Xj)∈J2,−u(xj)such that (xj,u(xj), ηj,Xj)→(x,r,η,X)with some r∈Ras j→∞. Obviously, r=u(x)if uis continuous. The superjet J2,+ and its closure J2,+are defined by a similar way but the inequality above needs to be converse. Definition 2.3 (viscosity solution) A lower semicontinuous function u:→ (−∞,∞)is a viscosity supersolution to problem (1.1)in,if(η, X)∈J2,−u(x) with x∈and η= 0 implies that F(x,η,X)≥f(x,u(x), η). An upper semicontinuous function u:→(−∞,∞)is a viscosity subsolution to problem (1.1)in, if for each (η, X)∈J2,+u(x)with x∈and η= 0 there holds that F(x,η,X)≤f(x,u(x), η). A function uis called viscosity solution to (1.1) if and only if it is viscosity super- and subsolution. Remark 2.4 The preceding concept of viscosity solutions is equivalently given by the jet-closures or test functions. For instance, the following conditions are equivalent: (1) A function uis a viscosity supersolution to (1.1)in; (2) If (η, X)∈J2,−u(x)with x∈and η= 0, then F(x,η,X)≥f(x,u(x), η); (3) If ϕ∈C2() touches ufrom below at x, that is, ϕ(x)=u(x), ϕ(y)≤u(y)and moreover Dϕ(x)= 0, then we have F(x,Dϕ(x), D2ϕ(x)) ≥f(x,u(x), Dϕ(x)). In the case 2 ≤p≤q, we can remove the requirement that η= 0orDϕ(x)= 0. 2.3 Inf-convolution We now give the definition of infimal convolution together with some properties. Define the inf-convolution as uε(x)=inf y∈u(y)+|x−y|s sεs−1, where ε>0 and s≥max 2,p p−1is a constant to be fixed by the growth powers in Eq. (1.1). Indeed, when 2 ≤p≤q,s=2; when 1 <p≤q<2, s> max p p−1,q q−1=p p−1; when 1 <p<2≤q,s>max p p−1,2=p p−1. The following well-known properties of the inf-convolution uεcan be found in several references, such as [32,49]. Proposition 2.5 Suppose that u :→Ris a bounded and lower semicontinuous function. Then the inf-convolution uεsatisfies the following properties: 123 Equivalence of weak and viscosity solutions for the nonhomogeneous... (1) uε≤uinand uε→u locally uniformly as ε→0. (2) There is r(ε) > 0such that uε(x)=inf y∈Br(ε)(x)∩u(y)+|x−y|s sεs−1 with r(ε) →0as ε→0. In particular, if x ∈r(ε) := {x∈:dist(x,∂) > r(ε)}, then there exists a point xε∈Br(ε)(x)fulfilling uε(x)=u(xε)+|x−xε|s sεs−1. (3) The function uεis semi-concave in r(ε), that is, we can find a constant C, depending only on u,s and ε, such that the function x → uε(x)−C|x|2is concave. (4) If (η, X)∈J2,−uε(x)with x ∈r(ε), then we have η=|x−xε|s−2(x−xε) εs−1and X ≤s−1 ε|η|s−2 s−1I. 3 Viscosity solutions are weak solutions In this part, we are going to make use of the inf-convolution approximation technique to show that the locally Lipschitz continuous viscosity solutions are weak solutions to (1.1). Furthermore, the Lipschitz continuity of viscosity solutions can be established precisely; this proof is postponed to Sect. 5. We therefore draw a conclusion that viscosity solutions are weak solutions under some suitable conditions. We will only discuss viscosity and weak supersolutions below. The case of subsolutions is similar. We begin by stating that if uis a (locally Lipschitz) viscosity supersolution to (1.1) in , then its inf-convolution uεis also a viscosity supersolution of such equation (whose form may be slightly changed) in a shrinking domain. From the following lemma, we can find that owing to the presence of the modulating coefficient a(x), there will exist an error term E(ε) on the right-hand side of the equation. In what follows, X≤Y(X,Y∈Sn) means that (X−Y)ξ, ξ≤0 for any ξ∈Rn.We denote by Ca generic constant, which may vary from line to line. If necessary, relevant dependencies on parameters will be emphasised using parentheses. Lemma 3.1 Assume that 0<a(x)∈C1() and f (x,τ,ξ)is continuous in ×R×Rn and decreasing with respect to τ. Let u be a viscosity supersolution with local Lipschitz to (1.1)in . Then if (η, X)∈J2,−uε(x)with η= 0and x ∈r(ε), there holds that F(x,η,X)≥fε(x,uε(x), η) +E(ε), (3.1) where fε(x,τ,ξ):= inf y∈Br(ε)(x)f(y,τ,ξ) 123 Y. Fang et al. in {x∈r(ε) :Duε= 0}. As a consequence, exploiting Fatou’s lemma along with observing that D2uεis negative semi-definite when Duε=0, we derive from (3.6) that r(ε) |Duε|p−2Duε+a(x)|Duε|q−2Duε,Dϕdx ≥lim inf δ→0{Duε=0}+{Duε=0}−ϕ(|Duε|2+δ) p−2 2uε+p−2 |Duε|2+δ∞uεdx +lim inf δ→0{Duε=0}+{Duε=0}−ϕa(x)(|Duε|2+δ)q−2 2uε+q−2 |Duε|2+δ∞uεdx +lim inf δ→0{Duε=0}+{Duε=0}−ϕ(|Duε|2+δ)q−2 2Duε·Da dx ≥{Duε=0}−ϕ|Duε|p−2uε+p−2 |Duε|2∞uεdx +{Duε=0}−ϕa(x)|Duε|q−2uε+q−2 |Duε|2∞uεdx +{Duε=0}−ϕ|Duε|q−2Duε·Da dx ={Duε=0} ϕF(x,Duε,D2uε)dx ≥{Duε=0} ϕfε(x,uε,Duε)dx +E(ε) {Duε=0} ϕdx ≥r(ε) ϕfε(x,uε,Duε)dx +E(ε) {Duε=0} ϕdx,(3.9) where in the penultimate line we employed the inequality (3.8), and in the last line we used the assumption that f(x,τ,0)≤0. Case 2. 1<p<2≤q. We need to substitute the identity (3.5) with r(ε) −ϕdiv (|Duε, j|2+δ) p−2 2Duε, j+aj(x)|Duε, j|q−2Duε, jdx =r(ε) (|Duε, j|2+δ) p−2 2Duε, j+aj(x)|Duε, j|q−2Duε, j,Dϕdx, since the q-growth term does not have singularity so that it is not necessarily regularized as the p-growth term. Then the subsequent processes are analogous to Case 1. Case 3. 2≤p≤q. In this non-singular scenario, we replace the display (3.5)by r(ε) −ϕdiv |Duε, j|p−2Duε, j+aj(x)|Duε, j|q−2Duε, jdx =r(ε) |Duε, j|p−2Duε, j+aj(x)|Duε, j|q−2Duε, j,Dϕdx. The other procedures are also similar to Case 1, even more straightforward due to the absence of δ. All in all, we finally deduce the desired result.  123 Equivalence of weak and viscosity solutions for the nonhomogeneous... In the previous lemma, in order to get the inequality (3.9), f(x,τ,0)is apriori assumed to be non-positive. The forthcoming lemma states this hypotheses exactly can be realized when Duε=0. Lemma 3.4 Let u be a bounded viscosity supersolution to (1.1)in . Let also 0≤ a(x)∈C1() and the function f (x,τ,ξ)be continuous in all variables. Whenever Duε(ˆx)=0for some ˆx∈r(ε), we have fε(ˆx,uε(ˆx), Duε(ˆx)) ≤0. Proof We have known by [32, Lemma 4.3] that if Duε(ˆx)=0, then uε(ˆx)=u(ˆx). From the definition of inf-convolution, u(ˆx)≤u(y)+|ˆx−y|s sεs−1for all y∈. Now introduce an auxiliary function φ(y)=u(ˆx)−|ˆx−y|s sεs−1with y∈, where s=2ifp≥2, and s>max p p−1,q q−1=p p−1if 1 <p<2. We can apparently see that φ∈C2(), Dφ(ˆx)=0,Dφ(y)= 0fory=ˆx, and φtouches ufrom below at ˆx. For the case s>2 (i.e., 1 <p<2), we next evaluate some important quantities, Dφ=ε1−s|ˆx−y|s−2(ˆx−y), D2φ=−ε1−s|ˆx−y|s−2I+(s−2)ˆx−y |ˆx−y|⊗ˆx−y |ˆx−y| and trD2φ=−(n+s−2)ε1−s|ˆx−y|s−2, Dφ |Dφ|,D2φDφ |Dφ|=−(s−1)ε1−s|ˆx−y|s−2. Combining these quantities leads to div(|Dφ|p−2Dφ+a(y)|Dφ|p−2Dφ) =pφ+a(y)qφ+|Dφ|p−2Dφ·Da(y) 123 Y. Fang et al. =−(n+(p−1)(s−1)−1)ε(1−s)(p−1)|ˆx−y|(s−1)(p−1)−1 −a(y)(n+(q−1)(s−1)−1)ε(1−s)(q−1)|ˆx−y|(s−1)(q−1)−1 +ε(1−s)(q−1)|ˆx−y|(s−1)(q−1)−1(ˆx−y)·Da(y). Observe that s>max p p−1,q q−1. It implies that (s−1)(p−1)−1>0 and (s−1)(q−1)−1>0. Thereby, lim r→0sup y∈Br(ˆx)\{ˆx} (−div(|Dφ|p−2Dφ+a(y)|Dφ|p−2Dφ)) =0. As for s=2 (i.e., p≥2), the previous identity is valid obviously. Because uis a viscosity supersolution of (1.1), there holds that lim r→0sup y∈Br(ˆx)\{ˆx} (−div(|Dφ|p−2Dφ+a(y)|Dφ|p−2Dφ)) ≥f(ˆx,u(ˆx), Dφ(ˆx)). Recalling that u(ˆx)=uε(ˆx),Duε(ˆx)=0=Dφ(ˆx), we obtain, from the above two displays, 0≥f(ˆx,uε(ˆx), Duε(ˆx)) ≥fε(ˆx,uε(ˆx), Duε(ˆx)), as desired.  Next, we show the convergence of inf-convolution uεin the Musielak-Orlicz- Sobolev space W1,H(·)() in the following two lemmas. Lemma 3.5 Under (1.3)and the preconditions of Lemma 3.1, we infer that the function u∈W1,H(·) loc () and, up to a subsequence, Duε→Du weakly in L H(·)()for every ⊂⊂ . Proof Take a cut-off function ψ∈C∞ 0() fulfilling ψ≡1inand 0 ≤ψ≤1in . Set εso small that supp ψ=: E⊂r(ε). Notice that uε→ulocally uniformly in , so we can define a test function ϕ:= (K−uε)ψq(≥0) with K:= supε;x∈|uε(x)|(finite). Hence, utilizing Lemma 3.3, r(ε) ϕfε(x,uε,Duε)dx +E(ε) r(ε)\{Duε=0} ϕdx ≤r(ε) |Duε|p−2Duε+a(x)|Duε|q−2Duε,Dϕdx 123 Equivalence of weak and viscosity solutions for the nonhomogeneous... =r(ε) qψq−1(K−uε)|Duε|p−2Duε+a(x)|Duε|q−2Duε,Dψdx −r(ε) ψqH(x,Duε)dx. Namely, r(ε) ψqH(x,Duε)dx ≤qr(ε) ψq−1(K−uε)(|Duε|p−1+a(x)|Duε|q−1)|Dψ|dx +r(ε) ϕ|fε(x,uε,Duε)|dx +|E(ε)|r(ε) ϕdx =: I1+I2+I3. Noting q−1≥q(p−1) p,0≤ψ≤1 and applying Young’s inequality with ,wehave I1≤qr(ε) (K−uε)|Dψ|ψ q(p−1) p|Duε|p−1+a(x)(K−uε)|Dψ|ψq−1|Duε|q−1dx ≤r(ε) ψqH(x,Duε)dx +C(q,)r(ε) H(x,(K−uε)|Dψ|)dx. In view of the growth condition on f, we can deal with I2as I2≤r(ε) (K−uε)ψqγ∞(|Duε|p−1+a(x)|Duε|q−1)+(K−uε)ψqdx ≤r(ε) ψqH(x,Duε)dx +C(γ∞,)r(ε) ψqH(x,K−uε)dx +C(K,L∞(E),E). Here γ∞:= maxτ∈[0,K]γ(τ).ForI3,wehave I3≤C(K,E), where we assume |E(ε)|≤1 without loss of generality. Choosing proper ∈(0,1) and merging these above estimates yields that  H(x,Duε)dx ≤r(ε) ψqH(x,Duε)dx ≤C(p,q,a,K,γ,,Dψ, E). This indicates that Duεis uniformly bounded in LH(·)()with respect to ε, which further deduces that there exists a function Du ∈LH(·)()such that Duε→Du weakly in LH(·)()up to a subsequence owing to LH(·)()being a reflexible Banach space. Finally, ubelongs to W1,H(·)()with Du as its weak derivative.  Lemma 3.6 With (1.3)and the hypotheses of Lemma 3.1, we arrive at uε→uas ε→0, up to a subsequence, in W1,H(·)()for each ⊂⊂ . 123 Y. Fang et al. Proof Take a cut-off function ψ∈C∞ 0() satisfying ψ≡1inand 0 ≤ψ≤1in .Letεso small that supp ψ=: E⊂r(ε). Notice that uε≤uin , so we define a test function ϕ:= (u−uε)ψ(≥0). It is easy to find that ϕ∈W1,H(·) 0(r(ε)). Employing again Lemma 3.3 obtains r(ε) A(x,Du)−A(x,Duε), Dϕdx ≤r(ε) A(x,Du), Dϕdx +r(ε) ϕ|fε(x,uε,Duε)|dx +|E(ε)|r(ε) ϕdx. After manipulation, we get r(ε) A(x,Du)−A(x,Duε), Du −Duεψdx ≤E ψA(x,Du), Du −Duεdx +E (u−uε)A(x,Duε), Dψdx +E ψ(u−uε)|fε(x,uε,Duε)|dx +|E(ε)|E (u−uε)ψ dx =J1+J2+J3+J4. For J2, via the inequalities (2.3) and (2.4), we derive J2≤u−uεL∞(E)E|A(x,Duε)||Dψ|dx ≤Cu−uεL∞(E)E H∗(x,|A(x,Duε)|)+H(x,|Dψ|)dx ≤Cu−uεL∞(E)E H(x,|Duε|)+H(x,|Dψ|)dx. Using the growth assumption on fand Young’s inequality leads to J3≤u−uεL∞(E)E γ∞(|Duε|p−1+a(x)|Duε|q−1)+dx ≤Cu−uεL∞(E)E H(x,|Duε|)dx +(1+L∞(E))|E|, where γ∞is the same as that in Lemma 3.5.AsforJ4, J4≤|E(ε)|u−uεL∞(E)|E|. 123 Equivalence of weak and viscosity solutions for the nonhomogeneous... Recalling that Duε→Du weakly in LH(·)(E)in Lemma 3.5 and uε→ulocally uniformly in Proposition 2.5, we know J1+J2+J3+J4tends to 0. In other words, lim ε→0A(x,Du)−A(x,Duε), Du −Duεdx =0. Following the calculations in [23, page 9], we further arrive at lim ε→0 H(x,Du −Duε)dx =0, which implies the desired result.  Finally, we end this section by verifying that the locally Lipschitz continuous viscosity supersolutions to (1.1) are also weak supersolutions, as stated in Theorem 1.1. We next intend to apply the previous convergence results to pass to the limit in the display of Lemma 3.3. Proof of Theorem 1.1 Let ϕ∈C∞ 0() be a nonnegative test function and set an open ⊂⊂ such that supp ϕ⊂. Fix a sufficiently small ε0>0 fulfilling ⊂r(ε) for 0 <ε<ε 0. Now we want to show |Du|p−2Du +a(x)|Du|q−2Du,Dϕdx ≥ ϕf(x,u,Du)dx,(3.10) which is the definition of weak supersolution of (1.1). This desired claim shall follow through Lemma 3.3, once the forthcoming displays are justified: lim ε→0|Duε|p−2Duε+a(x)|Duε|q−2Duε,Dϕdx =|Du|p−2Du +a(x)|Du|q−2Du,Dϕdx, (3.11) lim ε→0 ϕfε(x,uε,Duε)dx = ϕf(x,u,Du)dx (3.12) and lim ε→0E(ε)  ϕdx =0.(3.13) First, the limit (3.13) is obviously valid. Next, we demonstrate the validity of (3.11). We shall employ the elementary vector inequality (see [38]): |ξ1|t−2ξ1−|ξ2|t−2ξ2≤(t−1)|ξ1−ξ2|(|ξ1|t−2+|ξ2|t−2), if t≥2, 22−t|ξ1−ξ2|t−1,if 1 <t<2,(3.14) where ξ1,ξ 2∈Rn. We split the proof of (3.11) into three cases.  123 Y. Fang et al. For the case 1 <p≤q<2, we use (2.3), (2.5)–(2.7), the basic inequality (3.14) to get |Duε|p−2Duε−|Du|p−2Du +a(x)(|Duε|q−2Duε−|Du|q−2Du), Dϕdx ≤ (||Duε|p−2Duε−|Du|p−2Du|+a(x)||Duε|q−2Duε−|Du|q−2Du|)|Dϕ|dx ≤C (|Duε−Du|p−1+a(x)|Duε−Du|q−1)|Dϕ|dx ≤Ch(x,Duε−Du)LH∗(·)()DϕLH(·)() ≤CDϕLH(·)()max (H∗(h(x,Duε−Du))) q q+1,(H∗(h(x,Duε−Du))) p p+1 ≤CDϕLH(·)()max  H(x,Duε−Du)dxq q+1 , H(x,Duε−Du)dxp p+1 →0 as ε→0, by applying Duε→Du in LH(·)()in Lemma 3.6.Hereh(x,z):= |z|p−1+a(x)|z|q−1. When 2 ≤p≤q, exploiting again (2.3), (2.5)–(2.7)aswellas(3.14), and applying Duε→Du in LH(·)(), we can see that |Duε|p−2Duε−|Du|p−2Du +a(x)(|Duε|q−2Duε−|Du|q−2Du), Dϕdx ≤C(|Duε|p−2+|Du|p−2)+a(x)(|Duε|q−2+|Du|q−2)|Duε−Du||Dϕ|dx ≤CDϕL∞()(1+|Duε|p−1+|Du|p−1)+a(x)(1+|Duε|q−1+|Du|q−1) ×|Duε−Du|dx =CDϕL∞()[(1+a(x)) +h(x,Duε)+h(x,Du)]|Duε−Du|dx ≤CDuε−DuLH(·)()+Ch(x,Du)LH∗(·)()Duε−DuLH(·)() +Ch(x,Duε)LH∗(·)()Duε−DuLH(·)() →0 as ε→0, where the constant Cdepends on p,q,aL∞(),DϕL∞(),||.Here we need to notice that the quantity H(x,Duε)dx is uniformly bounded. In the last case 1 <p<2≤q, we combine the previous two scenarios to deduce the claim (3.11). Specifically, |Duε|p−2Duε−|Du|p−2Du +a(x)(|Duε|q−2Duε−|Du|q−2Du), Dϕdx ≤C|Duε−Du|p−1+a(x)(|Duε|q−2+|Du|q−2)|Duε−Du||Dϕ|dx ≤C (|Duε−Du|p−1+a(x)|Duε−Du|q−1)|Dϕ|dx 123 Equivalence of weak and viscosity solutions for the nonhomogeneous... +C a(x)(1+|Duε|q−1+|Du|q−1)|Duε−Du||Dϕ|dx ≤C h(x,Duε−Du)|Dϕ|dx +C|Duε−Du|dx +C h(x,Duε)|Duε−Du|dx +C h(x,Du)|Duε−Du|dx, which tends to 0 as ε→0, where Cdepends upon p,q,aL∞(),DϕL∞(),||. Eventually, let us prove the claim (3.12). Via the uniform continuity of f, for each >0, there is a δ>0 depending only on such that |f(x,uε(x), Duε(x)) −f(y,uε(x), Duε(x))|≤for y∈Bδ(x). Now select ε 0>0 to satisfy r(ε) < δ if 0 <ε<ε  0. Then we have f(x,uε(x), Duε(x)) <  +f(y,uε(x), Duε(x)) for each x∈and y∈Br(ε)(x). In particular, f(x,uε(x), Duε(x)) <  +fε(x,uε(x), Duε(x)) by the definition of fε, and moreover 0≤|f(x,uε(x), Duε(x)) −fε(x,uε(x), Duε(x))|≤. We thus have |f(x,uε,Duε)−fε(x,uε,Duε)|ϕdx ≤ϕL∞()||. In view of (1) in Proposition 2.5, it is known that uεL∞()≤uL∞()for any ε. Namely, max τ∈[0,uεL∞()]{γ(τ)}≤ max τ∈[0,uL∞()]{γ(τ)}=:γ∞. According to the growth condition on f, |f(x,uε,Du)|≤γ∞(|Du|p−1+a(x)|Du|q−1)+(x)in , which belongs to LH∗(·)(). Thereby we can exploit the dominated convergence theorem to infer lim ε→0|f(x,uε,Du)−f(x,u,Du)|ϕdx =0. 123 Y. Fang et al. We finally address the term |f(x,uε,Duε)−f(x,uε,Du)|ϕdx, |f(x,uε,Duε)−f(x,uε,Du)|ϕdx ≤C|Duε−Du|ϕdx ≤CϕLH∗(·)()Duε−DuLH(·)() →0asε→0, where we have utilized the Lipschitz continuity of fin the third variable, and the convergence Duε→Du in LH(·)(). Merging these above estimates yields that |fε(x,uε,Duε)−f(x,u,Du)|ϕdx ≤|fε(x,uε,Duε)−f(x,uε,Duε)|ϕdx +|f(x,uε,Duε)−f(x,uε,Du)|ϕdx +|f(x,uε,Du)−f(x,u,Du)|ϕdx converges to 0 by sending ε→0. Hereto, we have verified the displays (3.11)–(3.13), from which we get the inequality (3.10). 4 weak solutions are viscosity solutions In this section, we prove that weak supersolutions are viscosity supersolutions to (1.1), that is Theorem 1.4, by using comparison principle for weak solutions, subsequently giving three examples of comparison results. Then weak subsolutions can be showed to be viscosity subsolutions in a similar way. Proof of Theorem 1.4 We argue by contradiction. If not, there exists a ϕ∈C2() touching ufrom below at x0∈, that is, ⎧ ⎪ ⎨ ⎪ ⎩ u(x0)=ϕ(x0), u(x)>ϕ(x)for x= x0, Dϕ(x0)= 0, and however, −div A(x0,Dϕ(x0)) < f(x0,u(x0), Dϕ(x0)). 123 Equivalence of weak and viscosity solutions for the nonhomogeneous... By means of continuity, for some δ>0 there is a small enough r>0 such that −div A(x,Dϕ(x)) ≤f(x,ϕ,Dϕ) −δ(4.1) for x∈Br:= Br(x0). Denote $ϕ:= ϕ+mwith m>0 to be chosen later. In view of (4.1), we have −div A(x,D$ϕ) −f(x,$ϕ, D$ϕ) =−div A(x,Dϕ) −f(x,ϕ,Dϕ) +f(x,ϕ,Dϕ) −f(x,$ϕ, D$ϕ) ≤−δ+f(x,ϕ,Dϕ) −f(x,ϕ+m,Dϕ) ≤−δ 2, if m>0 is sufficiently small. Indeed, we can pick m∈0,1 2min∂Br{u−ϕ}(note the lower semicontinuity of u) small, taking into account the uniform continuity of f, such that |f(x,ϕ,Dϕ) −f(x,ϕ+m,Dϕ)|≤δ 2. Hence, $ϕis a weak subsolution to (1.1)inBras well. Observe that $ϕ=ϕ+m<ϕ+u− ϕ=uon ∂Br. Thereby through the (CPP) we get u≥$ϕin Br. Nonetheless, u(x0)= ϕ(x0)<ϕ(x0)+m, which is a contradiction. Then uis a viscosity supersolution to (1.1).  A fundamental issue in Theorem 1.4 is the availability of comparison principle for weak solutions. Nevertheless, it is not undemanding to establish such principle for the nonhomogeneous double phase equations with very general structure. Hence, we next for three slightly special cases prove comparison principle for weak solutions. Lemma 4.1 Assume that u,v ∈W1,H(·)() are the weak subsolution and supersolution, respectively, to −div A(x,Dw) =f(x,w)in , where f is decreasing in the w-variable. If u ≤von ∂, then u ≤va.e. in . Proof Since u,v are separately weak subsolution and supersolution such that u≤v on ∂, the auxiliary function w:= (u−v−l)+,l>0, can be chosen as a test function, which belongs to the space W1,H(·) 0(). Therefore, we get A(x,Du)−A(x,Dv), Dwdx ≤ (f(x,u)−f(x, v))w dx. 123 Y. Fang et al. The term I25 finally can be treated by I25 ≤a(y)|η2|q−2L22nmax{1,q−1}≤C(n,q,β)a(y)L2Lq−2 1|x−y|(β−1)(q−2). Now merging these estimates of I21–I25 yields that I2≤−C(q,β)a(y)Lq−1 1|x−y|(β−1)(q−1)−1 +C(n,q,β)a(y)L2Lq−2 1|x−y|(β−1)(q−2)−1 +C(n,q,β)a(y)L2 2Lq−3 1|x−y|(β−1)(q−3) +C(n,q,β,aC1(B1))Lq−1 1|x−y|(β−1)(q−1) +C(n,q,β,aC1(B1))L2Lq−2 1|x−y|(β−1)(q−2)+1, where we have employed the fact that |x−y|<1. Analogously, we could derive I1≤−C(p,β)Lp−1 1|x−y|(β−1)(p−1)−1+C(n,p,β)L2Lp−2 1|x−y|(β−1)(p−2)−1 +C(n,p,β)L2 2Lq−3 1|x−y|(β−1)(p−3), where we just note a(·)≡1. The term I3is directly estimated as I3≤|η1|q−1|Da(x)|+|η2|q−1|Da(y)|≤C(q,β,aC1(B1))Lq−1 1|x−y|(β−1)(q−1) by applying (5.2). As for I4, according to the growth condition on f, I4≤|f(x,u(x), η1)|+|f(y,u(y), η2)| ≤γ(|u(x)|)(|η1|p−1+a(x)|η1|q−1)+(x) +γ(|u(y)|)(|η2|p−1+a(y)|η2|q−1)+(y) ≤γ∞C(p,q,β)(Lp−1 1|x−y|(β−1)(p−1) +aL∞(B1)Lq−1 1|x−y|(β−1)(q−1)) +L∞(B1) with γ∞:= maxt∈[0,uL∞(B1)]γ(t). We eventually gather the estimates on I1–I4with (5.6) to infer that 0≤−C(p,β)Lp−1 1|x−y|(β−1)(p−1)−1+C(n,p,β)L2Lp−2 1|x−y|(β−1)(p−2)−1 +C(n,p,β)L2 2Lp−3 1|x−y|(β−1)(p−3)+C(p,q,β,γ ∞)Lp−1 1|x−y|(β−1)(p−1) +C(n,p,q,β,aC1(B1),γ ∞)Lq−1 1|x−y|(β−1)(q−1)+L∞(B1) +C(n,q,β,aC1(B1))L2Lq−2 1|x−y|(β−1)(q−2)+1 +a(y)−C(q,β)Lq−1 1|x−y|(β−1)(q−1)−1+C(n,q,β)L2Lq−2 1|x−y|(β−1)(q−2)−1 +C(n,q,β)L2 2Lq−3 1|x−y|(β−1)(q−3). 123 Equivalence of weak and viscosity solutions for the nonhomogeneous... Now our aim is to make the term at the right-hand side of the above display to be strictly less than 0, through choosing L1large enough. We first select L1so large that 1 3C(q,β)Lq−1 1|x−y|(β−1)(q−1)−1≥C(n,q,β)L2Lq−2 1|x−y|(β−1)(q−2)−1, 1 3C(q,β)Lq−1 1|x−y|(β−1)(q−1)−1≥C(n,q,β)L2 2Lq−3 1|x−y|(β−1)(q−3), i.e., L1|x−y|β−1≥C(n,q,β,L2). This can be realized if L1is sufficiently large, since |x−y|<1 and the power of it is negative. Next, we proceed to choose L1so large that ⎧ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎩ 1 7C(p,β)Lp−1 1|x−y|(β−1)(p−1)−1≥C(n,p,β)L2Lp−2 1|x−y|(β−1)(p−2)−1, 1 7C(p,β)Lp−1 1|x−y|(β−1)(p−1)−1≥C(n,p,β)L2 2Lp−3 1|x−y|(β−1)(p−3), 1 7C(p,β)Lp−1 1|x−y|(β−1)(p−1)−1≥C(p,q,β,γ ∞)Lp−1 1|x−y|(β−1)(p−1), 1 7C(p,β)Lp−1 1|x−y|(β−1)(p−1)−1≥C(n,p,q,β,aC1(B1),γ ∞)Lq−1 1|x−y|(β−1)(q−1), 1 7C(p,β)Lp−1 1|x−y|(β−1)(p−1)−1≥C(n,q,β,aC1(B1))L2Lq−2 1|x−y|(β−1)(q−2)+1, 1 7C(p,β)Lp−1 1|x−y|(β−1)(p−1)−1≥L∞(B1). We arrange the previous display as ⎧ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎩ L1|x−y|β−1≥C(n,p,β,L2,L∞(B1)), |x−y|−1≥C(p,q,β,γ ∞), Lp−q 1|x−y|(β−1)(p−q)−1≥C(n,p,q,β,aC1(B1),γ ∞), Lp−q+1 1|x−y|(β−1)(p−q+1)−2≥C(n,p,q,β,aC1(B1),L2). (5.7) Making use of the fact |x−y|≤2uL∞(B1) L11 β, we can pick such large L1>1 that the first two inequalities of (5.7) hold true. To assure the inequality (5.7)3holds, we first require (β −1)(p−q)−1<0⇒q<p+1 1−β(β ∈(0,1)). We in turn enforce Lp−q 1|x−y|(β−1)(p−q)−1≥Lp−q 12uL∞(B1) L1(β−1)( p−q)−1 β ≥C(n,p,q,β,aC1(B1),γ ∞), 123 Y. Fang et al. that is, L p−q+1 β 1≥C(n,p,q,β,aC1(B1),γ ∞,uL∞(B1)), which is true precisely if p−q+1>0⇒q<p+1. Under this condition, the inequality (5.7)4shall hold true by choosing L1large. As has been shown above, if q<p+1, we can select L1large enough, which depends on n,p,q,β,aC1(B1),γ ∞,uL∞(B1)and L∞(B1), to get 0≤−1 7C(p,β)Lp−1 1|x−y|(β−1)(p−1)−1−1 3C(q,β)a(y)Lq−1 1|x−y|(β−1)(q−1)−1<0. This is a contradiction. Thus the claim (5.1) holds true, which means that the viscosity solution uis locally β-Hölder continuous. The proof is finished now.  Based on the local β-Hölder continuity of uin Lemma 5.1, we could further deduce uis locally Lipschitz continuous. Lemma 5.2 (Local Lipschitz continuity) Let u be a bounded viscosity solution to (1.1) in B1. Under the assumptions that 0≤a(x)∈C1(B1),p≤q≤p+1 2and (1.3), there is a constant C that depends on n,p,q,γ ∞,aC1(B1),uL∞(B1)and L∞(B1), such that |u(x)−u(y)|≤C|x−y| for all x,y∈B1/2.Hereγ∞:= maxt∈[0,uL∞(B1)]γ(t). Proof Let x0,y0∈B1/2. Construct an auxiliary function (x,y):= u(x)−u(y)−M1ϕ(|x−y|) −M2 2|x−x0|2−M2 2|y−y0|2,M1,M2>0, where ϕ(t):= ⎧ ⎨ ⎩ t−κ0tν,if 0 ≤t≤t1:= 1 4νκ01 ν−1, ϕ(t1), if t>t1 with 1 <ν<2 and 0 <κ 0<1 such that 2 <t1. We are ready to verify (x,y)≤0 for (x,y)∈B3/4×B3/4under the appropriate choice of M1,M2, which leads to Lipschitz continuity of u. We argue by contradiction. Suppose that reaches its positive maximum at (ˆx,ˆy)∈B3/4×B3/4. As in the beginning of the proof of 123 Equivalence of weak and viscosity solutions for the nonhomogeneous... Lemma 5.1, we can see that ˆx=ˆyand ˆx,ˆy∈B3/4for large M2≥CuL∞(B1). Moreover, by Lemma 5.1, we know that |u(x)−u(y)|≤cβ|x−y|βfor x,y∈B3/4, where cβis the same as the Cin Lemma 5.1. From the assumptions, we further get M2|ˆx−x0|,M2|ˆy−y0|≤cβ|ˆx−ˆy|β 2(5.8) by adjusting the constants (by letting 2M2≤cβ). Additionally, it follows, by selecting κ0sufficiently small, that M1(|ˆx−ˆy|−κ0|ˆx−ˆy|ν)≤2uL∞(B1), i.e., |ˆx−ˆy|≤4uL∞(B1) M1 .(5.9) Indeed, due to |ˆx−ˆy|≤2 and ν−1>0, we can fix κ0∈(0,1)such that 1 2≤ 1−κ0|ˆx−ˆy|ν−1. From the maximum principle for semicontinuous functions, for any μ>0, there exist X,Y∈Snsuch that (η1,X+M2I)∈J2,+u(ˆx)and (η2,Y−M2I)∈J2,−u(ˆy) and −(μ +2B)I I≤X −Y≤B−B −BB +2 μB2−B2 −B2B2,(5.10) where η1=M1ϕ(|ˆx−ˆy|)ˆx−ˆy |ˆx−ˆy|+M2(ˆx−x0), η2=M1ϕ(|ˆx−ˆy|)ˆx−ˆy |ˆx−ˆy|−M2(ˆy−y0) and B=M1ϕ(|ˆx−ˆy|)ˆx−ˆy |ˆx−ˆy|⊗ˆx−ˆy |ˆx−ˆy|+M1ϕ(|ˆx−ˆy|) |ˆx−ˆy|I−ˆx−ˆy |ˆx−ˆy|⊗ˆx−ˆy |ˆx−ˆy|. Notice that, for t∈[0,t1], ϕ(t)=1−νκ0tν−1, ϕ(t)=−ν(ν −1)κ0tν−2,(5.11) 123 Y. Fang et al. and then 3 4≤ϕ(t)≤1 and ϕ(t)<0 when t∈(0,2]. Through straightforward calculation we get M1 2≤|η1|,|η2|≤2M1,if M1≥4cβ,(5.12) B≤M1 ϕ(|ˆx−ˆy|) |ˆx−ˆy|(5.13) and B2≤M2 1|ϕ(|ˆx−ˆy|)|+ϕ(|ˆx−ˆy|) |ˆx−ˆy|2 .(5.14) According to (5.10), we obtain X≤Yand furthermore X,Y≤2B+μ.Via taking μ=4M1|ϕ(|ˆx−ˆy|)|+ϕ(|ˆx−ˆy|) |ˆx−ˆy|, we have, for ξ=ˆx−ˆy |ˆx−ˆy|, (X−Y)ξ, ξ≤4Bξ,ξ+2 μB2ξ,ξ≤2M1ϕ(|ˆx−ˆy|)<0.(5.15) It follows from the last inequality that at lowest one eigenvalue of X−Y, denoted by ˆ λ, is smaller than 2M1ϕ(|ˆx−ˆy|)<0. Besides, putting together (5.13), (5.14) and (5.10), we derive Y≤2|Bξ,ξ|+ 4 μ|B2ξ,ξ| ≤4M1|ϕ(|ˆx−ˆy|)|+ϕ(|ˆx−ˆy|) |ˆx−ˆy|,(5.16) where ξis a unit vector. Because uis a viscosity solution, we arrive at 0≤|η1|p−2tr(Ap(η1)(X+M2I)) −|η2|p−2tr(Ap(η2)(Y−M2I)) +a(ˆx)|η1|q−2tr(Aq(η1)(X+M2I)) −a(ˆy)|η2|q−2tr(Aq(η2)(Y−M2I)) +|η1|q−2η1·Da(ˆx)−|η2|q−2η2·Da(ˆy)+f(ˆx,u(ˆx), η1)−f(ˆy,u(ˆy), η2) =: T1+T2+T3+T4.(5.17) In the following, we want to prove T1+T2+T3+T4<0 by taking M1large enough, the procedure of which is analogous to that in proof of Lemma 5.1. Here we shall briefly write down it. We first consider the term T2, 123 Equivalence of weak and viscosity solutions for the nonhomogeneous... T2=(a(ˆx)−a(ˆy))|η2|q−2tr(Aq(η2)(Y−M2I)) +a(ˆx)|η1|q−2tr(Aq(η1)(X−Y)) +a(ˆx)(|η1|q−2−|η2|q−2)tr(Aq(η2)Y)+a(ˆx)|η1|q−2tr((Aq(η1)−Aq(η2))Y) +M2a(ˆx)[|η1|q−2tr(Aq(η1)) +|η2|q−2tr(Aq(η2))] =: T21 +T22 +T23 +T24 +T25. In view of (5.11), (5.12) and (5.16), there holds that T21 ≤C(q,aC1(B1))Mq−2 1|ˆx−ˆy|(nAq(η2)Y+nqM2) ≤C(n,q,aC1(B1))Mq−2 1[M1(1+|ˆx−ˆy||ϕ(|ˆx−ˆy|)|)+M2] ≤C(n,q,aC1(B1))Mq−2 1[M1(1+|ˆx−ˆy|ν−1)+M2] ≤C(n,q,aC1(B1))(Mq−1 1+Mq−2 1M2). Applying the mean value theorem along with (5.8), (5.11) and (5.12), we obtain |η1|q−2−|η2|q−2≤C(q,cβ)Mq−3 1|ˆx−ˆy|β 2, which indicates that T23 ≤C(n,q,cβ)a(ˆx)Mq−3 1|ˆx−ˆy|β 2Y ≤C(n,cβ,q)a(ˆx)Mq−2 1(|ˆx−ˆy|β 2−1+|ˆx−ˆy|ν−2). Thanks to (5.12) and (5.15), we derive T22 ≤a(ˆx)|η1|q−2 n  i=1 λi(Aq(η1))λi(X−Y) ≤C(q)a(ˆx)Mq−1 1ϕ(|ˆx−ˆy|) =−C(q,ν,κ 0)a(ˆx)Mq−1 1|ˆx−ˆy|ν−2. According to (5.8), (5.12) and (5.16), T24 ≤a(ˆx)|η1|q−2nAq(η1)−Aq(η2)Y ≤C(n,q)a(ˆx)|η1|q−2max |η1−η2| |η1|,|η1−η2| |η2|Y ≤C(n,q,cβ)a(ˆx)Mq−2 1|ˆx−ˆy|β 2|ϕ(|ˆx−ˆy|)|+ϕ(|ˆx−ˆy|) |ˆx−ˆy| ≤C(n,q,cβ)a(ˆx)Mq−2 1(|ˆx−ˆy|β 2−1+|ˆx−ˆy|ν−2). Finally, by (5.12)wehave T25 ≤C(n,q)a(ˆx)M2Mq−2 1. 123 Y. Fang et al. Thus taking ν=β 2+1 and combining these previous inequalities yields that T2≤−C(q,β)a(ˆx)Mq−1 1|ˆx−ˆy|β 2−1+C(n,q,cβ)a(ˆx)Mq−2 1|ˆx−ˆy|β 2−1 +C(n,q,aC1(B1))(Mq−1 1+Mq−2 1M2). Similarly, we have T1≤−C(p,β)Mp−1 1|ˆx−ˆy|β 2−1+C(n,p,cβ)Mp−2 1|ˆx−ˆy|β 2−1+C(n,p)Mp−2 1M2. For T3, it is easy to get T3≤C(q,aC1(B1))Mq−1 1. Owing to the growth condition on f, we can see that T4≤γ∞(|η1|p−1+a(ˆx)|η1|q−1)+γ∞(|η2|p−1+a(ˆy)|η2|q−1)+2L∞(B1) ≤C(p,q,γ ∞,aL∞(B1))(Mp−1 1+Mq−1 1)+2L∞(B1) ≤C(p,q,γ ∞,aL∞(B1),L∞(B1))Mq−1 1 with γ∞:= maxt∈[0,uL∞(B1)]γ(t). Here we note M1>1 is a sufficiently large number. It follows from merging the estimates on T1–T4with (5.17) that 0≤−C(p,β)Mp−1 1|ˆx−ˆy|β 2−1+C(n,p,cβ)Mp−2 1|ˆx−ˆy|β 2−1 +C(p,q,γ ∞,aC1(B1),L∞(B1))Mq−1 1 +a(ˆx)−C(q,β)Mq−1 1|ˆx−ˆy|β 2−1+C(n,q,cβ)Mq−2 1|ˆx−ˆy|β 2−1,(5.18) wherewehaveusedtherelationM1≥M2to simplify the display. To get a contradiction, we have to select such large M1that ⎧ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎩ 1 3C(p,β)Mp−1 1|ˆx−ˆy|β 2−1≥C(n,p,cβ)Mp−2 1|ˆx−ˆy|β 2−1, 1 3C(p,β)Mp−1 1|ˆx−ˆy|β 2−1≥C(p,q,γ ∞,aC1(B1),L∞(B1))Mq−1 1, 1 2C(q,β)Mq−1 1|ˆx−ˆy|β 2−1≥C(n,q,cβ)Mq−2 1|ˆx−ˆy|β 2−1, (5.19) that is, M1≥C(n,p,q,cβ), Mp−q 1|ˆx−ˆy|β 2−1≥C(p,q,β,γ ∞,aC1(B1),L∞(B1)). Remembering (5.9), we arrive at Mp−q 1|ˆx−ˆy|β 2−1≥(4uL∞(B1))β 2−1Mp−q+1−β 2 1. 123 Equivalence of weak and viscosity solutions for the nonhomogeneous... Now enforcing q<p+1−β 2, we could choose such large M1that M1≥C(n,p,q,β,γ ∞,aC1(B1),L∞(B1),uL∞(B1)), which ensures (5.19) holds true. Then the display (5.18) becomes 0≤−1 3CMp−1 1|ˆx−ˆy|β 2−1−1 2a(ˆx)CMq−1 1|ˆx−ˆy|β 2−1<0, which is a contradiction. Let us mention that we fix βto be a specific number so that M1does not depend on β. Up to now, we have justified the local Lipschitz continuity of u. Once Lemma 5.2 is proved in B1, then the case of a bounded domain follows by covering arguments. Therefore, we finish the proof of Theorem 1.2. Acknowledgements The authors wish to thank the anonymous reviewers for many valuable comments and suggestions to improve the manuscript. This work was supported by the National Natural Science Foundation of China (No. 12071098), the National Postdoctoral Program for Innovative Talents of China (No. BX20220381) and the Fundamental Research Funds for the Central Universities (No. 2022FRFK060022). The second author was supported by a grant of the Romanian Ministry of Research, Innovation, and Digitization, CNCS/CCCDI-UEFISCDI (Project no. PCE 137/2021), within PNCDI III. Data Availability Data sharing is not applicable to this article as no datasets were generated or analysed during the current study. Declarations Conflict of interest The authors declare that there is no conflict of interest. We also declare that this manuscript has no associated data. Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. References 1. Ahmida, Y., Chlebicka, I., Gwiazda, P., Youssfi, A.: Gossez’s approximation theorems in Musielak– Orlicz–Sobolev spaces. J. Funct. Anal. 275(9), 2538–2571 (2018) 2. Attouchi, A., Ruosteenoja, E.: Remarks on regularity for p-Laplacian type equations in non-divergence form. J. Differ. Equ. 265, 1922–1961 (2018) 123 Y. Fang et al. 3. Attouchi, A., Parviainen, M., Ruosteenoja, E.: C1,α regularity for the normalized p-Poisson problem. J. Math. Pures Appl. 108(4), 553–591 (2017) 4. Baasandorj, S., Byun, S.S., Oh, J.: Calderón–Zygmund estimates for generalized double phase problems. J. Funct. Anal. 279(7), 108670, 57 pp (2020) 5. Balci, A.K., Diening, L., Surnachev, M.: New examples on Lavrentiev gap using fractals. Calc. Var. Part. Differ. Equ. 59(5), Paper No. 180, 34 pp (2020) 6. Baroni, P., Colombo, M., Mingione, G.: Harnack inequalities for double phase functionals. Nonlinear Anal. 121, 206–222 (2015) 7. Baroni, P., Colombo, M., Mingione, G.: Regularity for general functionals with double phase. Calc. Var. Part. Differ. Equ. 57(2), Paper No. 62, 48 pp (2018) 8. Barrios, B., Medina, M.: Equivalence of weak and viscosity solutions in fractional nonhomogeneous problems. Math. Ann. 381, 1979–2012 (2021) 9. Byun, S.S., Oh, J.: Global gradient estimates for non-uniformly elliptic equations. Calc. Var. Part. Differ. Equ. 56(2), Paper No. 46, 36 pp (2017) 10. Chlebicka, I., De Filippis, C.: Removable sets in non-uniformly elliptic problems. Ann. Mat. Pura Appl. 199, 619–649 (2020) 11. Chlebicka, I., Gwiazda, P., ´ Swierczewska-Gwiazda, A., Wróblewska-Kami´nska, A.: Partial Differential Equations in Anisotropic Musielak–Orlicz Spaces. Springer Monographs in Mathematics, Springer, Cham (2021) 12. Colasuonno, F., Squassina, M.: Eigenvalues for double phase variational integrals. Ann. Mat. Pura Appl. 195, 1917–1959 (2016) 13. Colombo, M., Mingione, G.: Regularity for double phase variational problems. Arch. Ration. Mech. Anal. 215, 443–496 (2015) 14. Colombo, M., Mingione, G.: Calderón–Zygmund estimates and non-uniformly elliptic operators. J. Funct. Anal. 270, 1416–1478 (2016) 15. Crandall, M. G.: Viscosity solutions: a primer. viscosity solutions and applications (Montecatini Terme, 1995). In: Lecture Notes in Math, vol. 1660, Springer, Berlin, pp. 1–43 (1997) 16. Crandall, M.G., Ishii, H., Lions, P.-L.: User’s guide to viscosity solutions of second order partial differential equations. Bull. Am. Math. Soc. 27(1), 1–67 (1992) 17. De Filippis, C., Mingione, G.: Nonuniformly elliptic Schauder theory. arXiv:2201.07369 18. De Filippis, C., Mingione, G.: A borderline case of Calderón–Zygmund estimates for non-uniformly elliptic problems. St. Petersburg Math. J. 31(3), 82–115 (2019) 19. De Filippis, C., Mingione, G.: Lipschitz bounds and nonautonomous integrals. Arch. Ration. Mech. Anal. 242(2), 973–1057 (2021) 20. De Filippis, C., Palatucci, G.: Hölder regularity for nonlocal double phase equations. J. Differ. Equ. 267(1), 547–586 (2019) 21. Esposito, L., Leonetti, F., Mingione, G.: Sharp regularity for functionals with (p,q)growth. J. Differ. Equ. 204(1), 5–55 (2004) 22. Fang, Y., Zhang, C.: On weak and viscosity solutions of nonlocal double phase equations. Int. Math. Res. Not. IMRN. https://doi.org/10.1093/imrn/rnab351 23. Fang, Y., Zhang, C.: Equivalence between distributional and viscosity solutions for the double-phase equation. Adv. Calc. Var. 15(4), 811–829 (2022) 24. Fang, Y., Zhang, C.: Regularity for quasi-linear parabolic equations with nonhomogeneous degeneracy or singularity. Calc. Var. Partial Differ. Equ. 62(1), Paper No. 2, 46 pp (2023) 25. Fang, Y., R˘adulescu, V.D., Zhang, C.: Regularity of solutions to degenerate fully nonlinear elliptic equations with variable exponent. Bull. Lond. Math. Soc. 53, 1863–1878 (2021) 26. Fang, Y., R˘adulescu, V.D., Zhang, C., Zhang, X.: Gradient estimates for multi-phase problems in Campanato spaces. Indiana Univ. Math. J. 71(3), 1079–1099 (2022) 27. Fonseca, I., Malý, J., Mingione, G.: Scalar minimizers with fractal singular sets. Arch. Ration. Mech. Anal. 172, 295–307 (2004) 28. Harjulehto, P., Hästö, P.: Orlicz Spaces and Generalized Orlicz Spaces. Lecture Notes in Mathematics, vol. 2236. Springer, Cham (2019) 29. Hästö, P., Ok, J.: Maximal regularity for local minimizers of non-autonomous functionals. J. Eur. Math. Soc. (JEMS) 24, 1285–1334 (2022) 30. Ishii, H.: On the equivalence of two notions of weak solutions, viscosity solutions and distribution solutions. Funkcial. Ekvac. 38, 101–120 (1995) 123 Equivalence of weak and viscosity solutions for the nonhomogeneous... 31. Ishii, H., Lions, P.-L.: Viscosity solutions of fully nonlinear second-order elliptic partial differential equations. J. Differ. Equ. 83(1), 26–78 (1990) 32. Julin, V., Juutinen, P.: A new proof for the equivalence of weak and viscosity solutions for the p-Laplace equation. Comm. Part. Differ. Equ. 37(5), 934–946 (2012) 33. Juutinen, P., Lindqvist, P., Manfredi, J.: On the equivalence of viscosity solutions and weak solutions for a quasi-linear equation. SIAM J. Math. Anal. 33(3), 699–717 (2001) 34. Juutinen, P., Lukkari, T., Parviainen, M.: Equivalence of viscosity and weak solutions for the p(x)- Laplacian. Ann. Inst. H. Poincaré Anal. Non Linéaire 27(6), 1471–1487 (2010) 35. Karppinen, A., Lee, M.: Hölder continuity of the minimizer of an obstacle problem with generalized Orlicz growth. Int. Math. Res. Not. IMRN 19, 15313–15354 (2022) 36. Korvenpää, J., Kuusi, T., Lindgren, E.: Equivalence of solutions to fractional p-Laplace type equations. J. Math. Pure. Appl. 132, 1–26 (2019) 37. Le, P.: Liouville results for double phase problems in Rn. Qual. Theory Dyn. Syst. 21, 59, 18 pp (2022) 38. Lindqvist, P.: Notes on the stationary p-Laplace equation. SpringerBriefs in Mathematics, Springer, Cham (2019) 39. Lions, P.-L.: Optimal control of diffusion processes and Hamilton-Jacobi-Bellman equations, Part 2: viscosity solutions and uniqueness. Comm. Partial Differ. Equ. 8, 1229–1276 (1983) 40. Marcellini, P.: Regularity and existence of solutions of elliptic equations with p,q-growth conditions. J. Differ. Equ. 90, 1–30 (1991) 41. Marcellini, P.: Growth conditions and regularity for weak solutions to nonlinear elliptic pdes. J. Math. Anal. Appl. 501(1), Paper No. 124408, 32 pp (2021) 42. Medina, M., Ochoa, P.: On viscosity and weak solutions for non-homogeneous p-Laplace equations. Adv. Nonlinear Anal. 8, 468–481 (2019) 43. Medina, M., Ochoa, P.: Equivalence of solutions for non-homogeneous p(x)-Laplace equations. Math. Eng. 5(2), 1–19 (2022) 44. Mingione, G., R˘adulescu, V.D.: Recent developments in problems with nonstandard growth and nonuniform ellipticity. J. Math. Anal. Appl. 501(1), Paper No. 125197, 41 pp (2021) 45. Musielak, J.: Orlicz Spaces and Modular Spaces. Lecture Notes in Mathematics, vol. 1034. Springer- Verlag, Berlin (1983) 46. Papageorgiou, N.S., Pudełko, A., R˘adulescu, V.D.: Non-autonomous (p,q)-equations with unbalanced growth. Math. Ann. (2022). https://doi.org/10.1007/s00208-022-02381-0 47. Papageorgiou, N.S., R˘adulescu, V.D., Repovš, D.: Existence and multiplicity of solutions for doublephase Robin problems. Bull. Lond. Math. Soc. 52(3), 546–560 (2020) 48. Parviainen, M., Vázquez, J.-L.: Equivalence between radial solutions of different parabolic gradientdiffusion equations and applications. Ann. Scuola Norm. Sup. Pisa Cl. Sci. 21, 303–359 (2020) 49. Siltakoski, J.: Equivalence of viscosity and weak solutions for the normalized p(x)-Laplacian. Calc. Var. Partial Differential Equations 57(4), Paper No. 95, 20 pp (2018) 50. Siltakoski, J.: Equivalence of viscosity and weak solutions for a p-parabolic equation. J. Evol. Equ. 21, 2047–2080 (2021) 51. Zhikov, V.V.: Averaging of functionals of the calculus of variations and elasticity theory. Izv. Akad. Nauk SSSR Ser. Mat. 50(4), 675–710 (1986) 52. Zhikov, V.V.: Lavrentiev phenomenon and homogenization for some variational problems. C. R. Acad. Sci. Paris, Ser. I Math. 316(5), 435–439 (1993) Publisher’s Note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. 123