Regular black holes in $f(G)$ gravity

In this work, we study the possibility of generalizing solutions of regular black holes with an electric charge, constructed in general relativity, for the $f(G)$ theory, where $G$ is the Gauss-Bonnet invariant. This type of solution arises due to the coupling between gravitational theory and nonlinear electrodynamics. We construct the formalism in terms of a mass function and it results in different gravitational and electromagnetic theories for which mass function. The electric field of these solutions are always regular and the strong energy condition is violated in some region inside the event horizon. For some solutions, we get an analytical form for the $f(G)$ function. Imposing the limit of some constant going to zero in the $f(G)$ function we recovered the linear case, making the general relativity a particular case.


I. INTRODUCTION
Since it was proposed, general relativity has been tested and proved to be quite effective to describe phenomena in the solar system and beyond [1][2][3]. Some of the most famous results of general relativity are: the correction of precession of perihelion of mercury [3,4], the bending of light due to the gravitational field [5] and the existence of gravitational waves [6][7][8][9]. Another important prediction is the existence of black holes; astrophysical objects whose gravitational interaction is so strong that even light can not escape from [2,10].
Even though it is effective in describing certain phenomena, general relativity presents problems to describe some situations, such as the accelerating expansion of the universe and the galaxy rotation curves [11]. To solve these problems, we must consider modifications in the field equations. This can be done in two ways. The first is considering changes in the matter/energy sector, through the presence of dark matter and dark energy [12,13]. The other alternative would be to modify the geometric sector of the equations, which results in the known alternative theories of gravity [14].
One way to obtain the field equations of general relativity is through the variational principle using the Einstein-Hilbert action [15]. In the case of alternative theories of gravity, we can make modifications in this action in such a way that we obtain new equations of motion [14]. In 1980, Starobinsky proposed a model that describes an inflation scenario, where he inserts a term of R 2 in the Einstein-Hilbert action [16]. This kind of modification generates what we call the f (R) theory, where the curvature scalar, in the Einstein-Hilbert action, is replaced by an arbitrary function of this scalar. It is also possible to use f (R) models as substitutes for dark matter and dark energy [17]. It is possible to modify the action by inserting functions of the stress-energy tensor, T µν , as f (R, T ) [18][19][20] and f (R, T, R µν T µν ) [21], where T is the trace of T µν and R µν is the Ricci tensor.
The curvature scalar is not the only curvature invariant that can be used to construct the Lagrangian density. There are other invariants like R µν R µν and R µναβ R µναβ and even combinations of them as G = R 2 −4R µν R µν +R µναβ R µναβ , Gauss-Bonnet invariant, that could be used. Something interesting about the scalar G is that it is a topological invariant in 3 + 1 dimensions or lower. So that, if we include the Gauss-Bonnet term in the Einstein-Hilbert action we will not have modifications in the equations of motion. Even if the linear term does not make changes in the equations of motion, it is possible to modify the field equations including nonlinear terms in G, which are the f (G) theories [21][22][23][24][25][26][27][28][29]. This theory has been used to study the late-time accelerating expansion of the universe [23].
Another possibility of an alternative theory of gravity is the Teleparallel Theory (TT), where we consider zero curvature and nonzero torsion of the spacetime [30][31][32]. In this theory, instead of the curvature scalar, we have the presence of the torsion scalar in Lagrangian density and the field equations obtained from the variational principle are equivalent to the Einstein equations. As it has been done in the case of the f (R) theory, it is also possible to generalize the TT theory by replacing the scalar torsion in the Lagrangian density for a general function of T and with that we obtain the known f (T ) theory [33][34][35][36][37][38], where we can explain the present cosmic accelerating expansion with no dark energy [34,36,37], it's also possible to include the trace of the stress-energy tensor to build a f (T , T ) function [39][40][41][42][43][44]. In the context of TT there is also an analogue of the Gauss-Bonnet term, T G , that can be used to construct the f (T , T G ) theory [45][46][47].
In addition to the need for dark matter and dark energy, a problem that arises in general relativity, in the study of black holes, is the presence of singularities [48][49][50][51], that are points or set of points where the geodesic is interrupted and the physical quantities diverge [52]. It is believed that the problem of singularity arises because the theory is classical and that in a quantum theory of gravity this problem would be solved [48].
As we do not yet possess this complete theory of quantum gravity, an alternative to avoiding the presence of singularities is the study of regular black holes, which has this name because there are no singularities within it [53]. The first regular solution was proposed by James Bardeen, in 1968 [54]. The Bardeen metric has a de Sitter core with an equation of state ρ = −p, where ρ is the energy density and p is the pressure. This solution also satisfies the weak energy condition and violates de strong energy condition [55,56]. Since this solution does not satisfy Einstein equations in vacuum, Ayón-Beato and Garcia have shown that the Bardeen solution can be obtained through Einstein equations with a nonlinear magnetic source [55]. It is also possible to show that this metric is a solution for the case with a nonlinear electrical source, but in this case, it is not possible to obtain a closed form for the electromagnetic Lagrangian [56].
This work is organized as follows. In the SEC. II we use the equations of motion to construct the expressions to the gravity theory and to the electromagnetic, considering a spherically symmetric and static source, and we formulated a theorem for the energy conditions in f (G) gravity. In SEC. III we first impose the quasi-global coordinate and, through an Ansatz, we rewrite the expressions in terms of a mass function. After that, we show that it is possible to generalize black hole solutions from general relativity to the f (G) theory. In SEC. IV we construct the regular models, where we generalized the solutions already known from general relativity to f (G) gravity. As some expressions are too much large or there is no way to find an analytical form, we analyze the results graphically. Our conclusions and perspectives are present in SEC. V. We dedicate the Appendix A to show the analytical forms of some functions as f (G) and L(P ).

II. NONLINEAR ELECTRODYNAMICS COUPLED WITH f (G) GRAVITY: EQUATIONS OF MOTION
The action that describes f (G) gravity coupled with a nonlinear electrodynamics is given by [22] where L(F ) is the Lagrangian density of the nonlinear electrodynamics, f (G) represents a general function of the Gauss-Bonnet invariant, G = R 2 − 4R µν R µν + R µναβ R µναβ , with R being the curvature scalar, R µν is the Ricci tensor and R µναβ is the Riemann tensor and g is the determinant of the metric g µν . To obtain the field equations, we may vary the action (1) over g µν that's results in where the subscript G denotes the derivation with respect to the Gauss-Bonnet invariant, κ 2 = 8π and T µν is the stress-energy tensor defined as [1] T µν = − 4 For nonlinear electrodynamics, L(F ) is a general function of the scalar F = F µν F µν /4, where F µν = ∂ µ A ν − ∂ ν A µ is the Maxwell-Faraday tensor and A µ the gauge potential. The stress-energy tensor for this theory is given by [74] T µν = 1 4π with L F ≡ ∂L(F )/∂F . If we vary the action (1) with respect to A µ , we obtain the modified Maxwell equations, We can always recover the Maxwell theory for L(F ) = F and L F = 1. At least, the trace of (2) is given by To construct regular solutions, we consider spherically symmetric and static spacetime, which is described by the line element where a = a(r) and b = b(r) are arbitrary functions of the radial coordinate. In this work we are considering only electrically charged source, so that, we can integrate the modified Maxwell equations (5) for the line element (7) and we find that the only nonzero component of the Maxwell-Faraday tensor is given by with q being an integration constant and may be interpreted as the electric charge of the source. By the equation (8), the electric field will be determined since we have L F , which is found solving the field equations. If we write (2) in the mixed form, the nonzero components are +4r 2 e 2b f = 2L. (11) The derivative with respect to the radial coordinate is represented by the prime ( ′ ). The field equations (2) are equivalent to the equations presented in the original work of f (G) gravity (eq. (8) in [22]) since we have the same set of equations (9)- (11). As we are working with f (G) theory, it's also important to calculate the curvature invariants, that are given by The Gauss-Bonnet invariant is Since we have the equations of motion, we need to solve them to find regular black holes solutions. In general relativity, from the condition G 0 0 − G 1 1 = 0 in the Einstein tensor, we have that a + b = 0. In alternatives theories of gravity, it's not necessarily the truth, for example, in the f (R) theory it's is just one of the possibilities [73][74][75]. If we subtract (9) from (10) we get that is a second-order differential equations in f G . The solution of this equation is given by We may solve (15) since we know the relation between the functions a and b. In the next section, we will show a way to generalize solutions constructed in general relativity to f (G) theory.
Since we are interested in studying regular black holes, it is very important to analyze the energy conditions associated with these solutions. In order to analyze the energy conditions, we rewrite (8) as the Einstein equations with an effective stress-energy tensor.
where T ef f µν has the components where ρ ef f (r), p ef f r (r) and p ef f t (r) are the effective energy density, radial and tangential pressure, respectively. The energy conditions are given by [29] From (7), (17) and (18) we get In the way that the equations of motion are written, the effective energy density and the effective pressures are equal to the components of Einstein tensor. In this sense, if we consider the same metric, the energy conditions in general relativity and f (G) gravity will be the same. In [75] there is a theorem that says that the energy conditions in f (R) are equal to Einstein theory. We can generalize this theorem to f (G) gravity.
Theorem: Given a solution of (9)-(11), described by the functions S 1 = a(r), b(r), f (G), L(F ), F 10 (r) , if we have a solution in general relativity described by S 2 = a(r), b(r),L(F ),F 10 (r) , then the energy conditions are identical for S 1 and S 2 since T ef f µν in (17) is equal to T µν in general relativity.

III. NEW BLACK HOLE SOLUTIONS
Imposing the symmetry that we have from the general relativity, b = −a, (15) becomes In general, e a = 0 and e a = 1. In this sense, the solution of (26) is given by with c 0 and c 1 being integration constants. This type of behavior is already known in f (R), where we have the No-Go theorem. To construct the function f (G), we need calculate G(r) from (14) and invert the function to get r = r(G) to replace in (27). Integrating (27) in G we get that A way to construct regular black holes solutions is introducing a mass function, M (r), through the component g 00 by where M (r) satisfies the conditions lim Through (27) and (14), is possible write f (G) in terms of the radial coordinate by We may use mass functions that are already known from general relativity and verify if the solutions are black holes or regular black holes. From the equations of motion (9)-(11), the quantities related to the electromagnetic theory are given by Is also necessary to verify the consistency between the functions L and L F . This is made by with F = −e a+b F 10 2 /2. To electric sources, it's very difficult to construct an analytical form to L(F ), so that is more convenient use another function, that comes from the Legendre transformation [57,58] If we define a new tensor P µν ≡ L F F µν , is possible show that H is a function of the scalar P = P µν P µν /4 = (L F ) 2 F . Using (8), the scalar P is given by and, in terms of the mass function, H is From (37) is possible invert the function to r(P ) and then we substitute in (38) to find H(P ). Using the auxiliary field P µν , we can write L(P ) as with H P = ∂H/∂P . As the expressions for f (G), L are written in terms of the mass function, each different mass function will generate a different nonlinear electrodynamics and f (G) theory. In [85] the authors proposed a different way to work with the nonlinear electrodynamics in terms of an auxiliary field X = q √ −2F and with that, they could find a closed form to L(X). The methods applied in [85] and here are equivalent since we must obtain the same energy conditions.

A. Schwarzschild case
For the Schwarzschild case, the mass function is the ADM mass, M (r) = m, and (29) is The curvature scalar and the Ricci tensor are zero for Schwarzschild. So that, the Gauss-Bonnet invariant is equal to the Kretschmann scalar.
Since we have G(r), we are able to find the r(G) and construct the function f (G). Then, substituting r(G) in (28) we get Some important to emphasize is that, in the Einstein's theory, the Schwarzschild is a vacuum solution, however, in the f (G) theory we have a nonzero stress-energy tensor. If we analyze the components of T µν we find some kind of anisotropic matter/field, that is very similar to the nonlinear electrodynamics. If we considered the stress-energy tensor for the nonlinear electrodynamics, despite the fact that we don't have charge in the geometry, we will find expressions to the electric field and the nonlinear Lagrangian, In the limit of general relativity, c 1 → 0, these expressions are zero and then the Schwarzschild solution becomes again a vacuum solution.

B. Reissner-Nordström-anti-de Sitter case
To work with de Sitter/anti-de Sitter type solutions, we insert a term with the cosmological constant, Λg µν , in the left side of (2). As we are interested in solutions with charge, we will consider the Reissner-Nordström-anti-de Sitter (RNAdS) solution, that is described by the mass function where Λ is the cosmological constant. The component g 00 is The curvature and Gauss-Bonnet invariants are We can see that this solution presents a singularity at the center of the black hole. From (49) is not possible to construct an analytical form to r(G) and then we cannot find a closed form to f (G). An alternative procedure is calculated f (G) in terms of the radial coordinate, that is and with that we can make a parametric plot showing the behavior f G (G) × G and f (G) × G. In Fig. 1 we show the difference for the linear and nonlinear case of the theory in G. From (32)-(34), the electromagnetic quantities are L(r) = 1 210r 7 35 8c 0 Λ 2 r 7 − 3q 2 r 3 − 8c 1 35Λr 6 + 600q 4 + 42mr 2 (18m − 5r) + 105q 2 r(3r − 14m) , (51) L F (r) = 6q 2 r 3 6q 2 r 3 + 8c 1 3q 2 r(5r − 21m) − r 2 (r − 3m) 12m + Λr 3 + 24q 4 −1 , F 10 (r) = 1 6qr 5 6q 2 r 3 + 8c 1 3q 2 r(5r − 21m) − r 2 (r − 3m) 12m + Λr 3 + 24q 4 .
So that, the coupled between the electromagnetic and gravity theory makes corrections in these functions. If we consider c 1 = 0 and Λ = 0 we recovered the Reissner-Nordström solution in general relativity where the electromagnetic theory is linear with Something interesting to comments is that, if we expand the electric field for points far from the black hole we get which clearly diverges due to the presence of the cosmological constant. If we have Λ = 0 the electric field is well behaved. In f (R) theory, due to the coupled between the gravity and the electromagnetic theory, the electric field diverges at the infinity of the radial coordinate [74,75], that not necessary happen in the f (G) theory. As is not possible write an analytical form to L(F ), we will show numerically the behavior L(F )×F and L(P )×P (the analytical form of L(P ) is written in the appendix A). In Fig. 2 we show the nonlinear behavior of the electromagnetic theory. The first regular solution proposed by Bardeen [54] may be generated by the mass function Some generalizations that have Bardeen as a particular case have already been proposed [64,67]. Let's consider the mass function where the constant α is a parameter whose unit depends on the constants n 1 , n 2 and n 3 . The Bardeen solution is recover for n 1 = 3, n 2 = 2 and n 3 = 3/2. To analyze the regular solutions, we will consider the case n 1 = 3, n 2 = 2, n 3 = 3/2 and α = 1. Than find the following functions K(r) = 12m 2 (q 6 + r 6 ) 5 8q 24 − 20q 18 r 6 + 183q 12 r 12 − 28q 6 r 18 + 4r 24 , G(r) = 48m 2 2q 12 − 9q 6 r 6 + r 12 f (G) = 48c 0 m 2 2q 12 − 9q 6 r 6 + r 12 The analytical forms of f G (G) and f (G) in terms of the Gauss-Bonnet invariant are given by (A3) and (A4). With that, we can see that the solution is regular in all points of the spacetime and asymptotically flat. We have the limits lim r→∞ e a(r) , K(r) = {1, 0} and lim r→0 e a(r) , K(r) = 1, 96m 2 /q 6 . It clearly shows that the solution is regular.
Since we have (37), (62) and (63), we are able to find the behavior of L(F ) and L(P ). However, is not possible construct L(F ) in an analytical form. So that, we show the nonlinearity of the electromagnetic in Fig. 4, which clearly is not Maxwell (the analytical form of L(P ) is written in (A2)). From 5 we can see some new aspects in relation to general relativity. In the Einstein theory, the electric field and the scalar F of a regular black hole go to zero in the origin and at the infinity of the radial coordinate and the F 10 has a maximum at the same point where F has a minimum. Here, due to the coupled with the f (G) gravity, the function F 10 presents more than one extremum, where which extremum corresponds to a minimum in F . Expand F 10 at the infinity we get Therefore, the electric field goes to zero at the infinity as in general relativity and different of the f (R) gravity [74,75]. Now we will check if the solution satisfies the energy conditions. To do that, we need first calculate the effective p ef f t (r) = 3mq 6 7r 6 − 2q 6 κ 2 (q 6 + r 6 ) 5/2 .
W EC 2 (r) = 27mq 6 r 6 The strong energy condition is violated for r < 6 2/7 |q|. As SEC is related with the fact that the gravitational interaction is attractive, inside the regular black hole, we have a surface of zero-gravity, r = 6 2/7 |q|, where inside this surface the gravitational interaction is repulsive. Outside the black hole DEC 3 is violated for r > 6 4/5 |q|. This type of behavior is already known from the Bardeen solution [56].

B. Hayward-type solution
An important regular black hole solution was proposed by Sean Hayward in [69]. If we consider the mass function (57) for n 1 = 3, n 2 = 3, n 3 = 1 and α = 1 we get a mass function that generates a Hayward-type solution. As we did with the first solution, we get f (G) = 48c 0 m 2 2q 6 − 6q 3 r 3 + r 6 (q 3 + r 3 ) 4 − 16c 1 m 2 3q 5 3q 2 r r 9 + 24q 6 r 3 − 2q 9 In the Fig. 7, by the behavior of K(r) and G(r), we can see the regularity of the spacetime. For points close to the origin these functions tend to a constant and tend to zero in the infinity of the radial coordinate. From (75) together with (27) and (76), we can prove that the gravity theory is not general relativity. In Fig. 8 we compare the f (G) function for the linear case (mc 1 = 0) with the case that generates the Hayward solution in f (G) gravity (with mc 1 = 2). From f G (G), it's clearly the nonlinearity of the theory since from the linearity case f G (G) must be a constant. The analytical expressions are represented by (A8) and (A10). From (32) and (34) we have (q 3 + r 3 ) 4 6q 6 r 5 (4m − r) − 2q 9 r 2 (m + 3r) + mr 11 + q 12 + q 3 r 9 − 9q 8 r q 6 − q 3 r 3 − 2r 6 , F 10 = mr q (q 3 + r 3 ) 4 8c 1 3q 3 r 5 (2r − 7m) + 2r 8 (3m − r) + q 9 + 9q 6 r 3 + 9q 3 r 4 q 3 + r 3 . With F 10 is simple obtain F and then we show the behavior of these functions in Fig. 9. We can see that the electric field and the electromagnetic scalar are always regular and have zero value in the origin and in the infinity of the radial coordinate. Since we have F and P we may construct L(F ) and L(P ), whose the nonlinear behaviors are shown in Fig. 10. Finally, the analytical form of L(P ) is given by the equation (A11). At least, in order to analyze the energy conditions, we calculate the effective fluid quantities It's clear that we have the behavior of an anisotropic fluid with ρ = −p r . In Fig. 11 we can see how the fluid quantities, given by the equations (79)- (81), behave in terms of the radial coordinate. The effective energy density is always positive and it's interesting to notice that all these quantities tend zero in the infinity and zero in the origin of the radial coordinate. It is also important to note that near the center of the black hole we have an isotropic behavior, p r ≈ p t . The energy conditions are The energy conditions do not depend on the parameters of f (G) gravity, being equal to the energy condition on general relativity in agreement with the theorem present in Sec. II.

C. Culetu solution
In [70,71] Culetu proposed a regular solution that is described by the mass function This solution behaves asymptotically as Reissner-Nordström for regions far from the black hole and as de Sitter close to the center of the black hole. The Culetu solution has already been generalized for f (R) gravity in [74]. From the curvature scalar, is possible construct an analytical expression for r and then construct the f (R) function to the Culetu solution. We will see that it is not so simple in f (G) gravity. The Kretschmann scalar and the Gauss-Bonnet invariant are given by The regularity of these functions is shown in the Fig. 12. We can see that the Kretschmann scalar zero far from the black hole and at the center and has a maximum. The Gauss-Bonnet has a minimum and a maximum value and goes to zero in the limits r → 0 and r → ∞. Different of the curvature scalar, it's not possible to invert G(r) to obtain an analytical form of r(G). So that, to show the nonlinear behave of the gravitational theory, we use (89) with (27) and f (G) in terms of the radial coordinate, that is given by f (G) = e − q 2 mr q 10 r 8 , 8c 0 q 10 6m 2 r 2 − 6mq 2 r + q 4 − 8c 1 r 144m 7 r 7 + 144m 6 q 2 r 6 + 72m 5 q 4 r 5 + 24m 4 q 6 r 4 +6m 3 q 8 r 3 − 6m 2 q 10 r 2 + 7mq 12 r − q 14 , to build a parametric plot, Fig. 13, showing that the gravity theory is not the general relativity.
If we expand the electric field for larges values of the radial coordinate we find which clearly is regular for r → ∞. It's interesting since in the f (R) gravity, due to the coupled with the gravitational theory, the electric field diverges for r → ∞ (see equation A5 in [74]). From (92), we show the nonlinear behavior of the electromagnetic theory in Fig. 14 where we analyze L in terms of the scalars F and P . The analytical expression for L(P ) is given by (A12). At least, in order to find the energy conditions, we calculate the fluid quantities, that are With that, the energy conditions become So, as in general relativity and in f (R) gravity, SEC and N EC 2 are violated inside the event horizon while the other conditions are always satisfied.

V. CONCLUSION
In this work, we have developed a method that generalizes solutions of regular black holes, already known from general relativity, to the f (G) theory. The method consists of writing the gravitational and electromagnetic quantities in terms of a mass function, in such a way that each solution generates a different electromagnetic and gravitational theory. Through the equations of motion and considering the symmetry a = −b, we show that the f G (G) function has a linear dependence on the radial coordinate, which clearly diverge in the limit r → ∞. The divergence in f G (G) does not imply that there will also be divergences in f (G). For the models of regular black hole present here f (G) is always regular.
As examples of black holes, we construct the generalization of the Schwarzschild and RNAdS solutions and we showed that in the f (G) gravity the Schwarzschild solution could not be interpreted as a vacuum solution. In the Schwarzschild case, we obtained an analytical form for f (G) and a numerical form to RNAdS. The linear term with the Gauss invariant usually does not modify the equations of motion, however, for RNAdS this term is coupled with the cosmological constant such that to recover the results of general relativity it is necessary to make both c 1 = 0 and c 0 = 0, which is when we recover the linearity of the electromagnetic theory.
For the regular models, we choose a mass function that has the Bardeen and the Hayward solution as specific cases. We also chose the mass function that generates the Culetu solution, so that we can compare this result with those already known from general relativity and the f (R) theory. For the case of coupling with general relativity, the electric field associated with the source is always regular, tends to zero at the origin and at infinity and has a maximum point. For the f (R) gravity, the electric field diverge in infinity and therefore it is necessary to analyze the electric induction tensor. This type of divergence does not appear in the case of coupling with the f (G) theory, but now the electric field has maximum and minimum points.
Since it is not possible to find an analytical form to L(F ), we obtain the nonlinear behavior of these functions numerically. As we are working with electrical sources, it becomes useful to use the auxiliary field P and with it, we can find a closed form for L(P ).
The energy conditions are the same as those obtained in general relativity and in the f (R). For all solutions, the strong energy condition is violated inside the black hole, which implies that within the event horizon we have regions in which the gravitational interaction is repulsive. For the Culetu solution, we have that the null energy condition is violated outside the event horizon and for the other solutions the dominant energy condition is violated outside the black hole.
As continuations of this work, we can try to verify the stability and the possibility of application of the f (G) models developed here to compare with cosmological data [86]. To do that, since in the Newtonian limit we do not have corrections from the perturbations in f (G) gravity in relation to the general relativity (compare (22) for f (R, G) = R with (51) in [87]), it's necessary to use the Post Newtonian and Parameterized Post Newtonian limit to get new corrections. With that, it's possible to find a regime of validity for c 1 , as was done in [88] using the deflection of light, Cassini experiment, perihelion shift retardation of light, gravitational redshift and the equivalence principle.
In terms of the auxiliary field P , the electromagnetic Lagrangian that generates the Hayward-type solution in f (G) gravity, (77), is L(P ) = 8c 1 m