1 Introduction

The late-time acceleration of the universe was discovered by observing the behavior of the supernovae of type Ia (SN Ia) [1, 2]. Recent observations imply that about 72 % of the energy density of the universe consists of an unknown constituent called “dark energy” [35]. One of the simple candidates which is able to fit with the current observational data is the cosmological constant. Theoretically, the cosmological constant can be interpreted as vacuum energy. It is found that the energy scale of the vacuum energy calculated from particle physics theory is far larger than the observed value of the cosmological constant [6]. It is also plagued by the coincidence problem, which amounts to the fact that the energy densities of cosmological constant and dark matter are significantly different throughout the history of the universe, while their energy densities are of the same order at the present time [710]. Therefore, various kinds of dynamical models for dark energy were proposed in order to explain the late-time acceleration of the universe [11, 12], for example, quintessence models [13, 14], k-essence models [1517], Galilean models [18] and their generalization [19, 20], vector field models [21, 22], three-form field models [23, 24] and holographic dark energy models [25]. Moreover, there are many modified gravity models constructed in order to explain this late-time acceleration of the universe, for example, \(f(R)\) gravity models [26, 27] (for viable cosmological models, see Refs. [2830]), \(f(G)\) gravity models [31] and, recently, massive gravity models [32, 33]. Among the various dark energy models, there is a model, motivated from fundamental theories such as string theory, called the “Casimir dark energy model” [34, 35]. We will focus on this model in the present work.

A fundamental theoretical framework that may be able to provide a description of the late-time acceleration of the universe is offered by string theory. Generally, string theory requires the presence of extra dimensions. However, from the observation point of view, we live in four-dimensional spacetime. This implies that the extra dimensions have to be compactified. It is not easy to obtain a mechanism for stabilizing the extra dimensions, while providing a viable model of dark energy [3638] and the lack of such a mechanism is often called the “moduli stabilization problem”. However, searches for a viable moduli stabilization mechanism are on-going; for example see [39, 40].

One of the most promising dark energy models that provides a solution for the moduli stabilization problem is the Casimir dark energy model [34, 35, 41]. The Casimir energy is a vacuum energy emerging from imposing boundary conditions on the quantum fluctuations of fields. The Casimir energy is very tiny compared to the vacuum energy calculated from particle physics theory. It is worthwhile to interpret the cosmological constant as the Casimir energy instead of the vacuum energy since the Casimir energy can naturally emerge from the compactification mechanism. Moreover, this dark energy candidate also provides the mechanism for stabilizing the extra dimensions automatically. However, in order to compare the results of the model to the standard history of the universe, we need to include non-relativistic matter. Unfortunately, adding the non-relativistic matter to the model destroys the stabilization mechanism of the extra dimensions [35, 42]. For the effective theory in four-dimensional spacetime, the size of the extra dimension will be characterized by a scalar field, the so-called moduli field or radion field, and the Casimir energy plays the role of the potential of the moduli field. The dynamics of the moduli field can be analyzed by using the potential in effective theory in four-dimensional spacetime. The qualitative analysis shows that the minimum of the potential of the moduli field will disappear and its slope will increase when non-relativistic matter is included. Hence, the moduli or radion field will rapidly roll down and then pass away from the minimum point before it has formed, which eventually leads to the destabilization of the extra dimensions. In order to restore the stabilization mechanism, a modified Casimir dark energy model in which the aether field is added has been investigated [42]. The effects of the aether field in the higher-dimensional spacetime were also investigated in [43, 44] and a key result in four-dimensional spacetime is that the slope of the potential is decreased. In other words, the force acting on the radion field during the matter-dominated period is reduced. Thus the radion field slowly rolls down during the matter-dominated period and it has enough time for waiting for the formation of the potential minimum at the late time. This eventually leads to the stabilization of the extra dimensions. Unfortunately, the aether field which can provide this viable model is plagued by ghost instabilities implying an unstable theoretical model [4548]. It was also found that the linear perturbations in the cosmological background of the aether model grow exponentially.

Braneworld models belong to the most interesting cosmological models with extra dimensions. In this scenario, the observable universe is a (3+1)-dimensional hypersurface (three-brane) embedded in a higher-dimensional spacetime (bulk) [52, 53] (for a recent review, see [54]). The stabilization mechanism of the extra dimensions in this scenario is an important issue. By introducing a bulk scalar field to the model, the classical stabilization mechanism for this scenario has been proposed [55] and intensively investigated (for example [5658]). Since the boundary conditions of the bulk are also imposed, a quantum effect corresponding to the Casimir energy is generated and then used by letting it play an essential role in the stabilization mechanism [5963]. It is important to note that there is a codimension-two brane in 6D gauge chiral supergravity model which proposes a stabilization mechanism for the extra dimensions from the brane–bulk couplings [4951]. In this model, the extra dimension geometry is set to be a rug ball where the branes are located at the tips. This geometry allows one to construct the model in the presence of supersymmetries in the bulk, while supersymmetries break on the branes. The Casimir energy calculated from one-loop corrections of the bulk fields may also play the role of he cosmological constant to drive the late-time acceleration of the universe.

The classical stabilization mechanism in the braneworld scenarios is accomplished by the existence of the radion mass. However, the radion field shows the trend to have a negative mass square leading to tachyonic instabilities [64]. By including the Gauss–Bonnet term, the dynamics of the radion field will be affected such that, for positive Gauss–Bonnet coupling, the radion mass increases and the inter-brane distance becomes smaller as the coupling increases and the radion field can evolve to the region without tachyonic instabilities. For the negative coupling case, the radion field evolves to the tachyonic instability state [65, 66]. Thus it turns out that the Gauss–Bonnet term with a positive coupling can help to stabilize the extra dimension.

In this paper, we will seek a way to restore the stabilization mechanism in the Casimir dark energy model by considering the modification of gravity instead of adding an exotic matter field. For the modified gravity, we will consider the generalization of Einstein gravity namely “Lovelock gravity” [6769]. Lovelock gravity is a generalization of Einstein gravity in higher-dimensional spacetime which gives rise to Einstein gravity with a cosmological constant in four-dimensional spacetime. One of the important properties of this modified gravity is that it still provides the equation of motion with second order derivatives of the theory and satisfies the conservation equation of matter field; in other words, it satisfies the modified Bianchi identities. In five- and six-dimensional spacetime, Lovelock gravity reduces to Einstein–Gauss–Bonnet (EGB) gravity which is Einstein gravity including a Gauss–Bonnet (GB) term. In fact, the GB term might also arise from string theory [70, 71]. Therefore, it is worthwhile to investigate the effect of the GB term on the stabilization of the extra dimensions in the Casimir dark energy model and this is the aim of this work. We find the equations of motion in five-dimensional spacetime and then use numerical methods to show that the extra dimensions can be stabilized. For the numerical method, the minimum radion potential has to be positive and the potential must be deep enough to stabilize the extra dimension. This requires a fine tuning of the model parameters and the most sensitive one is the mass ratio parameter \(\bar{\lambda }\). The other mechanisms which influence the stabilization mechanism are the spectrum of the particles to generate the Casimir energy as well as the initial value of the radion field.

The effective four-dimensional theory is obtained by Kaluza–Klein reduction [7274]. By using this result, we show that the contribution from the GB term effectively slows down the radion field during the matter-dominated period so that it does not pass the point at which the minimum of the potential will arise before the minimum has formed. The field then is trapped at the minimum of the potential after the formation leading to the stabilization of the extra dimensions. We also investigate this mechanism in six-dimensional spacetime and show that the radius of the extra dimensions can be stabilized in the same manner as in the five-dimensional analysis.

The paper is organized as follows. We review the Casimir dark energy model in Sect. 2. The stabilization of the extra dimension when non-relativistic matter is not included is discussed and the destabilization mechanism of the extra dimension when the non-relativistic matter is taken into account is also discussed in this section. In Sect. 3, the Lovelock gravity theory in (4+n)-dimensional spacetime and EGB gravity are reviewed. The Kaluza–Klein reduction of EGB gravity theory is also reviewed in this section. In Sect. 4, we use the results of the two previous sections to modify the Casimir dark energy model by including the GB term and show how the GB term affects the dynamics of radion field in both five- and six-dimensional spacetime. Finally, we conclude with the results in Sect. 6.

2 Casimir dark energy model

In this section, we will review one of the theoretical models, the so called “Casimir dark energy model” by following [35, 42]. The stabilization mechanism of the extra dimension in this model is reviewed. The destabilization of the extra dimension when non-relativistic matter added is also reviewed.

2.1 Casimir energy and its interpretation as dark energy

The Casimir energy is the vacuum energy emerging from imposing boundary conditions on the quantum fluctuations of fields at small scales [7578]. This energy is seen to be a physical energy since the Casimir force can be observed in terrestrial experiments [79, 80]. In this subsection, we will review the mathematical calculation and physical description of the Casimir energy from the compactification of the extra dimension. Then we will review an interpretation of the Casimir energy as dark energy in order to drive the late-time acceleration of the universe. This dark energy model provides the mechanism for stabilizing the extra dimension. However, this mechanism will be destroyed when non-relativistic matter is added.

Generally, the Casimir energy can be derived in any number of extra dimensions. In this subsection we will consider an ansatz in which a single extra dimension is compactified as a circle, \(S^1\), and five-dimensional spacetime can be thought of as the product space of the four-dimensional flat FLRW spacetime and this circle space. In six-dimensional spacetime, given by the product space of the four-dimensional flat FLRW spacetime and a simple two-dimensional torus, \(T^2\), the Casimir energy can easily be derived using a method analogous to the derivation in five-dimensional spacetime [34, 35]. However, the calculation for a non-trivial two-dimensional torus, for example a torus which is characterized by both its volume and its shape, will be more complicated since we need more complex mathematical tools [34, 41]. In this paper we will use the results derived in five-dimensional spacetime to obtain the analogous results in six-dimensional spacetime with a simple torus, the torus which is characterized by only its volume. The line element of this ansatz can be written as

$$\begin{aligned} ds^2 = -dt^2 + a^{2}(t) d \mathbf{x}^{2} + b(t)^2 dy^2, \end{aligned}$$
(1)

where \(a(t)\) denotes the scale factor of the 3-spatial non-compact directions and \(b(t)\) denotes the scale factor of the compact fifth direction which is characterized the volume of the extra dimension. The range of the coordinate \(y\) on the \(S^1\) is \(0 \le y \le 2\pi \). Considering a simple massive scalar field living in this spacetime, the equation of motion for this scalar field is the Klein–Gordon equation,

$$\begin{aligned} (\nabla _A\nabla ^A - m^2)\phi =0, \end{aligned}$$
(2)

where \(m\) is a mass and the uppercase Latin indices, \(A, B, C,\ldots \) are five spacetime indices running on \(\{0, 1, 2, 3, 5\}\). Since the fifth direction of the spacetime is compactified as a circle, we can impose the periodic boundary conditions of the scalar field as \(\phi (y=0) = \phi (y=2\pi )\). Since the Klein–Gordon equation has the form of a wave equation, the solution may be written as \(\phi \propto e^{i(k_\mu x^\mu + k_5 y)}\), where \(k_{\mu }\) is the wave number in the non-compact directions and \(k_5\) is the wave number in the compact direction. By imposing periodic boundary conditions, the wave number in the compact direction, \(k_5\), becomes an integer and then the dispersion relation of the scalar field can be written as

$$\begin{aligned} -k^\mu k_\mu = m^2+\frac{\tilde{n}^{2}}{b^2}, \end{aligned}$$
(3)

where \(\tilde{n}\in \mathbb {Z}\) is the momentum number in the compact direction. For standard quantum field theory in four-dimensional spacetime, the zero point energy, or vacuum energy, of a massive scalar field is

$$\begin{aligned} \widehat{E} = \left( \frac{L}{2 \pi }\right) ^{3} \int d^{3}k \frac{1}{2} \omega _k, \end{aligned}$$
(4)

where \(\omega _k = \sqrt{ k^2+ m^2}\), from the dispersion relation, \(-k^\mu k_\mu = m^2\), and \(L^{3}\) is the spatial volume. We can use an analogous method to obtain the vacuum energy in the previous expression with \(\omega _k = \sqrt{ k^2+ m^2 + \tilde{n}^{2}/b^2}\), derived from the dispersion relation in Eq. (3). The integration of the compact direction becomes the summation over \(\tilde{n}\). We assume that the relevant vacuum solution in the non-compact direction is the Cartesian product of flat 4-spacetime. This assumption is a basic assumption for calculating the Casimir energy in a higher-dimensional spacetime, as seen in the literature, for example [34, 82]. Using this method the vacuum energy of the scalar field in our case can be written as

$$\begin{aligned} \widehat{E}_\mathrm{Cas} = \frac{1}{2}\left( \frac{L}{2 \pi }\right) ^{3} \int d^{3}k \sum _{\tilde{n}}\sqrt{ k^2+ m^2+ \frac{\tilde{n}^2}{b^2}}. \end{aligned}$$
(5)

The integration of the summation above seems to be divergent since \(k\) runs from \(0\) to \(\infty \). However, we can regularize this integration by using the Chowla–Selberg zeta function [81]. We will not show the explicit calculation for this regularization procedure. The detailed calculation can be found in [42]. The result of the regularization is finite and we now interpret this as the Casimir energy [34]. For the massless and massive scalar fields, the energy density of each component can be, respectively, written as

$$\begin{aligned} \rho _\mathrm{Cas}^\mathrm{massless}&=\frac{\widehat{E}_\mathrm{cas}}{L^3 2\pi b} =\frac{2 \varGamma (5/2) \zeta (5)}{\varGamma (-1/2)(2\pi b )^5 \pi ^2 }, \end{aligned}$$
(6)
$$\begin{aligned} \rho _\mathrm{Cas}^\mathrm{massive}&= \frac{- 2 (m b)^{5/2}}{(2\pi b )^5 } \sum _{\tilde{n}=1}^{\infty }\tilde{n}^{-5/2}K_{5/2}(2\pi b m\tilde{n}), \end{aligned}$$
(7)

where \(\zeta \) is the zeta function, \(\varGamma \) is the gamma function, and \(K_\nu (x)\) is a modified Bessel function. The main results of these energy densities is that they are proportional to \(1/b^5\). This is one of characteristic behaviors of the Casimir energy, with \(\rho _\mathrm{Cas} \propto 1/a^D\), where \(a\) is the distance between the boundaries and \(D\) in a number of all spacetime dimensions. It is not surprising, since the procedure used to calculate the Casimir energy is the same as the one for calculating in the case of parallel conducting plates. It is important to note that, by relaxing our assumption of the vacuum solution in a non-compact direction, one can consider the vacuum energy in FLRW spacetime. It was found that the physical vacuum energy can be obtained by subtracting the bare vacuum energy of Minkowski spacetime from the FLRW and then renormalizing by adjusting non-covariant counterterms [83, 84]. As a result, the physical vacuum energy density is proportional to the Hubble parameter square \(\rho _{vac} \propto H^2\). For a more general consideration, the covariant approach to calculate the renormalized energy-momentum tensor of vacuum was investigated [85]. As a result, \(\langle T_{\mu \nu }\rangle _{vac} \propto G_{\mu \nu }\) where \(G_{\mu \nu }\) is component of Einstein tensor. It is obvious that this physical vacuum energy is totally different from the Casimir energy and must be distinguished from the Casimir energy. Since this physical energy influences the dynamics of the universe, it may yield the stabilization mechanism of the extra dimensions. We leave this investigation for further work since our aim is to investigate the effect of the Gauss–Bonnet terms on the stabilization mechanism of the extra dimensions.

The contribution of the graviton to the Casimir energy in five-dimensional spacetime is \(\rho _\mathrm{graviton} = 5 \rho _\mathrm{scalar}\) [82] where the number \(5\) comes from the number of degrees of freedom of the graviton in five-dimensional spacetime. This result can be generalized to other bosonic fields using knowledge of supersymmetry multiplets. It is found that the contribution from other bosonic fields to the Casimir energy can be written in terms of the scalar contribution as \(\rho _\mathrm{boson} = N_b \rho _\mathrm{scalar}\), where \(N_b\) is the number of degrees of freedom of the bosonic fields. This generalization can be applied to fermionic fields and it is found that the contribution from the fermionic fields to the Casimir energy is given by an equivalent expression, but with a negative sign, \(\rho _\mathrm{fermion} = - N_f \rho _\mathrm{scalar}\) [34], where \(N_f\) is a number of degrees of freedom of the fermionic fields. In order to interpret the Casimir energy as a cosmological constant, the total Casimir energy density can be expected to occur as the potential term of the radion field in four-dimensional spacetime. The radion field with a potential contributing from the Casimir energy density can play the role of dark energy if there exists a positive minimum of the potential. In order to obtain the positive minimum of the potential, one has to choose the proper contribution from both massive/massless bosons and fermions as well as the mass ratio between them \(\bar{\lambda } = m_b/m_f\). Since the metric \(g_{AB}\) is the dynamical field of our ansatz, the massless bosonic contribution must come from, at least, the graviton. As we have mentioned above, the number of degrees of freedom of the graviton is \(N_b = 5\). For massless fermionic fields, we assume that there are two quantum fluctuations of the Dirac fermionic fields living in the bulk. In five-dimensional spacetime, the physical degree of freedom of the Dirac fermions is four. Therefore, the total number of degrees of freedom for massless fermionic field is \(N_f = 8\). For massive fermions, with mass \(m_f\), we also use the same assumption as for the massless ones. Therefore, the total number of degrees of freedom of the massive fermionic field is \(\tilde{N}_f = 8\). The massive boson contribution may come from eight massive scalar fields with mass \(m_b\). By using this particular choice, the total Casimir energy density can be written as

$$\begin{aligned} \rho _\mathrm{Cas}&= \rho _\mathrm{boson}^\mathrm{massless} + \rho _\mathrm{fermion}^\mathrm{massless} + \rho _\mathrm{boson}^\mathrm{massive} + \rho _\mathrm{fermion}^\mathrm{massive}, \nonumber \\&= -3 \rho _\mathrm{Cas}^\mathrm{massless} + 8 \rho _\mathrm{Cas}^\mathrm{massive}(m_b) - 8 \rho _\mathrm{Cas}^\mathrm{massive}(m_f). \end{aligned}$$
(8)

It is important to note that there is no unique choice of bulk particle spectrum for this purpose; other combinations of the fields can probably also create a minimum for the vacuum energy [35]. Note also that we do not attempt to justify the existence of these bulk fields phenomenologically because we seek only to demonstrate that a stabilization mechanism of the extra dimensions can be achieved if these fields are present.

2.2 Dynamics of Casimir dark energy

In order to obtain the dynamics of the Casimir dark energy, we add the energy-momentum tensor contributing from the Casimir effect into the Einstein field equation. The general form of the Casimir energy-momentum tensor which is compatible with the metric in Eq. (1) can be written as [35]

$$\begin{aligned} T^{\mu }_{~\nu (\mathrm Cas)}= \text {diag}(- \rho _\mathrm{Cas}, p_a, p_a, p_a, p_b,\ldots ,p_b ) \end{aligned}$$
(9)

where \(p_a\) and \(p_b\) are the Casimir pressure in the non-compact and compact dimensions, respectively. These pressures can be defined as [35]

$$\begin{aligned} p_a&\equiv -\frac{\partial }{\partial V_a}\Bigg (\rho _\mathrm{Cas} V_a \Bigg ), \end{aligned}$$
(10)
$$\begin{aligned} p_b&\equiv -\frac{\partial }{\partial V_b}\Big (\rho _\mathrm{Cas} V_b\Big ), \end{aligned}$$
(11)

where \(V_a \propto a^{d-n}\) and \(V_b \propto b^{n}\). Here, \(d\) is the number of spatial dimensions, \(n\) is the number of the extra dimensions and \(d= 4, n= 1\) for this model. It is important to note that the equation of state (eos) defined in Eqs. (10) and (11) can be applied to any perfect fluid which obeys the equation \(p=w\rho \) where \(p\) is the pressure, \(\rho \) is the energy density and \(w\) is the equation of state parameter. For example, one can check this definition by substituting \(\rho = \rho _0 a^{-(1+w)/3}\) into Eq. (10), and then one can obtain \(p=w\rho \).

Since the Casimir energy density, \(\rho _\mathrm{Cas}\), depends only on \(b\), the pressure in the non-compact and compact directions can, respectively, be written as \(p_a = -\rho _\mathrm{Cas}\) and \(p_b = -\rho _\mathrm{Cas} - b\partial _b \rho _\mathrm{Cas}\). The equation of state for the cosmological constant is \(p_\Lambda = -\rho _\Lambda \). It is found that the equation of state of the Casimir energy has the same form as the equation of state of the cosmological constant. It is convenient to consider the general form of the metric with \(n\) extra dimensions as

$$\begin{aligned} ds^2 = -dt^2 + a^{2}(t) d \mathbf{x}^{2} + b(t)^2 d\mathbf{y}^2, \end{aligned}$$
(12)

where \(\mathbf{y}\) denotes the coordinates in the \(n\)-extra dimensions. By using this metric, the conservation equation of the energy momentum tensor, \(\nabla _\mu T^{\mu }_\nu \), reads

$$\begin{aligned} \dot{\rho }_\mathrm{Cas} + 3H_a(\rho _\mathrm{Cas} + p_a) + n H_b(\rho _\mathrm{Cas} + p_b) = 0, \end{aligned}$$
(13)

where \(H_a = \dot{a}/a\) and \( H_b = \dot{b}/b\). Using the metric in Eq. (12) and the energy-momentum tensor in Eq. (9), the fields equation [86] are

$$\begin{aligned}&3H_a^2+ \frac{n}{2}(n-1)H^2_b +3nH_a H_b = M^{-(n+2)}_{*}\rho _\mathrm{Cas}, \end{aligned}$$
(14)
$$\begin{aligned}&n\frac{\ddot{b}}{b}\!+\!2\frac{\ddot{a}}{a}\!+\!\frac{n}{2}(n-1)H^2_b\!+\!H_a^2 \!+\!2nH_a H_b \!=\! -M^{-(n+2)}_{*}p_a,\nonumber \\ \end{aligned}$$
(15)
$$\begin{aligned}&(n-1)\Bigg (\frac{\ddot{b}}{b}+\frac{(3n-2)}{2}H^2_b + 3 H_aH_b\Bigg ) \nonumber \\&\quad \qquad \qquad +3\frac{\ddot{a}}{a} + 3H_a^2 = - M^{-(n+2)}_{*} p_b, \end{aligned}$$
(16)

where \(M_{*}\) is the mass scale in (4+n)-dimensional spacetime. Note that we generalized the Einstein field equations into (4+n)-dimensional spacetime for convenience.

For \(n=1\), the numerical results of these equations are shown in Fig. 1. From this figure, we can see that the radius of the extra dimension can be stabilized at \(b(t)\sim 0.0145\) and the scale factor is accelerated. In order to get the positive minimum in which the radion can be stabilized, we must choose the value of \(\bar{\lambda }\) from a very narrow range, \(0.516 \le \bar{\lambda }\le 0.527\). In these numerical results, we have chosen \(\bar{\lambda } = 0.516\), which is the lower bound of the range. It is important to note that a fine tuning problem is also found in this model since one needs to fine tune the parameter \(\bar{\lambda } \) for three digits to stabilize the extra dimension. This fine tuning problem is different from the one from the cosmological constant model since the parameter is fine tuned to stabilize the extra dimension, while the initial value of the cosmological constant is fine tuned to obtain the consistent value at the present time. For this model, the value dark energy at the present time gives a prediction of the mass of the fermionic bulk field [35]. To obtain the realistic cosmological history of the universe, the contribution from non-relativistic matter must be added. The Einstein equations including non-relativistic matter in five-dimensional spacetime are

$$\begin{aligned}&3H_a^2+ 3H_a H_b = M^{-3}_{*}(\rho _\mathrm{Cas} + \rho _m), \end{aligned}$$
(17)
$$\begin{aligned}&\frac{\ddot{b}}{b}+2\frac{\ddot{a}}{a}+H_a^2 +2H_a H_b = -M^{-3}_{*}p_a,\end{aligned}$$
(18)
$$\begin{aligned}&3\frac{\ddot{a}}{a}+ 3H_a^2 = - M^{-3}_{*} p_b, \end{aligned}$$
(19)

where \(\rho _m \) is the energy density of non-relativistic matter. The energy density of non-relativistic matter in (4+n)-dimensional spacetime, obeying the conservation equation \(\dot{\rho }_m + 3 H_a + n H_b =0\), can be written as

$$\begin{aligned} \rho _m = \left( \frac{b_\mathrm{min}}{b}\right) ^n\frac{\rho _{m0}}{a^3}, \end{aligned}$$
(20)

where \(\rho _{m0}\) is the energy density of non-relativistic matter at the present epoch (corresponding to \(b=b_\mathrm{min}\) and \(a=1\)). From the observational data [3], \(\rho _{m0}^{(4)} = (2.8/7.2) \rho _{\Lambda } = (2.8/7.2) (2.3\times 10^{-3} eV)^{4}\). Therefore \(\rho _{m0} = (2.8/7.2) \rho _\mathrm{Cas}(b=b_\mathrm{min})\), since \(\rho _{\Lambda } = (2 \pi b_\mathrm{min})^n \rho _\mathrm{Cas}(b=b_\mathrm{min})\) and \(\rho _{m0}^{(4)} = (2 \pi b_\mathrm{min})^n \rho _{m0}\). Using this relation the energy density of non-relativistic matter in (4+n)-dimensional spacetime can be written as

$$\begin{aligned} \rho _m = \frac{2.8}{7.2}\left( \frac{b_\mathrm{min}}{b}\right) ^n\rho _\mathrm{Cas}(b=b_\mathrm{min})a^{-3}. \end{aligned}$$
(21)

The numerical results of the evolution of \(b(t)\) and \(a(t)\) for Eqs. (17)–(19) are shown in Fig. 2. We can see that the radius of the extra dimension cannot be stabilized and the scale factor will not be accelerated. The destabilization of the extra dimension will be examined by considering the potential of the radion field in four-dimensional spacetime. The minimum of the potential for the radion field does not exist at early times since the contribution of non-relativistic matter is dominant. Therefore, the radion field will roll down and pass away from the minimum point before it exits [35]. We will consider this issue in detail in Sect. 4. By including the effect of an aether field, the stabilization of the extra dimension can be restored [42]. However, the aether field itself is not stable [4548]. Hence the stabilization mechanism obtained by including the aether field may not be worthy of the effort.

Fig. 1
figure 1

The evolution of the radius of the extra dimension (in the left panel) and the scale factor (in the right panel) in the Casimir dark energy model without non-relativistic matter. From the left panel, we see that the radius of the extra dimension can be stabilized and from the right panel we see that our 3-spatial universe is accelerated

Fig. 2
figure 2

The evolution of the radius of the extra dimension (in the left panel) and the scale factor (in the right panel) in the Casimir dark energy model including non-relativistic matter. From the left panel, we see that the radius of the extra dimension cannot be stabilized and from the right panel we see that our 3-spatial universe cannot be accelerated

3 Einstein–Gauss–Bonnet theory

In this section, we briefly review the concept of Lovelock invariance by following [6769]. This leads to a generalization of Einstein gravity keeping second order equations of motion and covariant conservation of the matter field. This generalization does not change Einstein gravity in four-dimensional spacetime but gives a non-trivial modification when the theory is considered in higher-dimensional spacetime. For five- or six-dimensional spacetime, it is well known that this generalization is Einstein–Gauss–Bonnet (EGB) theory. We will review this theory especially in this section since we restrict our attention to a Casimir dark energy model emerging from a compactification of spacetime dimensions from five and six to four. The Kaluza–Klein compactification of EGB theory is also reviewed in the final part of this section.

We begin this section with considering the EGB action in D-dimensional spacetime as follows:

$$\begin{aligned} S_{EGB} = \int d^D x \sqrt{-g} \Bigg (\frac{M^{D-2}_{*}}{2} (- 2\Lambda + R + \lambda ^2 \mathcal {G}) + L_m \Bigg ), \end{aligned}$$
(22)

where \(M_{*}\) is the fundamental mass scale of the D-dimensional theory, \(\Lambda \) is the cosmological constant corresponding to the zero order Lovelock Lagrangian, and \(R\) is the Ricci scalar corresponding to the first order Lovelock Lagrangian, \(\mathcal {G}\) is the Gauss–Bonnet term corresponding to the second order Lovelock Lagrangian; \(\lambda \) is a coupling constant parameterizing the presence of the Gauss–Bonnet term. Note that \(L_m\) is the Lagrangian of non-relativistic matter. The Gauss–Bonnet term can be defined as

$$\begin{aligned} \mathcal {G}&= R^2 -4 R^{\nu _1 \nu _2 }R_{\nu _1 \nu _2 }+{R^{\mu _1 \mu _2 }}_{\mu _3 \mu _4}\, {R^{\mu _3 \mu _4 }}_{\mu _1 \mu _2}. \end{aligned}$$
(23)

By varying the action in Eq. (22) with respect to the metric, the generalized version of the Einstein equation can be written as

$$\begin{aligned} \Lambda \delta ^\mu _\nu + G^\mu _\nu + \lambda ^2 H^\mu _\nu = M^{2-D}_{*} T^{\mu (m)}_{\nu }, \end{aligned}$$
(24)

where \(T_{\mu \nu }^{ (m)} = 2 \delta (\sqrt{-g}L_m)/\delta g^{\mu \nu }\) is the energy-momentum tensor of the matter field. \(H^\mu _\nu \) is the second order Lanczos tensor obtained by varying the Gauss–Bonnet term with respect to the metric. This tensor can be written as

$$\begin{aligned} H^\mu _\nu&= 2\Bigg (R^{\mu \mu _1 \mu _2 \mu _3 }R_{\nu \mu _1 \mu _2 \mu _3 } - 2 R^{\mu _1 \mu _2 }R^\mu _{\,\,\mu _1\nu \ \mu _2} \nonumber \\&-2R^{\mu \mu _1 }R_{\nu \mu _1 } +R R^\mu _\nu \Bigg )-\frac{1}{2} \mathcal {G}\delta ^\mu _\nu . \end{aligned}$$
(25)

It is important to note that Lovelock invariance can be considered in terms of the vierbein or tetrad formalism [8789]. In this formalism, the Lovelock Lagrangian can be constructed from powers of the curvature two-form. The advantages of this formalism are that it provides a clear geometric interpretation and it is easy to show that the equations of motion corresponding to the Lovelock Lagrangian are of second order.

Since observations suggest that the universe is four-dimensional, any extra dimensions have to be compactified. In this subsection, we consider the Kaluza–Klein compactification from (4+n)-dimensional spacetime to four-dimensional spacetime where \(n\) is the number of the extra dimensions [72, 73, 73]. In this paper, we will review a special case of the generalized Kaluza–Klein compactification [89]. We also restrict our attention only to the diagonal metric of the internal extra dimensions for simplicity. Note that the existence of off-diagonal parts of the metric in five-dimensional spacetime corresponds to the existence of a gauge field, \(A_\mu \), in four-dimensional effective theory. Since the goal of this paper is to investigate the stabilization mechanism of the extra dimensions, more degrees of freedom in four-dimensional theory may lead to difficulties in analyzing the result. This investigation is outside the scope of this work. It is important to note that one can eliminate the gauge field from our consideration by requiring more symmetry, for example, \(Z_2\) symmetry of the interval \(ds^2\). Since this symmetry does not affect the form of the Casimir energy density [34], the interpretation of the cosmological constant in terms of the Casimir energy is still applicable. The metric for this ansatz can be written as

$$\begin{aligned} ds^2&= g_{AB} dx^A dx^B, \nonumber \\&= e^{-\sqrt{\frac{n}{n+2}} \phi }\bar{g}_{\mu \nu } dx^\mu dx^\nu + e^{ \sqrt{\frac{4}{n(n+2)}} \phi } \tilde{g}_{ab} dy^a dy^b, \end{aligned}$$
(26)

where the indices \(A, B,\ldots \) run over the whole D-dimensional spacetime, the indices \(\mu , \nu ,\ldots \) run over the \((3+1)\)-dimensional spacetime and the indices \(a, b,\ldots \) run over the internal space in \(n\) dimensions. For simplicity, we assume that \(\bar{g}_{\mu \nu }\) is diagonal and \(\phi \) depends only on the external spacetime coordinates, \(\phi = \phi (x^\mu )\). The conformal factor, \(e^{-\sqrt{\frac{n}{n+2}} \phi }\), of the metric \(\bar{g}_{\mu \nu }\) is inserted for convenience in the calculation procedure. Note that the metric \(\tilde{g}_{ab}\) is assumed to be a flat Euclidean metric which is the one we have used for calculating the Casimir energy density. More detailed calculations with generic Euclidean metrics are given in the appendix. Using this ansatz together with the calculation in the standard procedure of the Kaluza–Klein reduction, the EGB action with matter in D-dimensional spacetime in Eq. (22) can be reduced to

$$\begin{aligned} S_{EGB}&= \int \!d^4 x \sqrt{-\bar{g}}\frac{M^{2}_{Pl}}{2} \Bigg [\!\lambda ^2 e^{\sqrt{\frac{n}{(n+2)}}\phi } \Bigg (\!\bar{\mathcal {G}} \!-\!4 f_1 \bar{G}^{\mu \nu }\partial _\mu \phi \partial _\nu \phi \nonumber \\&-2 f_2 (\partial \phi )^2 \Box \phi - f_3 (\partial \phi )^2(\partial \phi )^2\Bigg ) -2 \Lambda e^{-\sqrt{\frac{n}{(n+2)}}\phi } \nonumber \\&+ \Bigg (\bar{R} - \frac{1}{2} (\partial \phi )^2\Bigg ) + \frac{2 (2\pi )^n}{M^{2}_{Pl}} e^{-\sqrt{\frac{n}{(n+2)}}\phi }L_{m}\Bigg ], \end{aligned}$$
(27)

where \(f_1, f_2\), and \(f_3\) are functions depending on \(n\), defined in the appendix. The EGB theory in five-dimensional spacetime also reduces to

$$\begin{aligned} S_{EGB}&= \int d^4 x \sqrt{-\bar{g}}\Bigg [\frac{M^{2}_{Pl}}{2} \Big \{ \bar{R}- 2\Lambda \, e^{-\frac{\psi }{\psi _0}} + \lambda ^2 e^{\frac{\psi }{\psi _0}} \bar{\mathcal {G}} \Big \}\nonumber \\&+ \lambda ^2e^{\frac{\psi }{\psi _0}} \Bigg (\frac{4}{3} \bar{G}^{\mu \nu }\partial _\mu \psi \partial _\nu \psi +(\partial \psi )^2 \frac{\Box \psi }{\psi _0}\Bigg )\nonumber \\&- \frac{1}{2} (\partial \psi )^2 +2\pi e^{-\frac{\psi }{\psi _0}}L_{m}\Bigg ], \end{aligned}$$
(28)

where we have rescaled the scalar field as follows:

$$\begin{aligned} \phi =\frac{\sqrt{2}\psi }{M_{Pl}}=\sqrt{3}\frac{\psi }{\psi _0}. \end{aligned}$$
(29)

In order to relate the radius of the extra dimension \(b(t)\) with the scalar \(\phi (t)\), we note that the explicit relation can be expressed as

$$\begin{aligned} b(t) = e^{\frac{\phi }{\sqrt{n(n+2)}}}. \end{aligned}$$
(30)

4 Casimir dark energy model with Einstein–Gauss–Bonnet theory

In this section, we will consider the EGB theory with the action (22). In our ansatz, the cosmological constant is interpreted as the Casimir energy density as follows: \( M^{3}_{*}\Lambda = \rho _\mathrm{Cas} = L_\mathrm{Cas}(\phi )\). By substituting this result into Eq. (22), the action can be expressed as

$$\begin{aligned} S_{5} = \int d^5 x \sqrt{-g} \left( \frac{M^{3}_{*}}{2} ( R + \lambda ^2 \mathcal {G})- L_\mathrm{Cas}(\phi ) + L_m \right) . \end{aligned}$$
(31)

The equations of motion are obtained from Eq. (24) as

$$\begin{aligned} G^\mu _\nu + \lambda ^2 H^\mu _\nu = M^{-3}_{*} \Bigg (T^\mu _{\nu (Cas)}+T^\mu _{\nu (m)} \Bigg ), \end{aligned}$$
(32)

where \(T^\mu _{\nu (Cas)}\) is defined in Eq. (9). By using the metric in Eq. (12), each component of the above equation can be expressed as

$$\begin{aligned}&3H_a^2+ 3H_a H_b +12 \lambda ^2 H_a^3 H_b = M^{-3}_{*}(\rho _\mathrm{Cas} + \rho _m), \end{aligned}$$
(33)
$$\begin{aligned}&\frac{\ddot{b}}{b}+2\frac{\ddot{a}}{a}+H_a^2 +2H_a H_b +\lambda ^2 \left( 8 H_a H_b \frac{\ddot{a}}{a}+4 H_a^2\frac{\ddot{b}}{b}\right) \nonumber \\&\quad =-M^{-3}_{*}p_a, \end{aligned}$$
(34)
$$\begin{aligned}&3\frac{\ddot{a}}{a}+ 3H_a^2 +\lambda ^2 H_a^2 \frac{\ddot{a}}{a} = - M^{-3}_{*} p_b. \end{aligned}$$
(35)

The numerical results of these equations of motion are illustrated in Fig. 3. We can see that the extra dimension can be stabilized and the universe is accelerated. Note that we use \(\lambda = 0.1\) in the simulation. The range in which the extra dimension can be stabilized is approximately \(0.005 \le \lambda ^2 \le 5.0\). This range depends on the initial velocity of the extra dimension, \(\dot{b}_i\). By setting \(\lambda = 1\), the initial velocity required is \(\dot{b}_i < 0.002\) in order to stabilize the extra dimension. To compare the results of the model with the standard history of the universe, we need to include the contribution of radiation. This contribution may alter the behavior of the stabilization mechanism. This modification can be done by changing the initial conditions to their values at the radiation-domination epoch and substituting the energy density and pressure of the radiation instead of matter. By doing this, we found that the stabilization mechanism still hold. In order to see how the stabilization mechanism can be restored, we will analyze this mechanism using the equations of motion in four-dimensional spacetime.

Fig. 3
figure 3

The evolution of the radius of the extra dimension (in the left panel) and the scale factor (in the right panel) in the Casimir dark energy model including non-relativistic matter and the Gauss–Bonnet term. From the left panel, we see that the radius of the extra dimension can be stabilized and from the right panel we see that our 3-spatial universe can be accelerated. We have used \(\lambda = 0.1\) in this simulation

5 Dynamics in radion picture

From Eq. (31), the cosmological constant term can be interpreted as a Casimir energy density \(L_\mathrm{Cas}^{(5)}(\phi )\). The effect of dimensional reduction to this term will come only from the part of \(\sqrt{-g}\). In fact, the amount of the factor is the same as for the matter term as \(2 \pi e^{-\frac{\psi }{\psi _0}}\). By using the rescaling field in Eq. (29), the reduced action of this term becomes \(2 \pi e^{-\frac{\psi }{\psi _0}} L_\mathrm{Cas}^{(5)}(\psi )\). Since this term does not contain the contribution of the derivative of the scalar field, we can promote it to the potential term of the scalar field as \(V(\psi ) = 2 \pi e^{-\frac{\psi }{\psi _0}}L_\mathrm{Cas}^{(5)}(\psi ) = e^{-2\frac{\psi }{\psi _0}}L_\mathrm{Cas}^{(4)}(\psi )\), where we have used the relation of the energy densities in five-dimensional and four-dimensional spacetime, \(\rho ^{(4)} = 2 \pi b \rho ^{(5)}\). By using the reduced action in Eq. (28) and our interpretation of the cosmological constant term above, the reduced action in four-dimensional spacetime can be written as

$$\begin{aligned} S^{(4)}&= \int \!d^4 x \sqrt{-\bar{g}}\Bigg [\frac{M^{2}_{Pl}}{2} \Big \{ \bar{R} + \lambda ^2 e^{\frac{\psi }{\psi _0}} \bar{\mathcal {G}} \Big \} \!- \frac{1}{2} (\partial \psi )^2 \!-\! V(\psi )\nonumber \\&+ \frac{L_{m}^{(4)} }{e^{2\frac{\psi }{\psi _0}}} + \lambda ^2e^{\frac{\psi }{\psi _0}} \Bigg (\frac{4}{3} \bar{G}^{\mu \nu }\partial _\mu \psi \partial _\nu \psi +(\partial \psi )^2 \frac{\Box \psi }{\psi _0}\Bigg )\Bigg ].\nonumber \\ \end{aligned}$$
(36)

Note that, without the last two terms and the potential, this action can be derived from the heterotic or type IIB string and there is a tachyonic instability for the tensor mode and a tachyon free case for the scalar mode [90, 91]. This model has also been investigated in Bianchi type I [92] and type IX [93]. It is found that this kind of the model seems to be unstable. However, by including the last two terms, the stability conditions in the tensor mode will be modified. Without the potential term, the theory appears to be stable but the matter phase is absent [94, 95]. Adding the potential term corresponding to the Casimir energy may therefore provide the required matter phase in the history of the universe. We leave this investigation for further work. The components of the equation of motion obtained by varying this action with respect to \(g_{\mu \nu }\) can be written as

$$\begin{aligned}&3 M_{Pl}^2 H_a^2 = \rho _\psi + e^{-2\frac{\psi }{\psi _0}} \rho _m^{(4)}, \end{aligned}$$
(37)
$$\begin{aligned}&M_{Pl}^2 (3H_a^2 + 2 \dot{H_a})=- p_\psi , \end{aligned}$$
(38)

where

$$\begin{aligned} \rho _\psi&= \frac{1}{2}\dot{\psi }^2 + V \nonumber \\&+ \tilde{\lambda }^2 e^{\frac{\psi }{\psi _0}}\Bigg (\!\!-8 H_a^3 \frac{\dot{\psi }}{\psi _0}+ 12 H_a^2 \frac{\dot{\psi }^2}{\psi _0^2} + 6 H_a \frac{\dot{\psi }^3}{\psi _0^3}-\frac{\dot{\psi }^4}{\psi _0^4} \Bigg ), \nonumber \\&\end{aligned}$$
(39)
$$\begin{aligned} p_\psi&= \frac{1}{2}\dot{\psi }^2 - V \nonumber \\&+ \tilde{\lambda }^2 e^{\frac{\psi }{\psi _0}}\Bigg (\frac{16}{3} H_a(H_a^2+\dot{H_a}) \frac{\dot{\psi }}{\psi _0}- \frac{4}{3} (H_a^2+2\dot{H_a})\frac{\dot{\psi }^2}{\psi _0^2} \nonumber \\&-\frac{8}{3} H_a \frac{\dot{\psi }^3}{\psi _0^3}\!-\!\frac{\dot{\psi }^4}{\psi _0^4}+\frac{2}{3} \left( \!4H_a^2 \!-\! 8 H_a\frac{\dot{\psi }}{\psi _0} \!-\! \frac{3\dot{\psi }^2}{\psi _0^2}\right) \frac{\ddot{\psi }}{\psi _0} \Bigg ).\nonumber \\ \end{aligned}$$
(40)

The conservation of the energy-momentum tensor provides the field equation for the radion field as

$$\begin{aligned} \ddot{\psi } + 3H_a\dot{\psi } =- V'_\mathrm{eff} + 2e^{-2\frac{\psi }{\psi _0}}\frac{\rho _m^{(4)}}{\psi _0}, \end{aligned}$$
(41)

where

$$\begin{aligned} V'_\mathrm{eff}&= V'+\tilde{\lambda }^2 e^{\frac{\psi }{\psi _0}}\Bigg (-\frac{8}{\psi _0} H_a^2( H_a^2 + \dot{H_a}) \nonumber \\&+8 H_a (3H_a^2 + 2\dot{H_a})\frac{\dot{\psi }}{\psi _0^2}+ (22 H_a^2 + 6\dot{H_a})\frac{\dot{\psi }^2}{\psi _0^3}\nonumber \\&-\frac{\dot{\psi }^4}{\psi _0^5} + 4\Bigg (2H_a^2 + 3 H_a\frac{\dot{\psi }}{\psi _0} -\frac{\dot{\psi }^2}{\psi _0^2}\Bigg )\frac{\ddot{\psi }}{\psi _0^2}\Bigg ), \end{aligned}$$
(42)
$$\begin{aligned} \tilde{\lambda }^2&= \psi _0^2\lambda ^2 = \frac{3}{2}M_{Pl}^2\lambda ^2. \end{aligned}$$
(43)

Considering Eqs. (37) and (39) with \(\tilde{\lambda } = 0\), neglecting the effect of the Gauss–Bonnet term, one can see that the contribution from the matter field will dominate at early times since \(\rho ^{(4)}_m \propto a^{-3}\) and \(a \ll 1\). Therefore, the minimum of the potential will disappear. From Eqs. (41) and (42) with \(\tilde{\lambda } = 0\), the contribution from the matter field also increases the slope of the potential. Hence, the radion field will rapidly roll down and then pass away from the point at which the minimum of the potential will arise before the minimum has formed. This is the destabilization mechanism of the extra dimension discussed in [35].

Now we will see how the Gauss–Bonnet contribution alters the dynamics of the radion field. From Eq. (37), the effect of the Gauss–Bonnet term does not significantly change the existence of the potential minimum at early times since the effect of the matter field is still dominant. However, the contribution of the Gauss–Bonnet term can significantly change the dynamics of the radion field through the slope of the potential as seen in Eq. (42). Initially, the radion field begins at some points of the potential away from the minimum with a tiny fraction velocity, \(\dot{\psi }/\psi _i \ll 0\). Note that this assumption is also required in order to stabilize the extra dimension in normal Casimir dark energy models. Therefore, the first term from the Gauss–Bonnet contribution in Eq. (42) is dominant and effectively reduces the slope of the potential corresponding to a reduction of the magnitude of the force acting on the radion field. Note that, initially, \(\ddot{a}/a = \dot{H}_a+H_a^2 < 0\) and \(V' < 0\). This term effectively slows down the radion field and then the radion field does not pass the point at which the minimum of the potential will arise before the minimum has formed.

The value of the potential minimum is very important to address the cosmological constant problem. As we have mentioned in Sect. 2, the existence of a positive minimum of the potential depends on the spectrum of particles contributing to the Casimir energy. By fixing the particle spectrum, the value of the potential minimum can be adjusted by the mass ratio \(\bar{\lambda } = m_b / m_f\). The value of \(\bar{\lambda }\) may be obtained from supersymmetric theories, but in this work, we do not try to address this issue. We choose \(\bar{\lambda }\) as the lower bound (\(\bar{\lambda } = 0.516\)) of the range in which the potential minimum can exist. By using the approximation, \(b m_f << 1\), it is found that \(V_\mathrm{min} \propto m_f^D\) and \(b_\mathrm{min} = e^{\psi /\psi _0} \propto m_f^{-1}\) [35, 41]. In order to find the constant of proportionality, one can use the numerical method of the dynamical equations. Therefore, one can determine the fermion mass \(m_f\) and the radius of the extra dimension \(b_\mathrm{min}\) from the observed value of the cosmological constant. It turns out that \(m_f \sim 4.18 \times 10^{-2}\, \text {eV}\) and \(b_\mathrm{min} \sim 2.75 \times 10^{-6}\, \text {m}\) [42]. Note that the contribution from the Gauss–Bonnet term does not alter this calculation since it vanishes when the radion stabilizes at the minimum of the potential. One may interpret this kind of fermion as the sterile neutrino, which may play the role of dark matter [35]. By using this value of \(b_\mathrm{min}\) together with the relation \(M_{Pl}^2= M_{*}^{2+n} (2 \pi b_\mathrm{min})^n\), the quantum gravity scale in the bulk is \(M_{*} \sim 1.19 \times 10^{9}\, \text {GeV}\). This mass scale does not provide a solution for the mass hierarchy problem. In order to address this problem, one may consider a theory in which the number of spacetime dimensions is larger than five. As discussed in Sect. 3, the contribution from the Gauss–Bonnet term can be applied for the five- or six-dimensional cases. Therefore, it is worthwhile to investigate whether the stabilization mechanism still works in six-dimensional spacetime.

In six-dimensional spacetime, the calculation can be evaluated in the same manner as in the five-dimensional case. We show here only the reduced action and the significant changes of the equations of motion. The reduced action from six-dimensional spacetime can be written as

$$\begin{aligned} S^{(4)}&= \int \!d^4 x \sqrt{-\bar{g}}\Bigg [\frac{M^{2}_{Pl}}{2} \Bigg \{ \bar{R} \!+\! \lambda ^2 e^{\frac{\psi }{\psi _0}} \bar{\mathcal {G}} \Bigg \}\! -\! \frac{1}{2} (\partial \psi )^2 \!-\! V(\psi )\nonumber \\&+ \lambda ^2e^{\frac{\psi }{\psi _0}} \Bigg (\bar{G}^{\mu \nu }\partial _\mu \psi \partial _\nu \psi - \frac{(\partial \psi )^2(\partial \psi )^2}{4\psi _0^2}\Bigg )+ \frac{L_{m}^{(4)}}{e^{2\frac{\psi }{\psi _0}}}\Bigg ],\nonumber \\ \end{aligned}$$
(44)

where \(V(\psi ) = (2 \pi )^2 e^{-\frac{\psi }{\psi _0}}L_\mathrm{Cas}^{(6)}(\psi ) = e^{-2\frac{\psi }{\psi _0}}L_\mathrm{Cas}^{(4)}(\psi )\) and the constant \(\psi _0\) is now redefined as \(\psi _0 = M_{Pl}\). The fields \(\phi \) and \(\psi \) are related via \(\phi = \sqrt{2}\psi / \psi _0 \). Comparing this to the reduced action from five-dimensional spacetime in Eq. (36), the higher-derivative part coming from the Gauss–Bonnet term differs; it is proportional to \((\partial \psi )^2(\partial \psi )^2\) for the six-dimensional case and it is proportional to \((\partial \psi )^2 \Box \psi \) for five-dimensional case. Using the same procedure for finding the equations of motion in the five-dimensional case, the energy density, pressure, and \(V'_\mathrm{eff}\) can be rewritten as

$$\begin{aligned} \rho _\psi&= \frac{1}{2}\dot{\psi }^2 + V \nonumber \\&+ \tilde{\lambda }^2 e^{\frac{\psi }{\psi _0}}\Bigg (-12 H_a^3 \frac{\dot{\psi }}{\psi _0}+ 9 H_a^2 \frac{\dot{\psi }^2}{\psi _0^2} -\frac{3}{4}\frac{\dot{\psi }^4}{\psi _0^4} \Bigg ), \end{aligned}$$
(45)
$$\begin{aligned} p_\psi&= \Bigg (\frac{1}{2}\dot{\psi }^2 - V\Bigg ) \nonumber \\&+ \tilde{\lambda }^2 e^{\frac{\psi }{\psi _0}}\Bigg ( 8 H_a(H_a^2+\dot{H_a}) \frac{\dot{\psi }}{\psi _0}+ (H_a^2-2\dot{H_a})\frac{\dot{\psi }^2}{\psi _0^2} \nonumber \\&- 2 H_a \frac{\dot{\psi }^3}{4\psi _0^3}-\frac{\dot{\psi }^4}{\psi _0^4}+4 \Bigg (H_a^2 - 2H_a\frac{\dot{\psi }}{\psi _0}\Bigg )\frac{\ddot{\psi }}{\psi _0} \Bigg ), \end{aligned}$$
(46)
$$\begin{aligned} V'_\mathrm{eff}&= V'+\tilde{\lambda }^2 e^{\frac{\psi }{\psi _0}} \nonumber \\&\qquad \times \Bigg (-\frac{12}{\psi _0} H_a^2( H_a^2 + \dot{H_a}) - 3 H_a^2 \frac{\dot{\psi }^2}{\psi _0^3} -\frac{3}{4}\frac{\dot{\psi }^4}{\psi _0^5}\nonumber \\&+6 H_a (3H_a^2 + 2\dot{H_a})\frac{\dot{\psi }}{\psi _0^2} + 3\left( 2H_a^2 -\frac{\dot{\psi }^2}{\psi _0^2} \right) \frac{\ddot{\psi }}{\psi _0^2}\Bigg ).\nonumber \\ \end{aligned}$$
(47)

At the initial time, \(t= t_i\), \(\dot{\psi }/\psi _i \ll 0\), \(V'_\mathrm{eff} \) can be approximated as

$$\begin{aligned} V'_\mathrm{eff} \sim V'-\tilde{\lambda }^2 e^{\frac{\psi }{\psi _0}}\frac{12}{\psi _0} H_a^2( H_a^2 + \dot{H_a}). \end{aligned}$$
(48)

Again, the effective force acting on the radion field is reduced at the initial time. Using the same method in the five-dimensional case, the decreasing of the effective force will lead to restoration of the stabilization mechanism. This analysis is confirmed by numerical simulation of the equations of motion in six-dimensional spacetime. In six-dimensional spacetime, we have nine degrees of freedom for the graviton. We choose this also as the number of degrees of freedom for the massless boson in the total Casimir energy density. The other numbers are obtained in the same way as discussed in the five-dimensional case. The number of degrees of freedom for the massless fermion, massive boson, and massive fermion can be chosen, respectively, as \(N_f = \tilde{N}_b =\tilde{N}_f =16\). By using this particle spectrum, the total Casimir energy density in six-dimensional spacetime can be written as

$$\begin{aligned} \rho _\mathrm{Cas}^{(6)} = -7 \rho _\mathrm{Cas}^\mathrm{massless} + 16 \rho _\mathrm{Cas}^\mathrm{massive}(m_b) - 16 \rho _\mathrm{Cas}^\mathrm{massive}(m_f), \end{aligned}$$
(49)

where the mass ratio is chosen as the lower bound, \(\bar{\lambda } = 0.456\). The range of the parameter \(\lambda \) for restoring the stabilization mechanism is \(0.61 < \lambda < 1.44\). The range is sensitive to the mass ratio and also depends on the initial value of \(b(t)\). We note that, replacing the non-relativistic matter with radiation, the stabilization mechanism in six-dimensional spacetime still holds. The action in four-dimensional spacetime reduced from five-dimensional spacetime in Eq. (36) and six-dimensional spacetime in Eq. (44) can be considered as a modified gravity theory. The modification provides some corrections to Einstein gravity which can be constrained by experiments at the solar system scale, for example [9698]. Note that the potential form in [9698] is chosen to be an exponential function of the scalar field, since most of the investigations do not try to address the moduli stabilization problem. In order to constrain our theoretical parameters such as \(\bar{\lambda }\) and \(\lambda \), one may find some corrections of our model in the same manner as done in the literature but the potential form in our case comes from Casimir energy density. It is important to note that the allowed region of the parameters may not be consistent with the stability condition in order to avoid ghost degrees of freedom in the model [99102]. We leave this investigation of our model including the constraints of the theoretical parameters for further work.

6 Conclusions

The concept of a Casimir dark energy model has been reviewed. The important idea of this model is that it is natural to interpret the Casimir energy emerging from the compactification of the extra dimensions as dark energy to drive the late-time accelerating universe [35]. However, this model of dark energy encounters the problem that the extra dimensions cannot be stabilized when non-relativistic matter is taken into account. One solution of this problem is adding an exotic field such as an aether field to the model [42]. However, the aether theory itself is not stable [4548]. In this paper, we seek another solution by generalizing the Einstein gravity theory to Einstein–Gauss–Bonnet (EGB) gravity theory. It is worthwhile to investigate EGB theory since it is a generalization of Einstein gravity in higher-dimensional spacetime which keeps second order derivatives in the equations of motion and satisfies the conservation equation of the matter field. It is also compatible with the low-energy effective field theory of string theory [70, 71]. The results of our investigation in five-dimensional spacetime showed that the radius of the extra dimension can be stabilized when the Gauss–Bonnet (GB) term and non-relativistic matter are taken into account. The extension by including radiation into the model was also investigated and the result showed that the stabilization mechanism still holds. We used the radion picture in four-dimensional spacetime to analyze how the GB term can provide the stabilization mechanism. It was found that the Gauss–Bonnet contribution effectively reduces the slope of the radion potential at the initial time corresponding to a reduction of the magnitude of the force acting on the radion field. Therefore, the radion field slowly rolls down and does not pass the point at which the minimum of the potential will arise before the minimum has formed so that the stabilization mechanism is eventually restored. We also investigated this behavior in a six-dimensional spacetime. The extra dimensions can be stabilized in the same manner as in the five-dimensional case. The stability of the model by itself is an important issue for investigation. The effective four-dimensional GB theory with an exponential potential and without terms corresponding to a nonminimal coupling to gravity are found to be unstable due to the tachyonic instability [102, 103]. The extension of the model including nonminimal coupling terms, without a potential, implies that the model is stable but the matter phase is absent in the history of the universe [94, 95]. Adding the potential term corresponding to the Casimir energy may provide this matter phase. We leave this investigation, including the constraints on the model, parameters for further work. Finally, the interplay between the Gauss–Bonnet term and the dynamical radion field in our model may shed some light on the connection between modified gravity theories and the fundamental high-energy theories which require higher-dimensional spacetimes.