1 Introduction

The EGB theory is one of the most promising candidates for modified gravity theory. In the past several decades, higher dimensional EGB gravity has been extensively studied, and it has been showed that the Gauss–Bonnet term yields richer phenomena than Einstein theory. On the other hand, the Gauss–Bonnet invariant makes no contribute to four-dimensional field equations because it is currently a total derivative in gravitational action.

Recently, a novel proposal for four-dimensional EGB gravity has been published [1]. By rescaling the GB coupling constant \(\alpha \rightarrow \frac{\alpha }{D-4}\), and take \(D\rightarrow 4\) limit at equation of motion (EOM) level, the Gauss–Bonnet term generates non-trivial dynamics. Remarkably, the simple strategy circumvent the Lovelock’s theorem and be free from Ostrogradsky instability. On the basis of this approach to gravitational physics, a new branch of static spherically symmetric black hole solutions was obtained in [1], which was also given by the gravity theory with conformal anomaly [2], though \(\alpha \) has different meanings in these contexts. As a result of that proposal, the solution has regained widespread attention, and various properties of the 4D EGB solutions were considered within a short period time. For example, gravitational collapse was considered in [3], the generalization of the original solution [1] was studied in [4,5,6,7,8], black hole thermaldynamics was investigated in [9, 10], gravitational lensing and shadow were considered in [5, 6, 11,12,13], quasinormal modes and stability were showed in [14,15,16], the electromagnetic radiation properties of thin accretion disk around black hole were explored in [17], while the Hawking radiation and black hole evaporation were showed in [18, 19] respectively.

As research progresses, the validity of 4D EGB gravity is being questioned [20,21,22,23,24,25,26,27]. For example, in this scheme, the field equations are actually ill defined in terms of general spacetime geometry [25, 26], and the scheme also results in divergence of black hole entropy [27]. However, it is necessary to note that the scheme works well in certain geometries, such as those with spherical symmetry, and provides a well-defined action [4] in those cases. As a result, it is reasonable to treat the 4D EGB gravity with certain symmetry as an effective theory, allowing us to investigate the effect of higher-order curvature correction in four dimensions and shedding light on the validity of the underlying theory. On the other hand, the model presented in this paper also can be regarded as an effective model of gravity theory with conformal anomaly [2] from which the spherically symmetric solution of 4D EGB gravity can be deduced. In other words, the model is worth studying even in the absence of a complete theory of 4D EGB gravity.

Gravitational collapse is one of the central issues in gravitational physics, as it is intimately connected to a number of significant issues, including the formation of black hole, cosmic censorship, and black hole thermal dynamical laws. As a simple model, the final fate of spherically symmetric gravitational collapse of a dust fluid has been extensively studied in four and higher dimensions [28,29,30,31] for Einstein’s gravity, which demonstrates that the property of singularity depends on dimensionality and initial data, while the results also hold for Gauss–Bonnet gravity [32,33,34,35], therefore it is worthwhile to consider the gravitational collapse in 4D EGB gravity. The spherical thin shell is an excellent toy model for studying the gravitational collapse process, which has been considered by several authors [36,37,38,39] and used to test many significant gravity-related conjectures, such as cosmic censorship conjecture.

In this paper, we investigate the motion of a spherically collapsing dust thin shell in EGB gravity. It shows that when the gravitational mass M and rest mass m are within a certain parameter range, the collapsing thin shell on the Penrose diagram exhibits oscillating behavior in four dimensions. Then, using the method described in [40, 41], we examine the thin shell’s oscillating behavior on the Penrose diagram. Due to the fact that the thin shell would not collapse to form a black hole as a result of this behavior, it is critical to note that the bouncing behavior is not an effect observable to outside observers. The thin shell’s motion in higher dimensions is also analyzed. Furthermore, the weak cosmic censorship conjecture is tested and turns out to hold in this model.

The paper is organized as follows: in Sect. 2, we introduce the bouncing behavior of collapsing dust stars in 4D EGB gravity. Then we are motivated to study collapsing shells and obtain the EOM of spherical thin shells in D dimensions in Sect. 3. In Sect. 4, we study in detail the EOM of thin shells both in four and higher dimensions. In Sect. 5, we test the weak cosmic censorship in this model. Finally, some concluding remarks will be presented in Sect. 6.

2 Dust collapse in the novel 4D EGB gravity

In this section, we review the process of gravitational collapse in four-dimensional EGB gravity and show that collapsing dust stars exhibit bouncing behavior. Actually, dust collapse in 4D EGB gravity has been studied in [3], but they focused on the marginally bound collapse of dust stars and did not consider the bouncing behavior. Because the surface of a dust star follows geodesics of test particles with respect to the external spacetime (4D EGB black hole) [3], we concentrate on the geodesics rather than directly analyzing the collapsing dust star’s trajectory.

We first introduce the 4D EGB gravity. Consider \(D\ge 5\) dimensional EGB theory which has action

$$\begin{aligned} S_{M}=\frac{1}{16\pi G_{d}}\int d^{D}x\sqrt{-g}\left( R+\alpha L_{GB}\right) , \end{aligned}$$

where the Gauss–Bonnet term \(L_{GB}\) is defined by

$$\begin{aligned} L_{GB}=R^{2}-4R_{ab}R^{ab}+R^{abcd}R_{abcd}. \end{aligned}$$

For this theory, the spherically symmetric vacuum solution has given by Boulware and Deser [42],

$$\begin{aligned} ds^{2}=-H(r)dt^{2}+\frac{dr^{2}}{H(r)}+r^{2}d\Omega _{D-2}^{2}, \end{aligned}$$
(1)

where \(d\Omega _{D-2}^{2}\) is the line element of the unit \(S^{D-2}\) and

$$\begin{aligned} H(r)=1+\frac{r^{2}}{2\widetilde{\alpha }}\left( 1-\sqrt{1+\frac{16\widetilde{\alpha }M}{(D-2)r^{D-1}}}\right) , \end{aligned}$$

where \(\widetilde{\alpha }=(D-3)(D-4)\alpha \).

The recent proposal of 4D EGB gravity [1] extends (1) to \(D=4\) and gives four dimensional EGB vacuum solution, namely

$$\begin{aligned} ds^{2}=-F(r)dt^{2}+\frac{dr^{2}}{F(r)}+r^{2}\left( d\theta ^{2}+\sin ^{2}\theta d\phi ^{2}\right) , \end{aligned}$$
(2)

where

$$\begin{aligned}F(r)=1+\frac{r^{2}}{2\alpha }\left( 1-\sqrt{1+\frac{8\alpha M}{r^{3}}}\right) ,\end{aligned}$$

then \(F(r)=0\) gives the event horizons of 4D EGB black hole, namely

$$\begin{aligned} r_{\pm }=M\pm \sqrt{M^2-\alpha }. \end{aligned}$$
(3)

Notice that (2) is well-defined when \(r\rightarrow 0\), whereas a straight-forward calculation demonstrates that the scalar \(R^{abcd}R_{abcd}\) diverge as \(\frac{M\alpha }{r^{3}}\) when \(r\rightarrow 0\), implying that \(r=0\) is a real singularity.

Following that, we will reveal the existence of bouncing behavior for a test particle which is freely falling in 4D EGB gravity. In this section, we restrict ourselves to non-extremal cases, where both \(r_{+}\) and \(r_{-}\) in (3) exist and have different values.

The radial geodesic equation is given by

$$\begin{aligned} g_{rr}\left( \frac{dr}{d\tau }\right) ^{2}+g_{tt}\left( \frac{dt}{d\tau }\right) ^{2}=-1. \end{aligned}$$
(4)

Considering the conserved quantities associated with the Killing vectors \(\partial _{t}\), there is

$$\begin{aligned} E=-p_{t}=-g_{tt}p^{t}=-g_{tt}\frac{dt}{d\tau }. \end{aligned}$$
(5)

Combine (4) with (5), we obtain

$$\begin{aligned} \left( \frac{dr}{d\tau }\right) ^{2}=E^{2}-F(r), \end{aligned}$$
(6)

which tells us that the physical region of trajectory of test particles should be confined in \(E^{2}-F(r)\ge 0\). Due to the fact that \(F(r\rightarrow 0)=1\), test particles with \(E\in [0,1)\) must be bounced back before reaching \(r=0\).

By analyzing geodesics of test particles in a 4D EGB black hole background, we conclude that there exist bouncing behavior for collapsing dust stars. We then ask, is the bouncing behavior a universal phenomena for self-gravitational collapsing system in 4D EGB theory? To explore this issue further, we are motivated to investigate the collapsing thin spherical shell in this theory.

3 The equation of motion of thin shell in D dimensions

In this paper, the model is based on a D dimensional spherically symmetric spacetime M that is split into two segments by a timelike hypersurface \(\Sigma \) with two sides denoted \(\Sigma _{\pm }\). The hypersurface can then be treated as the boundary of each half of the spacetime. By varying the action, the generalized Israel junction condition [43] on \(\Sigma \) is obtained, which has been rigorously re-derived recently by expressing the field equations in terms of distributions [44]. Note that the hypersurface describes the path of a thin spherical shell. Our goal in this section is to derive the shell’s EOM under the equation of state and junction condition. To begin, we consider D dimensional EGB theory with a spherically symmetric thin shell, whose action is given by

$$\begin{aligned} S= & {} S_{M}+S_{matter}=\frac{1}{16\pi G_{D}}\int _{M}d^{D}x\sqrt{-g}\left( R+\alpha L_{GB}\right) \nonumber \\&-\int _{\Sigma }d^{D-1}x\sqrt{-h}L_{m}^{\Sigma }, \end{aligned}$$
(7)

where \(h_{ab}\) is the induced metric on \(\Sigma \).

As in the Einstein case, a surface term must be added to (7) to obtain a well-defined variational problem. The corresponding term is

$$\begin{aligned} S_{\Sigma }=-\frac{1}{8\pi G_{D}}\int _{\Sigma _{\pm }}d^{D-1}x\sqrt{-h}\left( K+2\alpha \left( J-2\hat{G}^{ab}K_{ab}\right) \right) , \end{aligned}$$

where \(\hat{G}^{ab}\) is the Einstein tensor related to \(h_{ab}\), J is the trace of \(J_{ab}\) which defined as

$$\begin{aligned} J_{ab}= & {} \frac{1}{3}(2KK_{ac}K_{b}^{c}\\&+K_{cd}K^{cd}K_{ab}-2K_{ac}K^{cd}K_{db}-K^{2}K_{ab}), \end{aligned}$$

where K is the trace of extrinsic curvature, and the extrinsic curvature of thin shell is given byFootnote 1

$$\begin{aligned} K_{ab}=h_{a}^{\mu }h_{b}^{\nu }\nabla _{\mu }n_{\nu }, \end{aligned}$$
(8)

where \(n^{\nu }\) is the normal vector of the thin shell.

As an aid to derive junction conditions, we introduce Gaussian normal coordinates in the neighborhood of \(\Sigma \). The metric \(g_{\mu \nu }\) has the following form

$$\begin{aligned} ds^{2}= & {} d\omega ^{2}+h_{ab}dx^{a}dx^{b}=d\omega ^{2}-n^{2}(\omega ,\tau )d\tau ^{2} \nonumber \\&+{\sum \limits _{i=1}^{D-2}}\frac{r^{2}\left( \omega ,\tau \right) }{\left( 1+\frac{1}{4}{\sum \nolimits _{j=1}^{D-2}}x_{j}^{2}\right) ^{2}} dx_{i}^{2}. \end{aligned}$$
(9)

Note that the extrinsic curvature of surfaces \(\omega =\) constant is \(K_{ab}=-\frac{1}{2}\partial _{\omega }h_{ab}\). Substituting the metric ansatz (9) into \(S_{tot}=S+S_{\Sigma }\), then \(S_{tot}\) reduces to the following form

$$\begin{aligned}&S_{reduced}=\frac{A_{D-2}}{16\pi G_{D}}\int d\omega d\tau (D-2)nr^{D-3}\Bigg (-2\partial _{\omega }^{2}r \nonumber \\&\quad +(-3+D)\frac{\psi }{r}+\frac{4\widetilde{\alpha }}{r^{2}}\bigg (-\psi \partial _{\omega }^{2}r+\frac{1}{2r}(-5+D) \nonumber \\&\quad \times \Big (\frac{1}{2}-\left( \partial _{\omega }r\right) ^{2}-\frac{\dot{r}^{2}}{n^{2}}\left( \psi +\frac{7\dot{r}^{2}}{6n^{2}}\right) +\frac{1}{2}\left( \partial _{\omega }r\right) ^{4}\Big )\bigg )\Bigg ) \nonumber \\&\quad +\frac{A_{D-2}}{8\pi G_{D}}\int _{\Sigma _{\pm }}d\tau (D-2)nr^{D-3}\partial _{\omega }r\Bigg (1+\frac{2\widetilde{\alpha }}{r^{2}} \nonumber \\&\quad \times \left( \psi +{{\frac{2}{3}\left( \partial _{\omega }r\right) ^{2}}}\right) \Bigg )-\int _{\Sigma }d^{D-1}x\sqrt{-h}L_{m}^{\Sigma }, \end{aligned}$$
(10)

where \(A_{D-2}=\frac{2\pi ^{\frac{D-1}{2}}}{\Gamma [\frac{D-1}{2}]}\) is the area of unit \(S^{D-2}\), \(\dot{r}\) denotes \(\partial _{\tau }r\) and

$$\begin{aligned} \psi =1-\frac{\dot{r}^{2}}{n^{2}}-\left( \partial _{\omega }r\right) ^{2}. \end{aligned}$$

Varying the reduced action (10), one can obtain junction condition

$$\begin{aligned}&\frac{(D-2)}{n^{2}}\left[ K_{i}^{i}\left( 1+2\widetilde{\alpha } \left( \frac{1}{r^{2}}+\frac{\dot{r}^{2}}{n^{2}r^{2}}-\frac{1}{3} \left( K_{i}^{i}\right) ^{2}\right) \right) \right] _{-}^{+}\nonumber \\&=-8\pi G_{D}S^{\tau \tau }<+\infty , \end{aligned}$$
(11)

where \(\left[ X\right] _{-}^{+}\doteq X_{+}-X_{-}\) (we have chosen the normal vector of \(\Sigma \) to be outward-pointing, i.e pointing from the inside of shell to outside) and the energy-momentum tensor is defined by

$$\begin{aligned} S^{ab}=\frac{2}{\sqrt{-h}}\frac{\delta S_{matter}}{\delta h_{ab}}. \end{aligned}$$

Note that \(K^i_{i}=\frac{1}{D-2}H^{ij}K_{ij}\), where \(H_{ij}dx^{i}dx^{j}=h_{ab}dx^{a}dx^{b}+n^{2}(\omega ,\tau )d\tau ^2.\)

Suppose the velocity of an comoving observer on the radial collapsing thin shell to be \(u^{a}=(\partial _{\tau })^a\), where \(\tau \) is the proper time of the observer, then the metric of the shell has the form

$$\begin{aligned} ds_{D-1}^{2}=-d\tau ^{2}+r^{2}(\tau )d\Omega _{D-2}^{2}. \end{aligned}$$
(12)

Assuming that the shell satisfies pressureless condition, its surface energy momentum has

$$\begin{aligned} S^{ab}={\sigma }({\tau })u^{a}u^{b}, \end{aligned}$$
(13)

where \(\sigma \) denotes surface density. From the conservation equations \(^{(D-1)}\nabla _{b}S_{a}^{b}=0\), where \(^{(D-1)}\nabla _{b}\) is the derivative operator on \({{\Sigma }}\), we obtain

$$\begin{aligned} \frac{\dot{\sigma }}{\sigma }+(D-2)\frac{\dot{r}}{r}=0. \end{aligned}$$
(14)

The rest mass of shell is defined as \(m=\sigma {A_{D-2}}r^{D-2}\) and (14) would implies m is a constant.

Since we consider a thin shell, vacuum condition holds in inner and outside of the shell, therefore the metric of bulk is given by

$$\begin{aligned} ds^{2}=-f(r)dt^{2}+\frac{dr^{2}}{f(r)}+r^{2}d\Omega _{D-2}^{2}, \end{aligned}$$
(15)

where

$$\begin{aligned} f(r)\equiv & {} f_{-}(r)=1,\\ f(r)\equiv & {} f_{+}(r)=1+\frac{r^{2}}{2\widetilde{{{\alpha }}}} \left( 1-\sqrt{1+\frac{16\widetilde{\alpha }M}{(D-2)r^{D-1}}}\right) . \end{aligned}$$

Because both sides must have the same induced metric on the shell, then we have

$$\begin{aligned} ds_{\Sigma }^{2}=\left( -f_{\pm }(r)\dot{t}^{2}+\frac{1}{f_{\pm }(r)}\dot{r}^{2}\right) d\tau ^{2}+r^{2}(\tau )d\Omega _{D-2}^{2}, \end{aligned}$$

where

$$\begin{aligned} -f_{\pm }(r)\dot{t}^{2}+\frac{1}{f_{\pm }(r)}\dot{r}^{2}=-1. \end{aligned}$$
(16)

The equation (16) means if we know the \(r(\tau )\), then we would obtain \(t(\tau )\) so that the spherical shell’s motion r(t) is clear for observer at infinity.

Now we define the hypersurface \(\Sigma \) as \(r=r(\tau )\), which describes the motion of thin shell, then its tangent vector \(u^a\) can be written by bulk coordinates as

$$\begin{aligned} u^a=\dot{t}(\partial _{t})^a+\dot{r}(\partial _{r})^a \end{aligned}$$

and its normal vector \(n^{a}\) has

$$\begin{aligned} n^{a}=n^{t}\left( \frac{{{\partial }}}{\partial t}\right) ^{a}+n^{r}\left( \frac{{{\partial }}}{\partial r}\right) ^{a}. \end{aligned}$$

Combine \(n^{a}n_{a}=1\) with \(u^{a}n_{a}=0\), we can obtain

$$\begin{aligned} n^{r}=\pm \sqrt{f(r)+\dot{r}^{2}}, \end{aligned}$$
(17)

where ± determine the direction of \(n^{a}\). More specifically, we write \(n^{r}\) outside and inside the shell as

$$\begin{aligned} n_{o}^{r}= & {} \pm \sqrt{f_{+}(r)+\dot{r}^{2}},\\ n_{i}^{r}= & {} \sqrt{1+\dot{r}^{2}}. \end{aligned}$$

Due to the fact that the interior spacetime is flat, \(n_{i}^a\) points to increasing r in our convention, which implies that \(n_{i}^{r}\) should be positive.

Then, from (8), (12), (15), one can obtain

$$\begin{aligned} K_{i}^{i}=r^{-1}n^{r}, \end{aligned}$$
(18)

and, when combined with (11), (12), (13), we conclude the EOM of shell

$$\begin{aligned}&\frac{(D-2)}{8\pi G_{D}r}\big (\left( n_{i}^{r}-n_{o}^{r}\right) +\frac{2\widetilde{\alpha }}{3r^{2}} \big (3(1+\dot{r}^{2})(n_{i}^{r}-n_{o}^{r})\nonumber \\&+\left( n_{o}^{r}\right) ^{3}-\left( n_{i}^{r}\right) ^{3}\big )\big ) =S_{\tau \tau }=\sigma . \end{aligned}$$
(19)

For simplicity, we choose the following units for the rest mass of shell

$$\begin{aligned} \frac{8\pi G_{D}}{(D-2)A_{D-2}}=1, \end{aligned}$$

then equation (19) becomes

$$\begin{aligned}&r^{D-3}\big (\left( n_{i}^{r}-n_{o}^{r}\right) +\frac{2\widetilde{\alpha }}{3r^{2}}\big (3(1+\dot{r}^{2})(n_{i}^{r}-n_{o}^{r})\nonumber \\&+(n_{o}^{r})^{3}-(n_{i}^{r})^{3}\big )\big )=m, \end{aligned}$$
(20)

while we have \((n_{i}^{r})^2=1+\dot{r}^{2}\) in our case, therefore (20) can be written as

$$\begin{aligned}&r^{D-3}\big ((n_{i}^{r}-n_{o}^{r})+\frac{2\widetilde{\alpha }}{3r^{2}}\big (n_{o}^{r}\left( \left( n_{o}^{r}\right) ^{2}-3\left( n_{i}^{r}\right) ^{2}\right) \nonumber \\&+2\left( n_{i}^{r}\right) ^{3}\big )\big )=m. \end{aligned}$$
(21)

Notice that \(\widetilde{\alpha }\) has units \([L^{2}]\). We replace \(r\rightarrow \widetilde{\alpha }^{\frac{1}{2}}r,m\rightarrow \widetilde{\alpha }^{\frac{D-3}{2}}m,M\rightarrow \widetilde{\alpha }^{\frac{D-3}{2}}M\) and have dimensionless equation

$$\begin{aligned}&r^{D-3}\big ((n_{i}^{r}-n_{o}^{r})+\frac{2}{3r^{2}}\big (n_{o}^{r}\left( \left( n_{o}^{r}\right) ^{2}-3\left( n_{i}^{r}\right) ^{2}\right) \nonumber \\&+2\left( n_{i}^{r}\right) ^{3}\big )\big )=m, \end{aligned}$$
(22)

while \(f_{+}(r)=1+\frac{r^{2}}{2}(1-\sqrt{1+\frac{16M}{(D-2)r^{D-1}}})\). In following sections, we always take EOM and \(f_{+}(r)\) the form which regard \(\{r,m,M\}\) as dimensionless parameters when we refer to EOM and \(f_{+}(r)\) in specific dimensions.

4 Analysis of collapsing thin shells’ EOM

In this section, we will analyze the EOM of spherical shells. The existence of bounce behavior at small radius is firstly shown for our spherically symmetric model based on 4D EGB gravity, and then the trajectories with bounce behavior are classified into three types based on their difference on the Penrose diagram. Finally, we will examine the trajectory of thin shells and show that the bouncing behavior is absent in higher dimensions. For \(D=4\), we make rescaling \(\alpha \rightarrow \frac{1}{D-4}\alpha \), which corresponds to \(\widetilde{\alpha }=(D-3)\alpha \).

4.1 The bouncing process in \(D=4\)

Let us begin by demonstrating the central point of this paper, namely the existence of bouncing behavior for a dust thin shell. In this subsection, we restrict to non-extremal cases. Equation (22) can be re-written as

$$\begin{aligned}&\dot{r}^{6}+\left( \frac{3}{2}r^{2}+3-\frac{M^{2}}{m^{2}}\right) \dot{r}^{4}+\left( \frac{3}{4}r^{2}+1\right) ^{2}-\frac{9W^{2}}{64m^{2}}\nonumber \\&\quad +\left( \left( \frac{3}{4}r^{2}+2\right) ^{2}-1-\frac{3MW}{4m^{2}}\right) \dot{r}^{2}=0, \end{aligned}$$
(23)

where

$$\begin{aligned} W= & {} m^{2}r+\frac{1}{18}\left( -1+\sqrt{1+\frac{8M}{r^{3}}}\right) r^{5}\\&\quad +\frac{4}{9}M\left( 6+\left( 3+\sqrt{1+\frac{8M}{r^{3}}}\right) r^{2}\right) . \end{aligned}$$

Equation (23) is a cubic equation of \(\dot{r}^{2}\). According to the discriminant of the cubic algebraic equation, there is a unique real solution to (23), which can be written as

$$\begin{aligned}&\dot{r}^{2}=V(r,m,M),\nonumber \\&\quad V(r,m,M)=\left( -\frac{q}{2}+\sqrt{\left( \frac{q}{2}\right) ^{2}+\left( \frac{p}{3}\right) ^{3}}\right) ^{\frac{1}{3}} \nonumber \\&\quad +\left( -\frac{q}{2}-\sqrt{\left( \frac{q}{2}\right) ^{2} +\left( \frac{p}{3}\right) ^{3}}\right) ^{\frac{1}{3}}+\frac{M^{2}}{3m^{2}} -\frac{1}{2}r^{2}-1,\nonumber \\ \end{aligned}$$
(24)

where

$$\begin{aligned} p= & {} -\frac{M^{4}}{3m^{4}}+\frac{(2+r^{2})M^{2}}{m^{2}}-\frac{3WM}{4m^{2}}-\frac{3}{16}r^{4},\\ q= & {} -\frac{9W^{2}}{64m^{2}}+\frac{\left( -2M^{3}+3m^{2}M(2+r^{2})\right) W}{8m^{4}}-\frac{2M^{6}}{27m^{6}}\\&\quad +\frac{(2+r^{2})M^{4}}{3m^{4}} -{\frac{(16+16r^{2}+5r^{4})M^{2}}{16m^{2}}-\frac{r^{6}}{32}} \end{aligned}$$

and \(V(r,m,M)\ge 0\) corresponds to the physical allowable region of the spherical shell trajectory. For illustrating the existence of the bouncing process, without loss of generality, we numerically solve \(V(r)=0\) for \(M=5\) with different m to see the number of turning points in the trajectory of spherical shell, see Fig. 1.

Fig. 1
figure 1

For \(M=5\), the solutions of the equation \(V(r)=0\) are plotted over the range \(m=5\) to \(m=20\), with the intervals \(\Delta m=0.2\). Note that the distance between horizons has been scale down to make it easier to display turning points

To determine the trajectory of bouncing process more specifically, we would follow the analysis method described in [40, 41]. Due to the fact that \(\sqrt{f_{+}+\dot{r}^{2}}\ge 0\) in Eq. (22) requires turning points to be located within the interval satisfying \(f_{+}\ge 0\), since \(f_{+}<0\) in \(r_{-}<r<r_{+}\), there are no turning points for thin shells in this interval. Supposing the trajectory of a spherical shell has two turning points which locate at \(0<r_{1}<r_{-}\) and \(r_{2}>r_{+}\) respectively, we will always refer to an oscillating trajectory as such in this paper. We now classify such trajectories into four types on the Penrose diagram. The construction of the Penrose diagram for 4D EGB black hole (2) is given in the Appendix, where also contains an illustration of the sign of \(n_{o}^{r}\) on the diagram. To explain the classification rules, suppose a thin shell that starts in region \(I_{+}\) in Fig. 5, then the worldline of the shell will pass region \(II_{+}\) to reach the minimum \(r_{1}<r_{-}\). However, there are two possible ways to reach the minimum: by entering region \(III_{+}\) or by entering region \(III_{-}\). We then define the following two distinct types of trajectories: type I, which oscillates between regions \(I_{+}\) and \(III_{+}\), and type II, which oscillates between regions \(I_{+}\) and \(III_{-}\). Similarly, for a shell that begins in region \(I_{-}\), its worldline will pass through region \(II_{+}\) and then enter region \(III_{+}\) or \(III_{-}\) in order to reach minimum \(r_{1}\), resulting the other two types of trajectories: type III, which oscillates between regions \(I_{-}\) and \(III_{+}\), and type IV, which oscillates between regions \(I_{-}\) and \(III_{-}\). For instance, the trajectories of type I and type IV on the Penrose diagram are shown in Fig. 2. The four possible oscillation types and the sign of \(n_{o}^{r}\) in each corresponding region are listed in Table 1.

Fig. 2
figure 2

The different types of the oscillating shell’s trajectory on Penrose diagram are plotted

Table 1 The four possible types of oscillation trajectories on the Penrose diagram, as well as each corresponding region as, are listed

Now we ask such a question: which type of trajectory will an oscillating shell with specific mass parameters follow? To begin answering the question, we use type I trajectory as an example to illustrate our method. Notice that the position of the turning points of the trajectory is decided by (22) with \(\dot{r}=0\). Specifically, the position of turning points with \(n_{o}^{r}>0\) is determined by \(g(r)=0\), where

$$\begin{aligned} g(r)=r\left( 1-\sqrt{f_{+}}\right) +\frac{2}{3r}\left( \sqrt{f_{+}}(-3+f_{+})+2\right) -m.\nonumber \\ \end{aligned}$$
(25)

Similarly, the position of turning points with \(n_{o}^{r}<0\) is decided by \(h(r)=0\), where

$$\begin{aligned} h(r)=r\left( 1+\sqrt{f_{+}}\right) +\frac{2}{3r}\left( -\sqrt{f_{+}}(-3+f_{+})+2\right) -m.\nonumber \\ \end{aligned}$$
(26)

Supposing the trajectory of an oscillating shell with mass parameters \(\{m_{1}, M_{1}\}\) belongs to type I trajectory whose two zero points with \(n_{o}^{r}>0\). That means \(g(r)=0\) with \(\{m_{1}, M_{1}\}\) must have one zero point at \(0<r<r_{-}\) and \(r>r_{+}\) respectively, then analyzing the function g(r) will reveal that the existence of such zero points distribution of g(r) is equivalent to satisfying \(1<M_{1}<m_{1}<M_{1}^{-}\), where \(M_{1}^{-}=\frac{7}{3}M_{1}-\frac{1}{3}\sqrt{M_{1}^{2}-1}.\) Finally, we conclude that the trajectory of an oscillating shell with \(1<M_{1}<m_{1}<M_{1}^{-}\) is classified into type I trajectory. Similar analysis can be done for other type trajectories. The following is a detailed analysis:

The derived function of g(r) and h(r) are given by

$$\begin{aligned} g'(r)= & {} 1-\sqrt{f_{+}}+\frac{1}{r^{2}}\Big (f_{+}^{-\frac{1}{2}}u\left( f_{+}-1-\frac{3Mr}{u}\right) \\&-\frac{2}{3}\left( \sqrt{f_{+}}\left( f_{+}-3\right) +2\right) \Big ),\\ h'(r)= & {} 1+\sqrt{f_{+}}-\frac{1}{r^{2}}\Big (f_{+}^{-\frac{1}{2}}u\left( f_{+}-1-\frac{3Mr}{u}\right) \\&-\frac{2}{3}\left( \sqrt{f_{+}}\left( f_{+}-3\right) -2\right) \Big ), \end{aligned}$$

where \(u=2(f_{+}-1)-r^{2}\). Then, by examining the sign of the derived functions, one can determine the monotonicity of g(r) and h(r) at various radial radius values, as illustrated in Table 2. In order to analyze the existence of zero points of g(r) and h(r), we list boundary asymptotic behavior of these curves

$$\begin{aligned} g(r\rightarrow 0)= & {} -(m-M)+\frac{\sqrt{2}M^{\frac{3}{2}}r^{\frac{1}{2}}}{3}+O\left( r\right) , \end{aligned}$$
(27)
$$\begin{aligned} g(r\rightarrow +\infty )= & {} -(m-M)+\frac{M^{2}}{2r}+O\left( r^{-2}\right) , \end{aligned}$$
(28)
$$\begin{aligned} h(r\rightarrow 0)= & {} \frac{8}{3r}+(-m-M)+O\left( r^{\frac{1}{2}}\right) , \end{aligned}$$
(29)
$$\begin{aligned} h(r\rightarrow +\infty )= & {} 2r+(-m-M)+O\left( r^{-1}\right) . \end{aligned}$$
(30)
Table 2 The properties of the derivative functions \(g(r)'\) and \(h(r)'\) at \(\{r|r>r_{+} \cup r_{-}>r>0\}\) are listed

(a). For \(m>M\), the sign of g(r) and h(r) at their boundaries can be determined by their boundary asymptotic behavior. Combine with the monotonicity of the function g(r) and h(r) in \(\{r|r>r_{+}\cup r_{-}>r>0\}\), the number of zero points for g(r) and h(r) in \(\{r|r>r_{+}\cup r_{-}>r>0\}\) depends on the sign of their values at horizons, there are four possibilities when there are two turning points for trajectory of thin shell and they show as

$$\begin{aligned} \{M,m\}=A\cup B\cup C\cup D, \end{aligned}$$
(31)

where

$$\begin{aligned} A= & {} \{M,m|m>M \cap g(r_{\pm })>0\} \\= & {} \{M,m|M\ge 1\cap M<m<M^{-}\}, \\ B= & {} \{M,m|m>M \cap h(r_{\pm })<0\}\\= & {} \{M,m|M\ge 1\cap m>M^{+}\}, \\ C= & {} \{M,m|m>M \cap h(r_{-})<0\cap g(r_{+})>0\}=\emptyset , \\ D= & {} \{M,m|m>M \cap h(r_{+})<0 \cap g(r_{-})>0\} \\= & {} \{M,m|M>1\cap M^{-}<m<M^{+}\}, \end{aligned}$$

where \(M^{+}=\frac{7M}{3}+\frac{1}{3}\sqrt{M^{2}-1}.\) As a result, we conclude that the trajectory of an oscillating shell with mass parameters A/B/D is type I/IV/III, while type II trajectory is absent. To illustrate the classification in mass parameters’space in a more intuitive manner, we plot the Fig. 3a. Particularly, at the mass parameter \(\{M=1,m=\frac{7}{3}\}\), we also find that the EOM can describe a static configuration of the spherical shell which is an extremal black hole for an outside observer. The shell locates exactly at the radial position of the horizon, as illustrated in Fig. 3b.

Fig. 3
figure 3

a The classifications of bouncing processes by different mass parameters’ regions. b the V(r) profile of \(\{M=1,m=\frac{7}{3}\},\) which corresponds to the intersection of region ABD of left diagram. It shows that the spherical shell locate at \(r=1\), where the position of horizon of extremal black hole is

Until now, we have classified the oscillating thin shell on the Penrose diagram into three cases, which means that we can infer the interval of the oscillating shell’s mass parameter simply by observing its trajectory on the Penrose diagram. Physically, what we are actually interested in is the type I trajectory, whose mass parameters correspond to the region A in Fig. 3. This is because it is observable for the asymptotic observer in region \(I_{+}\) on the Penrose diagram, which is not the case for type IIIIV trajectory, see Fig. 2.

(b). For \(m\le M\), we have \(g(r\rightarrow 0)>0\) and \(g(r\rightarrow +\infty )>0\). Due to the monotonic property and asymptotic behavior of g(r) in \(\{r|r>r_{+} \cup r_{-}>r>0\}\), one can deduce that g(r) has no zero points, implying that the trajectory of a spherical shell dose not have any turning points with \(n_{o}^{r}>0\). Additionally, it also can be demonstrated that the trajectory of the spherical shell in this mass interval does not have any turning points with \(n_{o}^{r}<0\). If we have such turning point, it is equivalent to the mass parameters are either \(\{M,m|h(r_{+})<0\}=\{M,m|M\geqslant 1\cap m>\frac{7M}{3}-\frac{1}{3}\sqrt{M^{2}-1}\}\) or \(\{M,m|h(r_{-})<0\}=\{M,m|M\geqslant 1\cap m>\frac{7M}{3}+\frac{1}{3}\sqrt{M^{2}-1}\}\), which intersect with \(m\le M\) is the empty set, therefore we infer that the turning point of a shell’s trajectory with \(n_{o}^{r}<0\) is absent. Thus far, we have proved that the trajectory of a shell with \(m\le M\) does not have turning points, ie. the collapsing spherical shell with \(m\le M\) will eventually collapse into a singularity.

4.2 Collapsing shells in higher dimensions

Now we turn our attention to the trajectory of a thin shell in higher dimensions. In this case, the position of horizon is determined by \(r^{D-5}\left( 1+r^{2}\right) =\frac{4M}{D-2}\). Due to the fact that the left-hand side of this equation is monotonically increasing from zero to infinity for \(D>5\), there is unique solution, implying the existence of single horizon. When \(D=5\), the existence of horizon depends on the sign of \(\frac{4}{3}M-1\), and there exist single horizon when \(M>\frac{3}{4}\), which is the case here.

Physically, we believe that the existence of bouncing behavior in four dimensions is due to its unique causal structure in comparison to that of higher dimensions. Indeed, because the Gauss–Bonnet term modifies the small scale behavior of the Einstein gravity, and the turning point of spherical shells in higher dimensions is located outside the horizon of outer spacetime, it is reasonable to speculate that the property of turning points for spherical shells’ trajectory in high dimensions should be the same to that of Einstein case. To substantiate the argument, we provide a detailed analysis of the EGB case in five dimensions.

In this subsection, we are interested in the trajectory of shell with \(n_{o}^{r}>0\) in \(r>r_{H}\). To determine the location of the turning point of the shell’s trajectory, which is given by

$$\begin{aligned} r^{2}\left( \left( 1-\sqrt{f_{+}}\right) +\frac{2}{3r^{2}}\left( \sqrt{f_{+}}(-3+f_{+})+2\right) \right) =m, \end{aligned}$$

is equivalent to find the zero points of

$$\begin{aligned} G(r)=r^{2}\left( 1-\sqrt{f_{+}}\right) +\frac{2}{3}\left( \sqrt{f_{+}}\left( -3+f_{+}\right) +2\right) -m, \end{aligned}$$

whose derived function is given by

$$\begin{aligned} G'(r)= & {} 2r\left( 1-\sqrt{f_{+}}\right) \\&+\frac{1}{\sqrt{f_{+}}r}\left( (f_{+}-1)(2(f_{+}-1)-r^{2})-\frac{8}{3}M\right) , \end{aligned}$$

and asymptotic behavior at infinity is

$$\begin{aligned} G(r\rightarrow +\infty )=\left( -m+\frac{2}{3}M\right) +\frac{2}{9}M^{2}r^{-2}+O\left( r^{-3}\right) . \end{aligned}$$

By analyzing the derivative function, we can see that G(r) decreases monotonically in the interval \(r>r_{H}\), indicating that a zero point for G(r) exists in this interval if and only if the mass parameters satisfy

$$\begin{aligned} \{m,M\}= & {} \{G(r_{H})>0 \cap G(+\infty )<0\} \nonumber \\= & {} \left\{ \frac{2}{3}M<m\le \frac{1}{3}(1+4M)\right\} . \end{aligned}$$
(32)

However, we cannot conclusively determine which type of turning point exists in this case, is it an expanding shell with mass parameters (32), which is unable to escape its own gravitational pull, or is it a collapsing shell that bounces back to infinity? Nonetheless, we can numerically identify the type of turning point for certain mass parameters. Transforming (22) in five dimensions and obtain

$$\begin{aligned}&\dot{r}^{6}+\left( \frac{3}{2}r^{2}+3-\frac{4M^{2}}{9m^{2}}\right) \dot{r}^{4}+\left( \frac{3}{4}r^{2}+1\right) ^{2}-\frac{9Q^{2}}{64m^{2}} \nonumber \\&+\left( \left( \frac{3}{4}r^{2}+2\right) ^{2}-1-\frac{MQ}{2m^{2}}\right) \dot{r}^{2}=0, \end{aligned}$$
(33)

where

$$\begin{aligned} Q=&m^{2}+\frac{1}{18}\left( -1+\sqrt{1+\frac{16M}{3r^{4}}}\right) r^{6}\\&+\frac{8}{27}M\left( 6+\left( 3+\sqrt{1+\frac{16M}{3r^{4}}}\right) r^{2}\right) . \end{aligned}$$

As with the four-dimensional case, there exists a unique real solution for (33), denoted by \(\dot{r}^{2}=U(r,m,M)=V(r,\frac{m}{r},\frac{2M}{3r})\), where \(U(r,m,M)\ge 0\) corresponds to the physically allowable region of the spherical shell trajectory. Without loss of universality, we take \(M=5\) with different m which satisfy (32) to solve \(U(r)=0\) to determine the location of the spherical shell’s turning point, denoted by \(r_{tp}\), and study the sign of \(U'(r_{tp})\) to see the force at this position, see Fig. 4. As illustrated in Fig. 4, the spherical shell’s force direction at these turning points is pointing to decreasing r, implying that the spherical shell with these mass parameters cannot escape its own gravitational pull.

Fig. 4
figure 4

The location of turning points for \(M=5\) with m from 3.4 to 7 with \(\Delta m=0.1\) is plotted. Note that \(U'(r)|_{r=tp}\) only has numerical meaning in the vertical direction

In summary, collapsing thin shells exhibit novel bouncing behavior in four dimensions, but not in higher dimensions, as confirmed by the detailed analysis in five dimensions. The bouncing behavior is indeed caused by the \(\alpha \) term in four dimensions, whose effect is similar to that of electrical charge somehow, despite the fact that it contributes to Einstein’s theory as a pure gravitational correction.

5 Weak cosmic censorship for thin shells

The cosmic censorship has been tested by thin shells for many years. As we know, there is always a horizon for \(M>0\) in Schwarzchild spacetime, however in 4D EGB gravity, we can deduce from Eq. (3) that only \(M\ge \alpha \) makes the appearance of horizon, whereas \(M<\alpha \), which we refer to an underweight spacetime, later describes spacetime with naked singularity. Thus, one might reasonably ask whether a shell with an underweight exterior \((M<\alpha )\) can implode past the horizons of an existing non-extremal black hole \((M>\alpha )\). If this occurs, a naked singularity forms and weak cosmic censorship is violated. Now, we’re going to construct this scenario to test the cosmic censorship conjecture.

In this section, we are concentrated on the asymptotically flat region, where \(n^{r}>0\) is always true. For our purposes, we will consider such a gravitational collapse process for a spherical shell, whose interior and exterior geometry are given by the spherical symmetric solution (2). Let \(M_{i}\) and \(M_{o}\) denote the interior and exterior mass parameters, respectively, we will have

$$\begin{aligned} F_{i}(r)= & {} 1+\frac{r^{2}}{2{{{\alpha }}}}\left( 1-\sqrt{1+\frac{8{\alpha }M_{i}}{r^{3}}}\right) ,\\ F_{o}(r)= & {} 1+\frac{r^{2}}{2{{{\alpha }}}}\left( 1-\sqrt{1+\frac{8{\alpha }M_{o}}{r^{3}}}\right) . \end{aligned}$$

In this case, we specify \(M_{i}>\alpha \) and \(M_{o}<\alpha \). The motion of a spherical shell follows the Eq. (20), which we have obtained previously. We transform (20) in four dimensions and obtain

$$\begin{aligned}&r(n_{i}^{r}-n_{o}^{r})\nonumber \\&\quad \times \left( 1+\frac{2{\alpha }}{3r^{2}}\left( 3(1+\dot{r}{}^{2})-\left( (n_{o}^{r}){}^{2}+n_{o}^{r}n_{i}^{r}+(n_{i}^{r})^{2}\right) \right) \right) =m,\nonumber \\ \end{aligned}$$
(34)

where

$$\begin{aligned} n_{i}^{r}=\sqrt{F_{i}(r)+\dot{r}^{2}},\qquad n_{o}^{r}=\sqrt{F_{o}(r)+\dot{r}^{2}}. \end{aligned}$$

Since F(r) decreases monotonically from \(M=0\) to \(M=+\infty \), we have \(F_{o}(r)>F_{i}(r)\) and \(n_{o}^{r}>n_{i}^{r}\). Due to the facts \(0<n_{i}^{r}<n_{o}^{r}<\sqrt{1+\dot{r}^{2}}\), the left-hand side of (34) has

$$\begin{aligned}&r(n_{i}^{r}-n_{o}^{r})\left( 1+\frac{2{\alpha }}{3r^{2}}\left( 3(1+\dot{r}{}^{2})-\left( (n_{o}^{r}){}^{2}+n_{o}^{r}n_{i}^{r}+(n_{i}^{r})^{2}\right) \right) \right) \nonumber \\&<r(n_{i}^{r}-n_{o}^{r})<0, \end{aligned}$$
(35)

which indicates that m in (34) should be negative. However, because the weak energy condition in (13) implies that \(\sigma (\tau )>0\), which is identified with \(m>0\), the hypothetical process is unphysical. In other words, it cannot violate the cosmic censorship via thin shells’ dynamics in 4D EGB gravity, implying that the weak cosmic censorship conjecture holds. Moreover, the preceding analysis also can be used to test the third law of black hole dynamics, which states that no extremal black hole forms. The only modification required for the preceding discussion is to replace the outer spacetime with \(M=\alpha \). In that case, the third law still applies.

6 Concluding remarks

In this paper, we have considered the gravitational collapse of a spherical dust thin shell in EGB gravity. The EOM for the thin shell in D dimensions has been derived. Based on 4D EGB gravity, we are motivated by the trajectory of a collapsing dust star and discover novel bouncing behavior for the thin shell at small scale. It is worth noting that the bouncing process is consistent with the fact that the higher curvature corrections to GR modifies the small scale property of Einstein’s gravity. The EOM is analyzed in four dimensions and the oscillating shell is classified using the Penrose diagram. The analysis of EOM in higher dimensions is also included, where it is found that the collapsing thin shell cannot be bounced back (i.e. the singularity always forms). Finally, we test the weak cosmic censorship conjecture and find that it still holds in our model. However, some questions remain unanswered. Is the oscillation behavior still true for more realistic cases, such as thick shells, shells with more realistic equations of state and general (non-)spherical stars? Can dissipation during the collapse be taken into account? What will happen then? These questions will be left for future works.