1 Introduction

It is well known that currently the Universe is dominated by dark energy, which provides sufficient negative pressure to accelerate the expansion [1,2,3,4,5]. The simplest explanation of dark energy is provided by the introduction of a cosmological constant in the Einstein equations, but, this scenario is plagued by a severe fine tuning problem associated with its energy scale [6]. Furthermore, from observational data, it is not ruled out the possibility of a dynamical nature of dark energy with time dependent equation of state (EoS) parameter, which can constitute an interesting alternative to the case cosmological constant, but without a fine tuning problem. Thus, leaving aside the cosmological constant term, there are two principal ways to address a possible dynamical nature of dark energy; it can be interpreted as coming from a modification to general relativity (GR) by introducing higher curvature terms in the Einstein–Hilbert action (e.g. f(R) theories) [7,8,9,10,11,12,13,14], or it can be considered as an exotic matter fluid violating the strong energy condition (e.g. scalar field models) [6, 15,16,17,18,19]. Since dark energy currently dominates the cosmic evolution, the investigation of its nature and cosmological properties is essential to our understating of the dynamics of the Universe. Moreover, if the Universe can be considered a thermodynamic system, being the Hubble Horizon its spacetime boundary, the dominant dark energy component and its interaction with this boundary are fundamental pieces in determining the thermodynamic properties of the Universe and the conditions for its thermal equilibrium.

A framework which is very useful in studying the bulk/boundary interaction and thermodynamics of the Universe is the so-called Hořava–Lifshitz cosmology [20,21,22,23]. This class of cosmology is obtained from the framework of Hořava–Lifshitz gravity which is, by abandoning the Lorentz symmetry, a power-counting renormalizable theory of gravitation based in the Lifshitz-type anisotropic scaling at high energy [24,25,26]. Although, it can also be directly obtained from Hořava–Lifshitz F(R) gravity proposed in Refs. [27,28,29,30]. This is the projectable version, where the lapse function depends uniquely on time, and that in spite of the shortcomings related to the existence of an extra scalar degree of freedom with pathological behaviour [31,32,33,34,35,36], it constitutes an useful tool to gain insight in the most complete versions of the theory and their consequences for classical and quantum cosmology [37,38,39,40,41,42,43,44,45,46]. So, unlike GR, the fundamental symmetry is the invariance under foliation preserving diffeomorphism, that is to say, three-dimensional spatial diffeomorphism plus space-independent time reparametrization, which implies three local momentum constraints and one global Hamiltonian constraint integrated over the whole space at each time. Hence, in the Friedmann–Robertson–Walker (FRW) spacetime, the lack of a local Hamiltonian constraint leads to a loss of the first Friedmann equation (00 component), and therefore, the two independent dynamical equations are now the second Friedmann equation (ii component) and the nonconservation equation satisfied by the cosmic fluid in our patch of the Universe inside the Hubble horizon. The Q function appearing in the right hand side of this last equation, and which represents the nonconservation of energy, can be physically interpreted as a measure of the interchange of energy between the bulk (observable Universe) and the Hubble horizon [46]. There are two ways in determining the specific functional form of Q. One could follow the usually considered approach for the treatment of two interacting fluids in GR, where the functional form of the coupling term is imposed by hand [15]. Also, a second approach could consist in choosing an ansatz for the energy density of the bulk, through some physical arguments, as for example, those behind the holographic philosophy [46].

In choosing a candidate for dark energy we have very interesting possibilities. From the viewpoint of the Holographic approach, the dark energy density is proposed to saturate the holographic bound, applied to the size of the current Universe [47,48,49]. For example, in Ref. [49], it was proposed a generalized holographic dark energy model where the infrared cutoff is identified with the combination of the characteristic FRW spacetime parameters, such as, the Hubble rate, particle and future horizons, cosmological constant, the universe lifetime and their derivatives. However, if one identifies the characteristic length scale as the Hubble scale, it is seen that although this proposal matches the currently observational value of dark energy density, its equation of state (EoS) is out of the observationally allowed range [50]. Recently, in Ref. [51] it has been proposed a dark energy density based on the Gauss–Bonnet four-dimensional invariant and its modification, which can be physically interpreted as an energy density nonsaturating the holographic principle [52,53,54,55,56], and it is also a very special variant of the most general infrared cutoff established in Ref. [49]. The quadratic curvature Gauss–Bonnet term is a topological invariant which is strongly motivated from higher derivative gravity theories [57], being that it appears in QFT renormalization in curved spacetimes [58, 59], and it is one of the most promising candidates to provide the leading-order correction to the low energy string gravity [60, 61]. Furthermore, as it was shown in Ref. [51], this Gauss–Bonnet cutoff allows us to obtain the current values of dark energy density and a dark energy EoS parameter compatible with the observational data.

In the present paper we study the thermodynamics of the Gauss–Bonnet (GB) dark energy model and its deformed version in the framework of Hořava–Lifshitz cosmology. We study the bulk-boundary interaction, paying particular attention in the stability of thermal equilibrium and the generalized second law. Throughout the paper, we adopt units \(8 \pi G=1=c\).

2 Gauss–Bonnet dark energy on flat Hořava–Lifshitz cosmology

2.1 The Q function

In Hořava–Lifshitz cosmology [20,21,22,23] the field equations for the cosmic fluid, with barotropic equation of state \(p=\omega \rho \), are given by

$$\begin{aligned} \eta \left( 3H^{2}+2\dot{H}\right)= & {} -\omega \rho , \end{aligned}$$
(1)
$$\begin{aligned} \dot{\rho }+3H\left( 1+\omega \right) \rho= & {} -Q, \end{aligned}$$
(2)

where \(\eta \) is a dimensionless constant parameter associated to diffeomorphism invariance which is confined to the range \(0<\eta <1\) in the case of ghost graviton, \(\eta <0\) or \(\eta >1\) for no-ghost graviton, and \(\eta \) is fixed to 1 in GR [24]. The square speed of the scalar graviton is \(c^2_{s}=(1-\eta )/3\eta \), and from observational constraints and stability considerations one obtains extremely tight bounds on the parameters of projectable Hořava–Lifshitz gravity, such that, \(|\eta -1|<10^{-60}\) or equivalently \(\left| c_{s}\right| <10^{-30} \) [62]. However, in spite of they are extremely small numbers, it is worth remembering that the better “zero” in Physics is \(\varLambda l_{p}^2\sim 10^{-120}\), being \(\varLambda \) the cosmological constant and \(l_{p}\) the Planck length [63].

From Eqs. (1) and (2) we find

$$\begin{aligned} \frac{Q}{3\eta H^{3}}=\frac{2}{3\omega }\left( \frac{3}{4\pi }A_{h}\dot{H}+\frac{\ddot{H}}{H^{3}}\right) -\frac{A_{h}\left( 1+\omega \right) \rho }{4\pi \eta }, \end{aligned}$$
(3)

where \(A_{h}=4\pi H^{-2}\) is the area of Hubble horizon. This Q function, which represents the rate of energy nonconservation, can be physically interpreted as a measure of the flux of energy between the bulk and the horizon [46, 64, 65]. In the bulk exists one only component characterized by the EoS parameter w. Since at late times the evolution of the background cosmology is dominated not by matter, but rather by vacuum energy or dark energy, here we limit ourselves to the case \(w=-1\). The low energy limit can be recovered only if \(Q\rightarrow 0\) [21]. Also, it becomes a fundamental ingredient in the time evolution of the cosmological parameters and the dynamics of the Universe. For example, by using Eqs. (1) and (2), we find that the effective EoS parameter of the cosmic fluid is given by

$$\begin{aligned} w_{eff}=w\left[ 1+\frac{1}{2\left( q-\frac{1}{2}\right) }\left( \frac{Q}{3 \eta H^3}\right) \right] , \end{aligned}$$
(4)

where \(q=-1-\dot{H}/H^2\) is the deceleration parameter, and the Q function appears as a determinant factor in the dynamical behaviour of this cosmological parameter.

2.2 Gauss–Bonnet cutoff

There are two ways in determining the Q function. The first way, it is that usually considered in GR and coupled dark energy theories, where the specific form of the coupling function Q between scalar field and matter is introduced by hand, as for example, through the ansatz \(Q\sim \rho \dot{\phi }\) with \(\dot{\phi }\) the velocity of the homogeneous scalar field [6, 66, 67] or \(Q\sim \varGamma \rho \) with the normalization of the factor \(\varGamma \) in terms of the Hubble parameter H, i.e. \(\varGamma /H =\eta \) , where \(\eta \) is a dimensionless constant [15]. On the other hand, a second approach consists in determining the Q function through Eq. (2), or equivalently, via Eq. (3), by considering a phenomenological ansatz for the dark energy density \(\rho \), as for example, that one obtained from the holographic philosophy [46].

It is well known that for an effective quantum field theory in a box of size L with ultraviolet (UV) cutoff \(\varLambda \) the entropy S scales extensively with the volume as \(S\sim L^3 \varLambda ^3\) [56]. On the other hand, the holographic principle as given by the Bekenstein bound [52], postulates that the maximum entropy in a box of volume \(L^3\) behaves nonextensively and proportional to the area of the box. In order to reconcile quantum field theory with the holographic principle, in Ref. [55] the authors have imposed a relationship between UV and infrared (IR) cutoffs. This relationship was established by putting a stronger constraint on IR cutoff 1 / L, in such a form that if \(\rho \) is the quantum zero-point energy density due to the UV cutoff \(\varLambda \), the total energy in a region of size L should not exceed the mass of a black hole of the same size, that is, \(L^3 \rho \le L M_{p}^2\), or equivalently \(\rho \le L^{-2} M_{p}^2\).

If one associates L with the size of the current Universe, then the vacuum energy \(\rho = L^{-2} M_{p}^2 \) related to this holographic principle, may be identified as dark energy, or, also usually the so-called holographic dark energy density. However, identifying the Hubble scale 1 / H as the characteristic length scale L, one can see that although this proposal matches the currently observational value of dark energy density, \(\rho = M_{p}^2 H_{0}^2\), its EoS parameter is out of the observationally allowed range [50]. So, in Ref. [51], the author has proposed a novel cutoff which is not based in the Hubble scale, but whether in the Gauss–Bonnet (GB) four-dimensional invariant and its modification. The quadratic curvature Gauss–Bonnet term is a topological invariant which surges in higher derivative gravity theories, where it has been shown that gravitational actions which include terms quadratic in the curvature tensor are renormalizable [57]. Thus, following the holographic philosophy, the proposal in Ref. [51] postulates the relation \(\rho =\alpha \,GB\) where \(GB=R^{2}-4R_{\mu \nu }R^{\mu \nu }+R_{\mu \nu \lambda \rho }R^{\mu \nu \lambda \rho }=24\left( H^{2}+\dot{H}\right) H^{2}\) is the GB invariant, and for the “deformation” \(\rho =24\left( \alpha H^{2}+\beta \dot{H}\right) H^{2}\). In this way, this GB cutoff provides a holographic dark energy density which scales in a natural form as \(H^{4}\) and not as \(H^2\), and hence, it may be physically interpreted as a dark energy density nonsaturating the holographic principle once that one always has the relation \(M_{p}^2\gg H^2\). Furthermore, as it was shown in Ref. [51], this GB dark energy density explains the current values of dark energy, and at the same time, its dark energy EoS parameter is compatible with the observational constraints.

Below, we study these holographic candidates to dark energy in the context of Hořava–Lifshitz cosmology, paying particular attention in the Q function and its behaviour along the cosmic evolution.

2.2.1 Gauss–Bonnet dark energy

We discuss the dark energy cutoff given by [51]

$$\begin{aligned} \rho =24\lambda H_{0}^{-2}\left( H^{2}+\dot{H}\right) H^{2}=-24\lambda H_{0}^{-2}qH^{4}. \end{aligned}$$
(5)

By replacing (5) in (1), we can write

$$\begin{aligned} \frac{1/2-q}{q}=\frac{1}{2} A H^{2}, \end{aligned}$$
(6)

where \(A=24\lambda H_{0}^{-2}\omega /\eta \). But \(\rho >0\) implies \(q<0\) so that we must have

$$\begin{aligned} A<0\Longrightarrow \left\{ \begin{array}{l} \omega>0\text { and }\eta<0,\text { or} \\ \omega <0\text { and }\eta >0. \end{array} \right. \end{aligned}$$
(7)

So, according to (1) and (5), we can write

$$\begin{aligned} \dot{H}=-\left( \frac{3-\left| A\right| H^{2}}{2-\left| A\right| H^{2}}\right) H^{2}, \end{aligned}$$
(8)

where the implicit solution for \(E(t)=H\left( t\right) /H_{0}\) is given by

$$\begin{aligned} \frac{1}{E\left( t\right) }+ & {} \sqrt{2\frac{\lambda }{\eta }\left| \omega \right| }\Bigg [ {{\mathrm{arctanh}}}\left( \sqrt{8\frac{\lambda }{\eta } \left| \omega \right| }E\left( t\right) \right) \nonumber \\- & {} {{\mathrm{arctanh}}}\left( \sqrt{8\frac{\lambda }{\eta }\left| \omega \right| }\right) \Bigg ] =1+\frac{3}{2}H_{0}t_{0}\left( \frac{t}{t_{0}}-1\right) . \nonumber \\ \end{aligned}$$
(9)

From this equation we can study numerically the late-times behaviour of the Hubble function H(t). Moreover, by substituting Eqs. (5) into (2), we obtain the coupling function Q as

$$\begin{aligned} \frac{Q}{3 \eta H^3}=\frac{8 \lambda }{\eta } \left[ E\left( 3 (w+1) q E+\frac{\dot{q}}{H_{0}}\right) + \frac{4 q\dot{E}}{H_{0}}\right] , \end{aligned}$$
(10)

and using the numerical solution for H(t) from Eq. (9) we obtain Q(t).

From Eq. (6) we can write

$$\begin{aligned} \frac{\eta }{\lambda }=12\left| \omega \right| \left( \frac{\left| q\left( 0\right) \right| }{\left| q\left( 0\right) \right| +1/2}\right) , \end{aligned}$$
(11)

and then we must have \(\eta >0\). So, according to the observational data, something we could say about the quotient \(\eta /\lambda \). For instance, by using \(q(0)\approx -0.8\) and \(\omega = -1\), we have \( \eta /\lambda \approx 7.4\) and \(\lambda \) could decide whether there is or not ghost. We also can introduce the redshift \(z=a_{0}/a(t)-1\) as independent variable instead of cosmic time t, and then apply the transformation \(d/dt=-(1+z)H(z)d/dz\), in order to obtain H(z) and Q(z). In Fig. 1 it is shown the evolution of H(z) (upper graph) and Q(z) (lower graph) for some values of the parameters \(w=-1\) and \(\eta /\lambda =\{5.3, 6.3, 7.4\}\), being that in this case one obtains \(q(0)\approx \{-0.40,-0.55,-0.80\}\). Also, for \(\eta \sim 1 \) one can see that \(\lambda \approx \{0.19, 0.16, 0.14\}\) and therefore it satisfies the constraint \(\lambda <1\). It is observed a good concordance with \(\varLambda \)CDM scenario at low redshifts (\(z<1.2\)) once that dark energy becomes the dominant component. In the case of GB dark energy model, the most favoured values by the observational data correspond to the values \(\eta /\lambda =6.3\), being \(w=-1\) and \(q(0)=-0.55\). We see that the Q function exhibits sign changes along the cosmic evolution, taking negative values in the present epoch, at \(z=0\). Additionally, from Eq. (4), and by using the values of the quotient \(Q(z)/(3\eta H(z))\), we can evaluate the effective EoS parameter as a function of the redshift z. In particular, we see that it matches the observational constraints for the EoS parameter, taking a phantom value \(w_{eff}(0)\approx -1.03\) at \(z=0\).

Fig. 1
figure 1

For the GB DE model it is shown the evolution of the Hubble parameter H(z) (upper graph) and the coupling Q(z) (lower graph) as functions of the redshift z for the fixed value \(w=-1\) and several different values of the parameters \(\eta \) and \(\lambda \). From Eq. (11), for \(\eta /\lambda =\{5.3, 6.3, 7.4\}\) we obtain \(q(0)\approx \{-0.40,-0.55,-0.80\}\). The orange line corresponds to the evolution of the \(\varLambda \)CDM model

2.2.2 Deformed Gauss–Bonnet dark energy

We discuss now the “deformation” of (5) given by [51]

$$\begin{aligned} \rho = 24\left( \alpha H^{2}+\beta \dot{H}\right) H^{2}=24H_{0}^{-2}\left[ \bar{\alpha }-\bar{\beta }\left( 1+q\right) \right] H^{4}, \end{aligned}$$
(12)

and \(\rho>0\Longrightarrow \bar{\alpha }>\bar{\beta }\left( 1+q\right) \), \( \forall q\). Here, we have rescaled the parameters in the form \(\alpha =\bar{\alpha }/H_{0}^2\) and \(\beta =\bar{\beta }/H_{0}^2\). By using (12) in (1), we have

$$\begin{aligned} \frac{1}{12}\left( \frac{1/2-q}{\bar{\alpha }-\bar{\beta }\left( 1+q\right) } \right) =-\left( \frac{\omega }{\eta }\right) \left( \frac{H}{H_{0}}\right) ^{2}, \end{aligned}$$
(13)

and then \(sgn\left( 1/2-q\right) =-sgn\left( \omega /\eta \right) \), i. e.,

$$\begin{aligned} q> & {} 1/2\Longrightarrow sgn\left( \omega /\eta \right) =1, \end{aligned}$$
(14)
$$\begin{aligned} q< & {} 1/2\Longrightarrow sgn\left( \omega /\eta \right) =-1. \end{aligned}$$
(15)

By seeing (13), today

$$\begin{aligned} \eta =12\left| \omega \right| \bar{\beta }\left( \frac{\bar{\alpha }/\bar{\beta }-\left( 1-\left| q\left( 0\right) \right| \right) }{1/2+\left| q\left( 0\right) \right| }\right) \Longrightarrow \eta >0, \end{aligned}$$
(16)

and we have a somewhat more complicated situation than (11) in order to visualize values for both \(\bar{\alpha }\) and \(\bar{\beta }\) from the observational data and then values for \(\eta \). We recall that \(0<\eta <1\) (ghost graviton) or \(\eta >1\) (no-ghost graviton) and \(\eta \) is fixed to 1 in GR. Even more, according to (15) and (16), \(\eta >0\Longrightarrow \omega <0\). Here, we can not forget that \( 0<\left| q\left( 0\right) \right| <1\). From the inequality \(\bar{\alpha }>\bar{\beta }\left( 1+q\right) \rightarrow q<-1+\bar{\alpha }/\bar{\beta }\) we could have, \(q<0\) \(\left( \bar{ \alpha }/\bar{\beta }<1\right) \) and \(q>0\) \(\left( \bar{\alpha }/\bar{\beta } >1\right) \). We note that, unlike (5), \(q<0\), we have now the possibility of \(q>0\). By taking \(q(0)\simeq -0.55\), \(w=-1\) in Eq. (16) we obtain \(\eta /\bar{\beta }\approx 11.43 \left( \bar{\alpha }/\bar{\beta }-0.45\right) \). For \(\eta \sim 1\), and \(\bar{\alpha }/\bar{\beta }=\{0.85, 0.65, 0.55\}\) we obtain \(\bar{\beta }\approx \{0.22, 0.44,0.88\}\), respectively.

According to (1) and (12), we have

$$\begin{aligned} \dot{H}=-\left( \frac{3+A\bar{\alpha }H^{2}}{2+A\bar{\beta }H^{2}}\right) H^{2} \end{aligned}$$
(17)

where \(A=24 H_{0}^{-2}\left( \omega /\eta \right) \) and its sign depends on the expression \(sgn\left( \omega /\eta \right) \). According to (14), \(A>0\) if \(q>1/2\) and \(A<0\) if \(q<1/2\). So, from (17) with \(A>0\), we obtain

$$\begin{aligned} \frac{1}{H}+\frac{3A}{2}\left( \frac{2\bar{\alpha }}{3}-\bar{\beta }\right) \int \frac{dH}{3+A\bar{\alpha }H^{2}}=\frac{3}{2}t+const., \end{aligned}$$
(18)

and from here \(H\left( t\right) \).

If \(A<0\), we obtain

$$\begin{aligned} \frac{1}{H}-\frac{3\left| A\right| }{2}\left( \frac{2}{3}\bar{\alpha } -\bar{\beta }\right) \int \frac{dH}{3-\left| A\right| \bar{\alpha } H^{2}}=\frac{3}{2}t+const., \end{aligned}$$
(19)

and from here \(H\left( t\right) \). So, from \(H\left( t\right) \) we obtain \(Q\left( t\right) \) by substituting (12) in Eq. (2), and it reads as

$$\begin{aligned} \frac{Q}{3\eta H^3}= & {} \frac{8}{\eta } \Bigg [\frac{\bar{\beta } E \dot{q}}{H_{0}}+\left( \bar{\beta }\left( 1+q\right) -\bar{\alpha }\right) \nonumber \\&\times \left( 3 (w+1) E^2 +\frac{4 \dot{E}}{H_{0}}\right) \Bigg ]. \end{aligned}$$
(20)

Since we are interested in the dark-energy dominated era, we take Eq. (19) as the evolution equation for H for \(A<0\) (\(w<0\) and \(\eta >0\)). In Fig. 2 (upper graph) we depict the evolution of H(z) as a function of z. Also, in Fig. 2 (lower graph) it is shown the cosmic evolution of Q(z) in according to Eq. (20). It is shown that the deformed GB model can fit quite well the \(\varLambda \)CDM scenario for small deviations from the nondeformed case, that is to say, for \(\bar{\alpha }/\bar{\beta }\lesssim 1\), at low redshifts (\(z<1.2\)), once that dark energy becomes the dominant component. As in the nondeformed case, the Q(z) function presents sign changes along the cosmic evolution. However, in this case, Q(z) takes positive values in the present, at \(z=0\), for the most favoured values of the parameters \(\bar{\alpha }/\bar{\beta }=0.85\). This result is important because positive values of Q(z) are also favoured from observational data, see e.g. Refs. [68, 69].

Fig. 2
figure 2

For the deformed GB DE model it is shown the evolution of the Hubble parameter H(z) (upper graph) and the coupling Q(z) (lower graph) as functions of the redshift z for the fixed values \(w=-1\) , \(\eta \sim 1\), \(q(0)=-0.55\) and several different values of the quotient \(\bar{\alpha }/\bar{\beta }\). The orange line corresponds to the evolution of the \(\varLambda \)CDM model

3 Thermal equilibrium and Second law

In the context of Hořava–Lifshitz cosmology, a Q function is naturally present into the theory. Thus, the Universe can be seen as a thermodynamic system composed of the two mutually interacting parts, the bulk and the boundary. In order to study the classical thermodynamics of this composed system, we must introduce the temperature and entropy of each one of the parts. The temperature and entropy of the bulk are calculated using the Gibbs equation and the integrability condition applied to the Hubble volume enclosing the cosmic fluid with effective EoS parameter \(w_{eff}\) given by Eq. (4). In this case, the equation for the entropy reads as [46]

$$\begin{aligned} T_{b}\dot{S}_{b}= & {} \frac{8 \pi }{3}\eta \left( \frac{q-1/2}{\omega }\right) \nonumber \\&\times \left[ 3\left( 1+\omega \right) q-\frac{3 \omega }{2\left( q-1/2\right) }\left( \frac{Q}{3 \eta H^3}\right) \right] , \end{aligned}$$
(21)

whereas that the temperature is given by

$$\begin{aligned} \frac{T_{b}(z)}{C_{0}(1+z)^{3 w}}=\exp {\left[ \int {\frac{3 w}{2\left( q-\frac{1}{2}\right) }\left( \frac{Q}{3\eta H^3}\right) \frac{dz}{1+z}}\right] }, \end{aligned}$$
(22)

where \(C_{0}\) is an integration constant. On the other hand, the temperature and entropy of the boundary, is calculated using the Holographic principle which establishes that the temperature of the Horizon is \(T_{h}=H/(2 \pi )\) and its associated entropy is \(S_{h}=8 \pi ^2 H^{-2}\) [70,71,72,73].

A first point to be studied is the question of whether a stable thermal equilibrium between the bulk and the horizon can be reached or not. In order to discuss the stability of thermal equilibrium we introduce the heat capacity of the bulk, \(C_{b}=T_{b}\left( \partial S_{b}/\partial T_{b}\right) \), and the heat capacity of the boundary, \(C_{h}=T_{h}\left( \partial S_{h}/\partial T_{h}\right) \). From Eq. (21) we obtain the heat capacity of the bulk which is written as

$$\begin{aligned} C_{b}=-\left( \frac{1}{6 \pi T_{b} T_{h}\omega _{eff}}\right) f(z), \end{aligned}$$
(23)

where f(z) is defined by the rhs of Eq. (21), which depends also on the coupling function Q. Moreover, for the heat capacity of the boundary we find \(C_{h}=-4/T_{h}^2<0\).

The heat capacity of the boundary is always negative, whereas that the heat capacity of bulk does not have a definite sign and it depends on the sign of the function f(z), that is, it depends on the cosmic evolution of the Q function. Since we are dealing with systems that present negative heat capacities, as for example the horizon, or perhaps also the bulk, let us remember when the stable thermal equilibrium can be attained for theses systems in thermal contact. Clearly, there are mainly two criteria that we must consider in the moment [74, 75]:

  1. 1.

    Two systems with negative heat capacities in thermal contact do not attain thermal equilibrium.

  2. 2.

    A system of negative heat capacity can achieve a stable thermal equilibrium in contact with one other of positive heat capacity if their combined heat capacity is negative.

The second point to be verified is the fulfilment of generalized second law. It determines that the total entropy of the system, the entropy of the bulk \(S_{b}\) plus the entropy of the boundary \(S_{h}\), never decreases, that is, we always must have \(\dot{S}_{h}+\dot{S}_{b}\ge 0\). Thus, by using the Eqs. (21) and (22), along with the relation \(T_{h}\dot{S}_{h}=8 \pi (1+q)\) for the horizon, the generalized second law puts the following constraint on the Q function

$$\begin{aligned} R=\left( \frac{Q}{3 \eta H^3}\right) -D\le 0, \end{aligned}$$
(24)

with

$$\begin{aligned} D=2 \Bigg [\left( \frac{q-1/2}{\omega }\right) q \left( 1+\omega \right) +\left( \frac{1+q}{\eta }\right) \left( \frac{T_{b}}{T_{h}}\right) \Bigg ], \end{aligned}$$
(25)

where \(T_{b}\) is given by (22) and \(T_{h}=H/(2 \pi )\). Here we also have used the fact that \(\rho H^{-1}/(2\eta )=(q-1/2)/\omega >0\), as it can be see from Eq. (2).

Below, following the same scheme of section II, we analyse separately the cases of GB model and its deformed version.

Fig. 3
figure 3

GB model: in the upper graph we show the evolution of the heat capacity of the bulk. On the other hand, in the lower graph we depict the evolution of the sum of capacities of the bulk and the horizon. Following the criteria 1 and 2 exposed in Sect. 3, we observe that the thermal equilibrium is possible as a transient phenomenon

3.1 Gauss–Bonnet dark energy

As seen above, in order to discuss the stable thermal equilibrium of the system bulk/boundary, it is necessary to identify the sign of the heat capacity of the bulk along the cosmic evolution. It does not have a definite sign because it depends on the cosmic evolution of the Q function. In Fig. 3 (upper graph) we depict the cosmic evolution of the heat capacity of the bulk. We see that it takes negative values until short time before the present epoch \(z=0\), for after to go through a sign change and then to take positive values during a transient epoch, which extends into the future. On the other hand, also in Fig. 3 (lower graph), we depict the cosmic evolution of the sum of heat capacities of the bulk and the boundary, observing that it takes negatives values in all the redshifts. Therefore, following the criteria exposed in Sect. 3, we can observe that in the case of GB dark energy model, the thermal equilibrium can be reached only as a transient phenomenon, once that \(C_{b}\) takes positive values during some time and the sum of capacities \(C_{b}+C_{h}\) is negative. This happens independently of the set of initial conditions \(T_{b}(0)>T_{h}(0)\), \(T_{b}(0)=T_{h}(0)\) or \(T_{b}(0)<T_{h}(0)\), for the temperature of the bulk and the boundary.

In relation to the fulfilment of generalized second law, in Fig. 4 we depict the behaviour of the parameter R defined in (24). At higher redshifts we observe a violation of the second law for the initial conditions \(T_{b}(0)=T_{h}(0)\) or \(T_{b}(0)<T_{h}(0)\), while for \(T_{b}(0)>T_{h}(0)\) apparently there is not violation. Moreover, in the future, for redshift \(z=-1\), we have a divergence in the equations and therefore also a possible violation of the generalized second law, since in this case the system becomes unstable, implying arbitrary values of parameter R.

Fig. 4
figure 4

GB model: evolution of parameter R defined in Eq. (24), which allows us to express the nonviolation of the generalized second law through the constraint \(R\le 0\). We observe that there is a violation of the generalized second law at higher redshifts for the initial conditions \(T_{b}(0)=T_{h}(0)\) or \(T_{b}(0)<T_{h}(0)\), while for \(T_{b}(0)>T_{h}(0)\) apparently there is not violation

Fig. 5
figure 5

Deformed GB model: we show the evolution of the heat capacity of the bulk (upper graph) and the behaviour of the sum of capacities of the bulk and the horizon (lower graph). Also, as in the case of GB model, from criteria 1 and 2 exposed in Sect. 3, we observe that the thermal equilibrium is possible as a transient phenomenon

3.2 Deformed Gauss–Bonnet dark energy

Following the analysis on thermal equilibrium and generalized second law in Hořava–Lifshitz cosmology we consider now the case of the deformed GB dark energy model. In Fig. 5 (upper graph) we show the behaviour of the heat capacity of the bulk, whereas that in Fig. 5 (lower graph) we depict the evolution of the sum of heat capacities of the bulk and the boundary (hubble horizon). As in the case of the GB model, we follow the criteria 1 and 2 for thermal equilibrium exposed in Sect. 3. We observe also a sign change of the heat capacity of the bulk in the future, at about \(z\simeq -0.3\), which comes to take positive values later, being the sum of heat capacities, bulk plus boundary, always negative. Therefore we find that the thermal equilibrium is also a transient phenomenon in the deformed GB model, but, unlike GB model, it happens exclusively in the future.

In investigating the validity of the generalized second law we depict the behaviour of the parameter R defined in Eq. (24). We find different results in relation to the GB dark energy model, in particular, we observe that the generalized second law can be violated at higher redshifts, independently of the initial conditions \(T_{b}(0)=T_{h}(0)\), \(T_{b}(0)<T_{h}(0)\) and \(T_{b}(0)>T_{h}(0)\). Also, we have a divergence at \(z=-1\), which implies arbitrary values of R and possible violations to the second law (Fig. 6).

Fig. 6
figure 6

Deformed GB dark energy model: evolution of parameter R defined in Eq. (24), which allows us to express the nonviolation of the generalized second law through the constraint \(R\le 0\). We observe there is a violation of the generalized second law at higher redshifts, independently of the initial conditions \(T_{b}(0)=T_{h}(0)\), \(T_{b}(0)<T_{h}(0)\) and \(T_{b}(0)>T_{h}(0)\)

4 Concluding remarks

In investigating the bulk-boundary interaction and thermodynamics of the Universe, the theory of Hořava–Lifshitz cosmology surges as an useful framework for this purpose. The Q function describing the interchange of energy between the bulk (observable Universe) and the hubble horizon (boundary) plays a fundamental role in determining the dynamics of the Universe and its thermal properties [46].

The energy density of the bulk is dominated by dark energy density and we have very interesting possibilities in choosing a good candidate for this dark energy component. Recently, in Ref. [51] it has been proposed a dark energy density based on the Gauss–Bonnet four-dimensional invariant and its modification, which can be physically interpreted as an energy density nonsaturating the Holographic principle [52,53,54,55,56]. This Gauss–Bonnet (GB) energy density allows us to obtain the current values of dark energy density and dark energy EoS parameter compatible with the observational data [51].

In the context of Hořava–Lifshitz cosmology, we investigated the bulk-boundary interaction for GB dark energy model and its deformed version. We discussed whether the thermal equilibrium is stable or not, once it is reached, and the validity of the generalized second law. In order to discuss whether the thermal equilibrium of the system bulk-boundary will be stable or not, once it is reached, it is necessary to study the evolution of the heat capacities of the bulk and the boundary. Whereas that the heat capacity of the Hubble horizon has a well defined sign which is always negative, the sign of the heat capacity of the bulk depends on the evolution and the sign of the Q function [46].

For both, GB dark energy and deformed GB dark energy model, we observed sign changes of the Q function, and hence sign changes of the heat capacity of the bulk. Therefore, following the criteria exposed in Sect. 3, we can observe that for GB and deformed GB dark energy models, the thermal equilibrium can be reached only as a transient phenomenon, once that for both models \(C_{b}\) takes positive values only during some time and the sum of capacities \(C_{b}+C_{h}\) is negative. This happens independently of the set of initial conditions \(T_{b}(0)>T_{h}(0)\), \(T_{b}(0)=T_{h}(0)\) or \(T_{b}(0)<T_{h}(0)\), for the temperature of the bulk and the boundary. Interestingly, in the case of deformed GB dark energy model, the Q(z) function takes positives values at the present time, \(z=0\), being this result important because positive values of Q(0) are favoured from observational data (see e.g. [68, 69]), and hence, this could constitute an advantage in favour of the deformed model. Here it is worth highlighting that in our results, for both models, GB and deformed GB dark energy models (Figs. 1 and 2), the values obtained by us for Q(0) are nonzero at the present time, and we find \(Q\rightarrow 0\) only for \(z\rightarrow -1\). This means that the low energy limit can be recovered only in the future and not in the present.

On the other hand, the validity of the generalized second law is constrained by Eq. (24), through the parameter R. In the case of GB dark energy model, we observed a violation to the second law at higher redshifts for the initial conditions \(T_{b}(0)=T_{h}(0)\) or \(T_{b}(0)<T_{h}(0)\), while for \(T_{b}(0)>T_{h}(0)\) apparently there is not violation. In the case of deformed GB dark energy model, we found different results in relation to the GB dark energy model, in particular, we observed that the generalized second law can be violated at higher redshifts, independently of the initial conditions \(T_{b}(0)=T_{h}(0)\), \(T_{b}(0)<T_{h}(0)\) and \(T_{b}(0)>T_{h}(0)\). However, for both models, we have a divergence at redshift \(z=-1\), and therefore also a possible violation of the generalized second law at this redshift, since in this case the system becomes unstable, implying arbitrary values of parameter R.