scieee AI-readable full text Open interactive document viewer

Rigidity and almost rigidity of Sobolev inequalities on compact spaces with lower Ricci curvature bounds

Nobili, Francesco,Violo, Ivan Yuri

Full text

This is a self-archived version of an original article. This version may differ from the original in pagination and typographic details. Author(s): Title: Year: Version: Copyright: Rights: Rights url: Please cite the original version: CC BY 4.0 https://creativecommons.org/licenses/by/4.0/ Rigidity and almost rigidity of Sobolev inequalities on compact spaces with lower Ricci curvature bounds © The Author(s) 2022. Published version Nobili, Francesco; Violo, Ivan Yuri Nobili, F., & Violo, I. Y. (2022). Rigidity and almost rigidity of Sobolev inequalities on compact spaces with lower Ricci curvature bounds. Calculus of Variations and Partial Differential Equations, 61(5), Article 180. https://doi.org/10.1007/s00526-022-02284-7 2022 Calc. Var. (2022) 61:180 https://doi.org/10.1007/s00526-022-02284-7 Calculus of Variations Rigidity and almost rigidity of Sobolev inequalities on compact spaces with lower Ricci curvature bounds Francesco Nobili1 ·Ivan Yuri Violo1 Received: 5 August 2021 / Accepted: 7 June 2022 © The Author(s) 2022 Abstract We prove that if Mis a closed n-dimensional Riemannian manifold, n≥3, with Ric ≥n−1 and for which the optimal constant in the critical Sobolev inequality equals the one of the ndimensionalsphereSn,thenMisisometrictoSn.Analmost-rigidityresultisalsoestablished, saying that if equality is almost achieved, then Mis close in the measure Gromov–Hausdorff sensetoasphericalsuspension.ThesestatementsareobtainedintheRCD-settingof(possibly non-smooth) metric measure spaces satisfying synthetic lower Ricci curvature bounds. An independent result of our analysis is the characterization of the best constant in the Sobolev inequality on any compact CD space, extending to the non-smooth setting a classical result by Aubin. Our arguments are based on a new concentration compactness result for mGH- converging sequences of RCD spaces and on a Pólya–Szeg˝o inequality of Euclidean-type in CD spaces. As an application of the technical tools developed we prove both an existence result for the Yamabe equation and the continuity of the generalized Yamabe constant under measure Gromov–Hausdorff convergence, in the RCD-setting. Mathematics Subject Classification 53C24 ·46E36 Contents 1 Introduction ................................................ 1.1 Best constant in the Sobolev inequality on compact CD spaces ................... 1.2 Main rigidity and almost rigidity results in compact RCD spaces .................. 1.3 Additional results and application to the Yamabe equation ...................... 1.4 Proof-outline of the rigidity of Aopt q................................. 2 Preliminaries ................................................ 2.1 Basic notations ............................................ Communicated by A. Mondino. BFrancesco Nobili [email protected] Ivan Yuri Violo ivan.y[email protected] 1Department of Mathematics and Statistics, University of Jyväskylä, P.O. Box 35 (MaD),, FI 40014 jyväskylän, Finland 0123456789().: V,-vol 123 180 Page 2 of 65 F. Nobili, I. Y. Violo 2.2 Calculus on metric measure spaces .................................. 2.2.1 Sobolev spaces ......................................... 2.2.2 Functions of bounded variations and sets of finite perimeter ................. 2.3 CD(K,N)and RCD(K,N)spaces .................................. 2.3.1 Main definitions and properties ................................. 2.3.2 Sobolev–Poincaré inequality on CD(K,N)spaces ...................... 2.3.3 Convergence and compactness under mGH-convergence ................... 2.4 Pólya–Szeg˝o inequality ........................................ 3 Upper bound for αp............................................ 3.1 Pólya–Szeg˝o inequality of Euclidean-type .............................. 3.2 Local Sobolev inequality ....................................... 3.3 Proof of the upper bound ....................................... 4 Lower bound on αp............................................ 4.1 Blow-up analysis of Sobolev constants ................................ 4.2 Sharp and rigid Sobolev inequalities under Euclidean volume growth ................ 5 The constant Aopt qin metric measure spaces ................................ 5.1 Upper bound on Aopt qin terms of Ricci bounds ............................ 5.2 Lower bound on Aopt qin terms of the first eigenvalue ........................ 5.3 Lower bound on Aopt qin terms of the diameter ............................ 6 Rigidity of Aopt q.............................................. 6.1 Concentration Compactness ...................................... 6.2 Quantitative linearization ....................................... 6.3 Proof of the rigidity .......................................... 7 Almost rigidity of Aopt .......................................... 7.1 Behavior at concentration points ................................... 7.2 Continuity of Aopt under mGH-convergence ............................. 7.3 Proof of the almost-rigidity ...................................... 8 Application: The Yamabe equation on RCD(K,N)spaces ........................ Capacity and quasi continuous functions ................................. 8.1 Existence of solutions to the Yamabe equation on compact RCD spaces .............. 8.2 Continuity of λSunder mGH-convergence .............................. References ................................................... 1 Introduction The standard Sobolev inequality in sharp form reads as uLp∗(Rn)≤Eucl(n,p)∇uLp(Rn),∀u∈W1,p(Rn), (1.1) where p∈(1,n),p∗:= pn n−pis the Sobolev conjugate exponent and Eucl(n,p)is the smallest positive constant for which the inequality (1.1) is valid. Its precise value (see (2.2) below) was computed independently by Aubin [20] and Talenti [94](seealso[41]). In the setting of compact Riemannian manifolds, the presence of constant functions in the Sobolev space immediately shows that an inequality of the kind of (1.1) must fail. Yet, Sobolev embeddings are certainly valid also in this context and they can be expressed by calling into play the full Sobolev norm: up Lp∗(M)≤A∇up Lp(M)+Bup Lp(M),∀u∈W1,p(M), () where Misa compact n-dimensional Riemannian manifold and A,B>0.Fromthe presence of the two parameters A,B, it is not straightforward which is the notion of best constants in this case. The issue of defining and determining the best constants in () has been the central role of the celebrated AB-program, we refer to [59] for a thorough presentation of 123 Rigidity and almost rigidity of Sobolev… Page 3 of 65 180 this topic (see also [46]). The starting point of this program is the definition of the following two different notions of “best Sobolev constants”: αp(M):= inf{A:() holds for some B},β p(M):= inf{B:() holds for some A}. Then the first natural problem is to determine the value of αp(M)and βp(M).Itisrather easy to see that βp(M)=Vol(M)p/p∗−1, indeed constant functions give automatically βp(M)≥Vol(M)p/p∗−1, while the other inequality follows from the Sobolev–Poincaré inequality (see, e.g. [59,Sect. 4.1]). It is instead more subtle to determine whether βp(M)is attained, in the sense that the infimum in its definition is actually a minimum. This is true for p=2 and due to Bakry [23](seealso Proposition 5.1), but actually false for p>2 (see e.g. [59,Prop. 4.1]). Concerning instead the value of αp(M), it turns out to be related to the sharp constant in the Euclidean Sobolev inequality (1.1). More precisely Aubin in [20](seealso[59]) showed that on any compact n-dimensional Riemannian manifold Mwith n≥2, we have αp(M)=Eucl(n,p)p∀p∈(1,n). (1.2) We point out that it is a hard task to show that αp(M)is attained, namely that there exists some B>0 for which () holds with A=αp(M)and B. This has been verified for p=2 in [60], answering affirmatively to a conjecture of Aubin. On the other hand, knowing the value of βp(M)(and that it is attained for p=2),wecan define a further notion of optimal-constant A, “relative” to B=β2(M).Morepreciselywe define Aopt 2∗(M):= Vol(M)1−2/2∗·inf{A:() for p=2 holds with Aand B=Vol(M)2/2∗−1}. For the sake of generality we will actually consider Aopt also in the so-called subcritical case, meaning that we enlarge the class of Sobolev inequalities and consider for every q∈ (2,2∗] u2 Lq(M)≤A∇u2 L2(M)+Vol(M)2/q−1u2 L2(M),∀u∈W1,2(M), () for some constant A≥0. Then we define Aopt q(M):= Vol(M)1−2/q·inf{A:() holds}. Note that the infimum above is always a minimum and that Vol(M)2/q−1is the “minimal B” that we can take in (). Remark 1.1 We bring to the attention of the reader the renormalization factor Vol(M)1−2/q in the definition of Aopt q(M). This is usually not present in the literature concerning the AB- program (see e.g. [59]), however this choice will allow us to have cleaner inequalities. This also makes Aopt qinvariant under rescalings of the volume measure of M. One of the main questions that we will investigate in this note concerns the value of Aopt q(M). So far Aopt q(M)is known explicitly only in the case of Snand was firstly computed by Aubin in [19] in the case of q=2∗and by Beckner in [27] for a general q: Aopt q(Sn)=q−2 n,∀n≥3.(1.3) 123 180 Page 4 of 65 F. Nobili, I. Y. Violo Aubin also exhibited a family of non-constant functions that achieve equality in () with A=Aopt 2∗(Sn). For a general manifold Minstead it can be proved that Aopt q(M)≤C(K,D,N), (1.4) where K∈Ris a lower bound on the Ricci curvature of M,Nis an upper bound on the dimension and D∈R+an upper bound on its diameter. This follows from the Sobolev– Poincaréinequality combined withaninequality by Bakry(seee.g. [46,Theorem 4.4] andalso Sect. 5.1). On the other hand, for positive Ricci curvature we have the following celebrated comparison result originally proven in [66](seealso[24,76] for the case of a general q): Theorem 1.2 Let M be an n-dimensional Riemannian manifold, n ≥3, with Ric ≥n−1. Then, for every q ∈(2,2∗], it holds Aopt q(M)≤Aopt q(Sn). (1.5) One of the main consequence of the results in this note is the characterization of the equality in (1.5), in particular we show: Theorem 1.3 Equality in (1.5)holds for some q ∈(2,2∗]if and only if M is isometric to Sn. It is important to point out that the novelty of the above result is that it covers the case q=2∗. Indeed, for q<2∗, Theorem 1.3 was already established (see e.g. [24,Remark 6.8.5]) and follows from an improvement (only for q<2∗)of(1.5) due to [50] involving the spectral gap (see Remark 6.9 for more details). On the other hand, up to our knowledge, this is the first time that it appears in the critical case q=2∗. It is also worth to compare Theorem 1.3 with the rigidity result in [75] for the Sobolev inequality on manifolds with non-negative Ricci curvature (and later improved in [97], see also [26]). In [75]itisprovedthatif(1.1) is valid on a non-compact manifold with nonnegative Ricci curvature, then the manifold must be the Euclidean space. Here instead we consider compact manifolds and the rigidity is obtained in comparison with the Sobolev inequality on the sphere. For this reason, our arguments will also be substantially different from the ones in [75,97]. Nevertheless, we will also deal with the former types of rigidity in Corollary 1.14 below. Theorem 1.3 will be proved in the context of metric measure spaces with synthetic Ricci curvature bounds. One of the main reasons to approach the problem in this more general setting is that it will allow us to characterize also the “almost-equality” in (1.5) (see Theorem 1.10 below). Indeed, as we will see, in this case we need to compare the manifold Mto a class of singular spaces, rather than to the round sphere. 1.1 Best constant in the Sobolev inequality on compact CD spaces The notion of metric measure spaces with synthetic Ricci curvature bounds originated in the independent seminal works of [92,93]and[80], where the celebrated curvature-dimension condition CD(K,N)was introduced. Here K∈Ris a lower bound for the Ricci curvature and N∈[1,∞] is an upper bound on the dimension. The definition is given via optimal transport, by requiring some convexity properties of entropy functionals (see Definition 2.5 below). The proof of the rigidity (and almost rigidity) of Aopt qin the case q=2∗, will force us to study also the value of αpin the context of CD-spaces. The connection of this with the proof 123 Rigidity and almost rigidity of Sobolev… Page 5 of 65 180 of Theorem 1.9 will be explained towards the end of Sect. 1.4, where we provide a sketch of the proof yielding the main rigidity theorem. Let then (X,d,m)be a CD(K,N)space with N∈(1,∞).Foranyp∈(1,N)set p∗:= Np N−pand, in the same fashion of (), we consider: up Lp∗(m)≤A|Du|p Lp(m)+Bup Lp(m),∀u∈W1,p(X). (1.6) We are then interested in the minimal Afor which (1.6) holds. In other words we set (with the usual convention that the inf is ∞when no Aexists): αp(X):= inf{A:(1.6)holds for some B}.(1.7) We will be able to compute the value of αp(X)for every compact CD(K,N)space X, extending the result of Aubin for Riemannian manifolds (see (1.2) above). Before passing to the actual statement, it is useful to explain first the intuition behind it and the geometrical meaning of the constant αp(X). The rough idea is that its value is tightly linked to the local structure of the space. Indeed, the key observation is that αp(X)is invariant under rescaling of the form (X,d/r,m/rN). For example, since manifolds are locally Euclidean, it is not surprising that in (1.2) the optimal Euclidean–Sobolev constant appears. On the other hand, CD(K,N)spaces have a more singular local behavior and additional parameters must be taken into account. In particular the value of αp(X)turns out to be related to the Bishop– Gromov density: (0,+∞]  θN(x):= lim r→0+ m(Br(x)) ωNrN,x∈X, where ωNis the volume of the Euclidean unit ball (see (2.1) for non integer N). Our result is then the following: Theorem 1.4 Let (X,d,m)be a compact CD(K,N)space for some K ∈Rand N ∈(1,∞). Then for every p ∈(1,N) αp(X)=Eucl(N,p) minx∈XθN(x)1 Np .(1.8) We point out that, since X is compact, minx∈XθN(x)always exists because θNis lower semicontinuous (see Sect. 2.3.1). Remark 1.5 Note that if X is a n-dimensional Riemannian manifold, θn(x)=1forevery x∈X, hence in this case (1.8) (with N=n) is exactly Aubin’s result in (1.2). Recall also that here Nneeds not to be an integer and thus Eucl(N,p)has to be defined for arbitrary N∈(1,∞)(see (2.2)).  Remark 1.6 We are not assuming (X,d,m)to be renormalized. In particular observe that if we rescale the reference measure mas c·m,thenαpgets multiplied by c−p/N, which is in accordance with the scaling in (1.8).  Remark 1.7 Theorem 1.4 gives non-trivial information even in the “collapsed” case, i.e. when θN=+∞in a set of positive (or even full) measure. Indeed, to have αp(X)>0itis sufficient that θN(x)<+∞at a single point x∈X. As an example, consider the model space ([0,π],|.|,sinN−1L1)which is CD(N−1,N)with θN(x)<+∞ only for x∈{0,π}. 123 180 Page 6 of 65 F. Nobili, I. Y. Violo Theorem 1.4 will be proved in two steps, by the combination of an upper bound (Theorem 3.13), obtained via local Sobolev inequalities (Theorem 3.8), and a lower bound (Theorem 4.4) derived with a blow-up analysis. We end this part with a question that naturally arises from the validity of Theorem 1.4: Question: Let (X,d,m)be a compact CD(K,N)(or RCD(N,K)) space with N∈(1,∞) and suppose that α2∗(X)∈(0,∞). Is there a constant B<+∞ such that up L2∗(m)≤α2(X)|Du|2 L2(m)+Bu2 L2(m),∀u∈W1,2(X)? (1.9) This has positive answer in the smooth setting [60]. However in [59,Proposition 5.1] it is shown that on a Riemannian manifold Mof dimension n≥4,the scalar curvature of Mis bounded above by cnB, for a dimensional constant cn>0. This points to a negative answer, since we are assuming only a Ricci lower bound on the space, however it is not clear to us how to prove or disprove (1.9). 1.2 Main rigidity and almost rigidity results in compact RCD spaces Even if some of our results will hold for the general class of CD(K,N)spaces, our main focus will be the smaller class of spaces satisfying the Riemannian curvature-dimension condition RCD(K,N), which adds to the CD class the linearity of the heat flow (see Definition 2.7 below). This notion appeared first in the infinite dimensional case (N=∞)in[11](seealso [9] in the case of σ-finite reference measure) while, in the finite dimensional case (N<∞), it was introduce in [51]. We also mention the slightly weaker RCD∗(K,N)condition (coming from the reduced curvature-dimension condition CD∗(K,N)introduced in [22]) which has been proved in [15,47] to be equivalent to the validity of a weak N-dimensional Bochnerinequality (see also [12] for the same result in the infinite dimensional case). We recall that in the compact case (or more generally for finite reference measure) which will be the main setting of this note, the RCD∗(K,N)and the RCD(K,N)conditions turn out to be perfectly equivalent after the work in [35]. The main advantage for us to work in the RCD class, as opposed to the more general CD class, is that it enjoys rigidity and stability properties that are analogous to the Riemannian manifolds setting. To state our main results for metric measure spaces we need to define first the notion of optimal constant in the Sobolev inequality in the non-smooth setting. Given a (compact) RCD(K,N)space (or more generally a CD(K,N)space) (X,d,m),forsomeK∈R, N∈(2,∞),weset2 ∗:= 2N/(N−2)and consider the analogous of (): u2 Lq(m)≤A|Du|2 L2(m)+m(X)2/q−1u2 L2(m),∀u∈W1,2(X), (1.10) for q∈(2,2∗]and a constant A≥0. Then we define Aopt q(X):= m(X)1−2/q·inf{A:(1.10)holds}, with the convention that Aopt q(X)=∞when no Aexists. Note that Aopt q(X), when is finite, is actually a minimum. Observe also that, as in the smooth case, there is a renormalization factor m(X)1−2/qin the definition. However, being not restrictive, we will mainly work asking m(X)=1 so that the value of Aopt q(X)is equivalent to the non-renormalized one. Remarkably in this more general framework, a comparison analogous to (1.5) holds. 123 Rigidity and almost rigidity of Sobolev… Page 7 of 65 180 Theorem 1.8 ([36]) Let (X,d,m)be an essentially non-branching CD(N−1,N)space, N∈(2,∞). Then, for every q ∈(2,2∗] Aopt q(X)≤q−2 N.(1.11) The essentially nonbranching condition is a technical property of mass transportation that, roughly said, requires a suitable nonbranching property of transportation geodesics. It was introduced in [88] where it was shown that it is satisfied in the RCD(K,N)-class. We also mention that Theorem 1.8 in the RCD case was previously obtained in [86]. Observe also that, whenever Nis an integer and thanks to (1.3), for a N-dimensional Riemannian manifolds (1.11) is exactly (1.5) and in particular Theorem 1.8 generalizes Theorem 1.2. We can now state our main rigidity result in the setting of metric measure spaces. Theorem 1.9 (Rigidity of Aopt q)Let (X,d,m)be an RCD(N−1,N)space for some N ∈ (2,∞)and let q ∈(2,2∗]. Then, equality holds in (1.11)if and only if (X,d,m)is isomorphic to a spherical suspension, i.e. there exists an RCD(N−2,N−1)space (Z,dZ,mZ)such that (X,d,m)≃[0,π]×N−1 sin Z. Differently from the smooth case, in the more abstract setting of RCD spaces the above result is instead new for all q. As anticipated above, we can also prove an “almost-rigidity” statement linked to the almost-equality case in (1.11) (see Sect. 2.3.3 for the notion of measure-Gromov–Hausdorff convergence and distance dmGH.). Theorem 1.10 (Almost-rigidity of Aopt q)For every N ∈(2,∞),q ∈(2,2∗]and every ε>0, there exists δ:= δ(N,ε,q)>0such that the following holds. Let (X,d,m)be an RCD(N−1,N)space with m(X)=1and suppose that Aopt q(X)≥(q−2) N−δ, Then, there exists a spherical suspension (Y,dY,mY)(i.e. there exists an RCD(N−2,N−1) space (Z,dZ,mZ)so that Yis isomorphic as a metric measure space to [0,π]×N−1 sin Z)such that dmGH((X,d,m), (Y,dY,mY)) < ε. Remark 1.11 We briefly point out two important facts concerning the two above statements. (i) In the smooth setting, for q<2∗, the almost rigidity follows “directly” from the sharper version of (1.5) cited above (see Remark 6.9 for the explicit statement) and using the almost-rigidity of the 2-spectral gap [36,38]. Nevertheless, we are not aware of any such statement in the literature and anyhow, our proof does not rely on any improved version of (1.5). (ii) The key feature of Theorems 1.9 and 1.10 is that they include the “critical” exponent. Indeed, the difference between the “subcritical” case q<2∗and q=2∗is not only technical but a major issue linked to the lack of compactness in the Sobolev embedding. As it will be clear in the sequel, the proof of the critical case requires several additional arguments that constitute the heart of this note.  The almost-rigidity result contained in Theorem 1.10 will be actually a consequence of a stronger statement, that is the continuity of Aopt qunder measure Gromov–Hausdorff convergence. More precisely we will prove the following: 123 180 Page 8 of 65 F. Nobili, I. Y. Violo Theorem 1.12 (Continuityof Aopt qundermGH-convergence)Let (Xn,dn,mn),n ∈N∪{∞}, be a sequence of compact RCD(K,N)-spaces with mn(Xn)=1and for some K ∈R, N∈(2,∞)so that Xn mGH →X∞. Then, Aopt q(X∞)=limnAopt q(Xn), for every q ∈(2,2∗]. 1.3 Additional results and application to the Yamabe equation Euclidean-type Pólya–Szeg˝o inequality on CD(K,N)spaces. WewilldevelopaPólya–Szeg˝o inequality (see Sect. 3.1), which is roughly a Euclidean-variant of the Pólya–Szeg˝o inequality for CD(K,N)spaces, K>0,derivedin[84]. The main feature of this inequality is that it holds on arbitrary CD(K,N)spaces, K∈R, but assumes the validity of an isoperimetric inequality of the type Per(E)≥CIsopm(E)N−1 N,∀E⊂Borel, for some ⊂X open and where CIsop is a positive constant independent of E. For our purposes this Pólya–Szeg˝o inequality will be used to derive local Sobolev inequalities of Euclidean-type (see Theorem 3.8), however it allows us to obtain also sharp Sobolev inequalities under Euclidean-volume growth assumption. Sharp and rigid Sobolev inequalities under Euclidean-volume growth. As a by-product of our analysis, we achieve sharp Sobolev inequalities on CD(0,N)spaces with Euclidean-volume growth. We recall that a CD(0,N)space (X,d,m)has Euclidean-volume growth if AV R(X):= lim R→+∞ m(BR(x0)) ωNRN>0, for some (and thus any) x0∈X. We will prove the following. Theorem 1.13 Let (X,d,m)be a CD(0,N)space for some N ∈(1,∞)and with Euclidean volume growth. Then, for every p ∈(1,N), it holds uLp∗(m)≤Eucl(N,p)AV R(X)−1 N|Du|Lp(m),∀u∈LIPc(X). (1.12) Moreover (1.12)is sharp. Thisextendsa result recently derivedin[26]in the case ofRiemannianmanifoldsand answers positively to a question posed in [26,Sec. 5.2]. Combining Theorem 1.13 with the volume rigidity for non-collapsed RCD spaces in [53] and the results in [40,Appendix A] (see also [68,Theorem 3.5]) we immediately get the following topological rigidity which extends to the non-smooth setting the results for Riemannian manifolds in [75,97]. Recall that an RCD(K,N)space (X,d,m)is said to be non-collapsed (see Definition 2.13)ifm=HN,theN-dimensional Hausdorff measure (this notion has been introduced in [53], see also [72] and inspired by [40]). Corollary 1.14 (Topological-rigidity of Sobolev embeddings) For every N ∈N,p∈(1,N) and ε>0there exists δ>0such that the following holds. Let (X,d,HN)be an RCD(0,N) space with Euclidean volume growth and such that uLp∗(m)≤(Eucl(N,p)+δ)|Du|Lp(m),∀u∈LIPc(X). (1.13) Then Xis homeomorphic to RNand dGH(Br(x), Br(0N)) ≤εr for every x ∈Xand r >0. 123 Rigidity and almost rigidity of Sobolev… Page 15 of 65 180 For a Borel set E⊂X of finite measure we also define its Minkowski content as: m+(E)=lim δ→0+ m(Eδ)−m(E) δ, where Eδ:= {x∈X:d(x,E)<δ}. In general we only have Per(E)≤m+(E). We recall that the following coarea formula is valid after [82,Proposition 4.2]. Theorem 2.4 (Coarea formula) Let (X,d,m)be a locally compact metric measure space and f∈BV(X). Then the set {f>t}is of finite perimeter for a.e. t ∈Rand given any Borel function g :X→[0,∞), it holds that ˆ{s≤u<t} gd|Df|=ˆt sˆgdPer({f>t},·)dt,∀s,t∈[0,∞), s<t.(2.8) 2.3 CD(K,N)and RCD(K,N)spaces 2.3.1 Main definitions and properties In this note, as anticipated in the introduction, we will work in the general framework of metric measure spaces (X,d,m)satisfying synthetic Ricci curvature lower bounds. For completeness, we briefly recall the definition and the key properties that we will need. The first notion of synthetic Ricci lower bounds was given independently in the seminal papers [80]and[92,93] where the authors introduced the celebrated curvature dimension condition. We report here its definition only in finite dimension N∈[1,∞), given in term of convexity properties of the N-Rényi-entropy functional UN:P2(X)→[−∞,0]defined by UN(μ|m):= −ˆρ1−1 Ndm,if μ=ρm+μs, where μ∈P2(X)and μsis singular with respect to m. In this note, since optimal transportation plays a minor role, we shall assume the reader to be familiar with Optimal Transport and the Wasserstein Space (P2(X), W2)and we refer to [96] for a systematic discussion (see also [8]). We start recalling the definition of distortion coefficients. For every K∈R,N∈ [0,∞), t∈[0,1]set σ(t) K,N(θ) := ⎧ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎩ +∞,if Kθ2≥Nπ2, sin(tθ√K/N) sin(θ√K/N),if 0 <Kθ2<Nπ2, t,if Kθ2<0andN=0orifKθ2=0, sinh(tθ√−K/N) sinh(θ√−K/N),if Kθ2≤0andN>0. Set also, for N>1, τ(t) K,N(θ) := t1 Nσ(t) K,N−1(θ)1−1 Nwhile τ(t) K,1(θ) =tif K≤0and τ(t) K,1(θ) =∞if K>0. Definition 2.5 (CD(K,N)-spaces) Let K∈Rand N∈[1,∞). A metric measure space (X,d,m)satisfies the curvature dimension condition CD(K,N)if, for every μ0,μ 1∈ P2(X)absolutely continuous with bounded supports, there exists a dynamical optimal transference plan π∈P(Geo(X)) between μ0,μ 1so that: for every t∈[0,1]and N≥N,we 123 180 Page 16 of 65 F. Nobili, I. Y. Violo have μt:= (et)π=ρtmand UN(μt|m)≤−ˆτ(1−t) K,N(d(γ1,γ 0))ρ0(γ0)−1 N+τ(t) K,N(d(γ1,γ 0))ρ1(γ1))−1 Ndπ(γ). (2.9) We recall the also the notion of one-dimensional model space for the CD(N−1,N) condition: Definition 2.6 (One dimensional model space) For every N>1wedefineIN:= ([0,π],|.|,mN),where|.|is the Euclidean distance restricted on [0,π]and mN:= 1 cNsinN−1L1|[0,π], with cN:= ´[0,π]sin(t)N−1dt. Toencode amore“Riemannian”behaviorof thespace,andto rule outFinslerspaceswhich are allowed by the CD condition, it was introduced in [11] the so-called RCD condition in the infinite dimensional case (see also [55] for the case of σ-finite reference measure). In this note however we will only work in finite dimensional RCD-spaces introduced in [51]. Definition 2.7 (RCD(K,N)-spaces) Let K∈Rand N∈[1,∞). A metric measure space (X,d,m)is an RCD(K,N)-space, provided it is an infinitesimal Hilbertian CD(K,N)- space. Remark 2.8 Spaces satisfying the CD(K,N)(and thus also the RCD(K,N)) condition, support a (1,1)-local Poincaré inequality (see [87]) and by the Bishop–Gromov inequality below they are locally-doubling, therefore from the results in [39] we know that the minimal weak upper gradient is independent on the exponent p(see also [54]). For this reason, to lighten the notation, in this setting we will simply write |Df|for f∈W1,p(X)and call it simply minimal weak upper gradient of f. We start by recalling some useful properties about these spaces that are going to be used in the sequel. On CD(K,N)spaces the Bishop–Gromov inequality holds (see [93]): m(BR(x)) vK,N(R)≤m(Br(x)) vK,N(r),for any 0 <r<R≤πN−1 K+and any x∈X,(2.10) where the quantities vK,N(r),N∈[1,∞)K∈Rare defined as vK,N(r):= σN−1ˆr 0|sK,N(t)|N−1dt, and sK,N(t)is defined as sin tK N−1,if K>0, sinh t|K| N−1,ifK<0andtif K=0. In particular CD(K,N)spaces are uniformly locally doubling and thus proper, i.e. closed and bounded sets are also compact. We also note that in the case K=0 this implies that the limit AV R(X):= lim r→+∞ m(Br(x)) ωNrN 123 Rigidity and almost rigidity of Sobolev… Page 17 of 65 180 existsfinite and does notdependon the point x∈X.Wecallthequantity AV R(X)asymptotic volume ratio of X and if AV R(X)>0 we say that X has Euclidean-volume growth.Akey role in the note will be played by the following quantities: θN,r(x):= m(Br(x)) ωNrN,θ N(x):= lim r→0+θN,r(x), ∀r>0,x∈X. Observe that the above limit exists thanks to the Bishop–Gromov inequality and the fact that limr→0+ωNrN vK,N(r)=1foreveryK∈R,N∈[1,∞), which in particular grants that θN(x)=lim r→0 m(Br(x)) vK,N(r)=sup r>0 m(Br(x)) vK,N(r).(2.11) This and the fact that m(∂ Br(x)) =0foreveryr>0andx∈X (which follows from the Bishop–Gromov inequality), implies that θN(x)is a lower-semicontinuous function of x. Therefore, when X is compact, there exists minx∈XθN(x). Next we recall the Brunn–Minkowski inequality. Theorem 2.9 ([93]) Let (X,d,m)be a CD(K,N)space with N ∈[1,∞),K∈R. For any couple of Borel sets A0,A1⊂Xit holds that m(At)1 N≥σ(1−t) K,N(θ)m(A0)1 N+σ(t) K,N(θ)m(A1)1 N,∀t∈[0,1],(2.12) where At:= {γt:γgeodesic such that γ0∈A0,γ 1∈A1}and θ:= inf(x0,x1)∈A0×A1d(x0,x1), if K ≥0, sup(x0,x1)∈A0×A1d(x0,x1), if K <0, We remark that (2.12) is actually weaker than the statement appearing in [93] and it holds for the (a priori) larger class of CD∗(K,N)spaces (see [22]). We report the Bonnet–Myers diameter-comparison theorem for CD-spaces from [93]: (X,d,m)is a CD(K,N)space,for some K>0⇒diam(X)≤πN−1 K,(2.13) The Lichnerowitz 2-spectral gap inequality is valid also in the CD-setting. To state it we recall the notion of first non-trivial Neumann eigenvalue of the Laplacian (or 2-spectral gap) in metric measure spaces. Definition 2.10 Let (X,d,m)be a metric measure space with finite measure. We define the first non trivial 2-eigenvalue λ1,2(X)as the non-negative number given by λ1,2(X):= inf ´|Df|2 2dm ´|f|2dm:f∈LIP(X)∩L2(m), f= 0,ˆfdm=0.(2.14) Clearly, in light of [10], in the above definition one can equivalently take the infimum among all f∈W1,2(X). In the sequel will use this fact without further notice. Then the spectral-gap inequality as proven in [80](seealso[67]) says that: λ1,2(X)≥N,for every CD(N−1,N)-space X, with Nranging in (1,∞). We conclude this part recalling some rigidity and stability statements for RCD(K,N) spaces and to this goal we need to define the notion of spherical suspension over a metric measure space. For any N∈[1,∞)the N-spherical suspension over a metric measure space 123 180 Page 18 of 65 F. Nobili, I. Y. Violo (Z,mZ,dZ)is defined to be the space ([0,π]×N sin Z):= Z×[0,π]/(Z×{0,π})endowed with the following distance and measure d((t,z), (s,z)) := cos−1cos(s)cos(t)+sin(s)sin(t)cos dZ(z,z)∧π, m:= sinN−1(t)dt⊗mZ. It turns out that the RCD condition is stable under the action of taking spherical suspensions, more precisely it has been proven in [71]that [0,π]×N sin Z,N≥2 is a RCD(N−1,N)space if and only if diam(Z)≤πand Z is an RCD(N−2,N−1)space, (2.15) We can now recall the two main rigidity statements that we will use in the note: the maximal diameter theorem and the Obata theorem for RCD(K,N)spaces: Theorem 2.11 ([70]) Let (X,d,m)be an RCD(N−1,N)space with and N ∈[2,∞) and suppose that diam(X)=π.Then(X,d,m)is isomorphic to a spherical suspension, i.e. there exists an RCD(N−2,N−1)space (Z,dZ,mZ)with diam(Z)≤πsatisfying X≃[0,π]×N sin Z. Theorem 2.12 ([71]) Let (X,d,m)be an RCD(N−1,N)space with and N ∈[2,∞) and suppose that λ1,2(X)=N. Then (X,d,m)is isomorphic to a spherical suspension, i.e. there exists an RCD(N−2,N−1)space (Z,dZ,mZ)with diam(Z)≤πsatisfying X≃[0,π]×N sin Z. Weendthis part by recalling the definitionof “non-collapsed” RCD-spaces, which extends the notion of non-collapsed Ricci-limits introduced in [40]. Definition 2.13 ([53])We say that (X,d,m)is a non-collapsed RCD(K,N)space, for some K∈R,N∈N, provided it is RCD(K,N)and m=HN,whereHNis the N-dimensional Hausdorff measure. This class of spaces enjoys extra regularity with respect to the general RCD-class and are a suitable setting to derive the topological rigidity results of this note. Here we just mention that if θNis finite m-a.e. (or equivalently if mHN), then up to a constant multiplicative factor, mequals HNand the space is non-collapsed. This has been proved first in [62]for compact spaces and then in [31] in the general case solving a conjecture of [53](seealso [65] for an account on further conjectures around this topic). 2.3.2 Sobolev–Poincaré inequality on CD(K,N)spaces A well-established fact which goes back to the seminal work [58], is that a (1,p)-Poincaré inequality on a doubling metric measure space, improves to a (q,p)-Poincaré inequality with q>1.On CD(K,N)spaces this translates in the following result. Theorem 2.14 ((p∗,p)-Poincaré inequality) Let (X,d,m)be a CD(K,N)space for some N∈(1,∞),K ∈R.Fixalsop∈(1,N)and r0>0. Then, for every Br(x)⊂Xwith r≤r0it holds  Br(x)|u−uBr(x)|p∗dm1 p∗≤C(K,N,p,r0)r B2r(x)|Du|pdm1 p,∀u∈LIP(X), (2.16) where p∗:= pN/(N−p)and uBr(x):= ´Br(x)udm. 123 Rigidity and almost rigidity of Sobolev… Page 19 of 65 180 Proof From [87] we have that X supports a strong (1,1)-Poincaré inequality, in particular it also supports a strong (1,p)-Poincaré inequality for every p∈[1,∞), by Hölder inequality. Moreover, for every x0∈X, r≤r0and x∈Br0(x0), from the Bishop–Gromov inequality (2.10) it holds that m(Br(x)) m(Br0(x0)) ≥C(K,N,r0)r r0N . Then (2.16) follows from [58,Theorem 5.1] (see also [29,Theorem 4.21]).  We end this part recalling the sharp Sobolev-inequality on the Nmodel space IN(see Def. 2.6)forN∈(2,∞)(see e.g. [76]): u2 Lq(mN)≤q−2 N|Du|2 L2(mN)+u2 L2(mN),∀u∈W1,2([0,π],|.|,mN), (2.17) for every q∈(2,2∗], with 2∗=2N/(N−2). 2.3.3 Convergence and compactness under mGH-convergence We recall here the notion of pointed-measure Gromov Hausdorff convergence (pmGH convergence for short). Let us say that the definition we will adopt is not the classical one (see e.g. [34,57]), but it is equivalent in the case of a sequence of uniformly locally doubling metric measure spaces, thanks to the results in [55]. It will be convenient to consider in this section the set ¯ N:= N∪{∞}. Recall also that a pointed metric measure space is a quadruple (X,d,m,x)consisting of a metric measure space (X,d,m)and a point x∈X. Definition 2.15 (Pointed measure Gromov–Hausdorff convergence) Wesaythatthe sequence (Xn,dn,mn,xn),n∈N, of pointed metric measure spaces, pointed measure Gromov– Hausdorff -converges (pmGH-converges in short) to (X∞,d∞,m∞,x∞),ifthereexist isometric embeddings ιn:Xn→(Z,dZ),n∈¯ N, into a common metric space (Z,dZ) such that (ιn)mn(ι∞)m∞in duality with Cbs(Z)and ιn(xn)→ι∞(x∞). In the case of a sequence of uniformly locally doubling spaces (as in the case of CD(K,N)- spaces for fixed K∈R,N<∞) we can also take (Z,dZ)to be proper. Moreover, again for a class of uniformly locally doubling spaces, in [55] it is proven that the pmGH-convergence is metrizable with a distance which we call dpmGH . It will be also convenient to adopt, thanks to Definition 2.15, the so-called extrinsic approach, where the spaces Xnare identified as subsets of a common proper metric space (Z,dZ),Xn⊂Z, supp(mn)=Xn,dZ|Xn×Xn=dnfor all n∈¯ N,anddZ(xn,x∞)→0, mnm∞in duality with Cbs(Z). Any such space (Z,dZ)(together with an the identification of Xn⊂Z) is called realization of the convergence and (in the case of geodesic uniformly locally doubling spaces) can be taken so that dZ H(BXn R(xn), BX∞ R(x∞)) →0foreveryR> 0,where dZ His the Hausdorff distance in Z. To avoid confusion when dealing with this identification, we shall sometimes write BXn r(x)with x∈Xn,r>0, to denote the set BZ r(x)∩Xn. Aftertheworksin [11,55,80,92,93] and thanks to the Gromov’s precompactness theorem [57] we have the following precompactness result. 123 180 Page 20 of 65 F. Nobili, I. Y. Violo Theorem 2.16 Let (Xn,dn,mn,xn)be a sequence of pointed CD(Kn,Nn)(resp. RCD(Kn,Nn)) spaces, n ∈¯ N, with m(B1(xn)) ∈[v−1,v],forv>1and Kn→K∈ R,Nn→N∈[1,∞). Then, there exists a subsequence (nk)and a pointed CD(K,N) (resp. RCD(K,N)) space (X∞,d∞,m∞,x∞)satisfying lim k→∞dpmGH (Xnk,dnk,mnk,xnk), (X∞,d∞,m∞,x∞)=0. We will be frequently consider the case of compact (with uniformly bounded diameter) metric measure spaces which is the natural setting for the Sobolev embedding of this note, for which we can reduce the above convergence to the so-called measure Gromov Hausdorff convergence, mGH-convergence for short, where we simply ignore the convergence of the base points. Also in this case, on every class of uniformly doubling metric measure spaces with uniformly bounded diameter, the mGH-convergence can be metrized by a distance that we denote by dmGH.The extrinsic approach applies verbatim as well, with the exception that the common ambient space Z can be also taken to be compact. We now recall some stability and convergence results of functions along pmGH- convergence. For additional details and analogous results we refer to [13,55,63]. For brevity reasons in what follows we fix a sequence of pointed CD(K,N)spaces (Xn,dn,mn,xn), for n∈¯ N,sothatX n pmGH →X∞. Definition 2.17 Let p∈(1,∞), we say that (i) fn∈Lp(mn)converges L p-weak to f∞∈Lp(m∞), provided supn∈NfnLp(mn)<∞ and fnmnf∞m∞in Cbs(Z), (ii) fn∈Lp(mn)converges L p-strong to f∞∈Lp(m∞), provided it converges Lp-weak and limnfnLp(mn)≤f∞Lp(m∞), (iii) fn∈W1,2(Xn)converges W1,2-weak to f∞∈W1,2(X)provided it converges L2-weak and supn∈N|Dfn|L2(mn)<∞, (iv) fn∈W1,2(Xn)converges W1,2-strong to f∞∈W1,2(X)provided it converges L2- strong and |Dfn|L2(mn)→|Df∞|L2(m∞). Moreover, we say that fnis uniformly bounded in Lpif supnfnLp(mn)<∞.Inthe following statement we collect a list of useful properties of Lp-convergence. Proposition 2.18 (Properties of Lp-convergence) For all p ∈(1,∞), it holds (i) If fnconverges L p-strong to f∞,thenϕ( fn)converges L p-strong to ϕ( f∞)for every ϕ∈LIP(R)with ϕ(0)=0, (ii) If fn(resp. gn)converges L p-strong to f∞(resp. g∞), then fn+gnconverges L p-strong to f∞+g∞, (iii) if fnconverges L p-weak to f , then f∞Lp(m∞)≤limnfnLp(mn), (iv) suppose that supnfnLp(mn)<+∞, then up to a subsequence fnconverges L p-weak to some f∞∈Lp(m∞), (v) If fnconverges L p-strong (resp. L p-weak) to f∞,thenϕfnconverges L p-strong (resp. Lp-weak) to ϕf∞, for all ϕ∈Cb(Z), (vi) for every f ∈Lp(m∞)there exists a sequence fn∈Lp(mn)converging L p-strong to f, (vii) if fnare non-negative and converge in L p-strong to f , then for every q ∈(1,∞), fp/q nconverge Lq-strong to f p/q, (viii) Fix p,q∈(1,∞] so that p <q.If the sequence (fn)is uniformly bounded in Lqand converges L p-strong to f∞, then it converges also Lr-strong to f∞for every r ∈[p,q), 123 Rigidity and almost rigidity of Sobolev… Page 21 of 65 180 Proof For the proof of the items (i)–(v) we refer to [13,Prop. 3.3]. (vi)can instead be found in [55](seealso[63]). (vii)follows immediately from the characterization of Lpstrong convergence via convergence of graph (see e.g. [13,Remark 3.2]). For (viii),the case q=∞follows immediately from item (i)(see also [13,e) of Prop. 3.3 ]), hence we can assume q<+∞.Fix r∈[p,q). Clearly from the Hölder inequality fnis uniformly bounded in Lr, hence by definition fnconverges Lr-weakly to f∞. Moreover from item (iii) we known that f∞∈Lr(m∞), therefore by truncation and diagonalization we can suppose that f∈L∞(m∞). From (vi)then there exists a sequence gn∈Lr(mn)converging to f∞ in Lr-strong and by item i)we can also assume that gnare uniformly bounded in L∞.Then, from (viii)in the case q=∞we have that gnconverge also in Lp-strong to f∞.Then by (ii)we have that gn−fnconverges to 0 in Lp-strong and in particular fn−gnLp(mn)→0. Finally by the Hölder inequality (since fn,gnare both uniformly bounded in Lq)wehavethat fn−gnLr(mn)→0. In particular limnfnLr(mn)=limngnLr(mn)=f∞Lr(m∞), which concludes the proof.  We now pass to some convergence and stability results related to Sobolev spaces. We start with the following generalized version of the compact embedding of W1,2→L2(reported here specifically for compact metric measure spaces): Proposition 2.19 ([55]) Suppose that Xn,n ∈¯ Nare compact and assume that (fn)∈ W1,2(Xn)are uniformly bounded in W 1,2,i.e.supnfnW1,2(Xn)<+∞.Then(fn)has aL 2-strongly convergent subsequence. We recall the -convergences of the 2-Cheeger energies proven in [55]: ◦-lim:forevery fn∈L2(mn)L2-strong converging to f∞∈L2(m∞), it holds ˆ|Df∞|2dm∞≤lim n→∞ˆ|Dfn|2dmn;(2.18) ◦-lim: for every f∞∈L2(m∞), there exists a sequence fn∈L2(mn)converging L2-strong to f∞so that lim n→∞ˆ|Dfn|2dmn≤ˆ|Df∞|2dm∞.(2.19) We will also need the -lim inequality also for the p-Cheeger energies as proved in [13,Theorem 8.1]: for every p∈(1,∞)and every f∞∈Lp(m∞), there exists fn∈Lp(mn) converging Lp-strong to f∞so that lim n→∞ˆ|Dfn|pdmn≤ˆ|Df∞|pdm∞. The above is stated in [13] only for a sequence of RCD(K,∞)spaces, but it easily seen that the proof works without modification also in the case of CD(K,∞)spaces. We end this part recalling a well known continuity result of the spectral gap (see [55]and [14]): if Xn,n∈¯ N, are all compact it holds λ1,2(X∞)=lim n→∞λ1,2(Xn). (2.20) We mention that the continuity of the spectral gap was previously obtained in the setting of Ricci-limit spaces by Cheeger and Colding [40]. 123 180 Page 22 of 65 F. Nobili, I. Y. Violo 2.4 Pólya–Szego inequality The Pólya–Szeg˝o inequality, namely the fact that the Dirichlet energy decreases under decreasing rearrangements, dates back to Faber and Krahn and was successively formalized in [85]. Later, in [28], this collection of ideas was brought to the context of manifolds with Ricci lower bounds to achieve applications concerning the rigidity of the 2-spectral gap. Concerning the topic of this manuscript, the said inequality has revealed effective in [66]in the proof of Theorem 1.2. In this part we recall the Pólya–Szeg˝o inequality for essentially nonbranching CD(K,N) spaces proven in [84]. We will also collect some additional technical results and definitions from [84] that will be used in Sect. 3.1 to prove a Euclidean-variant of this inequality. Definition 2.20 (Distribution function) Let (X,d,m)be a compact metric measure space, ⊆X an open set with m() < +∞and u:→[0,+∞)a non-negative Borel function. We define μ:[0,+∞)→[0,m()], the distribution function of u,as μ(t):= m({u>t}). (2.21) For uand μas above, we let u#be the generalized inverse of μ,definedby u#(s):= ess sup uif s=0, inf{t:μ(t)<s}if s>0. It can be checked that u#is non-increasing and left-continuous. Then, given ⊆Xan open set and u:→[0,+∞)a non-negative Borel function, we define the monotone rearrangement into IN=([0,π],|.|,mN)(see Definition 2.6)as follows: first, we consider r>0sothatm() =mN([0,r])and define ∗:= [0,r],then we define the monotone rearrangement function u∗ N:∗→R+as u∗ N(x):= u#(mN([0,x])), ∀x∈[0,r]. In the sequel, whenever uand are fixed, ∗and u∗ Nwill be implicitly defined as above. Theorem 2.21 (Pólya–Szeg˝o inequality, [84]) Let (X,d,m)be an essentially non braching CD(N−1,N)space for some N ∈(1,∞)and ⊆Xbe open. Then, for every p ∈ (1,∞), the monotone rearrangement in INmaps L p() (resp. W1,p 0())intoLp(∗)(resp. W1,p(∗)) and satisfies: uLp() =u∗ NLp(∗),∀u∈Lp() (2.22) ˆ|Du|pdm≥ˆ∗|Du∗ N|pdmN,∀u∈W1,p 0(). (2.23) We will also need the following rigidity of the Pólya–Szeg˝o inequality proven in [84,Theorem 5.4]. Theorem 2.22 Let (X,d,m)be an RCD(N−1,N)space for some N ∈[2,∞)with m(X)= 1and p ∈(1,∞).Let⊂Xbe an open set and assume that there exists a non-negative and non-constant function u ∈W1,p 0() achieving equality in (2.23). Then (X,d,m)is isomorphic to a spherical suspension, i.e. there exists an RCD(N− 2,N−1)space (Z,dZ,mZ)with mZ(Z)=1so that X≃[0,π]×N sin Z. 123 Rigidity and almost rigidity of Sobolev… Page 23 of 65 180 Remark 2.23 Observe that in Theorem 2.22 we did not assume that m() < 1, assumption that is actually present in Theorem 5.4 of [84]. This is intentional, since we will need to apply Theorem 2.22 precisely in the case =X. This is possible since the arguments in [84]work also in the case =X without modification. The only part where the argument does not cover explicitly the case =X is the proof of the approximation Lemma 3.6 in [84], which however can be easily adapted (see Lemma 2.24 below).  The following technical result will be needed in Sect. 3.1. We include a sketch of the argument in the case =X, to further justify the validity of Theorem 2.22 also in this case (see the above Remark). Lemma 2.24 (Approximation with non-vanishing gradients) Let (X,d,m)be a CD(K,N) metric measure space with N <+∞, and let ⊂Xbe open with m() < +∞.Then for any non-negative u ∈LIPc() there exists a sequence of non-negative un∈LIPc() satisfying |Dun|1= 0m-a.e. in {un>0}and such that un→uinW 1,p(X). Proof The case = X has been proven in [84,Lemma 3.6 and Corollary 3.7]. The proof presentedthere, as it is written, doesnot cover the case =X with X compactand supp(u)= X. However, the argument can be easily adapted by considering a sequence εn→0such that m({lip(un)=εn})=0 and taking un:= u+εnv, with v(x):= d(x0,x), for an arbitrary fixed point x0∈X. Since v∈LIP(X)and lip(v) = 1m-a.e. in X, arguing exactly as in [84,Lemma 3.6] we get that un→uin W1,p(X) and lip(un)= 0m-a.e. in {un>0}. To get the claimed non-vanishing of |Dun|1,asin [84,Corollary 3.7] we use the existence of a constant c>0 such that |Du|1≥clip(u), m-a.e., for every u∈LIPloc(X), which holds from the results in [16] and the fact that CD(K,N) spaces are locally doubling and supports a local-Poincaré inequality.  Lemma 2.25 (Derivative of the distribution function, ([84])) Let (X,d,m)be a metric measure space and let ⊆X be an open subset with m() < +∞. Assume that u ∈LIPc() is non-negative and |Du|1(x)= 0for m-a.e. x ∈{u>0}. Then its distribution function μ:[0,+∞)→[0,m()], defined in (2.21), is absolutely continuous. Moreover it holds μ(t)=−ˆ1 |Du|1dPer({u>t},·)a.e.,(2.24) where the quantity 1/|Du|1is defined to be 0whenever |Du|1=0. 3 Upper bound for ˛p To prove an upper bound of αpwe will need to derive a Sobolev inequality of the type (1.6)for some explicit A. This will be achieved by proving first a class of local Sobolev-inequalities (see Theorem 3.8) and then “patch” them together (see Theorem 1.8) to obtain the desired globalinequality. The local-Sobolev inequalities willbe achieved through a Euclidean Pólya– Szeg˝o symmetrization inequality (Theorem 3.6). 123 180 Page 24 of 65 F. Nobili, I. Y. Violo 3.1 Pólya–Szego inequality of Euclidean-type The goal of this section is to prove a Euclidean-variant of the Pólya–Szeg˝o inequality for CD(K,N)spaces derived in [84] (under essentially nonbranching assumption, see also Sect. 2.4). The main difference is that our inequality holds for arbitrary K∈Rand assumes theapriorivalidity of aEuclidean-typeisoperimetricinequality, while theonein[84] requires K>0 and it is based on the Lévy-Gromov isoperimetric inequality for the CD(K,N)condition. As opposed to Sect. 2.4, where the symmetrization has as target the model space for the CD(K,N)condition with K>0, we will use a notion of symmetrization that lives in the weighted half line ([0,∞), |.|,tN−1L1). It should be remarked that, in general, there is not a natural curvature model space to symmetrize functions defined on an arbitrary CD(K,N)-space with K≤0. This is because there is not a unique model-space for the Lévy–Gromov isoperimetric inequality in the case K≤0(see[81]). Therefore, it is unclear in this high-generality where the rearrangements should live. For this reason we will equip the metric measure spaces under consideration with a (possibly local) isoperimetric inequality of Euclidean-type: Per(E)≥Cm(E)N−1 N, for N>1andCa non-negative constant. We start with the definition of Euclidean model space (I0,N,|.|,m0,N),N∈(1,∞): I0,N:= [0,∞), m0,N:= σN−1tN−1L1, where |.|is the Euclidean distance. Next, we define the Euclidean monotone rearrangement. Definition 3.1 (Euclidean monotone rearrangement) Let (X,d,m)beametricmeasure space and ⊂X be open with m() < +∞. For any Borel function u:→R+,we define ∗:= [0,r]with m0,N([0,r])=m() (i.e. rN=ω−1 Nm()) and the monotone rearrangement u∗ 0,N:∗→R+by u∗ 0,N(x):= u#(m0,N([0,x])) =u#(ωNxN), ∀x∈∗, where u#is the generalized inverse of the distribution function of u, as defined in Sect. 2.4. In the sequel, whenever we fix and u:→[0,∞),theset∗and the rearrangement u∗ 0,Nare automatically defined as above. Proposition 3.2 Let (X,d,m)be a metric measure space and ⊂Xbe open and bounded with m() < +∞.Letu:→[0,+∞)be Borel and let u∗ 0,N:∗→[0,+∞)be its monotone rearrangement. Then, u and u∗ 0,Nhave the same distribution function. Moreover uLp() =u∗ 0,NLp(∗),∀1≤p<+∞,(3.1) and the radial decreasing rearrangement operator L p() u→ u∗ 0,N∈Lp(∗)is continuous. The proof of the above proposition is classical, following e.g. [69], with straightforward modification for the metric measure setting (see also [84]). Observe also that, given u∈ Lp(), its monotone rearrangement must be defined by fixing a Borel representative of u. However, this choice does not affect the outcome object u∗ 0,N, as clearly the distribution function μ(t)of uis independent of the representative. 123 Rigidity and almost rigidity of Sobolev… Page 31 of 65 180 Theorem 3.13 (Upper bound on αp)Let (X,d,m)be a compact CD(K,N)space, for some N∈(1,∞),K ∈R. Then, for every ε>0and every p ∈(1,N), there exists a constant B=B(ε, p,X)>0such that up Lp∗(m)≤Eucl(N,p)p minXθN(x)p/N+ε|Du|p Lp(m)+Bup Lp(m),∀u∈LIP(X). (3.10) Proof We start claiming that the following local version of (3.10) holds: for any x∈Xand every ε>0 there exists r=r(ε, x)>0andC=C(ε, p,x)<+∞ such that up Lp∗(m)≤Eucl(N,p)p miny∈XθN(y)p/N+ε|Du|p Lp(m)+Cup Lp(m),∀u∈LIPc(Br(x)). (3.11) To show the above we observe first that in the case that θN(x)=+∞,(3.11) follows immediately from (3.9)forrsmall enough. We are left with the case 0 <θ N(x)<+∞.We start by fixing ε∈(0,1/2). From the definition of θN(x), there exists r=r(x,ε)so that for every r∈(0,r)it holds θN,r(x)∈((1−ε)θN(x), (1+ε)θN(x)). In particular we have that θN,r(x) θN,R(x)≤4foreveryr,R∈(0,r). We are therefore in position to apply Theorem 3.8 and deduce that there exists δ=δ(ε, N)so that for every r,R∈(0,r∧δN/K−), with r<δR, the following inequality holds for every u∈LIPc(Br(x)) up Lp∗(m) (3.6) ≤(1+ε)pEucl(N,p)p θN,R(x)p/N|Du|p Lp(m) ≤(1+ε)p (1−ε)p/N Eucl(N,p)p minXθN(x)p/N|Du|p Lp(m), where in the second inequality we have used θN,R(x)≥(1−ε)θN(x). Therefore (3.11) (with C=0) follows from the above provided we choose εsmall enough. Since X is compact we can extract a finite covering of balls {Bi}M i=1from the covering ∪x∈XBr(ε,x)/2(x).WealsosetC:= maxiCiand A:= Eucl(N,p)p minXθN(x)p/N+ε. We claim that there exists a partition of unity made of functions {ϕi}M i=1such that ϕi∈ LIPc(2Bi),0≤ϕi≤1andϕ1/p i∈LIPc(2Bi)for all i, having denoted 2Bi, the ball of twice the radius. To build such partition of unity we can argue as follows: start considering functions ψi∈LIPc(2Bi), such that 0 ≤ψi≤1andψi≥1inBi.Thenwefixβ>pand take ϕi:= ψβ i M j=1ψβ j . Since by construction M j=1ψβ j≥1everywhereonX,wehavethatϕ1/p i∈LIPc(2Bi). Finally it is clear that M i=1ϕi=1. We are now ready to prove (3.10). Fix u∈LIP(X)and observe that up Lp∗(m)=   i ϕi|u|p  Lp∗/p(m)≤ i ϕi|u|p Lp∗/p(m)= i ϕ1/p i|u|  p Lp∗(m). (3.12) 123 180 Page 32 of 65 F. Nobili, I. Y. Violo Since ϕ1/p i|u|∈LIPc(2Bi)we can apply (3.11) to obtain up Lp∗(m)≤ M  i=1 Aˆ|Dϕ1/p i||u|+|Du|ϕ1/p ipdm+Cˆϕi|u|pdm ≤ M  i=1 Aˆϕi|Du|p+c1|Du|p−1ϕ p−1 p i|Dϕ1/p i||u|+c2|Dϕ1/p i|p|u|pdm +Cˆϕi|u|pdm, where c1,c2≥0 are such that (1+t)p≤1+c1t+c2tpfor all t≥0.Recalling that the functions 0 ≤ϕ1/p i≤1 are Lipschitz we obtain up Lp∗(m)≤Aˆ|Du|pdm+˜ Cˆ|Du|p−1|u|dm+˜ Cˆ|u|pdm, where ˜ C=˜ C(p,M,L),Lbegin the maximum of the Lipschitz constants of the functions ϕ1/p i.Finally from the Young inequality we have for every δ>0 ˆ|Du|p−1|u|dm≤pδ p p−1 p−1ˆ|Du|pdm+1 pδpˆ|u|pdm,∀δ>0 and plugging this estimate above, choosing δsmall enough (but independent of u), we obtain that up Lp∗(m)≤(A+ε) ˆ|Du|pdm+Cˆ|u|pdm, for some C=C(ε, L,M,p).Sinceε>0andu∈LIP(X)were arbitrary, this concludes the proof.  4 Lower bound on ˛p the rough idea of the lower bound on αpis that, when θN(x)<+∞ the space near xhas a conical structure, hence the constant in the Sobolev inequality cannot be better than the one of the tangent structures of the underlying space. This will be formalized with a blow-up argument combined with a stability result for the Sobolev constants. 4.1 Blow-up analysis of Sobolev constants For convenience, we introduce the following notation: whenever in a metric measure space (X,d,m)it holds that up Lq(m)≤A|Du|pp Lp(m)+Bup Lp(m),∀u∈W1,p(X). for some constants A,B>0 and exponents 1 <p<q, we will say that X supports a (q,p)-Sobolev inequality with constants A,B. This convention will be used often here, and sometimes in the subsequent sections, without further notice. We make precise the scaling enjoyed by the Sobolev inequalities under consideration. It is immediate to check that if a space (X,d,m)supports a (p∗,p)-Sobolev for p∈(1,N) 123 Rigidity and almost rigidity of Sobolev… Page 33 of 65 180 and p∗:= pN N−pwith constants A,B, then for every r>0wehave (X,d/r,m/rN)supports a (p∗,p)−Sobolev with constants A,Br p.(4.1) We pass to the stability of Sobolev embeddings under pmGH-convergence (see also [64,Thm. 3.1] for a similar result for Ricci-limits). Lemma 4.1 (pmGH-Stability of Sobolev constants) Let (Xn,dn,mn,xn),n ∈¯ N,bea sequence of CD(K,N)spaces for some K ∈R,N ∈(1,∞)with Xn pmGH →X∞. Suppose Xnsupport a (q,p)-Sobolev inequality for 1<p<q with constants A,B. Then also X∞supports a (q,p)-Sobolev inequality with the same constants A,B. Proof Fix u∈LIPc(X∞), from the -lim inequality of the Chpenergy, there exists a sequence un∈W1,p(X∞)such that unconverges in Lp-strong to uand limn´|Du|pdmn≤ ´|Du|pdm∞. In particular lim nunp Lq(mn)≤lim n→∞ A|Dun|p Lp(mn)+Bunp Lp(mn) ≤A|Du|p Lp(m∞)+Bup Lp(m∞)<+∞. Therefore unconverge also Lq-weak to u. From the lower semicontinuity of the Lq-norm with respect to Lq-weak convergence and the arbitrariness of u∈LIPc(X∞)the conclusion follows.  The following result is a consequence of the existence of the disintegration and can be found for example in [42,Corollary 3.8]. Lemma 4.2 Let (X,d,m)be a CD(0,N)space with N ∈[1,∞). Suppose that for some x0∈Xit holds that m(Br(x0)) ωNrN=1for every r ∈(0,∞),then ˆϕ(d(x0,x)) dm=σN−1ˆ∞ 0 ϕ(r)rN−1dr,∀ϕ∈Cc([0,∞]). Lemma 4.3 Let (X,d,m)be a CD(0,N)space, N ∈(1,∞),p∈(1,N)and set p∗:= pN N−p. Suppose that for some x0∈Xit holds that m(Br(x0)) ωNrN=1for every r ∈(0,∞). Then there exists a sequence of non-constant functions un∈LIPc(X)satisfying lim nunLp∗(m) |Dun|Lp(m)≥Eucl(N,p). Proof Let v:[0,∞)→[0,∞),v∈C∞(0,∞), be an extremal function for the Bliss inequality (3.8) as given by Lemma 3.11. It can be easily shown that we can approximate vwith functions vn∈LIPc([0,∞)) so that vnLp∗(hNL1)→vLp∗(hNnL1)and v nLp(hNL1)→vLp(hNL1),wherehNL1=σN−1tN−1L1.For example we can take vn:= ϕn(ub)with ϕn∈LIP[0,∞),ϕn≥0, ϕn(t)≤|t|,Lip(ϕn)≤2, ϕn(t)=tin [2/n,∞)and supp(ϕn)⊂[1/n,∞). The claimed approximation of the norms then follows immediately from the fact that vis decreasing and vanishing at infinity. Therefore we have lim nvnLp∗(hnL1) v nLp(hnL1)=Eucl(N,p). (4.2) We can now define un:= vn◦dx0,wheredx0(·):= d(x0,·). We clearly have that un∈ LIPc(X)and from the chain rule also that |Dun|=|v n|◦dx0|Ddx0|≤|v n|◦dx0m-a.e., since 123 180 Page 34 of 65 F. Nobili, I. Y. Violo dx0is 1-Lipschitz. Hence applying Lemma 4.2 we obtain unLp∗(m)=vnLp∗(hNL1)and |Dun|Lp(m)≤v nLp(hNL1). This combined with (4.2) (up to passing to a subsequence) gives the conclusion.  Theorem 4.4 (Lower bound on the Sobolev constant) Let (X,d,m)be a CD(K,N)space, K∈R,N∈(1,∞)that supports a (p∗,p)-Sobolev inequality for p ∈(1,N)with constants A,B,where p∗=pN/(N−p). Then A≥Eucl(N,p)p θN(x)p N ,∀x∈X.(4.3) Proof If θN(x)=∞, there is nothing to prove. Hence we can assume that θN(x)<+∞. From the compactness and stability of the CD(K,N)condition, there exists a sequence ri→0 such that Xi:= (X,d/ri,m/riN,x)pmGH-converge to a CD(0,N)space (Y,dY,mY,oY). Moreover, from (4.1)wehavethatX isupports a (p∗,p)-Sobolev inequality with constants A,rp iB. This combined with Lemma 4.1 shows that (Y,dY,mY)supports a(p∗,p)-Sobolev inequality with constants A,0. However we clearly have that mYsatisfies mY(Br(oY)) ωNrN=θN(x)for every r>0.Therefore Lemma 4.3, after a rescaling, ensures that A≥Eucl(N,p)p θN(x) p N ,which is what we wanted.  The above, together with Theorem 3.13, proves our main result Theorem 1.4 concerning αp(X). Using Theorem 4.4 we can also prove the topological rigidity of the Sobolev inequality on non-collapsed RCD spaces. More precisely combining the volume rigidity for non-collapsed RCD spaces ([53,Theorem 1.6]) and the Cheeger–Colding’s metric Reifenberg’s theorem ([40,Theorem A.1.2]) (see also [68]) we can obtain the following result. Corollary 4.5 (Manifold-regularity from almost Euclidean–Sobolev inequality) For every K∈R,N∈N,p∈(1,N),α∈(0,1),ε>0there exists δ=δ(K,N,ε,α)such that the following holds. Suppose that (X,d,HN)is a compact RCD(K,N)space satisfying the following Sobolev inequality up Lp∗(HN)≤(Eucl(N,p)p+δ)|Du|p Lp(HN)+Bup Lp(HN),∀u∈W1,p(X), (4.4) for some constant B >0,wherep ∗:= pN/(N−p). Then, there exists a smooth N-dimensional Riemannian manifold M and an α-biHölder homeomorphism F :M→X. Proof The argument is analogous to [68,Theorem 3.1], however for completeness we include the details. We start fixing ε>0, N∈N,K∈R,p∈(1,N)and two numbers ¯ δ=¯ δ(K,N,p,ε)> 0¯r=¯r(K,N,p,ε)small enough to be chosen later. Suppose that (X,d,HN)is a compact RCD(K,N)space that supports a (p∗,p)-Sobolev inequality with constant Eucl(N,p)p+δ, B,forsomeδ≤¯ δand B>0 (i.e. such that (4.4) holds). Then from (4.3), if ¯ δ≤Eucl(N,p)p/4,we have that θN(x)≥1−2δ, ∀x∈X. Therefore for every x∈X there exists rx∈(0,¯r)such that HN(Brx(x)) ≥(1−3δ)rN xωN. Moreover from the Bishop–Gromov inequality, for every y∈Bδrx(x)and every s∈(0,rx) 123 Rigidity and almost rigidity of Sobolev… Page 35 of 65 180 it holds that HN(Bs(y)) vK,N(s)≥HN(B(1+δ)rx(y)) vK,N((1+δ)rx)≥HN(Brx(x)) vK,N((1+δ)rx)≥(1−3δ)rN xωN vK,N((1+δ)rx).(4.5) Recalling that limr→0+ωNrN vK,N(r)=1, from (4.5) we deduce that if both ¯rand ¯ δare small enough, with respect to K,N,p,ε,then HN(Bs(y)) ≥(1−ε)sNωN,∀y∈Brx(x), s∈(0,rx). Finally from the compactness of X there exists a finite number of points xi,i=1,...,m such that X ⊂∪ iBrxi(xi).TakingR:= minirxi<¯rwe then have HN(Bs(y)) ≥(1−ε)sNωN,∀y∈X,s∈(0,R). From this the conclusion follows combining the volume rigidity theorem for noncollapsed RCD spaces ([53,Theorem 1.6]) and the intrinsic metric-Reifenberg’s theorem ([40,Theorem A.1.2]).  4.2 Sharp and rigid Sobolev inequalities under Euclidean volume growth Here we prove the sharp Sobolev inequalities on CD(0,N)spaces contained Theorem 1.13. The validity of the inequality (1.12) will be derived as a consequence of the local-Sobolev inequalities in Theorem 3.8. The sharpness instead follows from a well known principle for which the validity of a Euclidean–Sobolev inequality implies certain growth on the measure of balls. In particular we have the following result: Theorem 4.6 Let (X,d,m)be an CD(0,N),N∈(1,∞)such that for some p ∈(1,N)and A>0 uLp∗(m)≤A|Du|Lp(m),∀u∈LIPc(X), (4.6) where p∗:= pN N−p.ThenXhas Euclidean volume-growth and AV R(X)≥Eucl(N,p) AN .(4.7) On the general setting of CD spaces Theorem 4.6 isprovedin[73](seealso[74]forthe case p=2), extending to non-smooth setting the same results for Riemannian manifolds due to Ledoux [75] and improved by Xia [97]. We mention also [45]and[98] for analogous statementsrelatedtodifferentclassofinequalities.Inallthecitedworkstheargumentsdepend on rather intricate ODE-comparison (originated in [75] and inspired by the previous [25]) and heavily rely on the explicit knowledge of the extremal functions for the inequalities. However, using the results in Sect. 4we are able to give a short proof of Theorem 4.6, which uses a more direct blow-down procedure, that we believe being interesting on its own. The main advantage of this approach is that we will never need, as opposed to the ODE-comparison approach, the explicit expression of extremals functions in the Euclidean Sobolev inequality (1.1). Proof of Theorem 4.6 The fact that m(X)=+∞can be immediately seen by plugging in the Sobolev inequality functions uR∈LIPc(X)so that uR=1inBR(x0)supp(uR)⊂B2R(x0) and Lip(uR)≤1/Rand sending R→+∞.The fact that X has Euclidean volume growth 123 180 Page 36 of 65 F. Nobili, I. Y. Violo follows by considering instead functions uR(·):= (R−dx0(·))+as R→+∞with fixed x0∈X and using the Bishop–Gromov inequality. It remains to prove (4.7). We argue via blow-down. Let Ri→+∞. From the Euclidean volume-growth property, up to passing to a non relabeled subsequence, the rescaled spaces (X,d/Ri,m/RN i,x0),x0∈X, pmGH-converge to an CD(0,N)space (Y,dY,mY,oY) satisfying mY(BR(oY)) ωNrN=AVR (X). Moreover combining (4.6) with Lemma 4.1 proves that Y satisfya (p∗,p)-Sobolev inequalitywithconstants A,0.Then (4.7) followsfrom Lemma 4.3.  We can now move to the proof of the sharp Sobolev inequalities under the Euclidean volume growth assumption. Proof of Theorem 1.13 Fix x∈X. From the definition of AV R(X),foreveryrbig enough θN,r(x)≤2AV R(X). Fix one of such r>0.From the Bishop–Gromov inequality we also have that θN,R(x)≥AV R(X)for every R>0. In particular θN,r(x)/θN,R(x)≤2for every R>0.Hence by Theorem 3.8 (for K=0) we have that for every ε>0, there exists δ=δ(ε) > 0 so that for every R>r/δ the following local Euclidean Sobolev inequality holds: uLp∗(m)≤(1+ε)Eucl(N,p)θN,R(x)−1 N ||Du|Lp(m),∀u∈LIPc(Br(x)). Taking R→∞we achieve uLp∗(m)≤(1+ε)Eucl(N,p)AV R(X)−1 N ||Du|Lp(m),∀u∈LIPc(Br(x)). Since εwas chosen arbitrarily and independent of r>0, we can first send ε→0+and then r→+∞to achieve the first part of the statement. The sharpness of (1.12) instead follows immediately from Theorem 4.6. 5 The constant Aopt qin metric measure spaces In this section we will prove some upper and lower bounds on Aopt qin the case of metric measure spaces. Some of the results contained here (more precisely, Sect. 5.3) are actually not used in other parts of the note, however we chose to include them here for completeness and to give a more clear picture around the value of Aopt q. Let us also remark that the results of this part are valid for a general lower bound K∈R. We start recalling the definition of Aopt q. In this section we assume that (X,d,m)is a metric measure space with m(X)=1. For every q∈(2,+∞)we define Aopt q(X)∈[0,+∞]as the minimal constant satisfying u2 Lq(m)≤Aopt q(X)|Du|22 L2(m)+u2 L2(m),∀u∈W1,2(X), (5.1) with the convention that A:= +∞if no such Aexists. Note that, since m(X)=1, this is the same definition given right after (1.10). In the following sections we will prove three type of bounds on Aopt q(X): an upper bound in the case of synthetic Ricci curvature and dimension bounds; a lower bound in terms of the first non-trivial eigenvalue; a lower bound related to the diameter. 123 Rigidity and almost rigidity of Sobolev… Page 37 of 65 180 5.1 Upper bound on Aopt qin terms of Ricci bounds Here we prove a generalization to the non-smooth setting of a well known estimate on Aopt q valid on manifolds (recall (1.4)). The two key ingredients for the proof are the Sobolev– Poincaré inequality and an inequality due to Bakry: Proposition 5.1 For every K ∈R,N ∈(2,∞)and D >0there exists a constant A = A(K,N,D)>0such that the following holds. Let (X,d,m)be a compact CD(K,N) space with N ∈(1,∞),K∈R,m(X)=1and diam(X)≤D. Then for every q ∈(2,2∗] we have u2 Lq(m)≤A|Du|2 L2(m)+u2 L2(m),∀u∈W1,2(X)(5.2) and in particular Aopt q(X)≤A(K,N,D). Proof The proof is based on the following inequality: for every q∈(2,∞) ˆ|u|qdm2/q≤(uX)2+(q−1)ˆ|u−uX|qdm2/q∀u∈Lq(m), (5.3) where uX=´udm.See ([23]or[24,Prop. 6.2.2] ) for a proof of this fact. Then (5.2) follows combining (5.3) with (2.16) and the Jensen inequality.  Recall that for K>0 an explicit and sharp upper bound on Aopt qexists and has been proven in [36] (see Theorem 1.8). The argument in [36] relies on the powerful localization technique. However, it is worth to point out that Theorem 1.8 can also be deduced from the Pólya–Szeg˝o inequality proved in [84] (see Theorem 2.21) and the Sobolev inequality on the model space (2.17). 5.2 Lower bound on Aopt qin terms of the first eigenvalue It is well known that a “tight-Sobolev inequality” as in (5.1) (i.e. with a constant 1 in front of uL2when X is normalized with unit volume) implies a Poincaré-inequality (see e.g. [24,Prop. 6.2.2]). This can be rephrased as a lower bound on Aopt qin terms of the first nontrivial eigenvalue: Proposition 5.2 Let (X,d,m)be a metric measure space with m(X)=1.Thenforevery q∈(2,+∞)it holds Aopt q(X)≥q−2 λ1,2(X),(5.4) (meaning that if λ1,2(X)=0,then Aopt q(X)=+∞). Wewill give a detailed proof ofthisresult,whichamounts to a linearization procedure. Indeed a refinement of the same argument will also play a key role on the rigidity and almost-rigidity results in the sequel (see Sect. 6.2). We start with an elementary linearization-Lemma. 123 180 Page 38 of 65 F. Nobili, I. Y. Violo Lemma 5.3 Let (X,d,m)be a metric measure space with m(X)=1and fix q ∈(2,∞).Let f∈L2∩Lq(m)with ´fdm=0.Then ˆ|1+f|qdm2/q−´(1+f)2dm−(q−2)´|f|2dm ≤Cq´|f|3∧q+|f|qdm+´|f|qdm2+´|f|2dm2, (5.5) where Cqis a constant depending only on q. Proof We start defining I:= ´|1+f|qdm−1 and observe that ˆ|1+f|qdm2/q−1−2 qI≤cq|I|2,(5.6) which follows from the inequality ||1+t|2/q−1−2t/q|≤cqt2,t≥0.It remains to investigate the behavior of I.Exploiting the inequality ||1+t|q−1−qt|≤˜cq(|t|2+|t|q), t≥0, and the fact that fhas zero mean we have the following simple bound |I|≤˜cqˆ|f|2+|f|qdm.(5.7) We will also need a more precise estimate of I, which will follow from the following inequality |1+t|q−1−qt −q(q−1) 2t2≤Cq(|t|3∧q+|t|q), ∀t∈R,(5.8) that can be seen using Taylor expansion when |t|≤1/2 and elementary estimates in the case |t|≥1/2. Using (5.8) we obtain that I−ˆqf +q(q−1) 2|f|2dm≤Cqˆ|f|3∧q+|f|qdm and since we are assuming that fhas zero mean, we deduce I−q(q−1) 2ˆ|f|2dm≤Cqˆ|f|3∧q+|f|qdm.(5.9) Combining (5.6), (5.7)and(5.9), noting that ´(1+f)2dm=1+´f2dm,we deduce (5.5).  Exploiting the above linearization, we can now prove the lower bound on Aopt qin terms of the first eigenvalue. Proof of Proposition 5.2 If Aopt q(X)=+∞there is nothing to prove, hence we assume that Aopt q(X)<+∞.Let f∈LIP(X)∩L2(m)with ´fdm=0andfL2(m)=1. Observe also that, since Aopt q(X)<+∞,f∈Lq(X). Therefore applying (5.5) we obtain ˆ|1+εf|qdm2/q−ˆ(1+εf)2dm−(q−2)ˆ|εf|2dm=o(ε2), which combined with (5.1)gives Aopt q(X)ε2ˆ|Df|2 2dm−(q−2)ˆ|εf|2dm≥o(ε2). 123 Rigidity and almost rigidity of Sobolev… Page 39 of 65 180 Dividing by ε2and sending ε→0 gives that λ1,2(X)≥q−2 Aopt q(X), which concludes the proof.  5.3 Lower bound on Aopt qin terms of the diameter We start recalling the following result, which was proved in [25] in the context of Markovtriple and which proof works with straightforward modifications also in the setting of metric measure spaces (see also [59] for an exposition of the argument on Riemannian manifolds). For this reason we shall omit its proof. We stress that, since this result and its consequences are used only on this section, the exposition of the rest of the note remains self-contained. Theorem 5.4 Let q ∈(2,∞)and define N(q):= 2q q−2.Let(X,d,m)be a compact metric measure with diam(X)=π,m(X)=1and suppose that uLq(m)≤q−2 N(q)|Du|2 L2+u2 L2(m),∀u∈W1,2(X). (5.10) Then there exists a non-constant function f ∈LIP(X)realizing equality in (5.10). Note that q=2N(q)/(N(q)−2),sothatinasense“q=2∗(N(q))". With Theorem 5.4 we can now prove the following lower bound on Aopt q(X). The proof uses a scaling argument due to Hebey [59,Proposition 5.11]. Proposition 5.5 Let (X,d,m)be a compact metric measure space with m(X)=1and diam(X)≤π. Then for every q ∈(2,∞)it holds Aopt q(X)≥diam(X) π2q−2 N(q),(5.11) where N(q)=2q q−2. Proof Set D:= diam(X)and, by contradiction, suppose that Aopt q(X)<(D π)2q−2 N(q).Define the scaled metric measure space (X,d,m):= (X,1 D/π d,m). It can be directly checked that Xsatisfies the hypotheses of Theorem 5.4. Hence there exists a non-constant function u∈LIP(X)satisfying (5.10) with equality (in the space X), which rewritten on the the original space X reads as uLq(m)=D π2q−2 N(q)|Du|2 L2(m)+u2 L2(m), which however contradicts the assumption Aopt 2∗(X)<(D π)2q−2 N(q). Remark 5.6 Arguing exactly as in [25], it is possible to prove that under the assumptions of Theorem 5.4 and assuming X to be also infinitesimal Hilbertian, there exists a function satisfying u=N(q)u. From this, it directly follows that equality in (5.11) (in the case of an Infinitesimally Hilbertian space) implies the existence of a function satisfying: u=π diam(X)2 N(q)u. Since this is not relevant in the present note, we will not provide the details of such result.  123 180 Page 40 of 65 F. Nobili, I. Y. Violo 6 Rigidity of Aopt q 6.1 Concentration Compactness In this section we assume that (Xn,dn,mn)is a sequence of compact RCD(K,N)spaces, for some fixed K∈R,N∈(2,∞), which converges in mGH-topology to a compact RCD(K,N)space (X∞,d∞,m∞). We will also adopt the extrinsic approach [55] identifying Xn,X∞as subset of a common compact metric space (Z,dZ), with supp(mn)=Xn, supp(m∞)=X∞,mnm∞in duality with Cb(Z)and Xn→X∞in the Hausdorff topology of Z. To lighten the discussion, we shall not recall in the following statements these facts and assume (Xn,dn,mn),n∈¯ N=N∪{∞}and (Z,d)to be fixed as just explained. Also, we will set 2∗:= 2N/(N−2)without recalling its expression in the statements. Our main goal then is to prove the following dichotomy for the behavior of extremizing sequence for the Sobolev inequalities, on varying metric measure spaces. Theorem 6.1 (Concentration-compactness for Sobolev-extremals) Suppose that mn(Xn), m∞(X∞)=1and that Xnsupports a (2∗,2)-Sobolev inequality u2 L2∗(mn)≤A|Du|2 L2(mn)+Bu2 L2(mn),∀u∈W1,2(Xn), for some constants A,B>0.Suppose that un∈W1,2(Xn)is a sequence of non-zero functions satisfying un2 L2∗(mn)≥An|Dun|2 L2(mn)+Bnun2 L2(mn), for some sequences An→A, Bn→B. Then, setting ˜un:= unun−1 L2∗(mn), there exists a non relabeled subsequence such that only one of the following holds: (I) ˜unconverges L2∗-strong to a function u∞∈W1,2(X∞); (II) ˜unL2(mn)→0and there exists x0∈X∞so that |un|2∗mnδx0in duality with Cb(Z). The principle behind the concentration compactness technique is very general and was originatedin[78,79]. In our case, since we will work in a compact setting, the lack of compactness is formally due to dilations or rescalings (and not to translations) and the fact that we deal with the critical exponent in the Sobolev embedding. The main idea behind the principle is first to prove that in general the failure of compactness can only be realized by concentration on a countable number of points. The second step is then to exploit a strict sub-additivity property of the minimization problem to show that either we have full concentration at a single point or we do not have concentration at all and thus compactness. We start by proving necessary results towards the proof of Theorem 6.1. A variant of the following appears also in [63,Prop. 3.27]. For the sake of completeness, we provide here a complete proof. Proposition 6.2 Let p,q∈(1,∞)with 1 p+1 q=1.Suppose that unconverges Lq-strong to u∞and that vnconverges L p-weak to v∞,then lim n→∞ˆunvndmn=ˆu∞v∞dm∞. 123 Rigidity and almost rigidity of Sobolev… Page 47 of 65 180 (i) there exists a non-constant function u ∈W1,2(X)satisfying u2 Lq(m)=Aopt q(X)|Du|2 L2(m)+u2 L2(m),(6.14) (ii) Aopt q(X)=q−2 λ1,2(X), (iii) q=2∗and Aopt 2∗(X)=α2(X)=Eucl(N,2)2 min θ2/N N (see the introduction and (2.2)for the definition of α2(X)and Eucl(N,2)). Proof By definition of Aopt q(X)there exists a sequence of non-constant functions un∈ LIP(X)such that QX q(un)→Aopt q(X)(recall (6.10)). By scaling we can suppose that unL2∗(m)≡1.In particular (un)is bounded in W1,2(X). We distinguish two cases. Subcritical: q<2∗.By compactness (see Proposition 2.19), up to passing to a subsequence, un→ustrongly in Lqto some function u∈W1,2(X)such that, from the lower semicontinuity of the Cheeger energy, QX q(u)=Aopt q(X). If uis non-constant (i)holds and we are done, so suppose that uis constant. Then from the renormalization we must have u≡1.Moreover, since unLq(m),unL2(m)→1andQX q(un)→Aopt q(X), we deduce that |Du|2 L2(m)→0.Consider now the functions fn:= un−1∈LIP(X), which are nonconstant and such that fn→0inW1,2(X). We are therefore in position to apply Lemma 6.7 and deduce that Aopt q(X)=lim n→∞QX q(un)=lim n (q−2)´fn−´fndm2dm ´|Dfn|2dm≤q−2 λ1,2(X). Combining this with (5.4), we get that Aopt q(X)=q−2 λ1,2(X), i.e. (ii)is true and we conclude the proof in this case. Critical: q=2∗.We apply the concentration-compactness result in Theorem 6.1 and deduce that up to a subsequence: either un→uin L2∗(m)to some u∈W1,2(X)or unL2(m)→0.In the first case we argue exactly as above using Lemma 6.7 and deduce that either (i)or (ii)holds. Hence we are left to deal with the case unL2(m)→0.From the definition of α2(X),foreveryεthere exits Bεso that a (2∗,2)-Sobolev inequality with constants α2(X)+εand Bεis valid. Hence we have QX 2∗(un)|Dun|2 L2(m)+un2 L2(m)=unL2∗(m)≤(α2(X)+ε)|Dun|2 L2(m) +Bεun2 L2(m), which gives QX 2∗(un)≤(α2(X)+ε) +Bεun2 L2(m)(|Dun|2 L2(m))−1. Observing that limn|Dun|2 L2(m)>0 (which follows from the Sobolev inequality, un2 L2(m)→0andunL2∗(m)=1) and letting n→+∞we arrive at Aopt 2∗(X)≤ (α2(X)+ε). From the arbitrariness εwe deduce that Aopt 2∗(X)≤α2(X)and the proof is concluded (indeed by definition α2(X)≥Aopt 2∗(X)is always true).  We can finally come to the proof of the principal result of this note. 123 180 Page 48 of 65 F. Nobili, I. Y. Violo Proof of Theorem 1.9 The “if” implication is direct as any N-spherical suspension, X is so that Aopt q(X)=q−2 N. This can be seen from the lower bound in Proposition 5.2 (recall also Theorem 2.11) and the upper bound given in Theorem 1.8. For the “only if’ implication, the result will follow from three different rigidity results, one for each of the alternatives in Theorem 6.8. Up to scaling the reference measures, we can suppose m(X)=1. Case 1: i)inTheorem6.8holds.Letubethenon-constantfunctionsatisfying(6.14).Observe that we can assume that uis non-negative. We aim to apply the Pólya–Szeg˝o inequality with the model space INas in Sect. 2.4.Letu∗ N:IN→[0,∞]be the monotone-rearrangement of u. From the Pólya–Szeg˝o inequality in Theorem 2.21 we have that u∗ N∈W1,2(IN,|.|,mN), uLp(m)=u∗ NLp(mN)for both p∈{q,2}and that |Du∗ N|L2(mN)≤|Du|L2(m). Combining this with (2.17)wehave u2 Lq(m)=u∗ N2 Lq(mN)≤q−2 N|Du∗ N|2 L2(mN)+u∗ N2 L2(mN) ≤q−2 N|Du|2 L2(m)+u2 L2(m)=u2 Lq(m). Therefore |Du∗ N|L2(mN)=|Du|L2(m)and, since uis non-constant, we are in position to apply the rigidity of the Pólya–Szeg˝o inequality of Theorem 2.22 and conclude the proof in this case. Case 2: ii)in Theorem 6.8 holds. We immediately deduce that λ1,2(X)=Nand the conclusion follows from the Obata’s rigidity (Theorem 2.11). Case 3: iii)in Theorem 6.8 holds. From Theorem 3.13 and the explicit expression for Eucl(N,2)(see (2.3)) we have that 2∗−2 N=Aopt 2∗(X)=α2(X)=Eucl(N,2)2 minx∈XθN(x)2/N=2∗−2 Nσ2/N Nminx∈XθN(x)2/N, therefore minx∈XθN=σ−1 N.On the other hand by the Bishop–Gromov inequality and identity (2.11) 1 σN=inf XθN(x)≥m(X) vN−1,N(diam(X)) =1 vN−1,N(diam(X)) , which, from the definition of vN−1,Nand (2.4) forces diam(X)=π. The conclusion then follows by the rigidity of the maximal diameter (Theorem 2.12).  Remark 6.9 The rigidity result for Aopt q(M)in the subcritical range q<2∗was already observed in [76] as a consequence of the following sharper estimate due to [50]: for any n-dimensional Riemannian manifolds M,n≥3, with Ric ≥n−1 it holds Aopt q(M)≤(q−2) κ(θ) ,∀q∈(2,2∗), (6.15) where κ(θ) := θn+(1−θ)λ1,2(M),λ1,2(M)being the first non trivial eigenvalue and θ= θ(q)∈[0,1]is a suitable interpolation parameter. The spectral gap inequality λ1,2(M)≥n grants that the bound (6.15) improves the one of (1.5). For every q∈(2,2∗), the condition Aopt q(M)=Aopt q(Sn)(=(q−2)/n)forces κ(θ) =nwhich in turn implies λ1,2(M)=n.By appealing to the classical Obata’s Theorem, this argument covers the rigidity of Theorem 1.3 for q<2∗. Nevertheless, this does not extend to the critical exponent: more precisely θ(q)→1asq→2∗, hence the quantity κ(θ) carries no information on the spectral gap in this case.  123 Rigidity and almost rigidity of Sobolev… Page 49 of 65 180 7 Almost rigidity of Aopt 7.1 Behavior at concentration points The following technical result will be needed for the almost-rigidity result and has the role of replacing in the varying-space case, the Sobolev inequality with constants α2(X)+ε, Bε whichweusedinthefixed-spacecaseoftherigidity(seetheproofofTheorem6.8).Indeeditis not clear how to control the constant Bεin a sequence of mGH-converging spaces. Therefore we need a more precise local analysis that fully exploits the local Sobolev inequalities in Theorem 3.8 and Proposition 3.12. Lemma 7.1 (Behavior at concentration points) Let (Xn,dn,mn,xn),n∈¯ N, be a sequence of RCD(K,N)spaces K ∈R,N ∈(1,∞), so that Xn pmGH →X∞.Fixp∈(1,N),set p∗:= pN/(N−p)and assume that un∈LIPc(Xn)is a sequence satisfying unp Lp∗(mn)≥An|Dun|p Lp(mn)−Bnunp Ls(mn),(7.1) for some constants An,Bn≥0uniformly bounded and s >0so that s ∈[p,p∗). Assume furthermore that un→0strongly in L p,unLp∗(mn)=1and that |un|p∗mnδy0for some y0∈X∞in duality with Cbs(Z)(where (Z,dZ)is a proper space realizing the convergence in the extrinsic approach). Then θN(y0)≤Eucl(N,p)N(lim nAn)−N/p,(7.2) meaning that if θN(y0)=+∞,thenlimnAn=0. Proof We subdivide the proof in two cases. Case 1: θN(y0)<+∞. Fix ε<θ N(y0)/4 arbitrary. Since θN,r(y0)→θN(y0)as r→0+there exists ¯r=¯r(ε) such that |θN,r(y0)−θN(y0)|≤ε, ∀r<¯r.(7.3) Let δ:= δ(2ε, D,N), with D=4,be the constant given by Theorem 3.8 andfixtworadii r,R∈(0,¯r)such that R<δ N/K−and r<δR.Consider now a sequence yn∈Xnsuch that yn→y0. From the convergence of the measures mnto m∞we have that θN,r(yn)→ θN,r(y0)and θN,R(yn)→θN,R(y0). In particular by (7.3) there exists ¯n=¯n(r,R,ε)such that |θN,R(yn)−θN(y0)|,|θN,r(yn)−θN(y0)|≤2ε, ∀n≥¯n.(7.4) From the initial choice of εthis also implies that θN,r(yn)/θN,R(yn)≤4foreveryn≥¯n. We are in position to apply Theorem 3.8 and get that for every n≥¯n fLp∗(mn)≤(1+2ε)Eucl(N,p) (θN(y0)−2ε) 1 N|Df|Lp(mn),∀f∈LIPc(Br(yn)). (7.5) Choose ϕ∈LIP(Z)such that ϕ=1inBZ r/8(y0), supp(ϕ) ⊂BZ r/4(y0)and 0 ≤ϕ≤1. From the assumptions, we have that ´ϕ|un|p∗dmn→1, in particular up to increasing ¯nit holds that ´ϕ|un|p∗dmn≥1−εfor all n≥¯n. Moreover, again up to increasing ¯n,wehavethat dZ(yn,y0)≤r/4foralln≥¯n, therefore 1−ε≤ˆBr/2(yn)|un|p∗dmn,∀n≥¯n.(7.6) 123 180 Page 50 of 65 F. Nobili, I. Y. Violo For every nwe choose a cut-off function ϕn∈LIP(Xn)such that ϕn=1inBr/2(yn), 0≤ϕn≤1, supp(ϕn)⊂LIPc(Br(yn)) and Lip(ϕn)≤2/r.Plugging the function unϕn∈ LIPc(Br(yn)) in (7.5) and using (7.6) we obtain (1−ε) 1 p∗≤unϕnLp∗(mn)≤(1+2ε)Eucl(N,p) (θN(y0)−2ε) 1 N|Dun|Lp(mn)+2 runLp(mn). (7.7) Moreover recalling that unLp∗(mn)=1 and the assumption (7.1), from (7.7) we reach (1−ε) 1 p∗A1/p n|Dun|Lp(mn)−Bnunp Ls(mn) ≤(1+2ε)Eucl(N,p) (θN(y0)−2ε) 1 N|Dun|Lp(mn)+2 runLp(mn). We also observe that from the assumption unLp(mn)→0 and the fact that unLp∗(mn)= 1, we have by (viii)in Proposition 2.18 that unLs(mn)→0.Finally by (7.7)andthe assumption unLp(mn)→0 it holds that limn|Dun|Lp(mn)>0.In particular for nbig enough we can divide by |Dun|Lp(mn)the above inequality and letting n→+∞we get lim nA1/p n≤(1+2ε)Eucl(N,p) (1−ε)1/p∗(θN(y0)−2ε) 1 N . From the arbitrariness of ε, the conclusion follows. Case 2: θN(y0)=∞. The argument is similar to Case 1, but we will use Proposition 3.12 instead of Theorem 3.8. Let M>0 be arbitrary. There exists r≤1suchthatθN,r(y0)≥2M. As above we choose a sequence yn→y0.Fornbig enough we have that θN,r(yn)≥M.(7.8) Applying Proposition 3.12, from (7.8) we get that for every nbig enough fp Lp∗(Br(yn)) ≤CK,N,p Mp N|Df|p Lp(Br(yn)) +Cp,Nfp Lp(Br(yn)) rp/NMp N ,∀f∈LIP(Xn). (7.9) Observing that (7.6) is still satisfied with ε=1/Mand nbig enough, we can repeat the above argument, using (7.1) and plugging ϕnunin (7.9), where ϕnis as above. This leads us to lim nA1/p n≤CK,N,p (1−1/M)1/p∗M1 N , which from the arbitrariness Mimplies the conclusion.  7.2 Continuity of Aopt under mGH-convergence In Lemma 4.1, we proved that Sobolev embeddings are stable with respect to pmGH- convergence. A much more involved task it to prove that optimal constants are also continuous: indeed, if Xn mGH →X∞, in general Lemma 4.1 ensures only that Aopt q(X∞)≤ limnAopt q(Xn). With the concentration compactness tools developed in Sect. 6.1,the 123 Rigidity and almost rigidity of Sobolev… Page 51 of 65 180 “quantitative-linearization” result in Lemma 6.7 and the technical tool developed in the previous section we can now prove the mGH-continuity of Aopt q(Xn)as stated in Theorem 1.12, that we restate here for convenience of the reader. Theorem 7.2 (Continuity of Aopt qunder mGH-convergence) Let (Xn,dn,mn)be a sequence, n∈N∪{∞}, of compact RCD(K,N)-spaces with mn(Xn)=1and for some K ∈R, N∈(2,∞)so that Xn mGH →X∞. Then, Aopt q(X∞)=limnAopt q(Xn), for every q ∈(2,2∗]. Proof By definition of Aopt q(Xn), there exists sequence of non-negative and non-constant functions un∈LIP(Xn)satisfying un2 Lq(mn)≥An|Dun|2 L2(mn)+un2 L2(mn),(7.10) having set An:= Aopt q(Xn)−1 n. By scaling invariance, it is not restrictive to suppose unLq(mn)=1foreveryn∈N. Observe that thanks to Lemma 4.1 we already have that 0<Aopt q(X∞)≤limnAopt q(Xn),hencewe only need to showthat Aopt q(X)≥limnAopt q(Xn). To this aim, we distinguish two cases. Subcritical: q<2∗. It is clear that Anis uniformly bounded from below whence the sequence unhas uniformly bounded W1,2norms. Then, by Proposition 2.19 and the - lim inequality of the Ch2energy, there exists a (not relabeled) subsequence L2-strongly converging to some u∞∈W1,2(X∞). Moreover, since unare bounded in L2∗,theyalso converge to u∞in Lq-strong and in particular u∞2 Lq(m∞)=1. Suppose first that the function u∞is not constant, then we get 1=u∞2 Lq(m∞)≥lim n→∞ An|Dun|2 L2(mn)+un2 L2(mn) (2.18)+L2-strong ≥lim n→∞ Aopt q(Xn)|Du∞|2 L2(m∞)+u∞2 L2(m∞). Since u∞is not constant this in turn yields limnAopt q(Xn)≤Aopt q(X∞)which is what we wanted. Suppose now that u∞is constant. Then, necessarily u∞=1. Define now fn:= 1−unand observe that fnW1,2(Xn)→0, which follows from (7.10) and the fact that unL2(mn)→1. Moreover from (2.20)wehavethatλ1,2(Xn)are uniformly bounded below away from zero. Therefore we can apply Lemma 6.7 to deduce (recall (6.10)forthedef.ofQX q) lim n→∞ Aopt q(Xn)=lim n→∞QXn q(un) =lim n→∞ (q−2)´fn−´fndmn 2dmn ´|Dfn|2dmn ≤lim n→∞ (q−2) λ1,2(Xn)=(q−2) λ1,2(X∞),(7.11) having used, in the last inequality, the continuity of the 2-spectral gap (2.20). This combined with (5.4) gives that limnAopt q(Xn)≤Aopt q(X∞). Critical exponent: q=2∗. Observe that we are now in position to invoke Theorem 6.1 and, up to a further not relabeled subsequence, we just need to handle one of the two different situations I),II) occurring in Theorem 6.1. If the case I) occurs, we argue exactly as in the Subcritical: q<2∗case, to conclude that limnAopt q(Xn)≤Aopt q(X∞). Hence we are left with situation II), where the sequence undevelops a concentration point y0∈X∞. Recalling 123 180 Page 52 of 65 F. Nobili, I. Y. Violo Lemma 7.1, either θN(y0)=∞and limnAopt 2∗(Xn)=0orθN(y0)<∞. The first situation cannot happen, since Aopt 2∗(X∞)>0. In the second one rearranging in (7.2)wehave lim n→∞ Aopt 2∗(Xn)(7.2) ≤Eucl(N,2)2 θN(y0)2/N (1.7) ≤α2(X∞)≤Aopt 2∗(X∞).  7.3 Proof of the almost-rigidity Combining the rigidity result for Aopt qwith the continuity result proved in the previous part we can now prove the almost-rigidity result for Aopt q. Proof of Theorem 1.10 We argue by contradiction, and suppose that there exists ε>0, q∈ (2,2∗]and a sequence (Xn,dn,mn)of RCD(N−1,N)-spaces with mn(Xn)=1sothat dmGH((Xn,dn,mn), (Y,dY,mY)) > ε, (7.12) for every spherical suspension (Y,dY,mY)and limnAopt q(Xn)=q−2 N.Theorem 2.16 (recall that mn(Xn)=1) ensures that up to passing to a non-relabeled subsequence we have Xn mGH → X∞,for some RCD(N−1,N)-space (X∞,d∞,m∞)with m∞(X∞)=1. Hence (7.12) implies dmGH((X∞,d∞,m∞), (Y,dY,mY)) ≥ε, (7.13) for every spherical suspension (Y,dY,mY). Finally, by Theorem 1.12 we deduce Aopt q(X∞)=lim nAopt q(Xn)=q−2 N. Therefore, by invoking the rigidity Theorem 1.9,wegetthat(X∞,d∞,m∞)is isomorphic to a spherical suspension. This contradicts (7.13) and concludes the proof.  Remark 7.3 The results of Theorem 1.10 (and therefore of Theorem 1.9) extend directly to the class of RCD(K,N)spaces for some K>0andN≥2 with normalized volume. Consider an RCD(K,N)space (X,d,m)and define (X,d,m):= (X,K N−1d,m)which is RCD(N−1,N). Then, since Aopt q(X)=K N−1Aopt q(X), it is straightforward to set δ= δ(K,N,ε,q):= N−1 Kδ(N,ε,q)and extend the aforementioned results also for arbitrary K>0.  8 Application: The Yamabe equation on RCD(K,N)spaces In this section we apply Theorem 1.4 and the concentration compactness results of Sect. 6.1 to study the Yamabe equation to the RCD(K,N)setting. In particular, we prove an existence result for the Yamabe equation and continuity of the generalized Yamabe constants under mGH-convergence, extending and improving some of the results proved in [64] in the case of Ricci limits. For results concerning the Yamabe problem and the Yamabe constant in non-smooth spaces see also [1–3,83,83]. We recall that the Yamabe problem [99] asks if a compact Riemannian manifold admits a conformal metric with constant scalar curvature. This has been completely solved and shown 123 Rigidity and almost rigidity of Sobolev… Page 53 of 65 180 to be true after the works of Trudinger, Aubin and Schoen [19,89,95]. We also refer to [77] for an introduction to this problem and for a complete and self-contained proof of this result. The Yamabe problem turns out to be linked to the so-called Yamabe equation: −u+Su=λu2∗−1,λ∈R,S∈L∞(M), (8.1) where 2∗=2n n−2. Indeed solving the Yamabe problem is equivalent to find a non-negative and non-zero solution to (8.1)forsomeλ∈Rand with S =Scal, the scalar curvature of M. In this direction, it is relevant to see that the Yamabe equation is the Euler–Lagrange equation of the following functional: Q(u):= ´|Du|2+S|u|2dVol u2 L2∗ ,u∈W1,2(M)\{0}, where Vol is the volume measure of M. One then defines the Yamabe constant as the infimum of the above functional: λS(M):= inf u∈W1,2(M)\{0} Q(u). A crucial step in the solution of the Yamabe problem is: Theorem 8.1 ([19,95,99]) Let M be a compact n-dimensional Riemannian manifold satisfying λS(M)<Eucl(n,2)−2. Then there is a non-zero solution to (8.1)with λ=λS(M). Recallthat Eucl(n,2)denotes the optimal constant in the sharp Euclidean Sobolev inequality (1.1). It has also been proven by Aubin [20](seealso[77]) that λS(M)≤Eucl(n,2)−2(8.2) always holds. The relevant point for our discussion is that Theorem 8.1 turns out to be linked to the notion of optimal Sobolev constant α2(M), in particular it is actually a corollary of the fact that α2(M)=Eucl(n,2)2(recall (1.2)). Since we generalized this last result to setting of compact RCD(K,N)-spaces (see Theorem 1.4), it is natural to ask if an analogue of Theorem 8.1 holds also in this singular framework. We will positively address this in this part of the note. Capacity and quasi continuous functions In the next section we will use the notions of capacity and quasi continuous functions. We briefly recall here the needed definitions and properties. Given a metric measure space (X,d,m),thecapacity of a set E⊂Xisdefinedas Cap(E):= inf{f2 W1,2(X):f∈W1,2(X), f≥1m-a.e. in a neighborhood of E}. (8.3) It turns out (see, e.g., [43,Proposition 1.7]) that Cap is a submodular outer measure on X and satisfies m(E)≤Cap(E)for every Borel set E⊂X. A function f:X→Ris said to be quasi-continuous if for every ε>0 there exists a set E⊂X such that Cap(E)<εand f|X\Eis continuous. We denote by QC(X)the set of all equivalence classes-up to Cap-a.e. equality-of quasi-continuous functions. 123 180 Page 54 of 65 F. Nobili, I. Y. Violo In [43] it has been proven that, in situations where continuous functions are dense in W1,2(X), there exists a unique map QCR :W1,2(X)→L0(Cap) that is linear and such that QCR(f)is (the Cap-a.e. equivalence class of) a function which is quasi continuous and coincides m-a.e. with f. Recall that when X is reflexive, then Lipschitz functions are dense in W1,2(X)(see, e.g., [5,Proposition 7.6]), hence the map QCR is available. We conclude with the following convergence result contained in [43]: fn→fstrongly in W1,2(X)"⇒ up to subsequence QCR(fn)→QCR(f)Cap-a.e.. (8.4) 8.1 Existence of solutions to the Yamabe equation on compact RCD spaces We start by clarifying in which sense (8.1) is intended and, to this aim, we fix (X,d,m)a compact RCD(K,N)space for some K∈R,N∈(2,∞)with m(X)=1. We will also denote by 2∗the Sobolev-exponent defined as 2∗:= 2N/(N−2). We fix a radon measure S in X so that, for some p>N/2, it satisfies S≥gm,g∈Lp(m)and S Cap,(8.5) where Cap denotes the capacity of X as defined above. We also denote by |S|the total variation of S which for instance can be characterized by the formula S =S++S−,being S±the Hahn’s decomposition of a general signed σ-additive measure. The reason for this more general choice of S is the fact that on RCD(K,N)spaces a “scalar curvature” that is bounded is not natural (recall that to solve the Yamabe problem one would like to take S=Scal). Indeed, requiring only a synthetic lower bound on the Ricci curvature, it is more desirable to impose only lower bounds on S. Recall that every function u∈W1,2(X)has a well defined and unique quasi continuous representative QCR(u)defined Cap-a.e.. In particular, thanks to (8.5), the object QCR(u) is also defined S or |S|-a.e.. To avoid heavy notation, for any u∈W1,2(X), we shall denote in the sequel by uits quasi-continuous representative without further notice. The goal is then to discuss positive solutions u∈D()∩L2(|S|)of −u=λu2∗−1m−uS,λ∈R.(8.6) Observe that if u∈D()⊂W1,2(X), by the Sobolev embedding we have that u∈L2∗(m) and thus, the right hand side of (8.6) is a well defined Radon measure on X.A solution for this equation will be deduced with a variational approach as described above. More precisely we define the functional QS:W1,2(X)\{0}→Rdefined as u→ QS(u):= ´|Du|2dm+´|u|2dS u2 L2∗(m) . Observe that since S ≥gm, with g∈Lp(m),p>N/2, the integral ´|u|2dS exists, i.e. its value is well defined. We then define λS(X):= inf{QS(u):u∈W1,2(X)\{0}} =inf{QS(u):u∈W1,2(X), uL2∗(m)=1},(8.7) 123 Rigidity and almost rigidity of Sobolev… Page 55 of 65 180 and claim that λS(X)∈(−∞,+∞). (8.8) Indeed, λS(X)<+∞ as can be seen considering constant functions. On the other hand for every u∈W1,2(X)with uL2∗(m)=1, Hölder inequality yields QS(u)≥−gLp(m)uL2∗(m)=−gLp(m). The ultimate goal of this section is to prove the following: Theorem 8.2 Let (X,d,m)be a compact RCD(K,N)space for some K ∈R,N∈(2,∞) with m(X)=1and let Sas in (8.5).If λS(X)< minXθ2/N N Eucl(N,2)2,(8.9) then there exists a non-negative and non-zero u ∈D()∩L2(|S|)which is a minimum for (8.7)and satisfies (8.6). Westartbyshowingthat(8.6) is the Euler–Lagrange equation for the minimization problem (8.7). Proposition 8.3 Let (X,d,m)be a compact RCD(K,N)-space for some K ∈R,N∈ (2,∞)with m(X)=1and let Sbe as in (8.5). Suppose u ∈W1,2(X)∩L2(|S|)is a minimizer for (8.7)satisfying uL2∗(m)=1.Then ˆ∇u,∇vdm=−ˆuvdS +λS(X)ˆu2∗−1vdm,∀v∈LIP(X). (8.10) Proof We consider for every ε∈(−1,1)and v∈LIP(X), the function uε:= u+ εv−1 L2∗(m)(u+εv), whenever u+εvL2∗(m)is not zero. It can be seen that for a fixed vthen uεis well defined at least for εclose to zero. Indeed, the fact that ´|u|2∗,dm=1 grants that u+εvL2∗(m)→1asε→0 (see below) and in particular u+εvL2∗(m)does not vanish for |ε|small enough. By minimality we have (recall also (2.7)) 0≤lim ε↓0 QS(uε)−QS(u) ε=lim ε↓0 1 ε1 I2 ε−1λS(X)+2 I2 εˆ∇u,∇vdm+ˆuvdS, where Iε:= u+εvL2∗(m). Furthermore, from the elementary estimate ||a+εb|q−|a|q|≤ q|εb||a+εb|q−1+|a|q−1,with q=2∗,and the fact that u,v ∈L2∗(m),wehavethat ´|u+εv|qm→1asε→0.Thanks to the same estimates, the dominated convergence theorem grants that lim ε↓0 1−I2 ε ε=2 2∗lim ε↓0ˆ|u|2∗−|u+εv|2∗ εdm=−2ˆu2∗−1vdm. Arguing analogously considering ε↑0gives(8.10).  We can now prove Theorem 8.2 which, thanks to the previous proposition, amounts to the existence of a minimizer for (8.7). We will do so using the concentration-compactness tools developed in Sect. 6.1, here employed with a fixed space X. 123 180 Page 56 of 65 F. Nobili, I. Y. Violo Proof (Proof of Theorem 8.2)Letun∈W1,2(X)be such that QS(un)→λS(X)and unL2∗(m)=1. We claim that unare uniformly bounded in W1,2(X). Indeed, this can be seen from the estimate ˆ|Dun|2+|un|2dm≤ˆ|Dun|2dm+ˆ|un|2dS +(1+gLp(m))unL2∗(m)=1+QS(un)+gLp(m), obtained combining the Hölder inequality with (8.5). Hence, by compactness (see Proposition 2.19), up to a not relabeled subsequence, we have un→uin L2(m)for some u∈W1,2(X). Observe that, since u∈W1,2(X),uadmits a quasi-continuous representative (still denoted by u) and thus thanks to (8.5) it makes sense to integrate u2against |S|. We claim that u∈L2(|S|)and ˆu2dS ≤lim nˆu2 ndS.(8.11) Observe first that, by (8.5), we have S−≤|g|m. In particular by the Hölder inequality, denoted by pthe conjugate exponent to p,´u2dS−≤gLp(m)u2 L2p<+∞,since u∈L2∗(m)by the Sobolev embedding, hence u∈L2(S−). Moreover, again by the Hölder inequality, since un→uin L2(m), we get that and un→ualso in L2(S−). To prove (8.11) it remains to prove that ´u2dS+≤limn´u2 ndS+.Observe first that up to passing to a further non-relabeled subsequence we can assume that the right hand side is actually a limit. From Mazur’s lemma there exists a sequence (Nn)⊂Nand numbers (αn,i)Nn i=n⊂[0,1] such that Nn i=nαni=1foreveryn∈Nand vn:= Nn i=nαniuiconverges to ustrongly in W1,2(X). In particular from (8.4) up to a subsequence vn→ualso Cap-a.e. and thus, since S+Cap (recall (8.5)), also S+-a.e.. Therefore, from Fatou’s Lemma and the convexity of the L2-norm we have uL2(S+)≤lim nvnL2(S+)≤ Nn  i=n αniuiL2(S)≤lim nunL2(S+), since we are assuming that the last limit exists. This proves the claim. We now distinguish two cases: Case 1. λS(X)<0. By lower semicontinuity of the Cheeger-energy and (8.11)wehave 0>λ S(X)=lim nQS(un)≥ˆ|Du|2dm+ˆu2dS. In particular uis not identically zero and by the lower semicontinuity of the L2∗(m)-norm we have 0 <uL2∗(m)≤1. Moreover, from the above we have that ´|Du|2dm+´u2dS is negative, hence λS(X)≥u−2 L2∗(m)ˆ|Du|2dm+ˆu2dS=QS(u−1 L2∗(m)u). Therefore u−1 L2∗(m)uis a minimizer for QS(u). Case 2. λS(X)≥0. Recall that the sequence (un)is uniformly bounded both in L2∗(m) and in W1,2(X). Therefore since X is compact, again up to a subsequence, |Dun|2mμ and |un|2∗ν for some μ∈M+ b(X)and ν∈P(X)in duality with C(X). By assumption there exists ε>0 such that λS(X)< minXθ2/N N Eucl(N,2)2+ε=: λ. We fix one of such ε>0 and define 123 Rigidity and almost rigidity of Sobolev… Page 63 of 65 180 34. Burago, D., Burago, Y., Ivanov, S.: A course in metric geometry. Graduate Studies in Mathematics, vol. 33. American Mathematical Society, Providence, RI (2001) 35. Cavalletti, F., Milman, E.: The globalization theorem for the curvature-dimension condition. Invent. Math. 226, 1–137 (2021) 36. Cavalletti, F., Mondino, A.: Sharp geometric and functional inequalities in metric measure spaces with lower Ricci curvature bounds. Geom. Topol. 21, 603–645 (2017) 37. Cavalletti, F., Mondino, A.: Almost Euclidean isoperimetric inequalities in spaces satisfying local Ricci curvature lower bounds. Int. Math. Res. Not. IMRN 2020, 1481–1510 (2020) 38. Cavalletti, F., Mondino, A., Semola, D.: Quantitative Obata’s Theorem. Anal. PDE to appear, arXiv:1910.06637, (2019) 39. Cheeger, J.: Differentiability of Lipschitz functions on metric measure spaces. Geom. Funct. Anal. 9, 428–517 (1999) 40. Cheeger, J., Colding, T.H.: On the structure of spaces with Ricci curvature bounded below. I. J. Differential Geom. 46, 406–480 (1997) 41. Cordero-Erausquin, D., Nazaret, B., Villani, C.: A mass-transportation approach to sharp Sobolev and Gagliardo-Nirenberg inequalities. Adv. Math. 182, 307–332 (2004) 42. De Philippis, G., Gigli, N.: From volume cone to metric cone in the nonsmooth setting. Geom. Funct. Anal. 26, 1526–1587 (2016) 43. Debin, C., Gigli, N., Pasqualetto, E.: Quasi-continuous vector fields on RCD spaces. Potential Anal. 54, 183–211 (2021) 44. Di Marino, S., Speight, G.: The p-weak gradient depends on p. Proc. Amer. Math. Soc. 143, 5239–5252 (2015) 45. Carmo, MPa. do, Xia, C.: Complete manifolds with non-negative Ricci curvature and the Caffarelli-Kohn- Nirenberg inequalities. Compos. Math. 140, 818–826 (2004) 46. Druet, O., Hebey, E.: The AB program in geometric analysis: sharp Sobolev inequalities and related problems. Mem. Amer. Math. Soc. 160, viii+98 (2002) 47. Erbar, M., Kuwada, K., Sturm, K.-T.: On the equivalence of the entropic curvature-dimension condition and Bochner’s inequality on metric measure spaces. Invent. Math. 201, 993–1071 (2015) 48. Eriksson-Bique, S., Soultanis, E.: Curvewise characterizations of minimal upper gradients and the construction of a Sobolev differential. arXiv:2102.08097 (2021) 49. Fogagnolo, M., Mazzieri, L.: Minimising hulls, p-capacity and isoperimetric inequality on complete Riemannian manifolds. arXiv:2012.09490, (2020) 50. Fontenas, E.: Sur les constantes de Sobolev des variétés riemanniennes compactes et les fonctions extrémales des sphères. Bull. Sci. Math. 121, 71–96 (1997) 51. Gigli, N.: On the differential structure of metric measure spaces and applications. Mem. Amer. Math. Soc. 236, vi+91 (2015) 52. Gigli, N.: Nonsmooth differential geometry–an approach tailored for spaces with Ricci curvature bounded from below. Mem. Amer. Math. Soc. 251, v+161 (2018) 53. Gigli, N., De Philippis, G.: Non-collapsed spaces with Ricci curvature bounded from below. J. Éc. polytech. Math. 5, 613–650 (2018) 54. Gigli, N., Han, B.-X.: Independence on pof weak upper gradients on RCD spaces. J. Funct. Anal. 271, 1–11 (2016) 55. Gigli, N., Mondino, A., Savaré, G.: Convergence of pointed non-compact metric measure spaces and stability of Ricci curvature bounds and heat flows. Proc. Lond. Math. Soc. (3) 111, 1071–1129 (2015) 56. Gigli, N., Pasqualetto, E.: Lectures on Nonsmooth Differential Geometry. Springer, SISSA Springer Series (2020) 57. Gromov, M.: Metric structures for Riemannian and non-Riemannian spaces, Modern Birkhäuser Classics, Birkhäuser Boston Inc., Boston, MA, english ed., (2007). Based on the 1981 French original, With appendices by M. Katz, P. Pansu and S. Semmes, Translated from the French by Sean Michael Bates 58. Hajłasz, P., Koskela, P.: Sobolev met Poincaré. Mem. Amer. Math. Soc. 145, x+101 (2000) 59. Hebey, E.: Nonlinear analysis on manifolds: Sobolev spaces and inequalities. Courant Lecture Notes in Mathematics, New York University, Courant Institute of Mathematical Sciences, vol. 5. New York; American Mathematical Society, Providence, RI (1999) 60. Hebey, E., Vaugon, M.: Meilleures constantes dans le théorème d’inclusion de Sobolev. Ann. Inst. H. Poincaré Anal. Non Linéaire 13, 57–93 (1996) 61. Heinonen, J., Koskela, P., Shanmugalingam, N., Tyson, J.T.: Sobolev spaces on metric measure spaces, vol. 27 of New Mathematical Monographs, Cambridge University Press, Cambridge, (2015). An approach based on upper gradients 62. Honda, S.: New differential operator and non-collapsed RC D spaces. arXiv: 1905.00123, (2019) 63. Honda, S.: Ricci curvature and Lp-convergence. J. Reine Angew. Math. 705, 85–154 (2015) 123 180 Page 64 of 65 F. Nobili, I. Y. Violo 64. Honda, S.: Elliptic PDEs on compact Ricci limit spaces and applications. Mem. Amer. Math. Soc. 253, v+92 (2018) 65. Honda, S.: Collapsed Ricci Limit Spaces as Non-Collapsed RCD Spaces, Symmetry. Methods and Applications, Integrability and Geometry (2020) 66. Ilias, S.: Constantes explicites pour les inégalités de Sobolev sur les variétés riemanniennes compactes. Ann. Inst. Fourier (Grenoble) 33, 151–165 (1983) 67. Jiang, Y., Zhang, H.-C.: Sharp spectral gaps on metric measure spaces. Calc. Var. Partial Differential Equations 55, Art. 14, 14 (2016) 68. Kapovitch, V., Mondino, A.: On the topology and the boundary of N-dimensional RCD(K,N)spaces. Geom. Topol. 25, 445–495 (2021) 69. Kesavan, S.: Symmetrization & applications, vol. 3of Series in Analysis, World Scientific Publishing Co. Pte. Ltd., Hackensack, NJ, (2006) 70. Ketterer, C.: Cones over metric measure spaces and the maximal diameter theorem. J. Math. Pures Appl. (9) 103, 1228–1275 (2015) 71. Ketterer, C.: Obata’s rigidity theorem for metric measure spaces. Anal. Geom. Metr. Spaces 3, 278–295 (2015) 72. Kitabeppu, Y.: A Bishop-type inequality on metric measure spaces with Ricci curvature bounded below. Proc.Amer.Math.Soc.145, 3137–3151 (2017) 73. Kristály, A.: Metric measure spaces supporting Gagliardo-Nirenberg inequalities: volume non-collapsing and rigidities. Calc. Var. Partial Differential Equations 55, Art. 112, 27 (2016) 74. Kristály,A.,Ohta,S.-I.:Caffarelli-Kohn-Nirenberginequalityonmetricmeasurespaceswith applications. Math. Ann. 357, 711–726 (2013) 75. Ledoux, M.: On manifolds with non-negative Ricci curvature and Sobolev inequalities. Comm. Anal. Geom. 7, 347–353 (1999) 76. Ledoux, M.: The geometry Markov diffusion generators 9, 305–366 (2000). (Probability theory) 77. Lee, J.M., Parker, T.H.: The Yamabe problem. Bull. Amer. Math. Soc. (N.S.) 17, 37–91 (1987) 78. Lions, P.-L.: The concentration-compactness principle in the calculus of variations. The locally compact case. I. Ann. Inst. H. Poincaré Anal. Non Linéaire 1, 109–145 (1984) 79. Lions, P.-L.: The concentration-compactness principle in the calculus of variations. The limit case. I. Rev. Mat. Iberoamericana 1, 145–201 (1985) 80. Lott, J., Villani, C.: Ricci curvature for metric-measure spaces via optimal transport, Ann. of Math. 169, 903–991 (2009) 81. Milman, E.: Sharp isoperimetric inequalities and model spaces for the curvature-dimension-diameter condition. J. Eur. Math. Soc. (JEMS) 17, 1041–1078 (2015) 82. Miranda, M., Jr.: Functions of bounded variation on good metric spaces. J. Math. Pures Appl. (9) 82, 975–1004 (2003) 83. Mondello, I.: The local Yamabe constant of Einstein stratified spaces. Ann. Inst. H. Poincaré Anal. Non Linéaire 34, 249–275 (2017) 84. Mondino, A., Semola, D.: Polya-Szego inequality and Dirichlet p-spectral gap for non-smooth spaces with Ricci curvature bounded below. J. Math. Pures Appl. (9) 137, 238–274 (2020) 85. Pólya, G., Szegö, G.: Isoperimetric Inequalities in Mathematical Physics. (AM-27). Princeton University Press, Princeton, NJ (1951) 86. Profeta, A.: The sharp Sobolev inequality on metric measure spaces with lower Ricci curvature bounds. Potential Anal. 43, 513–529 (2015) 87. Rajala, T.: Local Poincaré inequalities from stable curvature conditions on metric spaces. Calc. Var. Partial Differential Equations 44, 477–494 (2012) 88. Rajala, T., Sturm, K.-T.: Non-branching geodesics and optimal maps in strong CD(K,∞)-spaces. Calc. Var. Partial Differential Equations 50, 831–846 (2014) 89. Schoen, R.: Conformal deformation of a Riemannian metric to constant scalar curvature. J. Differential Geom. 20, 479–495 (1984) 90. Shanmugalingam, N.: Newtonian spaces: an extension of Sobolev spaces to metric measure spaces. Rev. Mat. Iberoamericana 16, 243–279 (2000) 91. Struwe, M.: Variational methods, vol. 34 of Ergebnisse der Mathematik und ihrer Grenzgebiete. 3. Folge. A Series of Modern Surveys in Mathematics [Results in Mathematics and Related Areas. 3rd Series. A Series of Modern Surveys in Mathematics], Springer-Verlag, Berlin, fourth ed., (2008). Applications to nonlinear partial differential equations and Hamiltonian systems 92. Sturm, K.-T.: On the geometry of metric measure spaces. I. Acta Math. 196, 65–131 (2006) 93. Sturm, K.-T.: On the geometry of metric measure spaces. II. Acta Math. 196, 133–177 (2006) 94. Talenti, G.: Best constant in Sobolev inequality. Ann. Mat. Pura Appl. (4) 110, 353–372 (1976) 123 Rigidity and almost rigidity of Sobolev… Page 65 of 65 180 95. Trudinger, N.S.: Remarks concerning the conformal deformation of Riemannian structures on compact manifolds. Ann. Scuola Norm. Sup. Pisa Cl. Sci. (3) 22, 265–274 (1968) 96. Villani, C.: Optimal transport. Old and new, vol. 338 of Grundlehren der Mathematischen Wissenschaften. Springer-Verlag, Berlin (2009) 97. Xia, C.: Complete manifolds with nonnegative Ricci curvature and almost best Sobolev constant. Illinois J. Math. 45, 1253–1259 (2001) 98. Xia, C.: The Gagliardo-Nirenberg inequalities and manifolds of non-negative Ricci curvature. J. Funct. Anal. 224, 230–241 (2005) 99. Yamabe, H.: On a deformation of Riemannian structures on compact manifolds. Osaka Math. J. 12, 21–37 (1960) Publisher’s Note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. 123