1 Introduction

According to the Standard Model of Cosmology, the universe experienced two phase of accelerating expansion, one at early (inflation) and one at late times. In principle there are two ways to explain these behaviors. The first is to maintain general relativity as the gravitational theory and introduce new energy contents, such as the dark energy sector [1, 2] and the inflaton field [3]. The second is to assume that the extra degrees of freedom that drive the universe acceleration arise from a modified theory of gravity (for reviews see [4,5,6,7]). Concerning modified gravities, the simplest models are F(R) gravity [8,9,10], f(G) gravity [11], Weyl gravity [12, 13], Galileon theory [14,15,16] etc. However, one could follow more radical ways of modification, i.e. start from the torsion instead of the curvature gravitational formulation and construct f(T) gravity [17, 18], \(f(T,T_G)\) gravity [19, 20], etc.

However, a different approach to modified gravity arises from the connection between gravity and thermodynamics [21,22,23]. In particular, it is known that in a cosmological framework one can express the Friedmann equations as the first law of thermodynamics applied in the universe apparent horizon [24,25,26], and equivalently he can apply the first law of thermodynamics in the universe horizon and result to the Friedmann equations. The above conjecture about the “thermodynamics of space-time” [21] has been applied in various classes of modified gravity [26,27,28,29,30,31,32,33,34,35].

Recently, there have appeared some works in the literature in which the above thermodynamical consideration is applied using extended entropy relations instead of the usual one [36,37,38,39,40,41,42,43,44,45,46]. In particular, it is known that in the case of non-additive systems, such as gravitational ones, the standard Boltzmann–Gibbs additive entropy should be generalized to the non-extensive Tsallis entropy [47,48,49], which can be applied in all cases, possessing the former as a limit. The non-extensivity is parametrized by a new exponent \(\delta \), with the value 1 corresponding to the standard entropy. Hence, the cosmological application of this non-extensive thermodynamics results to new modified Friedmann equations that possess the usual ones as a particular limit, namely when the Tsallis generalized entropy becomes the usual one, but which in the general case contain extra terms that appear for the first time.

In the present work we are interested in investigating the extended case in which the exponent of the non-extensive thermodynamics has a running behavior, namely that it varies according to the energy scale.Such a running behavior is known to be the typical case for quantum field theory and quantum gravity when renormalization group is applied. In this case, the coupling constants (even cosmological and gravitational coupling constants) are running with the energy scale. When such theories are applied in a cosmological framework it turns out that the running is with time. Hence, our proposal to consider a running behavior of non-extensive thermodynamics arises from quantum field theoretical considerations, which although not envisioned by Tsallis when he constructed his approach, are in principle necessary when ones tries to embed Tsallis entropy into a general framework that would be consistent with quantum gravity setup.

In particular, entropy corresponds to the physical degrees of freedom of a system, however the renormalization of a quantum theory implies that the degrees of freedom depend on the scale. In standard field theory, in low energy regime, massive modes decouple and therefore the degrees of freedom decrease. In gravity case the situation becomes more complicated, and if the space-time fluctuations become large in the ultraviolet regime then the degrees of freedom may increase. On the other hand, if gravity becomes topological, the degrees of freedom will decrease, which could be consistent with holography.

From the above discussion we may conclude that in both high and low scales the exponent \(\delta \) may acquire values away from the standard value 1, while at intermediate scales it should be close to unity. Therefore, the cosmological application of such a running non-extensive thermodynamics will bring qualitatively new extra terms in the modified Friedmann equations, that are expected to play a role both at high-energy scales (inflation) as well as at low ones (late-time universe). In the following we will study in detail such a cosmological scenario.

The plan of the work is the following. In Sect. 2 we review the relation of cosmology with thermodynamics. In Sect. 3 we apply non-extensive thermodynamics with varying exponent in a cosmological framework and we extract the modified Friedmann equations. Additionally, we investigate the scenario at late and early times, describing both dark energy and inflationary solutions. In Sect. 4 we examine the possible correspondence of the scenario at hand with F(R) gravity. Finally, in Sect. 5 we summarize our results.

2 Cosmology from thermodynamics

In this section we present the cosmological application of thermodynamical considerations. Throughout the manuscript we work with a homogeneous and isotropic flat Friedmann–Robertson–Walker (FRW) geometry with metric

$$\begin{aligned} ds^2=-dt^2+a^2(t)\,\delta _{ij} dx^i dx^j, \end{aligned}$$
(1)

where a(t) is the scale factor. In the following subsections we analyze the case of standard and non-extensive thermodynamics separately.

2.1 Standard thermodynamics

We start by considering the expanding universe filled with a perfect fluid, with energy density \(\rho \) and pressure p. Although it is not straightforward to determine the “volume” of the above system, namely to find the “radius” that forms its boundary, in the literature there is a consensus that this should be the apparent horizon [24, 50], which in the case of a flat universe becomes

$$\begin{aligned} r_H=\frac{1}{H}, \end{aligned}$$
(2)

with \(H=\frac{\dot{a}}{a}\) the Hubble parameter and with dots denoting derivatives with respect to t (hence in a flat three-dimensional geometry the apparent horizon coincides with the Hubble one). The apparent horizon is a marginally trapped surface with vanishing expansion [51], and in the case of dynamical space-times it corresponds to a causal horizon associated with the gravitational entropy and the surface gravity [51,52,53].

Let us now investigate the thermodynamics of the system bounded by \(r_H\). The energy going outwards through the horizon, in time interval dt, is given by [24]

$$\begin{aligned} dQ = - dE = \frac{4\pi }{3} r_H^3 \dot{\rho }dt = \frac{4\pi }{3H^3} \dot{\rho }dt, \end{aligned}$$
(3)

with \( \frac{4\pi }{3} r_H^3\) the system’s volume. By using the standard conservation law, namely

$$\begin{aligned} 0 = \dot{\rho }+ 3 H \left( \rho + p \right) , \end{aligned}$$
(4)

then Eq. (3) can be rewritten as

$$\begin{aligned} dQ = \frac{4\pi }{H^2} \left( \rho + p \right) dt. \end{aligned}$$
(5)

At this stage we should attribute to the universe horizon a temperature and an entropy. Taking into account the black hole temperature and entropy relations, one deduces that the corresponding temperature is the Hawking temperature [24, 50]

$$\begin{aligned} T = \frac{1}{2\pi r_H} = \frac{H}{2\pi }, \end{aligned}$$
(6)

while the entropy relation is the usual Bekenstein–Hawking relation [23]

$$\begin{aligned} S = \frac{A}{4G}, \end{aligned}$$
(7)

in units where \(\hbar =k_B = c = 1\), with \(A = 4\pi r_H^2 = \frac{4\pi }{H^2} \) the horizon area and G the gravitational constant. Hence, inserting (5), (6) and (7), into the first law of thermodynamics

$$\begin{aligned} TdS = dQ, \end{aligned}$$
(8)

we obtain

$$\begin{aligned} \dot{H} = - 4\pi G \left( \rho + p \right) , \end{aligned}$$
(9)

which is nothing else than the second Friedmann equation. Finally, integrating Eq. (9) and using the conservation law (3), we obtain the first FRW equation, namely

$$\begin{aligned} H^2 = \frac{8\pi G}{3} \rho + \frac{\Lambda }{3}, \end{aligned}$$
(10)

where \(\Lambda \) is an integration constant that plays the role of the cosmological constant.

2.2 Non-extensive thermodynamics

Let us now apply the above procedure, but instead of the standard entropy relation we use the generalized, non-extensive, Tsallis entropy. As we mentioned in the Introduction, in systems with diverging partition function, such as large-scale gravitational systems, the standard Boltzmann–Gibbs theory cannot be applied. In these cases one needs to use non-extensive, Tsallis thermodynamics, which still possesses standard Boltzmann–Gibbs theory as a limit. Thus, the standard Boltzmann–Gibbs additive entropy needs to be generalized to the non-extensive, non-additive entropy, namely Tsallis entropy [38, 47,48,49], which in units where \(\hbar =k_B = c = 1\) can be written in compact form as [36]:

$$\begin{aligned} S = \frac{A_0}{4 G} \left( \frac{A}{A_0} \right) ^\delta . \end{aligned}$$
(11)

In the above expression A is the the area of the system, \(A_0\) is a constant introduced for dimensional reasons, and \(\delta \) is the new parameter that quantifies the non-extensivity. In the case where \(\delta =1\) one re-obtains the standard Bekenstein–Hawking entropy.

We repeat the steps of the previous subsection, namely we apply the first law of thermodynamics (8) in the universe apparent horizon (2), with (5) and (6), however concerning the entropy we use the non-extensive relation (11). In this case we obtain

$$\begin{aligned} \delta \left( \frac{H_1^2}{H^2} \right) ^{\delta -1} \dot{H} = - 4\pi G \left( \rho + p \right) , \end{aligned}$$
(12)

where for convenience we have introduced the constant \(H_1\) through \(A_0 \equiv \frac{4\pi }{H_1^2}\). Finally, integrating (12) we result to [39]

$$\begin{aligned} \frac{\delta }{2 - \delta } H_1^2\left( \frac{H^2}{H_1^2} \right) ^{2 - \delta } = \frac{8\pi G}{3} \rho + \frac{\Lambda }{3}, \end{aligned}$$
(13)

with \(\Lambda \) an integration constant. Equation (13) is the generalized Friedmann equation arising from non-extensive horizon thermodynamics, and its novel extra terms can be used to describe either an effective dark energy sector or the inflation realization [39].

Before proceeding to the next Section, where we will extend the above framework, let us make an interesting comment on the equivalence between the modified cosmology through non-extensive thermodynamics and the model of holographic dark energy [54]. The latter consideration is based on the holographic principle [55], which when it is applied in a cosmological setup it leads to a dark energy density of the form

$$\begin{aligned} \rho _\Lambda = \frac{3c^2}{8\pi G L^2}, \end{aligned}$$
(14)

where L is the infrared cutoff of the theory and c the model parameter. Concerning the choice of L, this could be the particle horizon \(L_p = a \int _0^t \frac{dt}{a}\), the future event horizon \(L_f = a \int _t^\infty \frac{dt}{a}\), or the Ricci scalar R, however one could use a more general cutoff \(L_g\) which is a function of \(L_p\), \(L_f\), R, as well as of the cosmological constant \(\Lambda =\frac{12}{l^2}\) [56], namely

$$\begin{aligned} L_g = L_g \left( L_p, L_f, R, l \right) . \end{aligned}$$
(15)

If we consider the choice

$$\begin{aligned} \frac{1}{L_g^2} = \frac{1}{c^2R^2} - \frac{3}{8\pi G l^2} - \frac{\beta }{l^{2\alpha } L_p^{2(1-\alpha )}}, \end{aligned}$$
(16)

with \(\alpha \) and \(\beta \) constants, insert that in the holographic energy density (14) and then in the usual Friedmann equation

$$\begin{aligned} H^2 = \frac{8\pi G}{3}\left( \rho + \rho _\Lambda \right) + \frac{\Lambda }{3}, \end{aligned}$$
(17)

we obtain

$$\begin{aligned} \frac{8\pi G\beta }{3 l^{2\alpha } L_p^{2(1-\alpha )}} = \frac{8\pi G}{3} \rho . \end{aligned}$$
(18)

In the case where the scale factor has a power-law evolution \(a\propto t^\gamma \), we find \(L_p \propto t\) and \(H\propto t^{-1}\), and therefore the left hand side of (18) behaves as \(H^{2\left( 1-\alpha \right) }\). Thus, if identify \(\alpha - 1=2 - \delta \), this specific model of generalized holographic dark energy reproduces the modified cosmology (13) arising from non-extensive horizon thermodynamics.

3 Modified cosmology from non-extensive entropy with varying exponent

In this section we investigate the modified cosmology that arises from thermodynamical considerations, applying the non-extensive entropy relation but allowing it to have a running behavior, namely that it can vary with the energy scale. As we mentioned in the Introduction, the entropy corresponds to physical degrees of freedom, but the renormalization of a quantum theory implies that the degrees of freedom depend on the scale. In the gravitational case, if the space-time fluctuations become large in the ultraviolet regime then the degrees of freedom may increase, while if gravity becomes topological the degrees of freedom may decrease. Hence, we conclude that in general the exponent \(\delta \) of Tsallis entropy (11) can have a running behavior.

In the cosmological framework the energy scale can be quantified by the value of the Hubble parameter H. Hence, in the following we assume that \(\delta \) has the scale-dependence \(\delta \equiv \delta (x) \), with \(x=\frac{H_1^2}{H^2} \), and where \(H_1\) is a parameter with units of H that sets the reference scale. Repeating the procedure of the previous section, that is applying the first law of thermodynamics (8) in the universe apparent horizon (2), with (5), (6), and (11), and with a varying \(\delta \) we result to

$$\begin{aligned} \left\{ \delta + \left[ \frac{H_1^2}{H^2} \ln \left( \frac{H_1^2}{H^2} \right) \right] \delta ' \right\} \left( \frac{H_1^2}{H^2} \right) ^{\delta -1} \dot{H} {=}- 4\pi G \left( \rho + p \right) , \end{aligned}$$
(19)

where \(\delta '(x)\equiv \partial \delta (x)/\partial x\) (from now on a prime denotes the derivative of a function with respect to its argument). Thus, integrating (19) and using (4) we find

$$\begin{aligned} \left. - H_1^2 \left\{ x^{\delta (x) - 2} + 2 \int ^x dx x^{\delta (x) -3} \right\} \right| _{x=\frac{H_1^2}{H^2}}= \frac{8\pi G}{3} \rho + \frac{\Lambda }{3}. \end{aligned}$$
(20)

Equation (20) is the modified Friedmann equation that arises from non-extensive thermodynamics with varying exponent, and one of the main results of the present work. In the following we will study its cosmological implications in detail.

In order to proceed we need to consider a specific ansatz for \(\delta (x)\). In principle one can make various choices and elaborate Eq. (20) numerically. However, since we desire to obtain analytical solutions we will choose forms that allow it. Additionally, from the class of choices that allow for analytical solutions we will focus on the \(\delta (x)\)-forms that present the physical behavior mentioned in the Introduction. In particular, as we described, in both high and low scales we expect \(\delta (x)\) to acquire values away from the standard value 1, while at intermediate scales it should be close to unity. Hence, a general class of \(\delta (x)\) that exhibits this behavior and simultaneously allows for analytical solutions of the integral in (20) is

$$\begin{aligned} \delta (x) = \frac{ \ln \left[ c \left( x^{3-n} + \alpha (x) b_2 x^{2-n} + b_1 b_2^2 x^{1-n}\right) \right] }{\ln x}, \end{aligned}$$
(21)

where

$$\begin{aligned} \alpha (x)\equiv \frac{n (3 - n)}{(1-n)^2} + \frac{n^2}{(1+n)(2-n)} b_1 b_2^2 x^{-n-1}, \end{aligned}$$
(22)

with n, \(b_1\), \(b_2\) the model parameters and \( c \equiv \left\{ \frac{3 - n}{(1-n)^2} {+} \frac{b_1}{1{+}n} \right\} ^{-1}b_2^{n-2} \). In this case, Eq. (20) becomes

$$\begin{aligned} \left. - f(x) \right| _{x=\frac{H_1^2}{H^2}} H_1^2 = \frac{8\pi G}{3} \rho + \frac{\Lambda }{3}, \end{aligned}$$
(23)

with

$$\begin{aligned} f(x)&\equiv c \left[ \left( \frac{3 - n}{1-n}\right) x^{1-n} -\left( \frac{2 - n}{n}\right) b_2 \alpha (x) x^{-n}\right. \nonumber \\&\quad \left. -\left( \frac{1-n}{1+n}\right) b_1 b_2^2 x^{-n-1} \right] . \end{aligned}$$
(24)

Note that when \(n=2\) and \(b_1=b_2=0\) we obtain \(\delta (x)=1\), i.e., standard thermodynamics, and in this case Eq. (23) gives the standard Friedmann equation, namely Eq. (10).

3.1 Late-time universe

Let us now investigate the modified Friedmann equations from non-extensive thermodynamics with varying exponent at late cosmological times. In this case, we can define an effective dark energy sector that includes all the extra terms that non-extensive thermodynamics with varying exponent brings. In particular, we can re-write Eqs.  (19), (23) as

$$\begin{aligned} H^2 =&\frac{8\pi G}{3}(\rho + \rho _\mathrm {DE}) \end{aligned}$$
(25)
$$\begin{aligned} \dot{H} =&-4\pi G(\rho +p+\rho _\mathrm {DE}+p_\mathrm {DE}), \end{aligned}$$
(26)

where

$$\begin{aligned} \rho _\mathrm {DE}=&\frac{3}{8\pi G}\left[ \frac{\Lambda }{3}+\left. H_1^2 f(x) \right| _{x=\frac{H_1^2}{H^2}}+H^2 \right] \, , \end{aligned}$$
(27)
$$\begin{aligned} p_\mathrm {DE}=&-\frac{1}{8\pi G}\Big \{ \Lambda +H_1^2 \Bigl [ f(x)-\frac{2H_1^2\dot{H}}{H^4}f'(x) \Bigr ] \Bigr |_{x=\frac{H_1^2}{H^2}}\nonumber \\&+2\dot{H}+3H^2 \Big \} \end{aligned}$$
(28)

are the energy density and pressure of the effective dark-energy density respectively. As one can verify using (27), (28) the effective dark energy is conserved, since it satisfies

$$\begin{aligned} \dot{\rho }_\mathrm {DE}+3H \left( \rho _\mathrm {DE}+p_\mathrm {DE} \right) =0. \end{aligned}$$
(29)

Furthermore, we can define the dark-energy equation-of-state parameter as

$$\begin{aligned} w_\mathrm {DE}\equiv \frac{p_\mathrm {DE}}{\rho _\mathrm {DE}}\, . \end{aligned}$$
(30)

Additionally, it proves convenient to introduce the dark energy and matter density parameters through

$$\begin{aligned} \Omega _\mathrm {m}\equiv&\frac{8\pi G}{3H^2}\rho , \end{aligned}$$
(31)
$$\begin{aligned} \Omega _\mathrm {DE}\equiv&\frac{8\pi G}{3H^2}\rho _\mathrm {DE}. \end{aligned}$$
(32)

Finally, we introduce the deceleration parameter q through

$$\begin{aligned} q\equiv -1-\frac{\dot{H}}{H^2}=\frac{1}{2}+\frac{3}{2}\left( w\Omega _m +w_\mathrm {DE}\Omega _\mathrm {DE} \right) , \end{aligned}$$
(33)

where \(w=p/\rho \) is the matter equation-of-state parameter. In summary, in the constructed modified cosmological scenario we can describe the late-time universe with the Eqs. (25) and (26), as long as the matter equation-of-state parameter is known.

We proceed by numerically elaborating Eqs. (25), (26), focusing on the evolution of the observable quantities such as the density parameters and the dark-energy equation-of-state parameter. Additionally, in order to examine the capabilities of the model at hand in driving universe acceleration, we set the explicit cosmological constant \(\Lambda \) to 0. For convenience, in the following as the independent variable we use the redshift z, defined through \(1+z=a_0/a\), and we set the current value of the scale factor to \(a_0=1\). Moreover, we impose \(\Omega _\mathrm {DE}(z=0)\equiv \Omega _\mathrm {DE0}\approx 0.7\) as required by observations [57].

In the upper graph of Fig. 1 we depict \(\Omega _\mathrm {DE}\) and \(\Omega _\mathrm {m}\) as a function of redshift, for the case of dust matter (\(w=0\)), and with the parameter choices \(\Lambda =0\), \(b_1=0\), \(n=4\), \(H_1=1.1\) and \(b_2=1\), in units where \(8\pi G=1\). In the middle graph we draw the corresponding behavior of \(w_\mathrm {DE}\), and in the lower graph we present the deceleration parameter.

Fig. 1
figure 1

Upper graph: The evolution of the effective dark energy density parameter \(\Omega _\mathrm {DE}\) (black-solid) and of the matter density parameter \(\Omega _\mathrm {m}\) (red-dashed), as a function of the redshift z, for the scenario of modified cosmology through non-extensive thermodynamics with varying exponent, for the parameter choices \(\Lambda =0\), \(b_1=0\), \(n=4\), \(H_1=1.1\) and \(b_2=1\), in units where \(8\pi G=1\). Middle graph: The evolution of the corresponding dark-energy equation-of-state parameter \(w_\mathrm {DE}\). Lower graph: The evolution of the corresponding deceleration parameter q. In all graphs we have imposed \(\Omega _\mathrm {DE}(z=0)\equiv \Omega _\mathrm {DE0}\approx 0.7\) at present in agreement with observations

From the upper graph of Fig. 1 we can see that we obtain the usual thermal history of the universe, namely the successive sequence of matter and dark-energy epochs. Moreover, from the third graph of Fig. 1 we observe that the transition from deceleration to acceleration happens at \(z\approx 0.6\), in agreement with observations. Finally, from the middle graph of Fig. 1 we see that the value of \(w_\mathrm {DE}\) at present is around \(-1\), as required by observations, while in the past it may lie either in the quintessence or in the phantom regime. We stress here that the above behaviors are obtained without the use of an explicit cosmological constant, that is they arise purely from the extra terms that modified cosmology through non-extensive thermodynamics with varying exponent brings. This is an advantage of the scenario showing the enhanced capabilities.

We close this subsection by providing simplifying analytical expressions for the energy density and pressure of the effective dark energy sector, namely (27) and (28). Since we are considering the late-time universe we may focus on the regime \(H^2\ll H_1^2\), i.e. \(x\gg 1\). Hence, in this case (27), (28) approximately give

$$\begin{aligned} \rho _\mathrm {DE} =&\frac{3}{8\pi G}\left[ \frac{\Lambda }{3} - c\left( \frac{3 - n}{n-1} \right) \left( \frac{H_1^2}{H^2} \right) ^{2-n} H^2 +H^2 \right] , \end{aligned}$$
(34)
$$\begin{aligned} p_\mathrm {DE} =&-\frac{1}{8\pi G}\Big \{ \Lambda +2\dot{H}+3H^2\nonumber \\&- c\Big ( \frac{3 - n}{n-1} \Big )\Big ( \frac{H_1^2}{H^2} \Big )^{2-n} \Big [ H^2+2\dot{H}(n-1) \Big ] \Big \}, \end{aligned}$$
(35)

and thus the first Friedmann equation (25) becomes

$$\begin{aligned} c\left( \frac{3 - n}{n-1} \right) \left( \frac{H_1^2}{H^2} \right) ^{2-n} H^2 = \frac{8\pi G}{3} \rho + \frac{\Lambda }{3}. \end{aligned}$$
(36)

We close the analysis of the late-time universe by confronting the scenario with data from Supernovae type Ia (SNIa) observations and direct H(z) Hubble data, extracting the constraints on the model parameters using the maximum likelihood analysis. This can be obtained by minimizing the \(\chi ^2\) function in terms of the free parameters of the model \(a_m\), assuming Gaussian errors, and applying the Markov Chain Monte Carlo (MCMC) algorithm within the Python package emcee [58]. The statistical vector of the free parameters is \(a_m = (\Omega _{m0},\Lambda ,n,b_2,H_1)\) (we restrict to \(b_1=0\) for simplicity and we set the current value of the Hubble parameter \(H_0\) to its Planck best-fit value \(H_0\approx 6\times 10^{-61}\) (in units of \(8\pi G=\hbar =c=1\)) [57]). Hence, the total \(\chi ^2\) of our datasets will be \( \chi ^2_{tot} = \chi ^2_{SN}+\chi ^2_{H} \), where the separate \(\chi ^2\) are calculated as follows.

Concerning SNIa data one measures the apparent luminosity in terms of redshift, or equivalently the apparent magnitude. Therefore, we have

$$\begin{aligned} \chi ^2 _{SN} = \mu C_{SN,cov}^{-1} \mu ^{T}, \end{aligned}$$
(37)

where \(\mu = \{ \mu _\mathrm{obs} - \mu _\mathrm{th}(z_{1}; a_m),..,\mu _\mathrm{obs} - \mu _\mathrm{th}(z_{N}; a_m) \} \) and \(N=40\). In the above expression \(\mu _\mathrm{obs}\) denotes the observed distance modulus, which is defined as the difference between the Supernova’s absolute and apparent magnitude. We use the binned SNIa data, as well as the corresponding inverse covariance matrix \(C_{SN,cov}^{-1}\) from [59]. On the other hand, the theoretically calculated distance modulus \(\mu _\mathrm{th}\) depends on the model parameters \(a_m\) through

$$\begin{aligned} \mu _\mathrm{th}\left( z\right) =42.38-5\log _{10}h+5\log _{10}\left[ D_{L} \left( z;a_m\right) \right] , \end{aligned}$$
(38)

where \(D_{L}(z;a_m)\) is the dimensionless luminosity distance, reading as

$$\begin{aligned} D_{L}\left( z;a_m\right) \equiv \left( 1+z\right) \int ^{z}_{0}dz'\frac{H_1}{H\left( z';a_m\right) }. \end{aligned}$$
(39)

The quantity \(H\left( z';a_m\right) \) in the scenario at hand is obtained numerically from (25), (27), since it cannot be calculated analytically.

Concerning the direct measurements of the Hubble constant we use the recent data from [60], which include \(N=36\) measurements of H(z) in the range \(0.07\le z\le 2.33\). The corresponding \(\chi ^2\) is calculated as

$$\begin{aligned} \chi ^{2}_{H}\left( a_m\right) =\mathcal{H}\, C_{H,\text {cov}}^{-1}\,\mathcal{H}^{T}, \end{aligned}$$
(40)

with \(\mathcal{H}=\{H_{(1)}-H_{0}E(z_{1},a_m)\,,\,...\,,\, H_{(N)}-H_{0}E(z_{N},a_m)\}\), \(H_{(i)}\) the observed Hubble values at redshifts \(z_{i}\) (\(i=1,...,N\)), and where C is the involved covariance matrix [61,62,63]. Finally, the theoretical quantity \(E(z_{i},a_m)\equiv H(z_{i},a_m)/H_0\) is obtained numerically from (25), (27).

Fig. 2
figure 2

The \(1\sigma \) and \(2\sigma \) 2-dimensional contour plots for the parameters n (upper graph) and c (lower graph) in terms of the current value of the matter density parameter \(\Omega _{m0}\), for the scenario of modified cosmology through non-extensive thermodynamics with varying exponent, using SNIa and H(z) data

In Fig. 2 we provide the contour plots for the parameters n and c in terms of the current value of the matter density parameter \(\Omega _{m0}\), for the scenario of modified cosmology through non-extensive thermodynamics with varying exponent, using SNIa and H(z) data. As we can see the agreement with the data is very good, and the matter energy density coincides with that of Planck within 1\(\sigma \) [57]. For the new parameters of the scenario at hand we observe that they acquire values near their \(\Lambda \)CDM ones, namely \(n=2\) and \(b_1=b_2=0\) (i.e. \(c=1\)). Nevertheless, c is away from its \(\Lambda \)CDM value at 1\(\sigma \) confidence level, which shows that a slight deviation might be favored, however \(\Lambda \)CDM paradigm is included within 2\(\sigma \). Additionally, we mention that if we restrict our fittings to the case of \(\Lambda =0\), then we acquire \(n=3.56^{+1.02}_{-1.47}\) at 1 \(\sigma \), however with a large \(\chi ^2\). Finally, we would like to mention that the incorporation of Cosmic Microwave Background (CMB) data, although necessary, requires a highly non-trivial treatment of the H(z) form, which in the model at hand in general cannot be obtained analytically. Such a detailed elaboration lies beyond the scope of the present analysis.

3.2 Early-time universe

In this subsection we study the modified Friedmann equation from non-extensive thermodynamics with varying exponent, namely Eq. (23), at early times, namely we desire to examine the inflationary realization. In this regime we may use the approximation \(H^2\gg H_1^2\), i.e. \(x\ll 1\). Thus, in the case \(b_1\ne 0\) Eq. (23) becomes

$$\begin{aligned} c b_1 \left( \frac{1-n}{1+n}\right) \left( \frac{H_1^2}{H^2} \right) ^{-n} H^2 = \frac{8\pi G}{3} \rho + \frac{\Lambda }{3}, \end{aligned}$$
(41)

while in the case \(b_1=0\) and \(b_2\ne 0\), we find

$$\begin{aligned} (2-n) b_2^{n-1} \left( \frac{H_1^2}{H^2} \right) ^{1-n} H^2 = \frac{8\pi G}{3} \rho + \frac{\Lambda }{3}. \end{aligned}$$
(42)

Hence, neglecting the matter sector, Eqs. (41), (42) give rise to inflationary de Sitter solutions. In particular, for \(b_1\ne 0\) we obtain

$$\begin{aligned} H = \mathrm {const.} = \left[ \frac{(1+n) \Lambda H_1^{2n}}{3(1-n) cb_1 } \right] ^{\frac{1}{2(n+1)}}, \end{aligned}$$
(43)

while for \(b_1=0\) and \(b_2\ne 0\) we find

$$\begin{aligned} H = \mathrm {const.}= \left[ \frac{ \Lambda H_1^{2(n-1)}}{3 (2-n) b_2^{n-1}} \right] ^{\frac{1}{2n}}. \end{aligned}$$
(44)

As we see, the scenario at hand accept inflationary de Sitter solutions at early times. In particular, from (43), (44) we may define an effective cosmological constant, namely

$$\begin{aligned} \Lambda _\mathrm {eff}\equiv 3 \left[ \frac{(1+n) \Lambda H_1^{2n}}{3(1-n) cb_1 } \right] ^{\frac{1}{(n+1)}} \end{aligned}$$
(45)

for \(b_1\ne 0\), and

$$\begin{aligned} \Lambda _\mathrm {eff}\equiv 3\left[ \frac{ \Lambda H_1^{2(n-1)}}{3 (2-n) b_2^{n-1}} \right] ^{\frac{1}{n}}, \end{aligned}$$
(46)

for \(b_1=0\), \(b_2\ne 0\). Hence, the interesting feature of these solutions is that the cosmological constant is effectively screened, and the effective cosmological constant that drives inflation includes additionally the information of the new terms of non-extensive thermodynamics. This feature can be a great advantage in providing a description of both inflation and late-time acceleration with the same parameter choices, since the above effective screening gives the necessary enhanced acceleration in inflation comparing to dark-energy epoch.

As an illustrative example we consider the case \(b_1=0\). Then, in the early universe relation (44) gives \(H^2 \sim \Lambda ^{\frac{1}{n}} H_1^{\frac{2(n-1)}{n}}b_2^{\frac{1-n}{n}}\), while at late times relation (36) results to \(H^2\sim \Lambda ^{ \frac{1}{n-1}} H_1^{\frac{n-2}{n-1}}b_2^{\frac{2-n}{n-1}}\). Hence, knowing that in the late-time universe \(H^2 \sim \left( 10^{-33}\, \mathrm {eV} \right) ^2\) while in the early universe \(H^2 \sim \left( 10^{24}\, \mathrm {eV} \right) ^2\), we find that e.g. for \(n=3/2\) and \(H_1\sim b_2\sim 1 \mathrm {eV} \) and with \(\Lambda \sim 10^{-66}\,\mathrm {eV}^2\), both regimes can be obtained simultaneously.

4 F(R) gravity correspondence

In this section we investigate the correspondence of modified cosmology through non-extensive thermodynamics with othe classes of modified gravity, and in particular with F(R) gravity. As we showed in Sect. 2.1, starting from the first law of thermodynamics and using the standard Bekenstein–Hawking entropy, one can result to the standard Friedmann equations. On the other hand, the use of non-extensive Tsallis entropy leads to modified Friedmann equations. Hence, the question is whether there is a correspondence of these modified Friedmann equations with the modified Friedmann equations arising from modified gravity theories such as F(R) gravity.

The action of F(R) gravity, alongside the matter sector, reads as

$$\begin{aligned} I = \frac{1}{16\pi G} \int d^4x \sqrt{-g} F(R) + I_m, \end{aligned}$$
(47)

where F(R) is a function of the scalar curvature R and \(I_m\) is the matter action. Extracting the field equations and applying them in FRW geometry we obtain the corresponding Friedmann equations, namely [9]

$$\begin{aligned} 0&= -F(R) + 6\left( H^2 + \dot{H}\right) F'({R}) \nonumber \\&\quad - 36 \left( 4H^2 \dot{H} + H \ddot{H}\right) F''({R}) + 16\pi G \rho , \end{aligned}$$
(48)
$$\begin{aligned} 0&= \dot{H} F'({R}) - 3 \left( 4 H^2 \dot{H} - 4 {\dot{H}}^2 - 3 H \ddot{H} - \dddot{H} \right) F''({R})\nonumber \\&\quad + 18\left( 4H\dot{H} + \ddot{H}\right) ^2 F'''({R}) + 4\pi G \left( \rho + p \right) . \end{aligned}$$
(49)

Now, combining the general equations (5), (6), and (8), we obtain

$$\begin{aligned} \frac{H}{2\pi } dS = \frac{4\pi }{H^2} \left( \rho + p \right) dt. \end{aligned}$$
(50)

Thus, substituting \(\rho +p\) from (49) into (50) we acquire the entropy as

$$\begin{aligned} S =&- \frac{2\pi }{ G} \int \frac{dt}{H^3} \Big \{ \dot{H} F'({R}) + 18\Big ( 4H\dot{H} + \ddot{H}\Big )^2 F'''({R}) \nonumber \\&- 3 \Big ( 4 H^2 \dot{H} - 4 {\dot{H}}^2 - 3 H \ddot{H} - \dddot{H} \Big ) F''({R}) \Big \}. \end{aligned}$$
(51)

Using that \({R}=6 \left( 2 H^2 + \dot{H} \right) \) and \(\dot{{R}} = 6\left( 4H \dot{H} + \ddot{H} \right) \), the above entropy expression can be written as

$$\begin{aligned} S =&- \frac{\pi }{ G} \left\{ 36 \left( \frac{4\dot{H}}{H^2} \!+ \!\frac{\ddot{H}}{H^3} \right) F''({R}) - \left( \frac{1}{H^2} \!-\! \frac{3\dot{H}}{H^4} \right) \!F'({R}) \right. \nonumber \\&\left. - \int dt \left[ \frac{d}{dt}\left( \frac{3 \dot{H}}{H^4} \right) \right] F'({R})\right\} . \end{aligned}$$
(52)

Note that, as expected, in case of Einstein gravity \(F(R)={R}\), the above result reproduces the standard result for the entropy, namely

$$\begin{aligned} S = \frac{\pi }{ G H^2}=\frac{A}{4G}, \end{aligned}$$
(53)

where the second equality arises using that \(r_H=1/H\) and that \(A=4\pi r_H^2\).

We focus on the de Sitter universe, in which H is a constant. In this case expression (52) reduces to

$$\begin{aligned} S = \frac{\pi F'({R})}{ H^2}= \frac{F'({R})A}{4G} \, . \end{aligned}$$
(54)

Interestingly enough, this is the standard result for the entropy in F(R) gravity, obtained in [64, 65] using the classical Euclidean action or the Noether charge method [66] in the de Sitter space-time. Hence, recalling that in a de Sitter universe \({R}=12 H^2\) and that \(r_H=1/H\), we find that \({R}=12/r_H^2=48\pi /A\). Therefore, if we consider the model where F(R) is given by the power of R, namely \(F(R) \propto {R}^m\), we deduce that (54) gives

$$\begin{aligned} S\propto A^{2-m}. \end{aligned}$$
(55)

Thus, making the identification

$$\begin{aligned} \delta = 2 - m, \end{aligned}$$
(56)

then the non-extensive Tsallis entropy is reproduced, and we obtain a correspondence between F(R) gravity and cosmology from non-extensive thermodynamics. As expected, when F(R) gravity becomes general relativity, i.e. for \(m=1\), (56) gives \(\delta =1\) and standard thermodynamics with standard Friedmann equations are reproduced. Lastly, we mention here that the above simple correspondence has been shown in the case of a de Sitter universe. For more complicated geometries the correspondence is lost and modified cosmology from non-extensive thermodynamics does not have an equivalent F(R) gravity description, and hence it corresponds to a novel modification.

5 Conclusions

In this work we investigated a modified cosmological scenario that arises from the application of non-extensive thermodynamics with varying exponent in a cosmological framework. In particular, it is known that one can apply the first law of thermodynamics in the universe apparent horizon and obtain the Friedmann equations. Nevertheless, in non-additive systems such as gravitational ones, the usual Bekenstein–Hawking entropy should be replaced by the generalized, non-extensive Tsallis entropy. Doing so we obtained modified Friedmann equations, which contain new terms quantified by the non-extensive exponent \(\delta \). Finally, following quantum considerations, we allowed \(\delta \) to have a dependence on the scale, with the value 1 corresponding to standard thermodynamics and standard \(\Lambda \)CDM cosmology.

Concerning the universe evolution at late times, the new terms that appear due to the non-extensive varying exponent constitute an effective dark energy sector. As we showed, the universe exhibits the usual thermal history, with the successive sequence of matter and dark-energy epochs, and with the transition to acceleration happening around \(z\approx 0.6\) in agreement with the observed behavior. Concerning the effective dark-energy equation-of-state parameter, we saw that it acquires values close to \(-1\) at present, while in the past it may lie either in the quintessence or in the phantom regime. The interesting feature is that the above behaviors can be obtained even if the explicit cosmological constant is set to zero, namely they arise purely from the extra terms in the Friedmann equations.

Confronting the model with SNIa and H(z) observational data, we provided the corresponding contour plots, and we showed that the agreement is very good. For the new parameters of the scenario at hand we saw that although there is a tendency for a slight deviation from the \(\Lambda \)CDM values, \(\Lambda \) CDM paradigm is included within 2\(\sigma \).

In the early-time universe we saw that the scenario at hand can lead to inflationary de Sitter solutions, which are driven by an effective cosmological constant that includes additionally the information of the new terms of non-extensive thermodynamics. This feature can provide a description of both inflation and late-time acceleration with the same parameter choices, since the above effective screening gives the necessary enhanced acceleration in inflation comparing to dark-energy epoch. This is an advantage comparing to other models of the literature, which in general cannot describe inflation and late-time acceleration simultaneously since they cannot provide a natural change of the involved parameter scales.

Finally, we investigated the correspondence of the scenario at hand with modifications of gravity such as the F(R) gravity. As we showed, in the case of a de Sitter universe there is a correspondence between cosmology from non-extensive thermodynamics and power-law F(R) gravity, where the non-extensive exponent is related to the F(R) exponent. However, for more complicated geometries the correspondence is lost and the scenario at hand does not have an equivalent F(R) gravity description, forming a novel modification.

In summary, modified cosmology through non-extensive thermodynamics with varying exponent is very efficient in describing the universe evolution, from inflation to late-time acceleration. It would be interesting to perform further investigations on the scenario, such as a joint observational analysis using data from Type Ia Supernovae (SNIa), Baryon Acoustic Oscillations (BAO), Cosmic Microwave Background (CMB), and Hubble parameter observations, or a detailed phase-space analysis in order to extract the global features of the scenario. These necessary studies lie beyond the scope of this work and are left for future works.