1 Introduction

Sharp estimates on spectral gap for p-Laplacian, or equivalently, the optimal constant in p-Poincaré inequalities is a classical problem in comparison geometry. It addresses the following basic problem. Given a family \({\mathcal {F}}:=\{(X_\alpha , \mathrm{d}_\alpha , {\mathfrak {m}}_\alpha ): \alpha \in {\mathcal {A}}\}\) of metric measure spaces, the corresponding optimal constant \(\lambda _{{\mathcal {F}}}\) in p-Poincaré inequalities is defined by

$$\begin{aligned} \lambda _{{\mathcal {F}}} := \mathop {\inf }_{\alpha \in {\mathcal {A}}} \inf \left\{ \frac{\int _{X_\alpha } |{\nabla }_{ \mathrm{d}_\alpha } f|^p \,\mathrm{d}{\mathfrak {m}}_\alpha }{\int _{X_\alpha } |f|^p \,\mathrm{d}{\mathfrak {m}}_\alpha }: f \in \mathop {\mathrm{Lip}}\nolimits \cap L^p, \int _{X_\alpha } f|f|^{p-2} \,\mathrm{d}{\mathfrak {m}}_\alpha =0, f\ne 0 \right\} ,\nonumber \\ \end{aligned}$$
(1.1)

where the local Lipschitz constant \( |{\nabla }_{ \mathrm{d}_\alpha } f|: X_\alpha \mapsto \mathbb {R}\) is defined by

$$\begin{aligned} |{\nabla }_{ \mathrm{d}_\alpha } f|(x):=\mathop {\overline{\lim }}_{{y} \rightarrow {x}} \frac{|f(y)-f(x)|}{\mathrm{d}_{\alpha }(y, x)}. \end{aligned}$$

One of the most studied families of metric measure spaces is Riemannian manifolds with lower Ricci curvature bound \(K\in \mathbb {R}\), upper dimension bound \(N>0\) and diameter bound \(D>0\). In this case, \(\lambda _{{\mathcal {F}}}\) is the minimum of all first positive eigenvalues of the p-Laplacian (assuming Neumann boundary conditions if the boundary is not empty). Based on a refined gradient comparison technique and a careful analysis of the underlying model spaces, sharp estimate on the first eigenvalue of the p-Laplacian was finally obtained by Valtorta and Naber [22, 26].

Another important family is weighted Riemannian manifolds (called smooth metric measure spaces) satisfying \(\mathrm{BE}(K, N)\) curvature-dimension condition à la Bakry–Émery [5, 6]. More generally, thanks to the deveploment of optimal transport theory, it was realized that Bakry–Émery’s condition in smooth setting can be equivalently characterized by convexity of an entropy functional along \(L^2\)-Wasserstein geodesics (c.f. [14] and [27]). In this direction, metric measure spaces satisfying \(\mathrm{CD}(K, N)\) condition was introduced by Lott–Villani [20] and Sturm [24, 25]. This class of metric measure spaces with synthetic lower Ricci curvature bound and upper dimension bound includes the previous smooth examples, and is closed in the measured Gromov–Hausdorff topology. Recently, using measure decomposition technique on Riemannian manifolds developed by Klartag [19] (and by Cavalletti–Mondino [10] on metric measure spaces), sharp p-Poincaré inequalities under the \(\mathrm{BE}(K, N)\) condition and the \(\mathrm{CD}(K, N)\) condition have been obtained by E. Calderon in his Ph.D thesis [9].

In addition, Measure Contraction Property \(\mathrm{MCP}(K, N)\) was introduced independently by Ohta [23] and Sturm [25] as a weaker variant of \(\mathrm{CD}(K, N)\) condition. The family \(\mathrm{MCP}(K, N)\) is strictly larger than \(\mathrm{CD}(K, N)\). It was discovered by Juillet [18] that the n-th Heisenberg group equipped with the left-invariant measure, which is the simplest sub-Riemannian space, does not satisfy any \(\mathrm{CD}(K, N)\) condition but do satisfy \(\mathrm{MCP}(0,N)\) for \(N\ge 2n+3\). More recently, interpolation inequalities à la Cordero–Erausquin–McCann–Schmuckenshläger [14] were obtained, under suitable modifications, by Barilari and Rizzi [8] in the ideal sub-Riemannian setting, Badreddine and Rifford [4] for Lipschitz Carnot group, and by Balogh, Kristály and Sipos [7] for the Heisenberg group. As a consequence, more and more examples of spaces verifying MCP but not CD have been found, e.g. the generalized H-type groups and the Grushin plane (for more details, see [8]).

In [17], the author and Milman proved a sharp Poincaré inequality for subsets of (essentially non-branching) \(\mathrm{MCP}(K, N)\) metric measure spaces, whose diameter is bounded from above by D. The current paper is a subsequent work of [17]. We will study the general p-poincaré inequality within the class of spaces verifying measure contraction property. Thanks to measure decomposition theorem (c.f. Theorem 3.5 [12]), it suffices to study the corresponding eigenvalue problems on one-dimensional model spaces introduced by Milman [21]. In particular, we identify a family of one-dimensional \(\mathrm{MCP}(K, N)\)-densities with diameter D, not verifying \(\mathrm{CD}(K, N)\), achieving the optimal constant \(\lambda ^p_{K, N, D}\).

As a basic problem in metric geometry, the rigidity theorem helps us to understand more about the spaces under study. For the family of metric measure spaces satisfying \(\mathrm{RCD}(K, N)\) condition with \(K>0\), a space that reaches the equality in (1.1) must have maximal diameter \(\pi \sqrt{\frac{N-1}{K}}\). By maximal diameter theorem this space is isomorphic to a spherical suspension (see [11] and references therein for details). For \(\mathrm{MCP}(K, N)\) spaces, the situation is very different. For \(K > 0\), due to lack of monotonicity, we do not know whether a space that reaches the minimal spectrum has maximal diameter. For \(K \le 0\), by monotonicity (Proposition 3.6) and one-dimensional rigidity (Theorem 3.13) we can prove the rigidity Theorem 4.2.

2 Prerequisites

Let \((X, \mathrm{d})\) be a complete metric space and \({\mathfrak {m}}\) be a locally finite Borel measure with full support. Denote by \(\mathrm{Geo}(X,\mathrm{d})\) the space of geodesics. We say that a set \(\Gamma \subset \mathrm{Geo}(X,\mathrm{d})\) is non-branching if for any \(\gamma ^1, \gamma ^2 \in \Gamma \), it holds:

$$\begin{aligned} \exists t \in (0,1) ~~\text {s.t.}~ ~ \gamma _s^1 =\gamma _s^2,~\forall s\in [0, t] \Rightarrow \gamma _s^1 =\gamma _s^2, ~ \forall s\in [0,1]. \end{aligned}$$

Let \((\mu _t) \) be a \(L^2\)-Wasserstein geodesic. Denote by \(\mathrm{Opt}\mathrm{Geo}(\mu _0, \mu _1)\) the space of all probability measures \(\Pi \in \mathcal {P}(\mathrm{Geo}(X,\mathrm{d}))\) such that \((e_t)_\sharp \Pi =\mu _t\) (c.f. Theorem 2.10 [1]) where \(e_t\) denotes the evaluation map \(e_t(\gamma ):=\gamma _t\). We say that \((X,\mathrm{d},{\mathfrak {m}})\) is essentially non-branching if for any \(\mu _0, \mu _1 \ll {\mathfrak {m}}\), any \(\Pi \in \mathrm{Opt}\mathrm{Geo}(\mu _0, \mu _1)\) is concentrated on a set of non-branching geodesics.

It is clear that if \((X, \mathrm{d})\) is a smooth Riemannian manifold then any subset \(\Gamma \subset \mathrm{Geo}(X,\mathrm{d})\) is a set of non-branching geodesics, in particular any smooth Riemannian manifold is essentially non-branching. In addition, many sub-Riemannian spaces are also essentially non-branching, which follows from the existence and uniqueness of the optimal transport map on some ideal sub-Riemannian manifolds (c.f. [15]).

Given \(K, N\in \mathbb {R}\), with \(N > 1\), we set for \((t, \theta ) \in [0, 1] \times \mathbb {R}^+\),

$$\begin{aligned} \sigma ^{(t)}_{K, N} \big (\theta ):=\left\{ \begin{array}{llll} \infty , &{}\quad \text {if}~~ K\theta ^2 \ge (N-1)\pi ^2,\\ \frac{\sin (t\theta \sqrt{K/(N-1)})}{\sin (\theta \sqrt{K/(N-1)})}, &{}\quad \text {if}~~ 0<K\theta ^2<(N-1)\pi ^2,\\ t, &{}\quad \text {if}~~K\theta ^2=0,\\ \frac{\sinh (t\theta \sqrt{-K/(N-1)})}{\sinh (\theta \sqrt{-K/(N-1)})}, &{}\quad \text {if} ~~ K\theta ^2<0. \end{array} \right. \end{aligned}$$

and

$$\begin{aligned} \tau ^{(t)}_{K, N} :=t^{\frac{1}{N}} \Big ( \sigma ^{(t)}_{K, N-1} \Big )^{1-\frac{1}{N}}. \end{aligned}$$

Definition 2.1

(Measure Contraction Property\(\mathrm{MCP}(K, N)\)) We say that an essentially non-branching metric measure space \((X,\mathrm{d},{\mathfrak {m}})\) satisfies measure contraction property \(\mathrm{MCP}(K, N)\) if for any point \(o\in X\) and Borel set \(A\subset X\) with \(0<{\mathfrak {m}}(A)<\infty \) (and with \(A \subset B(o, \sqrt{(N-1)/K}\) if \(K>0\)), there is such that the following inequality holds for all \(t\in [0,1]\)

$$\begin{aligned} \frac{1}{{\mathfrak {m}}(A)} {\mathfrak {m}}\ge (e_t)_\sharp \big [ \tau ^{(1-t)}_{K, N} \big (\mathrm{d}(\gamma _0, \gamma _1)\big )^N\, \Pi (\mathrm{d}\gamma ) \big ]. \end{aligned}$$
(2.1)

Theorem 2.2

(Localization for \(\mathrm{MCP}(K, N)\) spaces, Theorem 3.5 [12]) Let \((X,\mathrm{d},{\mathfrak {m}})\) be an essentially non-branching metric measure space satisfying \(\mathrm{MCP}(K, N)\) condition for some \(K\in \mathbb {R}\) and \(N \in (1, \infty )\). Then for any 1-Lipschitz function u on X, the non-branching transport set \({\mathsf {T}}_u\) associated with u (roughly speaking, \({\mathsf {T}}_u\) coincides with \(\{|\nabla u|=1\}\) up to \({\mathfrak {m}}\)-measure zero set) admits a disjoint family of unparameterized geodesics \(\{X_q\}_{q \in {\mathfrak {Q}}}\) such that

$$\begin{aligned} {\mathfrak {m}}({\mathsf {T}}_u \setminus \cup X_q)=0, \end{aligned}$$

and

Furthermore, for \(\mathfrak {q}\)-a.e. \(q\in \mathfrak {Q}\), \({\mathfrak {m}}_q\) is a Radon measure with and \((X_q, \mathrm{d}, {\mathfrak {m}}_q)\) satisfies \(\mathrm{MCP}(K, N)\).

3 One dimensional models

3.1 One dimensional MCP densities

Let \(h\in L^1(\mathbb {R}^+, {\mathcal {L}}^1)\) be a non-negative Borel function. It is known (see e.g. Lemma 4.1 [17]) that \((\mathop {\mathrm{supp}}\nolimits h, |\cdot |, h {\mathcal {L}}^1)\) satisfies \(\mathrm{MCP}(K, N)\) condition if and only if h is a \(\mathrm{MCP}(K, N)\) density in the following sense

$$\begin{aligned} h(tx_1+(1-t)x_0) \ge \sigma ^{(1-t)}_{K, N-1} (|x_1-x_0|)^{N-1} h(x_0) \end{aligned}$$
(3.1)

for all \(x_0, x_1 \in \mathop {\mathrm{supp}}\nolimits h\) and \(t\in [0,1]\).

Definition 3.1

Given \(K \in \mathbb {R}, N>1\). Denote by \(D_{K,N}\) the Bonnet–Meyers diameter upper-bound:

$$\begin{aligned} D_{K,N} := \left\{ \begin{array}{lll} \frac{\pi }{\sqrt{K / (N-1)}} &{}\quad \text {if}~~ K > 0 \\ +\infty &{}\quad \text {otherwise} \end{array} \right. {.} \end{aligned}$$
(3.2)

For any \(D>0\), we define \( {\mathcal {F}}_{K, N, D}\) as the collection of \(\mathrm{MCP}(K, N)\) densities \(h\in L^1(\mathbb {R}^+, {\mathcal {L}}^1)\) with \(\mathop {\mathrm{supp}}\nolimits h=[0, D\wedge D_{K, N}]\).

For \(\kappa \in \mathbb {R}\), we define the function \(s_\kappa : [0, +\infty ) \mapsto \mathbb {R}\) (on \([0, \pi / \sqrt{\kappa })\) if \(\kappa >0\))

$$\begin{aligned} s_\kappa (\theta ):=\left\{ \begin{array}{lll} (1/\sqrt{\kappa }) \sin (\sqrt{\kappa }\theta ), &{}\quad \text {if}~~ \kappa >0,\\ \theta , &{}\quad \text {if}~~\kappa =0,\\ (1/\sqrt{-\kappa }) \sinh (\sqrt{-\kappa } \theta ), &{}\quad \text {if} ~~\kappa <0. \end{array} \right. \end{aligned}$$

It can be seen that (3.1) is equivalent to

$$\begin{aligned} \left( \frac{s_{K/(N-1)}(b-x_1)}{s_{K/(N-1)}(b-x_0)} \right) ^{N-1} \le \frac{h(x_1)}{h(x_0)} \le \left( \frac{s_{K/(N-1)}(x_1-a)}{s_{K/(N-1)}(x_0-a)} \right) ^{N-1} \end{aligned}$$
(3.3)

for all \( [x_0, x_1] \subset [a, b] \subset \mathop {\mathrm{supp}}\nolimits h\).

Furthermore, we have the following characterization.

Lemma 3.2

Given \(D \le D_{K, N}\), a density h is in \( {\mathcal {F}}_{K, N, D}\) if and only if

$$\begin{aligned}&\left( \frac{s_{K/(N-1)}(D-x_1)}{s_{K/(N-1)}(D-x_0)} \right) ^{N-1} \le \frac{h(x_1)}{h(x_0)} \le \left( \frac{s_{K/(N-1)}(x_1)}{s_{K/(N-1)}(x_0)} \right) ^{N-1}\nonumber \\&\quad \forall ~0\le x_0 \le x_1 \le D. \end{aligned}$$
(3.4)

Furthermore, \(h\in {\mathcal {F}}_{K, N, D}\) if and only if \(\ln h\) is \({\mathcal {L}}^1\)-a.e. differentiable and

$$\begin{aligned} -h(x) \cot _{K, N, D}(D-x) \le h'(x)\le h(x) \cot _{K, N, D}(x), ~~{\mathcal {L}}^1-\text {a.e.}~x\in [0, D] \end{aligned}$$

where the function \(\cot _{K, N, D}: [0, D] \mapsto \mathbb {R}\) is defined by

$$\begin{aligned} \cot _{K, N, D}(x):=\left\{ \begin{array}{lll} \sqrt{K(N-1)} \cot \left( \sqrt{\frac{K}{N-1}} x\right) , &{}\quad \text {if}~~ K>0,\\ ({N-1})/x, &{}\quad \text {if}~~K=0,\\ \sqrt{-K(N-1)} \coth \left( \sqrt{\frac{-K}{N-1}} x\right) , &{}\quad \text {if} ~~K<0. \end{array} \right. \end{aligned}$$

Proof

It can be checked that the function

$$\begin{aligned} a \mapsto \frac{s_{K/(N-1)}(x_1-a)}{s_{K/(N-1)}(x_0-a)} \end{aligned}$$

is non-decreasing on \([0, x_0]\), and the function

$$\begin{aligned} b \mapsto \frac{s_{K/(N-1)}(b-x_1)}{s_{K/(N-1)}(b-x_0)} \end{aligned}$$

is non-decreasing on \([x_1, D]\). Thus, (3.4) follows from (3.3).

Furthermore, for any \(h\in {\mathcal {F}}_{K, N, D}\), it can be seen that (3.4) holds if and only if

$$\begin{aligned} x \mapsto \frac{\left( {s_{K/(N-1)}(D-x)}\right) ^{N-1}}{h(x)} ~~\text {is non-increasing}, \end{aligned}$$
(3.5)

and

$$\begin{aligned} x \mapsto \frac{\left( {s_{K/(N-1)}(x)}\right) ^{N-1}}{h(x)} ~~\text {is non-decreasing}. \end{aligned}$$
(3.6)

From (3.4) we can see that \(\ln h\) is locally Lipschitz, so \(\ln h\) is differentiable almost everywhere. So, by (3.5) and (3.6) we know (3.4) is equivalent to

$$\begin{aligned} \Big ( \ln s^{N-1}_{K/(N-1)}(D-\cdot ) \Big ) ' \le (\ln h)'=\frac{h'}{h} \le \Big ( \ln s^{N-1}_{K/(N-1)} \Big )' ~~~~~{\mathcal {L}}^1-\text {a.e. on}~ [0, D] \end{aligned}$$

which is the thesis. \(\square \)

Notice that the function

$$\begin{aligned}{}[0, D] \ni x \mapsto \frac{s_{K/(N-1)}(D-x)}{s_{K/(N-1)}(x)} \end{aligned}$$

is decreasing. By Lemma 3.2 (or (3.5) and (3.6)) we immediately obtain the following rigidity result.

Lemma 3.3

(One dimensional rigidity) Denote and . Then we have \(h^1_{K, N, D}, h^2_{K, N, D} \in {\mathcal {F}}_{K, N, D}\). Furthermore, \(h^1_{K, N, D}\) is the unique \({\mathcal {F}}_{K, N, D}\) density (up to multiplicative constants) satisfying

$$\begin{aligned} h'(x)=h(x) \cot _{K, N, D}(x) \end{aligned}$$

and \(h^2_{K, N, D}\) is the unique \({\mathcal {F}}_{K, N, D}\) density satisfying

$$\begin{aligned} h'(x)=-h(x) \cot _{K, N, D}(D-x). \end{aligned}$$

3.2 One dimensional p-Poincaré inequalities

Definition 3.4

For \(p \in (1, \infty )\) and \(h \in {\mathcal {F}}_{K, N, D}\), the p-spectral gap associated with h is defined by

$$\begin{aligned} \lambda ^{p, h}:= \inf \left\{ \frac{\int |u'|^p h\,\mathrm{d}x}{\int |u|^p h \,\mathrm{d}x}: u \in \mathop {\mathrm{Lip}}\nolimits \cap L^p, \int u|u|^{p-2} h\,\mathrm{d}x=0, u\ne 0 \right\} . \end{aligned}$$
(3.7)

Definition 3.5

Let \(K\in \mathbb {R}\), \(D>0\) and \(N>1\). The optimal constant \(\lambda ^{p}_{K, N, D}\) is defined as the infimum of all p-spectral gaps associated with admissible densities, i.e. \(\lambda ^{p}_{K, N, D}\) is given by

$$\begin{aligned} \lambda ^{p}_{K, N, D}:=\mathop {\inf }_{h \in \cup _{D' \le D} {\mathcal {F}}_{K, N, D'}} \lambda ^{p, h}. \end{aligned}$$

Proposition 3.6

Let \(K\in \mathbb {R}\), \(D>0\) and \(N>1\). The function \(D \mapsto \lambda ^{p}_{K, N, D}\) is non-increasing, and

$$\begin{aligned} \lambda ^{p}_{K, N, D}=\mathop {\inf }_{h \in \cup _{D' \le D} {\mathcal {F}}_{K, N, D'}\cap C^\infty } \lambda ^{p, h}. \end{aligned}$$
(3.8)

If \(K\le 0\), the map \(D \mapsto \lambda ^{p}_{K, N, D}\) is strictly decreasing, and

$$\begin{aligned} \lambda ^{p}_{K, N, D}=\mathop {\inf }_{h \in {\mathcal {F}}_{K, N, D}\cap C^\infty } \lambda ^{p, h}. \end{aligned}$$
(3.9)

Proof

By Lemma 3.2 we know MCP densities are locally Lipschitz. Thus, using a standard mollifier we can approximate h uniformly by smooth MCP densities. Then by a simple approximation argument (see e.g. Proposition 4.8 [17]) we can prove

$$\begin{aligned} \lambda ^{p}_{K, N, D}= \mathop {\inf }_{h \in \cup _{D' \le D} {\mathcal {F}}_{K, N, D'}\cap C^\infty } \lambda ^{p, h}. \end{aligned}$$

Let \(h \in {\mathcal {F}}_{K, N, D'}\) be a MCP density for some \(D'>0\), and u be an admissible function in (3.7). Then \({\bar{h}}(x):=h(\frac{D'}{D} x) \in {\mathcal {F}}_{K', N, D}\) with \(K'=\big (\frac{D'}{D} \big )^2 K\), and \({\bar{u}}(x):=u(\frac{D'}{D} x)\) is also an admissible function. By computation, we have \(\frac{\int |{\bar{u}}'|^p {\bar{h}}\,\mathrm{d}x}{\int |{\bar{u}}|^p {\bar{h}}\,\mathrm{d}x}=\big (\frac{D'}{D} \big )^p\frac{\int |u'|^p h\,\mathrm{d}x}{\int |u|^p h\,\mathrm{d}x}\). Therefore, if \(K \le 0\) and \(D' <D\), we have

$$\begin{aligned} \mathop {\inf }_{h \in {\mathcal {F}}_{K, N, D}} \lambda ^{p, h} \le \mathop {\inf }_{h \in {\mathcal {F}}_{K', N, D}} \lambda ^{p, h} \le \left( \frac{D'}{D} \right) ^p \big (\mathop {\inf }_{h \in {\mathcal {F}}_{K, N, D'}} \lambda ^{p, h} \big ) < \mathop {\inf }_{h \in {\mathcal {F}}_{K, N, D'}} \lambda ^{p, h} \end{aligned}$$

and so

$$\begin{aligned} \lambda ^{p}_{K, N, D} < \lambda ^{p}_{K, N, D'}. \end{aligned}$$

Then we obtain (3.9). \(\square \)

Remark 3.7

The difference between the cases \(K \le 0\) and \(K > 0\) was already observed in [13] in the isoperimetric context and in [17] in the 2-Poincaré context. It is known that the monotonicity property (3.9) is false when \(K> 0\).

In order to study the equation (3.18) in Theorem 3.10, we recall some basic facts about generalized trigonometric functions \(\sin _p\) and \(\cos _p\).

Definition 3.8

For \(p \in (1, +\infty )\), define \(\pi _p\) by

$$\begin{aligned} \pi _p:= \int _{-1}^1 \frac{\mathrm{d}t}{(1-|t|^p)^{\frac{1}{p}}}=\frac{2\pi }{p \sin (\pi /p)}>0. \end{aligned}$$

The periodic \(C^1\) function \(\sin _p: \mathbb {R}\mapsto [-1, 1]\) is defined on \([-\pi _p/2, 3\pi _p/2]\) by:

$$\begin{aligned} \left\{ \begin{array}{ll} t=\int ^{\sin _p(t)}_0 \frac{\mathrm{d}s}{(1-|s|^p)^{\frac{1}{p}}}&{}\qquad \text {if}~t\in \left[ -\frac{\pi _p}{2}, \frac{\pi _p}{2}\right] ,\\ \sin _p(t)=\sin _p(\pi _p-t)&{}\qquad \text {if}~t\in \left[ \frac{\pi _p}{2}, \frac{3\pi _p}{2}\right] . \end{array} \right. \end{aligned}$$
(3.10)

It can be seen that \(\sin _p(0)=0\) and \(\sin _p\) is strictly increasing on \( [-\frac{\pi _p}{2}, \frac{\pi _p}{2}]\). Define \(\cos _p(t)={\frac{\mathrm{d}}{{\mathrm{d}t}}}\sin _p(t)\), then we have the following generalized trigonometric identity

$$\begin{aligned} |\sin _p(t)|^p+|\cos _p(t)|^p=1. \end{aligned}$$

Definition 3.9

Let \(h^i_{K, N, D}\), \(i=1,2\) be \(\mathrm{MCP}(K, N)\) densities defined in Lemma 3.3. Define \(h_{K, N, D}\) by

$$\begin{aligned} h_{K, N, D}(x):=\left\{ \begin{array}{ll} h^1_{K, N, D}(x) &{}\qquad \text {if}~x\in \left[ \frac{D}{2}, D\right] \\ h^2_{K, N, D}(x) &{}\qquad \text {if}~x \in \left[ 0, \frac{D}{2}\right] . \end{array} \right. \end{aligned}$$

Define \(T_{K, N, D}\) by

$$\begin{aligned} T_{K, N, D}:=\big (\ln h_{K, N, D} \big )'=\left\{ \begin{array}{ll} \cot _{K, N, D}(x) &{}\qquad \text {if}~x\in \left[ \frac{D}{2}, D\right] \\ -\cot _{K, N, D}(D-x) &{}\qquad \text {if}~x \in \left[ 0, \frac{D}{2}\right] . \end{array} \right. \end{aligned}$$

By Lemma 3.2 we know \(h_{K, N, D}\) is a \(\mathrm{MCP}(K, N)\) density. It can be seen that (c.f. Lemma 3.4 [13]) \(h_{K, N, D}\) does not satisfy any forms of CD condition.

Theorem 3.10

(One dimensional p-spectral gap) Let \(K\in \mathbb {R}\), \(N>1\), \(D>0\). Denote by \({\hat{\lambda }}^{p}_{K, N, D}\) the minimal \(\lambda \) such that the following initial value problem has a solution:

$$\begin{aligned} \left\{ \begin{array}{ll} \varphi '=\Big (\frac{\lambda }{p-1} \Big )^{\frac{1}{p}}+\frac{1}{p-1} T _{K, N, D}\cos _p^{p-1}(\varphi )\sin _p(\varphi ),\\ \varphi (0)=-\frac{\pi _p}{2},~~\varphi \left( \frac{D}{2}\right) =0,~~ \varphi (D)=\frac{\pi _p}{2}. \end{array} \right. \end{aligned}$$
(3.11)

Then \(\lambda ^{p, h} \ge {\hat{\lambda }}^{p}_{K, N, D}\) for any \(h \in {\mathcal {F}}_{K, N, D}\).

Proof

Step 1. Firstly we will show the existence of \({\hat{\lambda }}^{p}_{K, N, D}\).

By Lemma 3.2 we know \(T_{K, N, D} \in C^\infty ((0, \frac{D}{2}) \cup (\frac{D}{2}, D))\) and \(-\cot _{K, N, D}(D-\cdot ) \le T_{K, N, D} \le \cot _{K, N, D}\). Denote \(T=T _{K, N, D}\), and denote by \(u=u^{T, \lambda }\) the (unique) solution of the following equation:

$$\begin{aligned} \left\{ \begin{array}{ll} \big (u' |u'|^{p-2} \big )'+T u'|u'|^{p-2}+\lambda u|u|^{p-2}=0,\\ u(\frac{D}{2})=0. \end{array} \right. \end{aligned}$$
(3.12)

Next we will study the equation (3.12) using a version of the so-called Pfüfer transformation. Define the functions \(e=e^{T, \lambda }\) and \(\varphi =\varphi ^{T, \lambda }\) by:

$$\begin{aligned} \alpha := \Big (\frac{\lambda }{p-1} \Big )^{\frac{1}{p}},~~~~\alpha u=e \sin _p(\varphi ),~~~~~u'=e \cos _p (\varphi ). \end{aligned}$$

By Lemma 3.11 we know that \(\varphi , e\) solve the following equation:

$$\begin{aligned} \left\{ \begin{array}{ll} \varphi '=\alpha +\frac{1}{p-1} T |\cos _p(\varphi ) |^{p-2}\cos _p(\varphi ) \sin _p(\varphi ),\\ {\frac{\mathrm{d}}{{\mathrm{d}t}}}\ln e=\frac{e'}{e}=-\frac{1}{p-1} T |\cos _p(\varphi )|^p. \end{array} \right. \end{aligned}$$
(3.13)

Consider the following initial valued problem on \((0, \frac{D}{2}) \cup (\frac{D}{2}, D)\).

$$\begin{aligned} \left\{ \begin{array}{ll} \varphi '=\alpha +\frac{1}{p-1} T |\cos _p(\varphi )|^{p-2}\cos _p(\varphi ) \sin _p(\varphi ),\\ \varphi (\frac{D}{2})=0. \end{array} \right. \end{aligned}$$
(3.14)

By Cauchy’s theorem we have the existence, uniqueness and continuous dependence on the parameters. Fix an \(\epsilon \in (0, \frac{D}{2})\). We can find \(\alpha =\alpha (\epsilon )>0\), such that \(\varphi '(x)> \frac{\pi _p}{D-2\epsilon }>0\) for all \(x\in (\epsilon , \frac{D}{2})\). So there exists \(a_\alpha \in [0, \frac{D}{2})\) such that \(\varphi (a_\alpha )= -\frac{\pi _p}{2}\). Similarly, there is \(b_\alpha \in (\frac{D}{2}, D]\) such that \(\varphi (b_\alpha )= \frac{\pi _p}{2}\). Conversely, assume there is \( \alpha >0\) such that the following problem has a solution \(\varphi \) for some \(a_\alpha \in [0, \frac{D}{2})\) and \(b_\alpha \in (\frac{D}{2}, D]\):

$$\begin{aligned} \left\{ \begin{array}{ll} \varphi '= \alpha +\frac{1}{p-1}T |\cos _p(\varphi ) |^{p-2}\cos _p(\varphi ) \sin _p(\varphi ),\\ \varphi (a_\alpha )= -\frac{\pi _p}{2}, \varphi \left( \frac{D}{2}\right) =0, \varphi (b_\alpha ) = \frac{\pi _p}{2}. \end{array} \right. \end{aligned}$$
(3.15)

Then for any \(\alpha '>\alpha \), the following problem also has a solution for some \(a'_\alpha \in (a_\alpha , \frac{D}{2})\) and \(b'_\alpha \in (\frac{D}{2}, b_\alpha )\)

$$\begin{aligned} \left\{ \begin{array}{ll} \varphi '= \alpha '+\frac{1}{p-1} T |\cos _p(\varphi ) |^{p-2}\cos _p(\varphi ) \sin _p(\varphi ),\\ \varphi (a'_\alpha )= -\frac{\pi _p}{2}, \varphi \left( \frac{D}{2}\right) =0, \varphi (b'_\alpha ) = \frac{\pi _p}{2}. \end{array} \right. \end{aligned}$$
(3.16)

Therefore, by connectedness, there is a minimal \({\bar{\lambda }} \ge 0\) such that for any \(\lambda > {\bar{\lambda }}\), there exist \(\varphi =\varphi ^{T, \lambda }\), \(0\le a^\lambda <\frac{D}{2}\) and \(\frac{D}{2} <b^\lambda \le D\) such that

$$\begin{aligned} \left\{ \begin{array}{ll} \varphi '= \Big (\frac{\lambda }{p-1} \Big )^{\frac{1}{p}}+\frac{1}{p-1} T\cos _p^{p-1}(\varphi )\sin _p(\varphi ),\\ \varphi (a^\lambda )=-\frac{\pi _p}{2}, \varphi \left( \frac{D}{2}\right) =0, \varphi (b^\lambda )=\frac{\pi _p}{2}. \end{array} \right. \end{aligned}$$
(3.17)

By continuous dependence on the parameter \(\lambda \), we know (3.17) has a solution \(\varphi _\infty \) for \(\gamma ={\bar{\gamma }}\), some \(a^{{\bar{\lambda }}} \in [0, \frac{D}{2})\) and \(b^{{\bar{\lambda }}} \in ( \frac{D}{2}, D]\). In particular, \({\bar{\lambda }} >0\).

Since \(T(x)=-T(D-x)\) on \([0, \frac{D}{2}]\), by symmetry and minimality (or domain monotonicity) of \({\bar{\lambda }}\), we have \(a^{{\bar{\lambda }}}=0\) and \(b^{{\bar{\lambda }}}=D\) (otherwise we can find a smaller \(\lambda \)). In particular, there is a minimal \({\hat{\lambda }}^{p}_{K, N, D}\) such that the initial value problem (3.11) has a solution \(\varphi ^{T _{K, N, D}, {\hat{\lambda }}^{p}_{K, N, D}}\).

Step 2. Given \(h \in {\mathcal {F}}_{K, N, D} \cap C^\infty \), we will show that \( {\hat{\lambda }}^{p}_{K, N, D} \le \lambda ^{p, h}\).

First of all, by a standard variational argument we can see that \(\lambda ^{p, h}\) is the smallest positive real number such that there exists a non-zero \(u\in W^{1,p}([0, D], h {\mathcal {L}}^1)\) solving the following equation (in weak sense):

$$\begin{aligned} \Delta _p^h u=-\lambda u|u|^{p-2} \end{aligned}$$
(3.18)

with Neumann boundary condition, where \( \Delta _p^h u\) is the weighted p-Laplacian on \(([0, D], |\cdot |, h {\mathcal {L}}^1)\):

$$\begin{aligned} \Delta _p^h u=\Delta _p u+u'|u'|^{p-2} (\log h)'=\big (u' |u'|^{p-2} \big )'+u'|u'|^{p-2} \frac{h'}{h}. \end{aligned}$$

By regularity theory we know \(u\in C^{1, \alpha } \cap W^{1,p}\) for some \(\alpha >0\), and \(u\in C^{2, \alpha } \) if \(u' \ne 0\). Conversely, for any u solving the Neumann problem (3.18), we have \( \int u|u|^{p-2} h\,\mathrm{d}x=0\) and \( {\int |u'|^ph\,\mathrm{d}x}=\lambda {\int |u|^p h\,\mathrm{d}x}\).

Assume by contradiction that \(\lambda ^{p, h}<{\hat{\lambda }}^{p}_{K, N, D}\). From the monotonicity argument in Step 1, we can see that there is \(\lambda < {\hat{\lambda }}^{p}_{K, N, D}\) such that the following equation has a (monotone) solution \(\varphi = \varphi ^{\frac{h'}{h}, \lambda } \):

$$\begin{aligned} \left\{ \begin{array}{ll} \varphi '= \Big (\frac{\lambda }{p-1} \Big )^{\frac{1}{p}}+\frac{1}{p-1} \frac{h'}{h} \cos _p^{p-1}(\varphi )\sin _p(\varphi ),\\ \varphi (0)=-\frac{\pi _p}{2}, \varphi (D)=\frac{\pi _p}{2}, \end{array} \right. \end{aligned}$$
(3.19)

Without loss of generality (or by symmetry), we may assume there is \(a'\in [\frac{D}{2}, D]\) such that \(\varphi ^{\frac{h'}{h}, \lambda }(a')=0\). Suppose there is a point \(x_0 \in [a', D)\) such that \(\varphi ^{\frac{h'}{h}, \lambda }(x_0) =\varphi ^{T _{K, N, D}, {\hat{\lambda }}^{p}_{K, N, D}}(x_0)\). From Lemma 3.2 we know that \(\frac{h'}{h} \le T _{K, N, D}\). So we know

$$\begin{aligned} \big (\varphi ^{\frac{h'}{h}, \lambda }\big )' (x_0) < \big (\varphi ^{T _{K, N, D}, {\hat{\lambda }}^{p}_{K, N, D}}\big )' (x_0). \end{aligned}$$

Therefore,

$$\begin{aligned} \varphi ^{\frac{h'}{h}, \lambda }(x)< \varphi ^{T _{K, N, D}, {\hat{\lambda }}^{p}_{K, N, D}}(x) \end{aligned}$$

for all \(x\in (a', D]\), which contradicts to the fact that \(\varphi ^{\frac{h'}{h}, \lambda }(\frac{D}{2})= \varphi ^{T _{K, N, D}, {\hat{\lambda }}^{p}_{K, N, D}}(\frac{D}{2})= \frac{\pi _p}{2}\). \(\square \)

The following formulas has been used in [22, 26]. We give a proof for completeness.

Lemma 3.11

Let \(e, \varphi , T\) be functions defined in the proof of Theorem 3.10. Then we have

$$\begin{aligned} \left\{ \begin{array}{ll} \varphi '=\alpha +\frac{1}{p-1} T |\cos _p(\varphi ) |^{p-2}\cos _p(\varphi ) \sin _p(\varphi ),\\ {\frac{\mathrm{d}}{{\mathrm{d}t}}}\ln e=\frac{e'}{e}=-\frac{1}{p-1} T |\cos _p(\varphi )|^p. \end{array} \right. \end{aligned}$$
(3.20)

Proof

Firstly, we have

$$\begin{aligned} \big (u' |u'|^{p-2} \big )'= & {} \big (e \cos _p (\varphi ) |e \cos _p (\varphi )|^{p-2} \big )'\\= & {} |e \cos _p (\varphi )|^{p-2} \big ( e' \cos _p (\varphi )+e \sin ''_p (\varphi )\varphi '\big )\\&+ e \cos _p (\varphi ) (p-2)e\cos _p (\varphi ) |e \cos _p (\varphi )|^{p-4}\\&\times \big ( e' \cos _p (\varphi )+e \sin ''_p (\varphi )\varphi '\big )\\= & {} |e \cos _p (\varphi )|^{p-2}(p-1) \big ( e' \cos _p(\varphi )+e \sin ''_p(\varphi )\varphi ' \big ). \end{aligned}$$

Combining with (3.12) we obtain

$$\begin{aligned}&|e \cos _p (\varphi )|^{p-2}\big ( e' \cos _p(\varphi )+e \sin ''_p(\varphi )\varphi ' \big )\sin _p(\varphi )\\&\quad + \frac{1}{p-1} T e \cos _p(\varphi ) \sin _p(\varphi ) | e \cos _p(\varphi )|^{p-2}+\frac{\lambda }{p-1} \alpha ^{1-p} e^{ p-1}| \sin _p(\varphi )|^{p}=0. \end{aligned}$$

Differentiating the equation \(\alpha u=e \sin _p(\varphi )\) and substituting \(u'\) by \(e \cos _p (\varphi )\), we get

$$\begin{aligned} \alpha e \cos _p (\varphi )=e' \sin _p(\varphi )+e \cos _p(\varphi )\varphi '. \end{aligned}$$

Differentiating the identity \(|\sin _p(t)|^p+|\cos _p(t)|^p=1\) we also have

$$\begin{aligned} |\sin _p(t)|^{p-2}\sin _p(t) \cos _p(t)+|\cos _p(t)|^{p-2}\cos _p(t) \sin ''_p(t)=0. \end{aligned}$$

Therefore,

$$\begin{aligned}&|e \cos _p (\varphi )|^{p-2}\big ( e' \cos _p(\varphi )+e \sin ''_p(\varphi )\varphi ' \big )\sin _p(\varphi )\\&\quad = |e \cos _p (\varphi )|^{p-2}\big ( \alpha e \cos ^2_p (\varphi )-e \cos ^2_p (\varphi ) \varphi '+e \sin ''_p(\varphi )\sin _p(\varphi )\varphi ' \big )\\&\quad = \alpha e^{p-1} (\varphi ) | \cos _p (\varphi )|^{p}-e^{p-1}\big ( | \cos _p (\varphi )|^{p}+| \sin _p (\varphi )|^{p} \big )\varphi '\\&\quad = \alpha e^{p-1} (\varphi ) | \cos _p (\varphi )|^{p}-e^{p-1}\varphi '. \end{aligned}$$

Combining the results above, we prove the lemma. \(\square \)

Combining Proposition 3.6 and Theorem 3.10, we get the following corollary immediately.

Corollary 3.12

We have the following sharp p-spectral gap estimates for one dimensional models:

$$\begin{aligned} \lambda ^{p}_{K, N, D}= \left\{ \begin{array}{lll} {\hat{\lambda }}^{p}_{K, N, D} &{}\quad \text {if}~~ K \le 0 \\ \inf _{D' \in (0,\min (D,D_{K,N})]} {\hat{\lambda }}^{p}_{K, N, D'} &{}\quad \text {if}~~ K > 0 \\ \end{array} \right. \end{aligned}$$

Theorem 3.13

(One dimensional rigidity) Given \(K\le 0\), \(N>1\) and \(D>0\). If \(\lambda ^{p, h}={\hat{\lambda }}^{p}_{K, N, D}\) for some \(h \in {\mathcal {F}}_{K, N, D}\). Then \(h=h_{K, N, D}\) up to a multiplicative constant.

Proof

Assume \(\lambda ^{p, h}={\hat{\lambda }}^{p}_{K, N, D}\) for some \(h \in {\mathcal {F}}_{K, N, D}\). Then there is \(h_n \in {\mathcal {F}}_{K, N, D}\cap C^\infty \) with \(h_n \rightarrow h\) uniformly, and a decreasing sequence \((\lambda ^{p, h_n})\) with \(\lambda ^{p, h_n} \rightarrow {\hat{\lambda }}^{p}_{K, N, D}\), such that \(\varphi _n=\varphi ^{\frac{h'_n}{h_n}, \lambda ^{p, h_n}}\) solves the following equation:

$$\begin{aligned} \left\{ \begin{array}{ll} \varphi '_n= \Big (\frac{\lambda ^{p, h_n}}{p-1} \Big )^{\frac{1}{p}}+\frac{1}{p-1} \frac{h'_n}{h_n} \cos _p^{p-1}(\varphi _n)\sin _p(\varphi _n),\\ \varphi _n(0)=-\frac{\pi _p}{2}, \varphi _n(D)=\frac{\pi _p}{2}. \end{array} \right. \end{aligned}$$
(3.21)

From Lemma 2.1 we know that \(\{\varphi '_n\}_n\) and \(\{\varphi _n\}_n\) are uniformly bounded. By Arzelà–Ascoli theorem we may assume \(\varphi _n \rightarrow \varphi _\infty \) uniformly for some Lipschitz function \(\varphi _\infty \).

By minimality of \({\hat{\lambda }}^{p}_{K, N, D}\) and symmetry, we can see that \(\mathop {\lim }_{{n} \rightarrow {\infty }} \varphi _n^{-1}(t)\) exists for any \(t\in [-\frac{\pi _p}{2}, \frac{\pi _p}{2}]\) and

$$\begin{aligned} \mathop {\lim }_{{n} \rightarrow {\infty }} \varphi _n^{-1}= \big (\varphi ^{T _{K, N, D}, {\hat{\lambda }}^{p}_{K, N, D}}\big )^{-1}. \end{aligned}$$

In fact, assume by contradiction that \(\mathop {\lim }_{{n} \rightarrow {\infty }} \varphi _n^{-1} (t) \ne \big (\varphi ^{T _{K, N, D}, {\hat{\lambda }}^{p}_{K, N, D}}\big )^{-1}(t)\) for some \(t\in (-\frac{\pi _p}{2}, \frac{\pi _p}{2})\). By symmetry we may assume there are \(N_1\in \mathbb {N}\) and \(\delta >0\), such that \(\delta _n:= \big (\varphi ^{T _{K, N, D}, {\hat{\lambda }}^{p}_{K, N, D}}\big )^{-1}(t)-\varphi _n^{-1} (t)\ge \delta \) for all \(n\ge N_1\). Define a \(\mathrm{MCP}(K, N)\) density \({\bar{h}}_n\) by

$$\begin{aligned} {\bar{h}}_{n}(x):=\left\{ \begin{array}{ll} h_n(x) &{}\qquad \text {if}~x\in [0, \varphi _n^{-1} (t)],\\ \frac{h_n( \varphi _n^{-1} (t))}{h_{K, N, D}( \varphi _n^{-1} (t)+\delta _n)}h_{K, N, D}(x+\delta _n) &{}\qquad \text {if}~x \in [\varphi _n^{-1} (t), D-\delta _n]. \end{array} \right. \end{aligned}$$

Then \({\bar{\varphi }}_n=\varphi ^{\frac{{\bar{h}}'_n}{{\bar{h}}_n}, \lambda ^{p, h_n}}\) satisfies \(({\bar{\varphi }}_n)^{-1}(\frac{\pi _p}{2})<D-\frac{\delta }{2}\) for n large enough, which contradicts to Proposition 3.6 and the minimality of \({\hat{\lambda }}^{p}_{K, N, D}\).

In conclusion, \(\varphi _\infty =\varphi ^{T _{K, N, D}, {\hat{\lambda }}^{p}_{K, N, D}}\) and we have \(\varphi _n \rightarrow \varphi ^{T _{K, N, D}, {\hat{\lambda }}^{p}_{K, N, D}}\) uniformly.

Then we get

$$\begin{aligned} \frac{\pi _p}{2}= & {} \varphi _n( \varphi _n^{-1}(0))-\varphi _n(0)\\= & {} \mathop {\lim }_{{n} \rightarrow {\infty }} \int _0^{\varphi _n^{-1}(0) \wedge \frac{D}{2}} \Big (\frac{\lambda ^{p, h_n}}{p-1} \Big )^{\frac{1}{p}}+\frac{1}{p-1} \frac{h'_n}{h_n} \cos _p^{p-1}(\varphi _n)\sin _p(\varphi _n) \,\mathrm{d}x\\\le & {} \mathop {\lim }_{{n} \rightarrow {\infty }} \int _0^{\varphi _n^{-1}(0) \wedge \frac{D}{2}} \Big (\frac{\lambda ^{p, h_n}}{p-1} \Big )^{\frac{1}{p}}+ \frac{1}{p-1} T_{K, N, D}\cos _p^{p-1}(\varphi _n)\sin _p(\varphi _n) \,\mathrm{d}x\\= & {} \int _0^{ \frac{D}{2}} \Big (\frac{{\hat{\lambda }}^{p}_{K, N, D}}{p-1} \Big )^{\frac{1}{p}}\\&+ \frac{1}{p-1} T_{K, N, D}\cos _p^{p-1}( \varphi ^{T _{K, N, D}, {\hat{\lambda }}^{p}_{K, N, D}})\sin _p(\varphi ^{T _{K, N, D}, {\hat{\lambda }}^{p}_{K, N, D}}) \,\mathrm{d}x\\= & {} \frac{\pi _p}{2}. \end{aligned}$$

Therefore,

$$\begin{aligned} (\ln h_n)'=\frac{h'_n}{h_n} \rightarrow T_{K,N,D}=\frac{h'_{K,N,D}}{h_{K,N,D}} \end{aligned}$$

in \(L^1([0, \frac{D}{2}], \cos _p^{p-1}( \varphi ^{T_{K, N, D}, {\hat{\lambda }}^{p}_{K, N, D}})\sin _p(\varphi ^{T _{K, N, D}, {\hat{\lambda }}^{p}_{K, N, D}}) {\mathcal {L}}^1)\). By symmetry, we can see that \((\ln h_n)' \rightarrow (\ln h_{K,N,D})'\) in \(L^1([0, D], {\mathcal {L}}^1)\). Hence \(h=h_{K, N, D}\) up to a multiplicative constant. \(\square \)

4 p-spectral gap

4.1 Sharp p-spectral gap estimates

Using standard localization argument (c.f. Theorem 1.1 [17], Theorem 4.4 [11]), we can prove the sharp p-Poincaré inequality with one dimensional results.

Theorem 4.1

(The sharp p-spectral gap under \(\mathrm{MCP}(K, N)\)) Let \((X,\mathrm{d},{\mathfrak {m}})\) be an essentially non-branching metric measure space satisfying \(\mathrm{MCP}(K, N)\) for some \(K \in \mathbb {R}, N\in (1, \infty )\) and \(\mathrm{diam}(X) \le D\). For any \(p>1\), define \(\lambda ^p_{(X,\mathrm{d},{\mathfrak {m}})}\) as the optimal constant in p-Poincaré inequality on \((X,\mathrm{d},{\mathfrak {m}})\):

$$\begin{aligned} \lambda ^{p}_{(X,\mathrm{d},{\mathfrak {m}})} := \inf \left\{ \frac{\int |\nabla f|^p \,\mathrm{d}{\mathfrak {m}}}{\int |f|^p \,\mathrm{d}{\mathfrak {m}}}: f \in \mathop {\mathrm{Lip}}\nolimits \cap L^p, \int f|f|^{p-2} \,\mathrm{d}{\mathfrak {m}}=0, f\ne 0 \right\} . \end{aligned}$$

Then we have the following sharp estimate

$$\begin{aligned} \lambda ^{p}_{(X,\mathrm{d},{\mathfrak {m}})} \ge \lambda ^{p}_{K, N, D} = \left\{ \begin{array}{lll} {\hat{\lambda }}^{p}_{K, N, D} &{}\quad \text {if}~~ K \le 0 \\ \inf _{D' \in (0,\min (D,D_{K,N})]} {\hat{\lambda }}^{p}_{K, N, D'} &{}\quad \text {if}~~ K > 0.\\ \end{array} \right. \end{aligned}$$

Proof

Let \({\bar{f}}=f|f|^{p-2} \) be a Lipschitz function with \(\int {\bar{f}}=0\). Let \({\bar{f}}^\pm \) denote the positive and the negative parts of \({\bar{f}}\) respectively. Then we have \(\int {\bar{f}}^+=-\int {\bar{f}}^-\). Consider the \(L^1\)-optimal transport problem from \(\mu _0:={\bar{f}}^+{\mathfrak {m}}\) to \(\mu _1:= -{\bar{f}}^-{\mathfrak {m}}\). By Theorem 2.2, there exists a family of disjoint unparameterized geodesics \(\{X_q\}_{q \in {\mathfrak {Q}}}\) of length at most D, such that

$$\begin{aligned} {\mathfrak {m}}(X \setminus \cup X_q)=0,~~~{\mathfrak {m}}=\int _{\mathfrak {Q}} {\mathfrak {m}}_q\, \mathrm{d}\mathfrak {q}(q) \end{aligned}$$

where for some \(h_q \in {\mathcal {F}}_{K, N, D'_q}\) with \(D'_q\le D\), \({\mathfrak {m}}_q(X_q)={\mathfrak {m}}(X)\) and

for \(\mathfrak {q}\)-a.e. \(q \in \mathfrak {Q}\).

Denote . By definition we obtain

Notice that \(|f_q'| \le |\nabla f|\). Thus, we have

$$\begin{aligned} \lambda ^{p}_{K, N, D} \int | f|^p \,\mathrm{d}{\mathfrak {m}}= & {} \lambda ^{p}_{K, N, D} \int _{\mathfrak {Q}} \int _{X_q} | f_q|^p {\mathfrak {m}}_q\, \mathrm{d}\mathfrak {q}(q) \\\le & {} \int _{\mathfrak {Q}} \int _{X_q} | f'_q|^p {\mathfrak {m}}_q\, \mathrm{d}\mathfrak {q}(q) \\= & {} \int |\nabla f|^p \,\mathrm{d}{\mathfrak {m}}. \end{aligned}$$

Combining with Corollary 3.12 we prove the theorem. \(\square \)

4.2 Rigidity for p-spectral gap

In this part, we will study the rigidity for p-spectral gap under the measure contraction property. We adopt the notation \(|\mathrm{D}f|\) to denote the weak upper gradient of a Sobolev function f. We refer the readers to [2] and [16] for details about Sobolev space theory and calculus on metric measure spaces.

Theorem 4.2

(Rigidity for p-spectral gap) Let \((X,\mathrm{d},{\mathfrak {m}})\) be an essentially non-branching metric measure space satisfying \(\mathrm{MCP}(K, N)\) for some \(K \le 0, N\in (1, \infty )\) and \(\mathrm{diam}(X) \le D\). Assume there is a non-zero Sobolev function \(f\in W^{1,p}(X,\mathrm{d},{\mathfrak {m}})\) with \(\int f|f|^{p-2} \,\mathrm{d}{\mathfrak {m}}=0\) such that

$$\begin{aligned} {\int |\mathrm{D}f|^p \,\mathrm{d}{\mathfrak {m}}}-{\hat{\lambda }}^{p}_{K, N, D}{\int |f|^p \,\mathrm{d}{\mathfrak {m}}}=0. \end{aligned}$$

Then \(\mathrm{diam}(X)=D\) and there are disjoint unparameterized geodesics \(\{X_q\}_{q \in {\mathfrak {Q}}}\) of length D such that \({\mathfrak {m}}(X \setminus \cup X_q)=0\). Moreover, \({\mathfrak {m}}\) has the following representation

where \(\frac{h'_q}{h_q}=T^p_{K, N, D}\) for \(\mathfrak {q}\)-a.e. \(q \in \mathfrak {Q}\).

Proof

Similar to the proof of Theorem 4.1, we can find a measure decomposition associated with \({\bar{f}}:= f|f|^{p-2}\), such that

$$\begin{aligned} {\mathfrak {m}}(X \setminus \cup X_q)=0,~~~{\mathfrak {m}}=\int _{\mathfrak {Q}} {\mathfrak {m}}_q\, \mathrm{d}\mathfrak {q}(q) \end{aligned}$$

where for some \(h_q \in {\mathcal {F}}_{K, N, D'_q}\) with \(D'_q\le D\), \({\mathfrak {m}}_q(X_q)={\mathfrak {m}}(X)\) and

for \(\mathfrak {q}\)-a.e. \(q \in \mathfrak {Q}\).

By Theorem 7.3 [3] we know and \(|\mathrm{D}f_q| \le |\mathrm{D}f|\). Then from the proof of Theorem 4.1 we can see that \( \lambda ^{p, h_q}={\hat{\lambda }}^{p}_{K, N, D}\) for \(\mathfrak {q}\)-a.e. \(q \in \mathfrak {Q}\). By Proposition 3.6 we know that the function \(D\mapsto {\hat{\lambda }}^{p}_{K, N, D}\) is strictly decreasing, so \(D'_q= D\) and \(\mathrm{diam}(X)=D\). Finally, by Theorem 3.13 we know that \(\frac{h'_q}{h_q}=T^p_{K, N, D}\). \(\square \)