Introduction

In the 1990s, the field of cosmology encountered serious breakthrough with the discovery of accelerated expansion of the Universe. This led to the current evolutionary status that is determined by the three contributions to the total density parameter (\(\Omega \)): the ordinary matter (\(\Omega _m\approx 5\%\)), the dark matter (\(\Omega _{DM}\approx 27\%\)) and the dark energy (\(\Omega _{DE} \approx 68\%\)), where the latter contribution is responsible for the accelerated expansion phenomena1. Importantly, the nature of the dark sector in the energetic budget is also the reason for intense experimental and theoretical studies that exposed shortcomings of the general relativity (GR)2,3. In this respect, one of the most promising proposals to deal with the mentioned issues is based on the extensions and modifications of the Einstein’s framework of GR4. Note that the proposals of this type are quite successful not only in the context of the aforementioned cosmic expansion but also in other issues of the modern cosmology5. Moreover, in terms of the quantum gravity, the standard GR cannot be renormalized but higher-curvature terms in the gravitational action may tackle this issue6,7,8.

In the literature the GR has been extended in many ways, mainly by including additional curvature terms, scalar fields or coupling with matter. For a well-written reviews on the modified gravities we refer reader to4,9,10,11. Among many interesting approaches, one of the most popular proposals is the so-called f(R) gravity introduced by Buchdachl in 1970s12,13,14, where standard GR action is generalized to the arbitrary function of the Ricci scalar (\(R\rightarrow f(R)\)). Further curvature invariants were included in the \(f({\mathscr {G}})\) gravity, where arbitrary function of the Gauss–Bonnet invariant is added to the Lagrangian15. In a wide class of the higher-curvature models, the \(f(R,{\mathscr {G}})\), \(f(R,R_{\mu \nu }R^{\mu \nu })\) or theories with the higher-order of derivatives have also been introduced and studied extensively16,17,18,19,20,21. The authors of22 considered combinations of the Ricci scalar, the Ricci squared (\(R_{\mu \nu }R^{\mu \nu }\)) and the Riemann squared (\(R_{\mu \nu \alpha \beta }R^{\mu \nu \alpha \beta }\)) terms and shown that such models can provide alternative to the dark energy. Moreover, theories of this type were recently studied in the context of divergences and renormalization group frameworks and play important role in the perturbative approach to the quantum gravity8,23,24. Furthermore, it has been shown that various modified theories of gravity correspond to the holographic dark energy models26,88. Note that the general relativity can be further extended by the scalar-geometry or scalar-matter couplings. In this case gravitational action includes terms with contributions not only from geometry but also various functions of the scalar field, matter Lagrangian or trace of the energy-momentum tensor. Representative example of the scalar-geometry coupling is the Jordan–Brans–Dicke theory27,28, further generalized to the \(f(\phi ,R)\) and \(f(\phi ,{\mathscr {G}})\) gravity9. For the matter-geometry couplings, the f(RT) and \(f(R,T,R_{\mu \nu }T^{\mu \nu })\) models (T denotes trace of the energy-momentum tensor \(T_{\mu \nu }\)) with further extensions are good examples studied widely in the literature29,30,31,32,33,34,35.

On the other hand, the dark matter is even more mysterious since very few information is known except the fact that it modifies galactic rotation, it is not baryonic, has no electric and color charges and do not interact with the light36,37. Apart from the particle candidates for the dark matter, such as supersymmetry neutralino, an interesting candidate has been provided by Chamseddine and Mukhanov. In their so-called mimetic modification of the GR, the leading idea was to isolate gravity’s conformal degree of freedom by parametrizing physical metric (\(g_{\mu \nu }\)) in terms of the scalar field (\(\phi \)) and the auxiliary metric (\(\hat{g}_{\mu \nu }\))38. As a consequence, the conformal degree of freedom turns out to be dynamical, even in the absence of the standard matter fluids, and may mimic behavior of the cold dark matter. It is worth to remark here, that the mimetic theory has been recently extensively studied in various contexts39,40,41,42,43,44,45,46,47. Moreover, the mimetic approach has been combined with other modifications of gravity, such as f(R), \(f({\mathscr {G}})\) or f(RT) theories with emphasis on the cosmological applications48,49,50,51,52,53,54,55. The unimodular extensions of the mimetic approach were also introduced and studied in recent articles56,57. For introduction and review of the mimetic theory see58.

Besides the riddle of the dark Universe, the modified gravity is also important in terms of the early stages of the Universe. In this context, the theory of inflation is by now most possible scenario that describes early Universe history59,60. This framework, developed in the 1980s, provides explanation of important issues in the Big Bang cosmology such as the horizon, flatness and monopole problems61. According to the inflation paradigms, early stages of the Universe exhibited exponentially accelerated expansion, which after deceleration led to the standard cosmological eras62. However, no direct proof that this early epoch occurred is given up to date. One should note that inflation is well described by the slow-roll models which usually contain single scalar field (inflaton) that drives inflation. Moreover, the form of the scalar field potential can be related to the spectral index as well as to the scalar and tensor perturbations as generated during the inflationary epoch. Thus, scalar potential may be consistent with observations. Recent observational data coming from Planck and BICEP2/Keck array heavily constrained scalar-to-tensor ratio and spectral index of primordial curvature perturbations corresponding to the inflation63. One should note, that the bounce paradigm may also be viable characteristic of the early Universe and an interesting alternative25,64,65,66,67,68. From the modified gravity perspective, inflation can be successfully described and the unification of early-time and late-time acceleration eras is also possible10. In the literature, inflation in the modified gravity is still heavily studied and debated topic. In particular, for the f(R) gravities a successful model of the Starobinsky’s inflation exists, which is consistent with the local and large scale constraints of gravity69. Alternatively, other modifications of the GR were studied in the context of inflation as well as the unification of accelerated phases of the Universe5,70. It is worth to remark that the unification of the holographic dark energy and the holographic inflation has also been realised by various modified gravities88. Note that inflation for the mimetic gravity with its extensions, was also recently investigated19,46,50,71,72.

In the context of the above, herein we combine mimetic idea with the general higher-curvature \(f(R,R_{\mu \nu }R^{\mu \nu })\) gravity. We intent to extend previously considered mimetic framework with more general \(f(R,R_{\mu \nu }R^{\mu \nu })\) gravity, with respect to the cosmological reconstruction of various models. After brief discussion of the field equations, by using the reconstruction method, we obtain the power law evolution model, the symmetric bounce as well as the transition between radiation and matter dominated phases. Then, in reference the current experimental data, we discuss inflationary model of the mimetic \(f(R,R_{\mu \nu }R^{\mu \nu })\) gravity. By using the reconstruction methods, we obtain Lagrange multiplier and potential responsible for inflationary evolution described by the scale factor \(H(N)=\alpha e^{\beta N}+\gamma \). In the next step, by employing the perfect fluid approach, we show that it is possible to achieve inflationary evolution in the discussed theory, in agreement with the current data. Finally our discussion ends with the brief remark on the mimetic \(f(R,R_{\mu \nu }R^{\mu \nu })\) gravity’s description of the holographical dark energy model. In particular, we express holographic density of the dark energy in terms of the theory presented here.

Theoretical model

The main idea behind the mimetic gravity is that the \(g_{\mu \nu }\) metric (the fundamental variable in gravity) may be expressed by the new degrees of freedom19. By doing so, such degrees of freedom can admit wider class of solutions than the standard GR. In particular, the conformal degree of freedom can be isolated by expressing the physical metric in terms of the scalar field \(\phi \) and the auxiliary metric \(\hat{g}_{\mu \nu }\) as follows:

$$\begin{aligned} g_{\mu \nu }=-\hat{g}^{\alpha \beta }\partial _{\alpha }\phi \partial _{\beta }\phi \hat{g}_{\mu \nu }. \end{aligned}$$
(1)

Note that the above parametrization posses Weyl symmetry under the conformal transformation, i.e. \(\hat{g}_{\alpha \beta }=e^{\omega (x)}g_{\alpha \beta }\). It is also worth to remark, that instead of using the physical metric \(g_{\mu \nu }\) in variation of the gravitational action, one can use variation with respect to the metric \(\hat{g}_{\mu \nu }\) and the scalar field \(\phi \). As a result, from Eq. (1) the following constraint can be obtained:

$$\begin{aligned} g^{\mu \nu }(\phi ,\hat{g}_{\mu \nu })\partial _{\mu }\phi \partial _{\nu }\phi =-1. \end{aligned}$$
(2)

In order to impose given constraint at the action level we use the Lagrange multiplier formalism73,74. In the mimetic regime we need to introduce the Lagrange multiplier (\(\lambda \)) that corresponds to the mimetic constraint19. Hence, for the mimetic \(f(R,R^{\mu \nu }R_{ \mu \nu })\) gravity we have:

$$\begin{aligned} S=\int d^4x\Big [\sqrt{-g}\big ( f(R,R_{\mu \nu }R^{\mu \nu })-V(\phi )+\lambda (g^{\mu \nu }\partial _\mu \phi \partial _\nu \phi +1)\big ) \Big ], \end{aligned}$$
(3)

where \(f(R,R^{\mu \nu }R_{ \mu \nu })\) is the analytical function of the Ricci scalar R and contraction of the Ricci tensors (the Ricci squared term) \(R^{\mu \nu }R_{ \mu \nu }\). Moreover, \(V(\phi )\) denotes scalar (mimetic) potential. We note that the equations obtained from the variation with respect to the physical metric \(g_{\mu \nu }\) with imposed mimetic constraint are fully equivalent to the equations that one can derive by using action written in terms of the auxiliary metric \(\hat{g}_{\mu \nu }\). We emphasize that standard matter fields are not part of our considerations since one of the core characteristics of the mimetic theory is to mimic matter content19. In what follows, the variation of the action (3) with respect to the components of the metric tensor \(g^{\mu \nu }\), gives the following field equation:

$$\begin{aligned}&f_R R_{\mu \nu }-\nabla _{\mu }\nabla _{\nu }f_R+g_{\mu \nu }\Box f_R+\Box ( R_{\mu \nu }f_Y)+g_{\mu \nu }\nabla ^{\alpha }\nabla ^{\beta }( R_{\alpha \beta }f_Y)-2\nabla _{\alpha }\nabla _{\beta }(R^{\alpha }_{(\mu }\delta ^{\beta }_{\nu )}f_Y)+2R^{\alpha }_{\mu }R_{\alpha \nu }f_Y \\&\quad -\frac{1}{2}g_{\mu \nu }(f-V(\phi )+\lambda (g^{\alpha \beta }\partial _\alpha \phi \partial _\beta \phi +1))+\lambda \partial _\mu \phi \partial _\nu \phi =0, \end{aligned}$$
(4)

where \(Y=R_{\mu \nu }R^{\mu \nu }\), \(f_Y=\frac{\partial f(R,Y)}{\partial R}\) and \(f_Y=\frac{\partial f(R,Y)}{\partial Y}\), whereas the indices in brackets denote symmetrization (\(A_{(\mu \nu )}=\frac{1}{2}(A_{\mu \nu }+A_{\nu \mu })\)). Next, by varying the action with respect to the scalar field \(\phi \) the following scalar equation can be obtained:

$$\begin{aligned} 2\nabla ^{\mu }(\lambda \partial _{\mu }\phi )+V^{\prime}(\phi )=0, \end{aligned}$$
(5)

where prime stands for the differentiation with respect to the scalar field (\(V^{\prime}(\phi )=\frac{dV(\phi )}{d\phi }\)). It is important to remark, that the variation of the action with respect to \(\lambda \) returns mimetic constraint.

Further in this work we assume that the background geometry is described by the FLRW metric, with the following line element:

$$\begin{aligned} ds^2=-dt^2+a^2(t)dx_idx^i, \end{aligned}$$
(6)

where \(i=1,2,3\) and a(t) is the scale factor. For simplicity, we also assume that the scalar field depends only on time, i.e. \(\phi =\phi (t)\). By using the FLRW metric (6), the corresponding (tt) component of the mimetic \(f(R,R_{\mu \nu }R^{\mu \nu })\) gravity equations (4) is:

$$\begin{aligned}&-3(\dot{H}+H^2)f_R+3 H \partial _t f_R+\frac{1}{2}(f+\lambda (\dot{\phi }^2+1)- V(\phi ))+6(2 H \ddot{H}-2\dot{H}^2+3H^2\dot{H}-3H^4)f_Y \\&\quad +6(2 H \dot{H}+3H^3)\partial _t f_Y=0, \end{aligned}$$
(7)

while the (ij) component reads:

$$\begin{aligned}&(\dot{H}+3H^2)f_R-2 H \partial _t f_R-\partial _{tt}f_R-\frac{1}{2}(f-\lambda (\dot{\phi }^2-1)-V(\phi ))-2(2\dddot{H}+12 H \ddot{H}-9H^4+9H^2\dot{H}+6\dot{H}^2)f_Y \\&\quad -2(18 H\dot{H}+6H^3+4\ddot{H})\partial _t f_Y-2(2\dot{H}+3H^2)\partial _{tt}f_Y=0. \end{aligned}$$
(8)

From Eq. (5) the corresponding scalar equation is given as:

$$\begin{aligned} 6H\lambda \dot{\phi }+2(\dot{\lambda }\dot{\phi }+\lambda \ddot{\phi })-V^{\prime}(\phi )=0. \end{aligned}$$
(9)

Note, that dot denotes differentiation with respect to the cosmic time t and \(H=\dot{a}/a\) is the Hubble rate. For brevity, we note that the Ricci scalar and the Ricci tensor squared in the FLRW spacetime are:

$$\begin{aligned} R=6(\dot{H}+2H^2),\;\;\;\; Y=R_{\mu \nu } R^{\mu \nu }=12\big (\dot{H}^2+3H^2(\dot{H}+H^2)\big ). \end{aligned}$$
(10)

Finally, the mimetic constraint for the metric given by Eq. (6) is:

$$\begin{aligned} \dot{\phi }^2=1, \end{aligned}$$
(11)

and yields:

$$\begin{aligned} \phi =t+C, \end{aligned}$$
(12)

with C being integration constant. Keeping in mind that the scalar field appears only with derivatives, shift symmetry allows for setting constant \(C=0\) without losing generality. By using \(\phi =t\) the field and scalar equations (79) reduce to:

$$\begin{aligned}&-3(\dot{H}+H^2)f_R+3 H \partial _t f_R+\frac{1}{2}(f- V(\phi ))+6(2 H \ddot{H}-2\dot{H}^2+3H^2\dot{H}-3H^4)f_Y\nonumber \\&\quad +6(2 H \ddot{H}+3H^3)\partial _t f_Y+\lambda =0, \end{aligned}$$
(13)
$$\begin{aligned}&(\dot{H}+3H^2)f_R-2 H \partial _t f_R-\partial _{tt}f_R-\frac{1}{2}(f-V(\phi ))-2(2\dddot{H}+12 H \ddot{H}-9H^4+9H^2\dot{H}+6\dot{H}^2)f_Y \\&\quad -2(18H \dot{H}+6H^3+4\ddot{H})\partial _t f_Y-2(2\dot{H}+3H^2)\partial _{tt}f_Y=0, \end{aligned}$$
(14)

and

$$\begin{aligned} 6H\lambda +2\dot{\lambda }-V^{\prime}(\phi )=0. \end{aligned}$$
(15)

Hence, Eq. (14) can be used to determine potential \(V(\phi )\) that generates evolution of the Hubble parameter for the specific f(RY) gravity:

$$\begin{aligned} V(\phi =t)&=-2(\dot{H}+3H^2)f_R+4 H \partial _t f_R+2\partial _{tt}f_R+f+4\big [(2\dddot{H}+12 H \ddot{H}-9H^4+9H^2\dot{H}+8\dot{H}^2)f_Y \\&\quad +(18H \dot{H}+6H^3+4\ddot{H})\partial _t f_Y+(2\dot{H}+3H^2)\partial _{tt}f_Y\big ]. \end{aligned}$$
(16)

By combining Eqs. (13) and (14), the analytic form of the Lagrange multiplier \(\lambda (t)\) is provided:

$$\begin{aligned} \lambda (t)&=2\dot{H}f_R-H\partial _t f_R+ \partial _{tt}f_R +4(3 H \ddot{H}+\dddot{H}+\dot{H}^2)f_Y- 2(3H^3 -12 H \dot{H}-4 \ddot{H})\partial _t f_Y\nonumber \\&\quad +2(2\dot{H}+3H^2)\partial _{tt}f_{Y}. \end{aligned}$$
(17)

This equation allows to obtain the desired evolution in various ways. Given the Hubble parameter H(t) for the specified f(RY) function, one can find corresponding multiplier \(\lambda \) and mimetic potential \(V(\phi )\). Also, given the form of the mimetic potential and the Lagrange multiplier \(\lambda \), one can solve above equations to find proper \(f(R,R_{\mu \nu }R^{\mu \nu })\) gravity model that realizes cosmological scenario of interest.

Reconstruction of the FLRW cosmologies

In the following section, we use reconstruction methods in order to obtain various cosmological scenarios in the mimetic \(f(R,R_{\mu \nu }R^{\mu \nu })\) gravity. The procedure of cosmological reconstruction is widely used in the context of modified theories of gravity and helps with the extraction of physical implications in the theory of interest35,71,75,76,77,78,79,80. In general, obtaining solutions for the GR’s extensions may be troublesome, since even small modifications can drastically increase difficulty of equations. The reconstruction scheme used in the extensions of the GR relies on the fact that arbitrary function (or potential) is used in the definition of the modified gravity. Once the Hubble factor H is specified, the field equations are solved to obtain the model of interest. This technique is a good way to survey modified theories of gravity, since satisfying well established cosmological models in gravity’s extensions is desired. Moreover, this technique yields difference between the GR and its modifications, namely specific class (or classes) of the extended gravity may describe any given spacetime10. In this section, once the function f(RY) is given, we obtain the Lagrange multiplier \(\lambda \) and potential V satisfying specified evolution. In general, by using this technique one can achieve model describing any given Hubble rate such as inflation or transitions between phases for the mimetic \(f(R,R_{\mu \nu }R^{\mu \nu })\) approach.

In the present study, we assume specific form of the \(f(R,R_{\mu \nu }R^{\mu \nu })\) function, where Ricci squared term enters with arbitrary power p, i.e.:

$$\begin{aligned} f(R,Y)=R + dY^p. \end{aligned}$$
(18)

Thus, the rearranged equations for this choice of the f(RY) gravity are:

$$\begin{aligned} V(t)&=-2(\dot{H}+3H^2)f_R+4 H \partial _t f_R+2\partial _{tt}f_R+f+4dp\big [(2\dddot{H}+12 H \ddot{H}-9H^4+9H^2\dot{H}+8\dot{H}^2)Y^{p-1} \\&\quad +(18H \dot{H}+6H^3+4\ddot{H})(p-1) Y^{p-2}\dot{ Y} +(2\dot{H}+3H^2)((p-1)(p-2) Y^{p-3} \dot{Y}^2\nonumber \\&\quad +(p-1) Y^{p-2} \ddot{Y})\big ], \end{aligned}$$
(19)

and

$$\begin{aligned} \lambda (t)&=2\dot{H}f_R-H\partial _t f_R+ \partial _{tt}f_R +4dp(3 H \ddot{H}+\dddot{H}+\dot{H}^2)Y^{p-1}- 2dp(3H^3 -12 H \dot{H}-4 \ddot{H})(p-1)Y ^{p-2}\dot{Y} \\&\quad +2dp(2\dot{H}+3H^2)\big ((p-1)(p-2) Y^{p-3} \dot{Y}^2+(p-1) Y^{p-2} \ddot{Y}\big ). \end{aligned}$$
(20)

As an example, let us consider the power-law scale factor and the corresponding Hubble parameter:

$$\begin{aligned} a(t)=a_0 t^{n},\;\;\; H(t)=\frac{n}{t}. \end{aligned}$$
(21)

The solutions of this type are very useful in cosmology, especially in describing various phases in the history of the Universe62. We note that for \(0<n<1\), the decelerated universe occurs where for dust dominated Universe \(n=\frac{2}{3}\) and for the radiation era \(n=\frac{1}{2}\). The corresponding Ricci scalar and Ricci squared are:

$$\begin{aligned} R=-6\frac{n}{t^2}(1-2n),\;\;\;\;Y=12n^2\frac{(3n^2-3n+1)}{t^4}. \end{aligned}$$
(22)

By using this expressions in the field equations, one can reconstruct the Lagrange multiplier and the mimetic potential for the \(f(R,R_{\mu \nu }R^{\mu \nu }\) gravity. The general expressions obtained for the Lagrange multiplier and potential are given in the Appendix. For the dust \(n=2/3\) and the inverse \(p=-1\) power of Y, one gets:

$$\begin{aligned} \lambda (t)=d\frac{45}{8}t^4-\frac{4}{3t^2} \end{aligned}$$
(23)

and

$$\begin{aligned} V(t)=d\frac{135}{16}t^4-\frac{8}{3t^2}. \end{aligned}$$
(24)

It is worth to mention, that the Ricci squared contribution leads to the higher-order terms in the expressions for V and \(\lambda \). In the absence of this term (\(d=0\)), the potential takes form \(\frac{8}{3}t^{-2}\) that is consistent with the result obtained in the standard mimetic gravity, i.e. \(V(t)=C_0t^{-2}\) for constant \(C_0=8/3\)19.

As an another example we consider the exponential symmetric bounce cosmology, associated with the scale factor and the Hubble rate:

$$\begin{aligned} a(t)=e^{\alpha t^2},\;\;\;\; H(t)=2 \alpha t. \end{aligned}$$
(25)

One of the main characteristics of the bounce cosmologies is the absence of the initial singularity. These theories constitute also interesting alternatives to the well-established inflationary paradigm65,81. For these scenarios, the Universe contraction decreases the effective radius of the Universe to the minimal size. Then, accelerated expansion occurs. We also want to note that, the symmetric bounce of Eq. (25) should be combined with other cosmological model to complete this scenario82. Authors of83 have pointed out that the Hubble horizon at \(t\rightarrow -\infty \) never decreases and is increasing. This means that primordial modes cannot originate from a times before the bounce happened. Even if those modes correspond to the time near the point of bounce, horizon after \(t>0\) is decreasing, thus modes cannot reenter the horizon. However, our focus in this work is purely on the realization of various cosmological models, with the exponential bounce as an example of the bouncing Universe. In the exponential bounce case, the Ricci scalar and Ricci tensor squared are:

$$\begin{aligned} R=-6 (2 \alpha + 8 t^2 \alpha ^2),\;\;\;\; Y=48 \alpha ^2 (1 + 6 t^2 \alpha + 12 t^4 \alpha ^2). \end{aligned}$$
(26)

The obtained Lagrange multiplier and mimetic potential take form:

$$\begin{aligned} \lambda (t)&=4\alpha -\frac{d (3456 \alpha ^5 t^{10}+11376 \alpha ^4 t^8+8208 \alpha ^3 t^6+1788 \alpha ^2 t^4+48 \alpha t^2-11)}{144 \alpha ^2 (12 \alpha ^2 t^4+6 \alpha t^2+1)^4}, \end{aligned}$$
(27)
$$\begin{aligned} V(t)&= -6 (2 \alpha + 8 t^2 \alpha ^2) - 2 (2 \alpha + 12 t^2 \alpha ^2) \\&\quad + \frac{d (1152 \alpha ^6 t^{12}+2976 \alpha ^5 t^{10}+816 \alpha ^4 t^8-472 \alpha ^3 t^6-124 \alpha ^2 t^4+14 \alpha t^2+3)}{16 \alpha ^2 (12 \alpha ^2 t^4+6 \alpha t^2+1)^4}, \end{aligned}$$
(28)

when again we use \(p=-1\) and the general form of the potential and the Lagrange multiplier is listed in the Appendix.

In the following part, we provide reconstruction of the model that describes transition between matter-dominated and accelerated phases of the Universe’s history. In this scenario, the Hubble rate is given by32:

$$\begin{aligned} H=g_0+\frac{g_1}{t}. \end{aligned}$$
(29)

It is important to remark, that for small t, \(H\approx \frac{g_1}{t}\) and the Universe is filled with the perfect fluid with the EoS (equation of state) parameter \(w=-1+2/3g_1\). We note that recent results of the Planck observations constrained the equation of state of the Dark Energy models. In our case, the relationship between \(g_1\) and \(\omega _{DE}\) takes the following form32: \(g_1=\frac{2}{3(1+\omega _{DE})}\). The corresponding constraints on the \(\omega _{DE}\) from the recent Planck observations are (\(95\%\) of confidence): \(-1<\omega _{DE}<-0.95\)84. Thus, for the large \(g_1\), the equation of state consistent with the recent data can be obtained84. On the other hand, for the large t, the Hubble rate approaches \(H\rightarrow g_0\) and the Universe looks like the de-Sitter one10,32. We note that in this scenario, there is no real matter and the contribution of the mimetic f(RY) gravity plays the role of the standard matter content.

In the small t limit, the Lagrange multiplier and the mimetic potential are equal to:

$$\begin{aligned}&\lambda (t)\approxeq \frac{12 d g_1{}^2 t^6-43 d g_1 t^6+30 d t^6-648 g_1{}^8+1296 g_1{}^7-1080 g_1{}^6+432 g_1{}^5-72 g_1{}^4}{36 g_1{}^3 (3 g_1{}^2-3 g_1+1){}^2 t^2}, \end{aligned}$$
(30)
$$\begin{aligned}&V(t)\approxeq \frac{6 d g_1{}^3 t^6-19 d g_1{}^2 t^6-15 d g_1 t^6+20 d t^6+648 g_1{}^9-1728 g_1{}^8+1944 g_1{}^7-1152 g_1{}^6+360 g_1{}^5-48 g_1{}^4}{12 g_1{}^3 (3 g_1{}^2-3 g_1+1){}^2 t^2}, \end{aligned}$$
(31)

while in the large t limit one gets:

$$\begin{aligned} \lambda (t)\approxeq 0,\;\;\; V(t)\approxeq 6g_0^2+\frac{d}{16g_0^4} \end{aligned}$$
(32)

where again we have chosen \(p=-1\). Note also that the full form of the obtained potential and the Lagrange multiplier can be found in the Appendix. Thus, in principle, the mimetic \(f(R,R_{\mu \nu }R^{\mu \nu })\) gravity is able to unify phases dominated by matter with the transition to the late time accelerated evolution even in the absence of real matter for the appropriate mimetic potential and Lagrange multiplier.

To this end, we reconstruct the particular class of \(f(R,R_{\mu \nu }R^{\mu \nu })\) gravity that satisfy mimetic field equations, once particular mimetic potential and the Lagrange multiplier are assumed. This is inversion of the previously used reconstruction. In this approach, as an example, we consider the de-Sitter space as specified by the constant Hubble parameter:

$$\begin{aligned} H=H_0. \end{aligned}$$
(33)

We remark that this spacetime usually serves as a description of the accelerated expansion phase and the early Universe inflation62. By assuming the constant potential V and the multiplier \(\lambda \) as:

$$\begin{aligned} V(t)=\alpha H_0,\;\;\;\; \lambda (t)=2 \beta H_0, \end{aligned}$$
(34)

we obtain the following partial differential equation (PDE):

$$\begin{aligned} 3H_0^2 f_R+\frac{1}{2}f+6H_0^2+ \frac{(\beta -\alpha )}{2}H_0-18H_0^2f_Y=0. \end{aligned}$$
(35)

This PDE has the following solution:

$$\begin{aligned} f(R,Y)=12H_0^2+(\alpha -\beta )H_0+e^{-\frac{R}{6H_0^2}} F(6H_0^2R+Y), \end{aligned}$$
(36)

where F is an arbitrary function.

In conclusion, the reconstruction technique can work in both ways: one can assume specific functional form of the mimetic \(f(R,R_{\mu \nu }R^{\mu \nu })\) and cosmological evolution to obtain the mimetic potential and the Lagrange multiplier and vice versa. In general, by using this procedure one can obtain any cosmological scenario for the mimetic \(f(R,R_{\mu \nu }R^{\mu \nu })\) gravity.

Inflation

Inflation is believed to be one of the fundamental building blocks of the modern cosmology that may solve some of its problems61,69. This is to say, the main goal of the inflationary theory is to explain primordial fluctuations i.e. the density variations occurring in very early stages of the cosmic evolution. Since inflation is the most plausible scenario for the early Universe, the modified theories of gravity should be able to properly describe this phase of the cosmic history. Moreover, the deviations from GR can be interpreted as a quantum-induced corrections or motivated by the ultra-violet (UV) behavior of the quantum gravity, playing an important role in the inflationary phase of the early Universe85. Thus, viable description of this stage in any modified gravity is desired. Therefore, in the following section we analyse inflation in the context of the mimetic \(f(R,R_{\mu \nu }R^{\mu \nu })\) gravity to explore ability to obtain model comparable with the recent BICEP2/Keck observations63,85. Note, that the cosmological reconstruction can also be successfully applied to the discussed scenario. In this section we obtain the mimetic \(f(R,R_{\mu \nu }R^{\mu \nu })\) gravity that describes inflationary model which is consistent with the recent observational data. Again, the functional form of Eq. (18) is assumed.

While discussing the inflationary cosmology it is worth to use the number of e-foldings N (intervals for which the scale factor grows by the N factors of e) instead of the cosmic time t. The relation between the scale factor and the e-folding number N is following, \(e^{N}=\frac{a}{a_0}\), where \(a_0\) is the initial value of the scale factor in the initial time instance. For brevity, we list transformation rules for the time derivatives with respect to the e-foldings number:

$$\begin{aligned}&\frac{d}{dt}=H(N) \frac{d}{dN},\;\;\;\; \frac{d^2}{dt^2}=H^2(N)\frac{d^2}{dN^2}+H(N)H^{\prime}(N)\frac{d}{dN}, \\&\frac{d^3}{dt^3}=3H^2(N)H^{\prime}(N)\frac{d^2}{dN^2}+H^2(N)H^{\prime\prime}(N)\frac{d}{dN}+H(N)H^{\prime 2}(N)\frac{d}{dN}+H^3(N)\frac{d^3}{dN^3}. \end{aligned}$$
(37)

We note that prime symbols (\(^{\prime}\)) correspond to the derivatives \(\frac{dH(N)}{dN}\).

In order to study the slow-roll indices we use perfect fluid approach developed in86. In this approach extra terms in the gravitational action (1) can be regarded as the perfect fluid. In order to achieve this, an extra contributions in the action may be associated with the modeling of the perfect fluid, while mimetic field will enter the equations through the pressure-less fluid. This formalism has been successfully applied to the other extensions of the mimetic theory, such as the unimodular f(R) or the \(f({\mathscr {G}})\) gravity50,56. This formalism allows to obtain the spectral indices independently from the model. According to this approach, the slow-roll parameters are given as a functions of the Hubble rate H:

$$\begin{aligned} \varepsilon&=\frac{-4H(N)}{H^{\prime}(N)}\Big (\frac{H^{\prime 2}(N)+6H^{\prime}(N)H(N)+H^{\prime\prime}(N)H(N)}{H^{\prime}(N)H(N)+3H^2(N)}\Big )^2, \\ \eta&=-\frac{\Big (9\frac{H^{\prime}(N)}{H(N)}+3\frac{H^{\prime\prime}(N)}{H(N)}+\frac{1}{2}\Big (\frac{H^{\prime}(N)}{H(N)}\Big )^2-\frac{1}{2}\Big (\frac{H^{\prime\prime}(N)}{H(N)}\Big )^2+\frac{H^{\prime\prime}(N)}{H^{\prime}(N)}+\frac{H^{\prime\prime\prime}(N)}{H^{\prime}(N)}\Big )}{2\big (3+\frac{H^{\prime}(N)}{H(N)}\big )}. \end{aligned}$$
(38)

We note that the above procedure is valid for \(\eta \) and \(\varepsilon \ll 1\). By using the above, the spectral index of the curvature perturbations \(n_s\) and the scalar-to-tensor ratio r in terms of the slow-roll parameters can be provided:

$$\begin{aligned} n_s=-6\varepsilon +2\eta +1,\;\;\;\;r=16\varepsilon . \end{aligned}$$
(39)

The parameters introduced in Eq. (39) are constrained by the recent Planck collaboration results63:

$$\begin{aligned} n_s=0.968\pm 0.006,\;\;\;\; r<0.07. \end{aligned}$$
(40)

We remark that the spectral index describes variation of the density fluctuations with respect to the scale. On the other hand, the scalar-tensor ratio relates spectras of the scalar and tensor perturbations. By using Eqs. (16), (17) and (37), the field equations in terms of the e-foldings number N are:

$$\begin{aligned} \lambda (N)&=H(N)^2 f_R^{\prime\prime}(N)-H(N)^3 f_R^{\prime}(N) H^{\prime}(N)+H(N) f_R^{\prime}(N) H^{\prime}(N)+2 f_R(N) H(N) H^{\prime}(N)+4 H(N)^3 f_Y^{\prime\prime} H^{\prime}(N) \\&\quad +12 H(N)^2 f_Y^{\prime} H^{\prime}(N)^2+H(N)^3 f_Y^{\prime} \Big (8 H^{\prime\prime}(N)+30 H^{\prime}(N)\Big )-6 H(N)^4 \Big (f_Y^{\prime}(N)-f_Y^{\prime\prime}(N)\Big )\nonumber \\&\quad +4 f_Y(N) H(N) H^{\prime}(N)^3 +4 f_Y H(N)^3 \Big (H^{(3)}(N)+3 H^{\prime\prime}(N)\Big )+16 f_Y H(N)^2 H^{\prime}(N) \Big (H^{\prime\prime}(N)+H^{\prime}(N)\Big ), \end{aligned}$$
(41)
$$\begin{aligned} V(N)&=f+2 H(N)^2 f_R^{\prime\prime}(N)+2 H(N) f_R^{\prime}(N) H^{\prime}(N)+4 H(N)^2 f_R^{\prime}(N)-2 f_R(N) H(N) \\&\quad \times \Big (H(N) (H^{\prime\prime}(N)+3)+H^{\prime}(N) ^2\Big )+8 H(N)^3 f_Y^{\prime\prime}(N) H^{\prime}(N)+12 H(N)^4 f_Y^{\prime\prime}(N)+16 H(N)^3 f_Y^{\prime}(N) H^{\prime\prime}(N) \\&\quad +84 H(N)^3 f_Y^{\prime}(N) H^{\prime}(N)+24 H(N)^2 f_Y^{\prime}(N) H^{\prime}(N)^2+24 H(N)^4 f_Y^{\prime}(N)+4 f_Y(N) H(N)\nonumber \\&\quad \times \Big (2 H^{\prime}(N)^3+2 H(N)^2 (H^{(3)}(N)+6 H^{\prime\prime}(N)\Big )+4 H(N) H^{\prime}(N) \Big (2 H^{\prime\prime}(N)+3 H^{\prime}(N)\Big ) -9 H(N)^3), \end{aligned}$$
(42)

where we have used relations from Eq. (37). Thus, one can obtain the Lagrange multiplier and potential corresponding to the scale factor H(N), effectively reconstructing any given inflationary model. We note, that inverse reconstruction method is also possible once \(\lambda (N)\) and V(N) are specified.

As an example of the inflationary reconstruction, we consider a inflationary model described by the Hubble factor50:

$$\begin{aligned} H(N)=\alpha e^{\beta N}+\gamma . \end{aligned}$$
(43)

The corresponding mimetic potential and the Lagrange multiplier are given by:

$$\begin{aligned} \lambda (N)&=\frac{1}{ {36 (\gamma +\alpha e^{\beta N})^3}}\Bigg [\alpha \beta e^{\beta N} (72 (\gamma +\alpha e^{\beta N})^4-\frac{d}{{(3 \gamma ^2+\alpha ^2 (\beta ^2+3 \beta +3) e^{2 \beta n}+3 \alpha (\beta +2) \gamma e^{\beta n})^4}} \\&\quad \times \Big [-18 (\beta ^2+3 \beta -6) \gamma ^6+\alpha ^6 (\beta ^2 +3 \beta +3)^2 (30 \beta ^2+43 \beta +12) e^{6 \beta n}+\alpha ^5 (30 \beta ^6+394 \beta ^5\nonumber \\&\quad +1806 \beta ^4+4095 \beta ^3\beta +4941 \beta ^2+2961 +648) \gamma e^{5 \beta n}+3 \alpha ^4 (3 \beta ^6+69 \beta ^5+494 \beta ^4+1575 \beta ^3\nonumber \\&\quad +2502 \beta ^2+1920 \beta +540) \gamma ^2 e^{4 \beta n}+3 \alpha ^3 (12 \beta ^5+142 \beta ^4+725 \beta ^3+1698 \beta ^2+1830 \beta +720) \gamma ^3 e^{3 \beta n} \\&\quad +3 \alpha ^2 (10 \beta ^4+90 \beta ^3+432 \beta ^2+825 \beta +540) \gamma ^4 e^{2 \beta n}-9 \alpha (2 \beta ^3+3 \beta ^2-37 \beta -72) \gamma ^5 e^{\beta n})\Big ]\Bigg ], \end{aligned}$$
(44)
$$\begin{aligned} V(N)&=-\frac{1}{{36 (\gamma +\alpha e^{\beta N})^3}}\Bigg [-\frac{3 d (\gamma +\alpha e^{\beta N})}{3 \gamma ^2+\alpha ^2 (\beta ^2+3 \beta +3) e^{2 \beta N}+3 \alpha (\beta +2) \gamma e^{\beta N}} -216 \alpha \beta e^{\beta N} (\gamma +\alpha e^{\beta N})^4 \\&\quad -\frac{1}{{(3 \gamma ^2+\alpha ^2 (\beta ^2+3 \beta +3) e^{2 \beta N}+3 \alpha (\beta +2) \gamma e^{\beta N})^3}}\Big [4 \alpha \beta d e^{\beta N} (3 \gamma ^2+\alpha ^2 (4 \beta ^2+9 \beta +3) e^{2 \beta N} \\&\quad +\alpha (2 \beta ^2+9 \beta +6) \gamma e^{\beta N}) (3 (\beta +4) \gamma ^2+4 \alpha ^2 (\beta ^2+3 \beta +3) e^{2 \beta N}+\alpha (2 \beta ^2+15 \beta +24) \gamma e^{\beta N}) \Big ] \\&\quad +\frac{d (-9 \gamma ^3+3 \alpha ^3 (4 \beta ^3+8 \beta ^2-3) e^{3 \beta N}+3 \alpha ^2 (4 \beta ^3+12 \beta ^2-9) \gamma e^{2 \beta N}+\alpha (2 \beta ^3+12 \beta ^2-27) \gamma ^2 e^{\beta N})}{(3 \gamma ^2+\alpha ^2 (\beta ^2+3 \beta +3) e^{2 \beta N}+3 \alpha (\beta +2) \gamma e^{\beta N})^2} \\&\quad +\frac{1}{(3 \gamma ^2+\alpha ^2 (\beta ^2+3 \beta +3) e^{2 \beta N}+3 \alpha (\beta +2) \gamma e^{\beta N})^4}\big (2 \alpha \beta ^2 d e^{\beta N} (3 \gamma +\alpha (2 \beta +3) e^{\beta N}) \\&\quad \times (-9 (\beta +4) \gamma ^5 +28 \alpha ^5 (\beta ^2+3 \beta +3)^2 e^{5 \beta N}+4 \alpha ^4 (7 \beta ^4+72 \beta ^3+255 \beta ^2+396 \beta +243) \gamma e^{4 \beta N} \\&\quad +\alpha ^3 (8 \beta ^4+141 \beta ^3+786 \beta ^2+1719 \beta +1368) \gamma ^2 e^{3 \beta N}+3 \alpha ^2 (7 \beta ^3+64 \beta ^2+231 \beta +264) \gamma ^3 e^{2 \beta N} \\&\quad +3 \alpha (2 \beta ^2+15 \beta +36) \gamma ^4 e^{\beta N})\big )+72 \alpha ^2 \beta ^2 e^{2 \beta N} (\gamma +\alpha e^{\beta N})^4+72 \alpha \beta ^2 e^{\beta N} (\gamma +\alpha e^{\beta N})^5\Bigg ] . \end{aligned}$$
(45)

Further, the slow-roll parameters from the perfect fluid approach are:

$$\begin{aligned} \varepsilon =-\frac{\alpha \beta e^{\beta n} ((\beta +6) \gamma +2 \alpha (\beta +3) e^{\beta n})^2}{4 (\gamma +\alpha e^{\beta n}) (3 \gamma +\alpha (\beta +3) e^{\beta n})^2} \end{aligned}$$
(46)

and

$$\begin{aligned} \eta =-\frac{\beta ((\beta +6) \gamma ^2+8 \alpha ^2 (\beta +3) e^{2 \beta n}+2 \alpha (4 \beta +15) \gamma e^{\beta n})}{4 (\gamma +\alpha e^{\beta n}) (3 \gamma +\alpha (\beta +3) e^{\beta n})}. \end{aligned}$$
(47)

Finally the corresponding spectral index and the scalar-tensor ratios are listed below:

$$\begin{aligned} n_s&=\frac{1}{2 (\gamma +\alpha e^{\beta n}) (3 \gamma +\alpha (\beta +3) e^{\beta n})^2} \Big [-3 (\beta ^2+6 \beta -6) \gamma ^3+2 \alpha ^3 (\beta +3)^2 (2 \beta +1) e^{3 \beta n} \\&\quad +2 \alpha ^2 (2 \beta ^3+16 \beta ^2+39 \beta +27) \gamma e^{2 \beta n}+\alpha (2 \beta ^3+3 \beta ^2+12 \beta +54) \gamma ^2 e^{\beta n} \Big ], \end{aligned}$$
(48)
$$\begin{aligned} r&=-\frac{4 \alpha \beta e^{\beta n} ((\beta +6) \gamma +2 \alpha (\beta +3) e^{\beta n})^2}{(\gamma +\alpha e^{\beta n}) (3 \gamma +\alpha (\beta +3) e^{\beta n})^2}. \end{aligned}$$
(49)

The inflationary parameters depend on the e-foldings number N and the three free parameters \(\alpha ,\beta , \gamma \), which are associated with the Hubble rate (43). We note that this set can be further simplified by introducing \(\Upsilon =\alpha /\gamma \). In Fig. 1 we present the behavior of the observational indices as a function of the \(\beta \) parameter. For exemplary purposes, we have chosen three values of ratio \(\Upsilon \). Gray regions indicate parameter range that is compatible with the BICEP2/Keck array data63. Based on the obtained results we observe that the spectral index \(n_s\) diminishes with increase of the \(\beta \), while scalar to tensor ratio r exhibits increasing behavior. This inflationary model was extensively studied by Zhong and collaborators50 in mimetic \(f({\mathscr {G}})\). We refer reader to their work for the detailed survey of the ranges of parameters that are compatible with the recent observational data provided by BICEP2/Keck array63.

The main goal of this part of our study was to reconstruct proper inflationary model in the mimetic \(f(R,R_{\mu \nu }R^{\mu \nu })\) theory. For more detailed discussion of other inflationary scenarios in the mimetic gravity, we refer reader to50. We conclude that extension of the GR presented here is comparable with other mimetic gravities and may constitute an interesting alternative50,56.

Figure 1
figure 1

Behavior of the observational indices as a functions of parameter \(\beta \) for specific ratios \(\Upsilon =\alpha /\gamma \) (\(N=60\)). Gray regions indicate compatibility of the \(n_s\) and r with recent Planck and BICEP2/Keck array data.

Mimetic \(f(R,R_{\mu \nu }R^{\mu \nu })\) gravity and the holographic dark energy density

Our discussion ends with some remarks on the holographic dark energy model87, which has been recently studied in the various modified gravity scenarios88. The holographic dark energy arises from applying the holographic principle to the problem of the dark energy89. In this regard, we will briefly discuss possibility of expressing the mimetic f(RY) gravity in terms of the holographic dark energy density, in accordance with the recent work of Nojiri and collaborators88. The main idea behind that is to express cut-offs in terms of the particle horizons and derivatives and relate them to the corresponding higher order modified gravity. For the holographic model, one gets from the Friedmann equation88:

$$\begin{aligned} H= \frac{c}{L_{IR}}, \end{aligned}$$
(50)

where \(L_{IR}\) denotes the infrared cutoff, which usually is associated with the particle Horizon \(L_p\) or the future event horizon \(L_f\). The infrared cutoff then is given by90:

$$\begin{aligned} L_P\equiv a \int _0^t \frac{1}{a}dt,\;\;\;\; L_f= a \int _t^\infty \frac{1}{a}dt. \end{aligned}$$
(51)

In terms of the particle horizon (51), the Hubble parameter will take form:

$$\begin{aligned} H(L_P,\dot{L}_P)=\frac{\dot{L}_P}{L_P}-\frac{1}{L_P}. \end{aligned}$$
(52)

The Ricci scalar and the Ricci tensor squared for the Hubble factor (52) are given by:

$$\begin{aligned} R&= 6\Big [\frac{\ddot{L}_P}{L_P}-\frac{\dot{L _P}^2}{L_P^2}+\frac{\dot{L}_P}{L_P^2}+2 \Big (\frac{\dot{L}_P}{L_P}-\frac{1}{L_P}\Big )^2\Big ] \\ Y&=36 \Big (\frac{\dot{L}_P}{L_P}-\frac{1}{L_P}\Big )^2 \Big (\frac{\ddot{L}_P}{L_P}-\frac{\dot{L}_P^2}{L_P^2}+\frac{\dot{L}_P}{L_P^2}\Big )+12 \Big (\frac{\ddot{L}_P}{L_P}-\frac{\dot{L}_P^2}{L_P^2}+\frac{\dot{L}_P}{L_P^2}\Big )^2+36 \Big (\frac{\dot{L}_P}{L_P}-\frac{1}{L_P}\Big )^4. \end{aligned}$$
(53)

Then, we can use an Einsteinian form of the field equations in the mimetic \(f(R,R_{\mu \nu }R^{\mu \nu })\) obtained from rearranging Eq. (13):

$$\begin{aligned} H^2=\rho _{eff}=\rho _{hol}+\frac{1}{f_R}\big (\lambda - \frac{1}{2}V(\phi )\big ), \end{aligned}$$
(54)

where

$$\begin{aligned} \rho _{hol}&=\frac{1}{f_R}\Bigg [-3\Big ( \frac{\ddot{L}_P}{L_P}-\frac{\dot{L}_P^ 2}{L_P^2}+\frac{\dot{L}_P}{L_P^2}\Big )f_R+ 3 \Big (\frac{\dot{L}_P}{L_P}-\frac{1}{L_P}\Big )\dot{R} f_{RR}+ 6 \Big \{2 \Big (\frac{\dot{L}_P}{L_P}-\frac{1}{L_P}\Big ) \Big (\frac{\dddot{L}_P}{L_P}-\frac{3 \dot{L}_P \ddot{L}_P}{L_P^2} \\&\quad +\frac{\ddot{L}_P}{L_P^2}+\frac{2 \dot{L}_P^3}{L_P^3}-\frac{2 \dot{L}_P^2}{L_P^3}\Big )+6 \Big (\frac{\dot{L}_P}{L_P}-\frac{1}{L_P}\Big ){}^ 2 \Big (\frac{\ddot{L}_P}{L_P}-\frac{\dot{L}_P^2}{L_P^2}+\frac{\dot{L}_P}{L_P^2}\Big )-2 \Big (\frac{\ddot{L}_P}{L_P}-\frac{\dot{L}_P^2}{L_P( t){}^2}+\frac{\dot{L}_P}{L_P^2}\Big )^2 \\&\quad -3 \Big (\frac{\dot{L}_P}{L_P}-\frac{1}{L_P}\Big ){}^ 4\Big \}f_Y+ 6\Big \{2 \Big (\frac{\dot{L}_P}{L_P}-\frac{1}{L_P}\Big ) \Big (\frac{\dddot{L}_P}{L_P}-\frac{3 \dot{L}_P \ddot{L}_P}{L_P{}^2} \\&\quad +\frac{\ddot{L}_P}{L_ P(t){}^2}+\frac{2 \dot{L}_P{}^3}{L_P^3}-\frac{2 \dot{L}_P{}^2}{L_P^3}\Big )+3 \Big (\frac{\dot{L}_P}{L_P}-\frac{1}{L_P( t)}\Big )^2\Big \} \dot{Y} f_{YY}\bigg ]. \end{aligned}$$
(55)

Thus, we have associated the mimetic f(RY) theory with the holographic energy density88. This shows that the mimetic \(f(R,R_{\mu \nu }R^{\mu \nu })\) gravity may be successfully used for modelling the holographic dark energy models and constitute an interesting choice for the future works regarding the following subject.

Summary

In this work, we presented mimetic extension of the \(f(R,R_{\mu \nu }R^{\mu \nu })\) gravity using the Lagrange multiplier formalism with the mimetic scalar potential added to the Lagrangian, where mimetic field isolates conformal degree of freedom. Introduced extension was implemented by using the well-known reconstruction technique in order to obtain models of interest. Assuming functional form as \(f(R,Y)=R+dY^p\), we obtained the Lagrange multiplier \(\lambda \) and the mimetic potential \(U(\phi )\) that satisfy the power law evolution of the Universe. Another reconstructed model described symmetric bounce cosmology. Moreover, we have reconstructed model that satisfy transition between matter dominated and accelerated phase in the history of the Universe, showing that this extension of the mimetic gravity is capable to unify various stages of cosmic history. Additionally, using the inverse reconstruction method and choosing appropriate forms of \(\lambda \) and V we have obtained f(RY) model describing the de-Sitter model with constant Hubble factor \(H_0\). Our work is closed with discussion of the inflationary cosmology in a given regime. By using the Hubble parameter \(H(N)=\alpha e^{\beta N}+\gamma \) we get Lagrange multiplier and the mimetic potential which successfully describes inflationary model. The reconstructed inflationary model is phenomenologically viable for the wide range of the parameters when confronted with BICEP2/Keck data50,63. Moreover, we have shown that the theory presented here can be expressed in terms of the holographic dark energy density. This fact opens new possibilities and applications regarding the proposed theory. More sophisticated analysis of the holographic dark energy for the mimetic \(f(R,R_{\mu \nu }R^{\mu \nu })\) gravity will be conducted in the future works.

In conclusion, the mimetic extension of the \(f(R,T,R_{\mu \nu }T^{\mu \nu })\) can describe any given early or late-time cosmological model in particularly clear way. In general, the procedure presented here can be extended to other higher-curvature modifications of the general relativity or theories that include coupling with the trace of the energy-momentum tensor such as the \(f(R,T,R_{\mu \nu }T^{\mu \nu })\) or \(f({\mathscr {G}},T)\) approaches18,76. We also remark that the matter fields were not used in our considerations, since main feature of the mimetic gravity is to mimic cosmological behavior driven by the matter fields19,57. In the approach presented here, the mimetic condition is supported by the higher curvature terms of the \(f(R,R_{\mu \nu } R^{\mu \nu })\) theory, such that the geometry of the considered theory incarnates matter. Moreover, the mimetic condition can play an important role in further considerations of the various higher order extensions of the general relativity and can be extended by inclusion of the unimodular concept in the considerations57. We also wish to point out that by choosing an appropriate functions and parameters one can obtain analytical results in the mimetic \(f(R,R_{\mu \nu }R^{\mu \nu })\) approach, which generally is hard task in the context of the modified theories of gravity5. Since there are many other proposals of the modified gravities that satisfy realistic models with sufficient degree of accuracy, the local constraints should be employed, such as the Post-Newtonian or Solar-System tests91. Moreover, recently the higher curvature theories supported by Lagrange multipliers have been studied in the context of eliminating the ghosts92. It was shown, that constraints provided by the multiplier can lead to the absence of the ghosts. The mimetic constraint introduced to the action by the Lagrange multiplier may lead to the proper behaviour of the theory. In case of the mimetic \(f(R,R_{\mu \nu }R^{\mu \nu })\) gravity, the absence of the ghosts is expected since twin f(R) and \(f(R,{\mathscr {G}})\) gravities supported by the Lagrange multiplier posses this desired property92. Future studies should be devoted to these topics, by addressing not only mimetic extension presented here, but also other proposals such as mimetic versions of the f(RT), f(R) or \(f({\mathscr {G}})\) gravity.