A Generalization to the Rastall Theory and Cosmic Eras

A generalized version for the Rastall theory is proposed showing the agreement with the cosmic accelerating expansion. In this regard, a coupling between geometry and the pressureless matter fields is derived which may play the role of dark energy responsible for the current accelerating expansion phase. Moreover, our study also shows that the radiation field may not be coupled to the geometry in a non-minimal way which represents that the ordinary energy-momentum conservation law is respected by the radiation source. It is also shown that the primary inflationary era may be justified by the ability of the geometry to couple to the energy-momentum source in an empty flat FRW universe. In fact, this ability is independent of the existence of the energy-momentum source and may compel the empty flat FRW universe to expand exponentially. Finally, we consider a flat FRW universe field by a spatially homogeneous scalar field evolving in potential $\mathcal{V}(\phi)$, and study the results of applying the slow-roll approximation to the system which may lead to an inflationary phase for the universe expansion.


I. INTRODUCTION
The origins of the primary inflationary era [1][2][3][4], current accelerating phase of the universe expansion [5][6][7][8][9] as well as the dark matter problem [10][11][12] are some of the big puzzles in the standard model of cosmology. Our insufficient understanding of these problems leads the coincidence and fine-tuning problems [13][14][15][16]. In order to solve the above mentioned problems, some authors have been introduced a new type of energy-momentum source [17][18][19][20]. In another approach, physicist try to solve the above problems by modifying the Einstein field equations [21][22][23][24][25][26]. In this line, one may refer to the scalar-tensor gravity [27], vector-tensor theories [28], tensor-vector-scalar theories [29], quadratic gravity [30], Chern-Simons theories [31], massive gravity [32,33] and Gauss-Bonnet theory [34], for a review see also [35]. Scalar-tensor (ST) theories of gravity are the simplest alternative to Einstein's general theory of gravity (GR) and have a long history. The first attempts are done by Jordan [36,37], Fierz [38], and Brans-Dicke [39]. These theories possess just one massless scalar field and with a constant coupling strength to matter fields. These works were generalized later to the theories in which the scalar field has a dynamic coupling to the matter fields and/or an arbitrary self-interaction in [40][41][42] as well as to the theory with multiple scalar fields [43]. In the vector-tensor theories of gravity, in addition to the metric tensor, the gravitational action is modified by adding a vector field that is non-minimally coupled to gravity. Studying these theories refer to the works by Will, Nordtvedt and Hellings [44][45][46], see also [47,48]. The tensor-vector-scalar theory is proposed by Bekenstein [49] where the standard Einstein tensor field of General Relativity (GR) is coupled to a vector field as well as a scalar field, hence the theory is called by this name. This theory is a relativistic version of Modified Newtonian Dynamics (MOND) [50] reproducing MOND in the weak field limit. The most important advantage to adopt tensor-vector-scalar theory refers to the explanation of many galactic and cosmological observations without the need for dark matter [51,52]. The quadratic gravity theories are based on the idea of adding appropriate quadratic terms in the Riemann and Ricci tensors or the Ricci scalar inspired by the string or quantum gravity theories [53]. Chern-Simons gravity is the special case of the quadratic theories including only the parity-violating term * RR = * R α β γδ R β αδγ in which * R α β γδ = 1 2 ǫ γδρσ R α βρσ [54]. Massive gravity theories are new attempts which attribute a mass to the putative graviton. The simplest work in this line and in a ghost-free manner suffers from the van Dam-Veltman-Zakharov (vDVZ) discontinuity problem [55,56]. Due to the three additional helicity states for the massive spin-2 graviton, the limit of small graviton mass does not coincide with the Einstein GR. As an instance, the predicted perihelion advance violates the previous observational experiments.
In order to resolve the vDVZ problem, a new model was introduced by Visser by considering a non-dynamical flat background metric [57]. Gauss-Bonnet theory is built on adding the quadratic combination of two Riemann tensor to the Einstein-Hilbert action in which it does not increase the differential order of the resulting equations of motion [58,59]. In most of these modified theories, the energy-momentum source is described by a divergence-free tensor which couples to the geometry in a minimal way [21,22]. However, it is worthwhile mentioning that this property of the energy-momentum tensor, which leads to the energy-momentum conservation law, is not obeyed by the particle production process [60][61][62][63][64]. Therefore, it is not unreasonable to consider a non-divergence-free energy-momentum tensor and look for a new gravitational theory. In this regards, P. Rastall firstly considered such kind of sources and introduced a modification to the Einstein field equations [23]. Also, there is another theory known as the curvaturematter theory of gravity [24][25][26], in which, similar to the Rastall theory, the matter and geometry are coupled to each other in a non-minimal way meaning that the ordinary energy-momentum conservation law is not valid. However, it is important to stress that all of the potential alternatives to the general theory of relativity must be viable. This means that they must be metric theories in order to be in agreement with the Einstein equivalence principle, which is today supported by a very strong empirical evidence, and that they must pass the solar system tests [35]. On the other hand, the recent starting of the gravitational wave (GW) astronomy with the event GW150914, that is the first historical detection of GWs [65] could be fundamental for discriminating about various modified theories of gravity because some differences among such theories can be emphasized in the linearized theory of gravity and, in principle, can be found by GW experiments, see [66,67] for details.
In this work, we proposed a generalized Rastall theory to show that a coupling between the geometry and matter fields helps us in providing an geometric interpretation for the dark energy and thus the current accelerating expansion phase of the universe. The main point in favor of the Rastall theory and its generalized version is that the usual conservation law on T µν is tested only in the flat Minkowski space-time or specifically in a gravitational weak field limit. Indeed, this theory reproduces a phenomenological way for distinguishing features of quantum effects in gravitational systems, i.e the violation of the classical conservation laws [24,60,68]. Also, one may find that the condition T µν ;µ = 0 is phenomenologically confirmed by the particle creation process in cosmology [61][62][63][64][69][70][71][72][73]. One also may refer to [74] in favor of the viability of the original Rastall theory and our proposed generalization. In this work, it is shown that the restrictions on the Rastall parameter are of the order of ≤ 1% with respect to the corresponding value of the general theory of relativity. In other words, the results in [74] are a confirmation that the Rastall theory and its generalization are viable theories, in the sense that the deviation of any extended theory of gravity from the standard general theory of relativity must be weak. Beside the current accelerating expansion phase of the universe, the radiation dominated era in this framework is also addressed. Moreover, we will show that the ability of the geometry to couple with the energy-momentum source may produce the primary inflationary era in our generalized version of the Rastall theory.
The paper is organized as follows. After reviewing the original Rastall theory in the next section, we address a generalization to this theory in the third section. Section (IV) includes some general remarks on the constructed new theory in FRW universe. In section (V), considering a flat FRW universe filled by a pressureless matter, we show that a non-minimal coupling between the geometry and the energy-momentum source may be considered as an origin for the dark energy and thus the current accelerated phase of the universe expansion. In section (VI), the radiation dominated era in our generalization of the Rastall theory is investigated. In section (VII), we study two methods to model the primary inflationary era of the universe in our formalism. Finally, section (VIII) is devoted to the summary and concluding remarks.

II. A BRIEF REVIEW ON THE RASTALL THEORY
Based on the Rastall theory, the ordinary energy-momentum conservation law is not always available in the curved spacetime and therefore we should have [23] where R and λ ′ are the Ricci scalar of the spacetime and the Rastall constant parameter, respectively. In fact, λ ′ is a measure of the tendency of the geometry (matter fields) to couple with the matter fields (geometry) leading to the changes into the matter fields (geometry). This equation leads to the following field equations which can finally be rewritten as where κ ′ is the Rastall gravitational coupling constant and S µν is the effective energy-momentum tensor defined as In fact, in this theory the matter fields and geometry are coupled to each other in a non-minimal way [23][24][25][26] and its compatibility with some observational data have firstly been shown by Al-Rawaf and Taha [75,76]. Moreover, since the particle production process during the cosmos evolution does not respect the energy-momentum conservation law [60][61][62][63][64], the Rastall theory may be considered as a classical background formulation for this phenomena [69]. Finally, we should mention that Eq. (2) implies that R(4κ ′ λ ′ − 1) = κ ′ T where T is the trace of energy-momentum tensor. Therefore, because λ ′ is constant and the R(4κ ′ λ ′ −1) = κ ′ T condition applies to all spacetimes and energy-momentum sources, the κ ′ λ ′ = 1 4 case is not allowed [23]. More studies on the various aspects of this theory can be found in [74,[77][78][79][80][81][82][83][84][85][86][87][88][89][90].

III. THE GENERALIZED RASTALL THEORY WITH VARYING RASTALL PARAMETER
Basically, Rastall assumed that for all of the spacetimes and energy-momentum sources, the ratio of the flow of the energy-momentum tensor (T νµ ;µ ) to the Ricci scalar divergence (R ;ν ) is constant (λ ′ ). It means that the evolutions of energy-momentum source and also the geometry do not affect this ratio. As an example, consider the matter dominated era in the universe history. The energy density of matter decreases during the universe expansion, but the mentioned ratio is a constant parameter in Rastall theory [75,76] meaning that the coupling between energymomentum source and geometry is constant, and is not affected by the evolution of the cosmic system. In fact, it is a very restricting condition to assume the evolution of system does not affect the mutual coupling. In addition, since the mutual coupling is a constant parameter in Rastall gravity, it did not continuously change during the universe evolution [69,75,76]. Indeed, since the cosmic evolution is a continues process [13], it is a reasonable expectation that the mutual coupling between the energy-momentum sources and the geometry should be varying gradually and smoothly. Therefore, at least theoretically, it is not prohibited to generalize the Rastall theory as leading to Now, regarding the Bianchi identity, i.e G ;ν µν = 0, we obtain where κ is a constant and finally, we reach at Although this result looks like to the field equations of the original Rastall theory (2), here, λ is not generally constant. Just the same as λ ′ in the Rastall theory, λ is a measure for the strongness of the coupling between the geometry to the matter fields. As it is apparent, the Einstein field equations are recovered in the appropriate limit of λ = 0, a limit in which the matter fields and geometry are coupled to each other in a minimal way.

IV. FRW METRIC AND GENERAL REMARKS ON THE MUTUAL NON-MINIMAL COUPLING BETWEEN THE GEOMETRY AND MATTER FIELDS
The line element of the FRW universe is written as where a(t) is the scale factor and k = −1, 0, 1 is the curvature parameter corresponding to the open, flat and closed universes, respectively. If the universe is filled by an energy-momentum source with T µ ν = diag(−ρ, p, p, p) in which ρ and p are the energy density and pressure of the cosmic fluid, respectively, then using Eq. (8), the Friedmann equations in a flat FRW universe are given as and Here, H =ȧ a denotes the Hubble parameter, and the dot sign indicates the derivative with respect to the cosmic time t. In this manner, from Eq. (5), one easily obtains meaning that the λR term is the energy density corresponding to the ability of geometry to couple with the energymomentum sources in a non-minimal way (λ = 0). It is worthwhile mentioning here that for an empty spacetime where ρ = p = 0, we should have d(λR) dt = 0. In addition, Eq. (12) can also be rewritten as where ρ g ≡ λR. It is obvious that, in the absence of the ability of the geometry to couple with the energy-momentum sources in a non-minimal way (λ = 0), the usual energy-momentum conservation law and the Einstein field equations can be recovered through the equations (8) and (12). In the following sections, we study the role of the non-minimal coupling between geometry and energy-momentum sources in the various expansion phases of the flat FRW universe.

V. MATTER DOMINATED ERA AND AN ACCELERATING UNIVERSE
Consider a flat FRW universe with the scale factor a filled by the pressureless dust matter fields. Using the equation (8), one obtains the Friedmann equations as and where ρ m denotes the energy density. It is clear that, at the λ → 0 limit, the equations (14) and (15) reduce to those of the matter dominated era in the standard cosmology [13]. In addition, Eq. (8) leads to R = − κ 4κλ−1 ρ m for a dust source requiring that we should have κλ = 1 4 for ρ m = 0 in agreement with the Rastall's original hypothesis [23]. For the deceleration parameter, defined as q = −1 −Ḣ H 2 [13], one can use Eq. (15) to obtain where z denotes the redshift. It is obvious that the deceleration parameter of the matter dominated era in the Einstein regime (q = 1 2 ) can be covered in the appropriate limit of λ = 0. For a flat FRW universe filled by a pressureless matter, the continuity equation can be written aṡ If the pressureless source does not interact with geometry, then this equation is decomposed into the following equationṡ meaning that the ordinary energy-momentum conservation law is valid. Therefore, λ = 0 is a simple solution to the d dt ( κλ 4κλ−1 ρ m ) = 0 equation leading to the ordinary Einstein field equations. Now, for a non-interacting universe, it is easy to check that equation (18) (or equally Eq. (17)) admits the following solution where ρ 0 and C are integration constants and thus α = Cρ 0 is a constant. It is obvious that we have λ = 1 4κ in the absence of dust source, i.e for ρ m = 0. Here, we only considered a simple situation in which there is no energy exchange between the geometry and matter source. In this case, the existence of matter source only affects the ability and tendency of geometry to couple with energy source, and it does not lead to an energy exchange between the geometry and matter source, and thus a palpable mutual interaction between them. By the palpable interaction, we mean an interaction leading to a visible and measurable energy exchange between the components of system. Therefore, it seems that the non-minimal coupling between geometry and the matter source has some indirect, complex and nonlocal aspects hidden until now, a result in line with some previous works claiming that the probable non-local features of mutual relation between geometry and the energy sources may be considered as an origin for the dark sectors of the cosmos [91][92][93]. It is also useful to note that, even in the simplest case of (18), the properties of geometry, including its curvature and λ, are determined by the energy sources filling it. This is in agreement with the general relativity backbone, where the curvature of the geometry (as its property) is specified by the energy sources filling that. In a more realistic case, they may exchange energy with each other, and therefore, one cannot always decompose Eq. (17) into Eq. (18). Now, inserting equations (32) into (14) and (15), respectively, and combining the results with each other, one reaches where H 0 = κρ0 3α is a constant. This equation indicates that for the limits of a 3 ≪ α, we have H(a) ≈ H 0 α a 3 leading to a(t) = a 0m t .
In order to describe the evolution of the universe from the matter dominated era to the current accelerating phase, the deceleration parameter q(z) should satisfy the three conditions as (i) q(z → ∞) → 1 2 , (ii) q(z ≈ 0.6) → 0 and (iii) q(z → 0) ≤ − 1 2 [13]. Using the equation (21), one can verify that the deceleration parameter of the matter dominated era of the standard cosmology (q = 1 2 ) is obtainable in the λ → 0 limit or equivalently in the α → ∞ limit. Moreover, at high redshift limit (z → ∞) and independent of the α parameter, we have q → 1 2 which again addresses the matter dominated era. Therefore, the change of the pressureless matter density in our model is the same as that of the standard cosmology, i.e ρ m = ρ 0 a −3 . Additionally, although the deceleration parameter in our model differs from that of the matter dominated era of the standard cosmology, this era is covered at the appropriate limit of z → ∞ in our model. Here, from equation (21), for −1 < α ≤ 1 2 , we have q(z = 0) ≤ − 1 2 which demonstrates the satisfaction of the third condition. In addition, since there is no divergence in the history of the evolution of the universe from the early matter dominated era to its current phase, q(z) should not diverge which requires that its denominator should not vanish for any non-negative amount of z. This requires to have 0 ≤ α ≤ 1 2 which consequently leads to the total restricting range on the deceleration parameter as −1 ≤ q(z = 0) ≤ − 1 2 . For example, consider the case of q(z = 0) = −0.55 [94] which through the equation (21) corresponds to α = 3 7 . Considering this value of the α parameter, one can find that the q = 0 case is associated to the redshift z ≃ 0.67 when the universe leaves its decelerating phase and enters to the accelerating phase. This result is in agreement with some observational evidences [95][96][97]. The deceleration parameter q(z) is plotted in Fig. (1) versus the redshift z for some values of the α parameter. It is seen from the figure that for the small redshifts, representing the late time in the history of the universe, the deceleration parameter goes to negative values representing an accelerated expanding phase in our constructed model. As a result, a non-minimal coupling between the geometry and pressureless matter, which mainly consists of dark matter, may lead to a description for the dark energy, and therefore the current accelerating phase of the universe expansion.
Based on the above results, this mutual relation between geometry and the matter source suggests that this source and its enclosing cosmic horizon may achieve the thermodynamic equilibrium, a result which is in agreement with the recent study by Mimoso et al, focusing on the properties and criterions of a thermodynamic equilibrium between the cosmic horizon and the cosmic fluids in various cosmic eras [98].

VI. RADIATION DOMINATED ERA AND THE CURVATURE-RADIATION NON-MINIMAL COUPLING
For the flat FRW universe filled by a radiation source, the Friedmann equations are as follow and where ρ r is the energy density. Because the energy-momentum associated to radiation fields is a traceless source, i.e T = 0, by contracting equation (8), one finds R(4κλ − 1) = κT which clearly for κλ = 1 4 results in a null Ricci scalar for a radiation source, i.e R = 0. Some simple calculations for the continuity equation and deceleration parameter also lead toρ where ρ 0r is the integration constant, and respectively. In order to obtain the last equation, we combined Eqs. (22) and (23) with each other to getḢ H 2 = −2, a result which leads to a = a 0 t 1 2 for the scale factor where a 0 is the integration constant, in agreement with the radiation dominated era of the standard cosmology [13]. Based on Eqs. (24) and (25), the density changes of the radiation source and the deceleration parameter of the radiation dominated era are the same as those of the standard cosmology meaning that the radiation dominated era in our model is the same as that of the standard cosmology. Indeed, since R = 0 in the radiation dominated era, independent of the value of λ parameter we have (λR) ;ν = 0 meaning that the above results are independent of λ parameter. Now, we use the ρ m → 0 limit of the λ(a) relation obtained in Eq. (19), in order to find the value of λ which leads to λ = 1 4κ . It means that since λ is a constant quantity, the geometry and radiation do not affect each other.
Indeed, since radiation is a traceless source, simple calculations lead tȯ for the continuity equation in a universe filled by both radiation and dust. In the absence of any interaction between radiation, dust and geometry, this equation is decomposed to Eqs. (17) and (24) meaning that the ρ r = ρ 0r a −4 , ρ m = ρ 0 a −3 and λ(ρ m ) = 1 4κ+κCρm solutions are also available in this case. Therefore, for ρ m = 0, we have λ = 1 4κ meaning that the λ = 1 4κ case is allowed in the radiation case. Inserting λ = 1 4κ into either Eqs. (22) or (23) and combining the result with (24), we again reach atḢ H 2 = −2 leading to a = a 0 t 1 2 and thus R = 0. Here, we should mention that since we have R = T = 0 in this era, the R(4κλ − 1) = κT condition is available independent of the value of λ parameter. Indeed, unlike the Rastall theory, where the λ ′ = 1 4κ case is not allowed [23], here, the λ = 1 4κ case can be allowed. Therefore, although the geometry generally has the ability to couple with the energy-momentum source in a non-minimal way (λ = constant = 0), since λ is constant, geometry and the radiation source do not affect each other. This means that the ordinary energy-momentum conservation law is respected by the radiation source as seen in (24). Finally, we should mention that due to the fact that the radiation source does not coupled to the geometry in a non-minimal way, there is no energy flux between the geometry and radiation fields. This may be considered as the reason for the failure to achieve the thermodynamic equilibrium between the cosmic horizon and the radiation fields [98].

VII. λ AND THE PRIMARY INFLATIONARY ERA
In this section, we address two methods to model the primary inflationary era in our formalism, and also study the role and behavior of λ in these methods.
A. λ as the generator of the primary inflationary phase Now, let us consider an empty flat FRW universe with its describing equations as and (12κλ − 3)H 2 + (6κλ − 2)Ḣ = 0.
It is easy to check that both the above equations are true only for λ = 1 4κ = constant andḢ = 0. It is worthwhile mentioning that, as a desired result, the λ = 1 4κ = constant solution is in full agreement with the ρ m → 0 limit of the results obtained in Eqs. (19) and (26). Besides, since the spacetime is empty (T µν = 0), we should have d(λR) dt = 0 meaning that λ = ρg R , where ρ g ≡ ψ is a constant. In addition, using the above equations, one can obtain that the λ = 1 4κ = constant andḢ = 0 conditions lead to an exponential growth in the scale factor, i.e a(t) = a 0 exp(H 0 t) where a 0 and H 0 are the integration constants, with the non-vanishing Ricci scalar R = 12H 2 0 , respectively. Now, combining the above results with each other, we reach at H 0 = κψ 3 . It is also obvious that, since λ and ρ g are constant, Eqs. (5) and (12) are met here, and therefore, ψ is nothing but the integration constant in the RHS of Eq. (13). Indeed, we should remind that, since Eq. (13) is the result of Eq. (5) and thus Eq. (12), the fulfillment of Eq. (5) (or equally (12)) is necessary and sufficient.
On the other hand, from Eq. (8), we know that R(4κλ − 1) = T which its right hand side vanishes due to the emptiness of the spacetime. Then, since the Ricci scalar does not vanish, i.e R = 0, we find out that we should have λ = 1 4κ . This is in agreement with the previous mentioned results obtained from solving Eqs. (27) and (28), and also applying the ρ m → 0 limit to Eq. (19). Once again, we see that unlike the original Rastall theory, the case of λ = 1 4κ may be allowed in this new formulation of the Rastall theory.
Therefore, the inflationary era may be supported in this model by a unique feature of the geometry which is the ability of the geometry to couple with the energy-momentum sources in a non-minimal way in agreement with this fact that λ = constant = 0. In fact, the empty flat FRW spacetime is forced to expand exponentially by this ability. We should note that the absence of the energy-momentum source does not mean that the geometry has not the ability of coupling to the energy-momentum sources. Indeed, in this case, the absence of an energy-momentum source only means that the geometry does not couple to anything. It is also worthwhile to mention that since T = 0 and λ is constant in both the radiation dominated and the primary inflationary phases, the obtained results about these eras may be generalizable to the original Rastall theory.

Energy extraction during the inflationary era
We saw that the ability and tendency of geometry to couple with the energy sources, in the non-minimal way, does not disappear, i.e λ = 0, in the absence of an energy-momentum source. In fact, this is a property of geometry which enforces the empty FRW spacetime to expand exponentially. Moreover, from Eq. (12), we found that the λR = ρ g (≡ ψ) term behaves as an energy density. Here, ψ is the energy density associated with the non-minimal coupling λ, and therefore, we get E = ψdV = 4π 3 ψa(t) 3 V 0 for the total energy of co-moving volume V 0 corresponding to this coupling at any given time t. Finally, for the amount of the energy of the co-moving volume V 0 specified from spacetime at time t + δt, due its intrinsic property to couple with the energy-momentum sources in the non-minimal way, we have meaning that the released energy grows exponentially. Therefore, in our formalism, the ability and tendency of geometry to couple with the energy-momentum sources enforces universe to expand, and in fact, it is the backbone of the universe expansion and the energy production in the primary inflationary phase. Thus, this ability may also help us to provide a unified mechanism explaining the primary inflationary era as well as the current accelerating phase of the universe expansion.

B. Standard inflation and λ
In the previous subsection, we found out that, even in the absence of an inflaton field, the tendency of geometry to couple with the energy-momentum sources may lead to an inflationary phase for the universe expansion, and consequently, the slow-rolling parameters do not appear in that scenario. It is useful to mention that there are also some inflationary models in which the slow-roll condition does not appear [99][100][101]. Here, we will show that the standard inflation scenario by implementing an inflaton field can also be valid in our formalism.
In order to achieve this goal, we consider a spatially homogeneous scalar field evolving in potential V(φ). Therefore, simple calculation yields ρ φ = 1 2φ 2 + V(φ) and p φ = 1 2φ 2 − V(φ) for the energy density and pressure of the inflaton field [13]. Now, the Friedmann equations in a flat FRW universe filled by the mentioned field are written as which finally lead toḢ for the Raychaudhuri equation. In addition, the same as the matter dominated era, considering a simple situation in which there is no energy exchange between the energy-momentum source and geometry, we reach atρ φ +3H(ρ φ +p φ ) = − d(λR) dt = 0 leading toφ for the continuity equation in which γ −1 is constant. Now, ifφ is negligible andφ 2 ≪ V(φ), then p φ ≃ −ρ φ and from Eqs. (31) and (32), we find thatḢ ≃ 0 and λ(φ) ≃ V . Therefore, during the inflation process, when the slow-roll approximation is valid, we have η ≪ 1 in agreement with the standard inflation hypothesis [13]. In this manner, inserting Eq. (32) into Eq. (30), one can easily reach at H 2 ≃ κ 3 [4V − γ] recovering the standard inflation results at the appropriate limit of λ → 0 (or equally γ → 0). Moreover, since q = −1 −Ḣ H 2 ≃ −1 at the time of inflation, we should have ǫ ≡ −Ḣ H 2 ≪ 1 [13]. Now, using Eqs. (31) and (32), one obtains ǫ ≃ 8 where the prime sign stands for the derivative with respect to φ. It is interesting to note that if we defineṼ (φ) ≡ 4V − γ, then we have V ) 2 similar to those of the standard inflation scenario [13]. Therefore, if the slow-roll approximation is valid, then a spatially homogeneous scalar field evolving in potential V(φ) can support the primary inflationary era in our formalism whenever the inflaton field (or equally V(φ)) satisfies the H 2 ≃ constant > 0, ǫ < 1 and η ≪ 1 conditions. It is finally worth to mention that approaching the end of inflation, where V(φ) → 0, we have λ → 1 4κ revealing the consistency with our results in previous sections about the radiation dominated era.

VIII. SUMMARY AND CONCLUDING REMARKS
After referring to the Rastall theory, we addressed a generalization of this theory and studied some of its cosmological consequences. Based on our results, a non-minimal coupling between the geometry and a pressureless matter field may lead to a transition from the matter dominated era to the current accelerating phase, in agreement with some previous observations [95][96][97]. We only focused on the T µν ;µ = 0 = − d(λR) dt solutions. In this case, a dust source, which satisfies the ordinary energy-momentum conservation law, is allowed, and as we have seen, the evolution of its energy density is the same as that of the standard cosmology. It should also be noted that although the same as the general relativity T µν ;µ = 0 in our model, since λ = 0, Friedmann equations in our model differ from those of the standard cosmology. In addition, we found out that, in our formalism, the evolution of the energy density in the radiation dominated era is the same as that of the standard cosmology. Indeed, we found that, during the radiation dominated era, λ remains a non-zero constant quantity meaning that the evolution of the radiation source as well as the geometry do not affect the value of λ.
Finally, we considered an empty flat FRW universe and realized that, even in the absence of an inflaton field, a primary inflationary era can be driven in this generalized version of Rastall theory when λ = 1 4κ . Therefore, our study shows that the ability and tendency of geometry to couple with the energy-momentum sources (λ = 0) may be the backbone of the primary inflationary era and the current accelerating phases of the universe expansion in a unified picture. Also, a scenario for a universe filled by an inflaton field in the context of the Rastall theory has been introduced. In this context, as the matter dominated era, we have only focused on simple case of T µν ;µ = 0 = − d(λR) dt meaning that there is no energy exchange between geometry and the cosmic fluid. Once again, we should remind that since λ = 0, the Friedmann equations in our model differ from those of the general relativity. It is obtained that if the inflaton field meets the usual slow-roll conditions, then it can support an inflationary phase.