1 Introduction

Cosmological observations strongly support the idea that the universe underwent an early period of accelerated expansion called inflation [1, 2]. Besides, local supernovae measurements [3, 4] also suggest that the universe is experiencing a phase of acceleration at the present epoch, caused by dark energy [5]. Whether there exists a deeper and fundamental connection between the two (or not), an interesting question to ask is if it is possible to unify both these epochs in a single framework with minimal degrees of freedom. Such scenarios have been explored by using matter fields (scalar fields with an appropriate potential) as well as by modifying gravity. Within General Relativity (GR) and in the absence of a cosmological constant, it is not possible to explain either inflation or dark energy without adding extra degrees of freedom and therefore, these two epochs are very novel consequences of physics beyond classical GR described by the Einstein–Hilbert (EH) action. The framework of the covariant Effective Field Theory (EFT) of quantum gravity, developed in [6,7,8], predicts both local and non-local correction terms which then become natural candidates for driving inflation and dark energy thereby allowing us to construct a unified picture of the universe. The key advantage of using EFT methods is that they allow to compute such corrections from first principles even in the absence of a complete theory of quantum gravity [9,10,11,12].

In addition to scalar fields, an inflationary epoch in the early universe can also be driven by higher order curvature corrections to the EH action, notably by a \(R^2\) term – a scenario first proposed by Starobinsky [13] and further discussed in [14,15,16]. This scenario is one of the simplest and oldest model of inflation based on purely gravitational corrections. Albeit the existence of a large number of inflationary models, Starobinsky inflation should be one of the most probable among all from an Occam’s razor point of view and also turns out to be the most preferred model with the highest Bayesian evidence in the recent datasets [2, 17]. The presence of higher order curvature terms (including the derivatives) can be understood by means of one-loop quantum corrections to the EH action as suggested in [13] and extended, for example, in [18]. In the covariant EFT of gravity, we found that a \(R^2\) term naturally arises as a leading local correction to the EH action and becomes responsible for driving inflation at early times without the need of additional matter fields. Thus, inflation in this set-up is entirely a feature of the leading corrections in the gravitational sector [7].

Within the framework of GR, cosmic acceleration at the present epoch can be achieved by adding a cosmological constant \(\Lambda \) and is indeed the simplest possibility. Recently, it has been realized that specific curvature square non-local terms can also drive the current acceleration of the universe. In particular, the non-local term \(R \frac{1}{\square ^2} R\) leads to a very interesting phenomenology as it effectively behaves like a cosmological constant as \( R/\square \rightarrow 1\) at late times. This term has been argued as a consistent IR modification of GR and the theory together with the EH action remains free of any propagating ghost-like degree of freedom or other instabilities [19]. This scenario provides a viable alternative to dynamical dark energy and has been greatly studied including the study of cosmological perturbations and other observable imprints [20, 21]. In order to understand the origin of such non-local terms in a consistent framework, we have recently shown that various non-local terms appear at the second order in a curvature expansion [6, 7]. However, the \(R \frac{1}{\square ^2} R\) term among others is the most relevant one for dark energy due to being roughly a constant at late times. Lately, modifications of GR including the Weyl-square term, also predicted by the covariant EFT [6], have also been studied. Such terms do not contribute to the background expansion but only to the evolution of cosmological perturbations [22].

In this Letter, we present a unified evolution of the universe from very early times until the present epoch by including both the leading local correction \(R^2\) and the leading non-local contribution \(R\frac{1}{\square ^2}R\) to the EH action together with radiation and matter. We find that the initial inflationary epoch induced by the \(R^2\) term exists into a transitory regime with coherent and damped oscillations of the Hubble parameter and could be characterized as reheating in this scenario. This phase then naturally enters into a radiation dominated epoch followed by a matter dominated era. At sufficiently late times, the non-local term becomes dominant and leads to a dark energy dominated universe with equation of state \(w\le -1\). This set-up provides a unified picture of our universe from earliest epochs until today thereby unifying both inflation and dark energy in a single framework by means of purely gravitational corrections to the EH action. Later we will show that these corrections are naturally present in the covariant EFT of gravity.

2 A unified scenario

We are interested in studying the evolution of the universe in a scenario wherein the leading local quadratic term is combined with the most relevant IR non-local terms. The total effective action including the matter part \(S_{\text {m}}\) is then given by

$$\begin{aligned} \Gamma = \int \mathrm{d}^{4}x\sqrt{-g} \left[ \frac{M^2_\mathrm{Pl}}{2} R - \frac{1}{\xi } R^{2} + m^{4}R \frac{1}{\square ^2} R\right] + S_{\text {m}}\,, \end{aligned}$$
(1)

where \(\xi \) and m are phenomenological parameters which must be fixed by observations. The normalization of CMB spectrum fixes \(\xi \sim 1.2\times 10^{-9}\) and the dark energy density today leads to \(m \sim 0.3 \sqrt{H_{0} M_\mathrm{Pl}}\). The specific non-local term \(R \frac{1}{\square ^2} R\) has been chosen since it is the simplest that can effectively emulate a cosmological constant term since \(R \frac{1}{\square ^2} R \sim 1\) as \( R/\square \rightarrow 1\) at late times. This term as an alternative to dark energy was first proposed in [19]. The effective action in (1) is the minimal unified action (with deviations from GR of purely gravitational character) capable of describing inflation and dark energy together in a single framework sans a cosmological constant was proposed in [7, 21, 23].

In order to understand the implications of this effective action for our universe, we work in a \((3+1)\)-dimensional, spatially flat, FRW spacetime described by the line element \(ds^{2}=-dt^{2}+a^{2}(t)d\mathbf{x}^{2}\) where a(t) is the scale factor. Einstein’s equations can now be written as \(G_{\mu \nu }+\Delta G_{\mu \nu } = T_{\mu \nu }/M^2_\mathrm{Pl}\), where \(\Delta G_{\mu \nu }\) corresponds to the correction terms arising from the local and non-local terms in (1). It is evident that \(\Delta G_{\mu \nu }\) is covariantly conserved and its explicit form can be found in [7]. The modified Friedmann equations of motion (EOM) can be obtained by varying this action

$$\begin{aligned} H^{2}-\frac{12 }{M^2}\left( 2H\ddot{H}+6H^{2}\dot{H}-\dot{H}^{2}\right) \nonumber \\ -\frac{4\, m^4}{M^2_\mathrm{Pl}}\left( 2 H^{2}S+H {\dot{S}}+\frac{1}{2} {\dot{H}} S-\frac{1}{6} {\dot{U}}{\dot{S}}\right)= & {} \frac{\rho }{3M^2_\mathrm{Pl}} \nonumber \\ \ddot{U}+3H\dot{U} -6\left( 2H^2+\dot{H}\right)= & {} 0 \nonumber \\ \ddot{S}+3H\dot{S} -U= & {} 0\,, \end{aligned}$$
(2)

where \(H={\dot{a}}/a\) is the Hubble parameter and the two auxiliary fields U and S are defined as, \(U=\frac{1}{-\square }R\) and \(S=\frac{1}{\square ^{2}}R\), respectively. We also define the mass scale characterizing inflation as \(M^2\equiv \xi M^2_\mathrm{Pl}\).

Fig. 1
figure 1

A unified evolution of the universe from very early times until today. We plot \(\log H\) vs. \(\log t\) starting from an inflationary stage, passing through a transitionary phase characterized by strong coherent oscillations, followed by radiation and matter to finally end in a dark energy dominated regime. The critical epochs that separate these phases are end of inflation \(t_\mathrm{end }\), reheating \(t_\mathrm{reh}\), radiation–matter equality \(t_\mathrm{eq}\) and the onset of dark energy \(t_\mathrm{de}\)

The modified Friedmann EOM must be solved together with the continuity equations for radiation and matter which are given by \(\dot{\rho }_{\mathrm{i}}+3H(1+w_\mathrm{i}) \rho _{\mathrm{i}}=0, \) where \(\mathrm{i}=\{\mathrm{r},\mathrm{m}\}\) with \(w_\mathrm{r}=1/3\) and \(w_\mathrm{m}=0\). At early times when local corrections are most relevant, our scenario reduces to the Starobinsky model and naturally describes inflation. To achieve sufficient e-folds of inflation, the time derivate of the Hubble parameter at an initial time can be appropriately tuned. The CMB normalization instead determines the value of the coupling \(\xi \). Note that, as pointed out in [7], \(R+R^2\) gravity is not exactly solvable due to the non-linear nature of the equations. However, at sufficiently early times when \(R^2\) is dominant over the EH term, the theory admits a quasi de-Sitter solution leading to Starobinsky inflation. This solution can be understood by neglecting higher derivative terms in H (i.e. \(|\dot{H}| \ll H^2\)) in the first equation in Eq. (2), leading to \(H^2-\frac{72}{M^2} H^2 \dot{H} \simeq 0,\) which clearly admits an exponential solution for the scale factor, as expected. This behavior is depicted by the constant H solution on the left in Fig. 1. Note that, the universe in this scenario gracefully exits from inflation and enters into an oscillatory regime. We obtain the oscillatory solution for the Hubble parameter numerically but one can also gain an analytical understanding of their origin by ignoring some higher order terms in the modified Friedmann EOM [7]. We stress that this transient oscillatory regime is very novel and generic feature of our scenario which can be considered as the reheating epoch in this set-up. This could in principle have interesting observable imprints. We leave the study of the details of the reheating stage and its possible imprints to future work.

After the oscillatory phase is over, the universe naturally enters into the radiation dominated epoch. After radiation–matter equality, the universe then evolves in a matter dominated era as clearly shown in Fig. 1. At sufficiently late times after equality, the non-local term \(R\frac{1}{\square ^2}R\) which was so far subdominant starts to become relevant and drives the current acceleration of the universe, due to the fact that \(R\frac{1}{\square ^2}R \rightarrow 1\) as \(R/\square \rightarrow 1\) at the present epoch. The effects of this non-local term are studied by solving the modified Friedmann equation numerically, as shown in Fig. 1 and also discussed in [19].

Fig. 2
figure 2

We plot the total equation of state parameter w vs. \(\log a\) from radiation epoch until today. The imprints due to the first two non-local terms \(R\frac{1}{-\square }R\) and \(R\frac{1}{\square ^2}R\) in the effective action are compared. It is evident that \(R\frac{1}{\square ^2}R\) effectively leads to \(w\simeq -1\) at the present epoch

Moreover, we are also interested in understanding the imprints of the non-local term using an analytical approach in the background of both radiation and matter. It is useful to note that in terms of the conformal time \(\tau =\int dt/a(t)\), the Friedmann equation including only radiation and matter can indeed be solved exactly and the solution is \(a(\tau )/a_\mathrm{eq}=(2\sqrt{2}-2) \left( \tau /\tau _\mathrm{eq}\right) +(1-2\sqrt{2}+2) \left( \tau /\tau _\mathrm{eq}\right) ^2\) with \(\tau _\mathrm{eq} =(2\sqrt{2}-2)/a_\mathrm{eq} \sqrt{3 M_\mathrm{Pl}^2/\rho _\mathrm{eq}}\). Here, \(\rho _\mathrm{eq}\), \(a_\mathrm{eq}\) and \(\tau _\mathrm{eq}\) are the energy density, scale factor and conformal time at the epoch of radiation–matter equality, respectively. Using this background solution in a closed form, we have solved the Friedmann EOM corresponding to the non-local term with initial conditions \(U=S=0\) and \(U'=S'=0\). We have also treated the contributions from the non-local term when taken on the right hand side of the EOM as an effective dark energy density. In Fig. 2, we have plotted the total equation of state parameter w as a function of \(\log a\). It is evident from the figure that the universe starting from radiation epoch (\(w=1/3\)) smoothly transits to the matter dominated regime (\(w=0\)) which then evolves in the present epoch dominated by the non-local term with \(w \le -1\). For later discussion we have also shown the corresponding behavior for the leading non-local term \(R\frac{1}{-\square }R\) but found that only \(R\frac{1}{\square ^2}R\) leads to an accelerating universe today. Moreover, in Fig. 3, we have plotted the dimensionless energy density ratio \(\Omega _\mathrm{r}\), \(\Omega _\mathrm{m}\) and \(\Omega _\mathrm{de}\) as a function of \(\log a\) which perfectly corroborates the behavior of Fig. 2. By demanding \(\Omega _\mathrm{de}\simeq 0.68\) to be consistent with observations today, we can also obtain the value of the mass scale m of the non-local term to be \(m \sim 0.3 \sqrt{H_{0} M_\mathrm{Pl}} \sim 5.7 \times 10^{-4}\, \mathrm{eV}\).

Fig. 3
figure 3

We plot the dimensionless energy density ratio \(\Omega _\mathrm{r},\Omega _\mathrm{m}\) and \(\Omega _\mathrm{de}\) vs \(\log a\). All the salient features of Fig. 2 are clearly evident here

3 Covariant EFT of gravity

As we have seen, the effective action in (1) is very appealing from a phenomenological perspective since it can naturally describe all the different phases through which the universe has evolved, but can it have a deeper origin or interpretation? Under which assumptions is it a good low energy description of quantum gravity? We will discuss here how the model (1) can be justified from low energy quantum gravity when this is treated by means of EFT methods.

Since we are interested in studying the evolution of the whole universe, the EFT approach must be developed in a covariant way in order to derive an effective action valid on an arbitrary spacetime and in particular FRW. In our previous paper [6], we have computed the leading order EFT action to the second order in the curvatures. The final result for the gravitational part of the effective action is given by

$$\begin{aligned} \!\!\!\! \Gamma = \int \! \mathrm{d}^{4}x \sqrt{-g}\left[ \frac{M^2_\mathrm{Pl}}{2}R-\frac{1}{\xi } R^{2} - R\, \mathcal {F}\!\left( \frac{-\square }{\widetilde{m}^2}\right) \!R \right] \,, \end{aligned}$$
(3)

where the structure function \(\mathcal {F}\) is completely determined once the matter content of the theory is specified. The general form of the structure function can be found in [6]. The action depends on two parameters \(\xi \) and \(\widetilde{m}\). The first is free to tune while the second is in principle related to some mass scale of the underlying theory. On FRW the Weyl tensor vanishes identically and therefore we have not reported the Weyl part of the effective action (3) since it will not contribute to the background EOM. However, this is not true when dealing with cosmological perturbations and the contributions due to these terms must be taken into account which could lead to very distinct signatures in the cosmological observables [22].

The structure function \(\mathcal {F}\) is non-local in the low energy limit \(\widetilde{m}^2 \ll -\square \) and has the following form [6]

$$\begin{aligned} \mathcal {F}\!\left( \frac{-\square }{\widetilde{m}^2}\right)= & {} \alpha \log \frac{-\square }{\widetilde{m}^{2}} +\beta \frac{\widetilde{m}^{2}}{-\square } \nonumber \\&+\,\gamma \frac{\widetilde{m}^{2}}{-\square }\log \frac{-\square }{\widetilde{m}^{2}}+\delta \!\left( \frac{\widetilde{m}^{2}}{-\square }\right) ^2+ \cdots \end{aligned}$$
(4)

where the coefficients \(\alpha ,\beta ,\gamma \) and \(\delta \) are indeed predictions of the EFT of gravity which ultimately depend only on the field content of the theoryFootnote 1 and are listed in [6]. We recognize in (4) the appearance of the non-local term \(R\frac{1}{\square ^2}R\) assumed in the model (1) if \(m \equiv |\delta |^{\frac{1}{4}}\widetilde{m}\). As mentioned earlier, for viable cosmology, we should have \(m^2 \sim {H_{0} M_\mathrm{Pl}}\). Since \(\square ^{-1} \sim H_0^{-2}\) at the present epoch, the low energy limit \(\widetilde{m}^2 \ll -\square \) translates to \(|\delta |^{\frac{1}{2}}\frac{H_{0}}{M_\mathrm{Pl}} \gg 1\). Although \(H_{0} \ll M_\mathrm{Pl}\), this inequality can still be satisfied for a suitable choice of \(\delta \) or N as \(\delta \propto N\). These relations also imply that \(|\delta |^{\frac{1}{2}} \widetilde{m}^2 \sim {H_{0} M_\mathrm{Pl}} \sim 10^{-6}\, \mathrm{(eV)^2}\) and \(\widetilde{m} \ll {H_{0}} \sim 10^{-33}\, \mathrm{eV}\). Therefore, the low energy expansion can be justified for a suitable value of \(\delta \) for the structure function \(\mathcal {F}\). Even though there exists specific matter choices that can make one or more of these coefficients vanish, in the most general case these are all non-zero and so all other non-local terms are in principle present in the effective action [7].

Non-local modifications of GR based on one or more of the operators in (4) have been considered by many authors, see for example [24,25,26,27,28,29,30,31,32,33,34,35] and references therein. In order to justify the model (1) we need to show that indeed the operator \(R\frac{1}{\square ^2}R\) dominates the late time evolution of the universe. For this reason in Fig. 2 we have compared the equation of state parameter for a dark energy fluid generated by the first two non-local terms \(R\frac{1}{-\square }R\) and \(R\frac{1}{\square ^2}R\). As can be seen, only the latter is capable of changing the late time evolution while the first only affects the intermediate regime. The terms containing the \(\log \) operators are more delicate to define and have been discussed in [6]. The analysis shows that their behavior is sub-leading with respect to the relative operator without the \(\log \) and so to first approximation can be discarded. The \(R \log \frac{-\square }{m^2} R\) term may be relevant at early times but in our model this epoch is dominated by the local \(R^2\). Finally, due to the smallness of the mass scale m, all higher order operators will be suppressed by large additional factors and to first approximation can also be discarded. Of the terms contained in the expansion (4) the one dominant at late times is thus the one included in equation (1) and the effective action (1) is in principle justifiable from first principles via EFT arguments.

As discussed in [6], the effective action also contains many new non-local operators with three or more curvatures, as for example \(R\frac{1}{-\square }R\frac{1}{-\square }R\). Within these there is also the contribution from the conformal anomaly. These operators may have interesting cosmological implications (see for instance [36, 37] and references therein) and, even if sub-leading when compared with the two curvature terms considered in this Letter, their effects should be studied carefully, for a recent discussion, see [23, 38].

Finally, we can try to answer the question: what is m? In the case of scalars and fermions, m is the effective mass of the particle. For these cases the mass required for observational consistency is \(m \sim 0.57\, \mathrm{meV}\) which makes it a very light particle. Photons do not contribute while gravitons can induce an effective gravitational mass \(m^2_\mathrm{grav}=2\, V(v)/M^2_\mathrm{Pl}\) (where \(V(\varphi )\) is the scalar potential with v its minimum). Such a light particle must have been relativistic all its life during the evolution of the universe and would contribute to the effective number of relativistic degrees of freedom \(N_\mathrm{eff}\). For instance, a light scalar in equilibrium with the same temperature as neutrinos would lead to a departure of \(N_\mathrm{eff}\) from the standard value of 4 / 7 [39]. The presence of such extra degrees of freedom can therefore be tightly constrained using Planck and other observations [40]. Furthermore, structure formation can also be used to constrain the imprints of such light particles. It has been shown recently that the difference between the predictions of the non-local model \(R\frac{1}{\square ^2}R\) and \(\Lambda \)CDM is small with respect to the present observational errors [20]. This is somewhat expected as neutrinos, for instance, being very light with \(\sum m_{\nu } \lesssim 0.23 \,\mathrm{eV}\) induce only sub-leading corrections at a few percent level to \(\Lambda \)CDM at small scales and a similar conclusion can be anticipated for the even lighter particle in our scenario. A more detailed analysis to judge the consistency of this picture will require studying the cosmological evolution of the full model (3) with the exact structure function \(\mathcal {F}\) before the simplifying expansion (4) [41]. A different microscopic interpretation of the mass scale m has been proposed in [21].

4 Discussion and outlook

In this Letter we have studied a simple yet elegant scenario which generalizes GR by including leading local \(R^2\) and leading non-local \(R\frac{1}{\square ^2}R\) terms to the action. We have derived the modified Friedman EOM by evaluating the generalized Einstein’s equations on an FRW background which are subsequently solved by a combination of analytical and numerical methods. Our main result is that the solution, depicted in Fig. 1, exhibits a unified and consistent evolution of the universe that starts from an inflationary regime at very early times and ends in a dark energy phase at the present epoch.

In particular, we have found that the transition between the end of inflation to the radiation epoch is characterized by strong coherent oscillations of the Hubble parameter which may be interpreted as a concrete realization of the reheating phase. These oscillations originate from the competition between R and \(R^2\) contributions and are indeed a precise and distinct feature of our scenario (when the theory is treated consistently in the Jordan frame). After this transient oscillatory phase, the universe naturally enters the Einstein regime with radiation domination followed by a matter dominated era. Eventually, the non-local term starts to dominate and drives the evolution of the universe, behaving as a dynamical and purely gravitational dark energy with \(w\le -1\). Thus, the model (1) is able to describe the evolution of the universe through all the epochs and is characterized by only two new parameters \(\xi \) and m. The oscillatory phase it predicts may have characteristic observable imprints which should be analyzed more carefully.

We emphasize that the unified scenario we studied is not only phenomenological but can be justified using an effective approach to low energy quantum gravity. The mass scale m can either be identified with the mass of a very light species or with the effective gravitational mass. This connection is not only satisfactory from a theoretical point of view but it also provides a way to reduce the number of free parameters by linking m to the underlying theory. In conclusion, this scenario represents a unified cosmological model with one parameter less, and is thus characterized by a higher predictive power that can in principle be falsified.

An immediate next step in this direction will be to study the evolution of perturbations in this model and obtain relevant observables to fully construct a viable cosmological model. Although the evolution of perturbations has been studied in the Starobinsky inflation and in the non-local model respectively, it will be very interesting to study them in this unified model which we leave for future work.