1 Introduction

It is an important question in general relativity (GR) whether the predictability is lost due to an inner (Cauchy) horizon or not. Recently, Cai et al. established [1,2,3,4] a “no inner (Cauchy) horizon theorem” for both planar and spherical static black holes with charged (complex) scalar hairs in Einstein–Maxwell–scalar (EMS) theories that suggests unstable Cauchy horizons in the presence of charged scalar hairs. A remarkable thing in the proof is its simplicity and quite generic results which do not depend on the details of the scalar potentials and so it’s applicability would be quite far-reaching.

As the first step towards the classification of all possible extensions of the theorem, we extended the theorem to black holes in Einstein–Maxwell–Horndeski (EMH) theories, with the non-minimal coupling of a charged scalar field to Einstein tensor as well as the usual minimal gauge coupling [5]. Actually, since the Horndeski term is a four-derivative term via the Einstein coupling, it generalizes the recent set-up in [1,2,3,4] into higher-derivative theories. There have been also several other generalizations of the theorem [6,7,8].

In this paper, we will consider an extension of the theorem in another important higher-derivative gravity, Einstein–Maxwell–Gauss–Bonnet-scalar (EMGBS) theories with the coupling of a charged scalar hair and the Gauss–Bonnet (GB) term [9], whose equations of motion remain second order as in the Horndeski case. The organization of this paper is as follows. In Sect. 2, we consider the set-up for EMGBS theories in arbitrary dimensions and obtain the equations of motion for a static and spherically symmetric ansatz. In Sect. 3, we consider the radially conserved scaling charge and “no scalar-haired Cauchy horizon theorem” for charged GB black holes. In Sect. 4, we consider the near horizon relations for the fields and the condition of scalar field at the horizons. In Sect. 5, we consider numerical black hole solutions with a Cauchy horizon in asymptotically anti-de Sitter (AdS) space and find good agreements with the theorem. In Sect. 6, we conclude with several remarks. In Appendix D, in addition, we prove a no-go theorem for charged de Sitter black holes (with or without GB terms) with charged scalar hairs in arbitrary dimensions.

2 The action and equations of motion

As the set-up, we start by considering the D-dimensional Einstein–Maxwell–Gauss–Bonnet–scalar (EMGBS) action, up to boundary terms, with a U(1) gauge field \(A_{\mu }\) and a charged (complex) scalar field \(\varphi \),

$$\begin{aligned} I= & {} \int d^D x \sqrt{-g} \left[ \frac{1}{\kappa } R +\mathcal{L}_m \right] , \end{aligned}$$
(1)
$$\begin{aligned} \mathcal{L}_m= & {} -\frac{Z(|\varphi |^2)}{4 \kappa } F_{\mu \nu } F^{\mu \nu }-{\alpha }(D_{\mu } \varphi )^* (D^{\mu } \varphi )-V(|\varphi |^2) \nonumber \\{} & {} +{\beta }(|\varphi |^2) \left( R_{\mu \nu {\alpha }{\beta }} R^{\mu \nu {\alpha }{\beta }} -{4 R_{ {\alpha }{\beta }} R^{{\alpha }{\beta }}}+R^2\right) , \end{aligned}$$
(2)

where \(F_{\mu \nu } \equiv \nabla _{\mu } A_{\nu }-\nabla _{\nu } A_{\mu }\), \( D_{\mu } \equiv \nabla _{\mu }-i q A_{\mu }\) with the scalar field’s charge q, and \(\kappa \equiv 16 \pi G\). Here, we have introduced Z, V, and \({\beta }\) as arbitrary functions of \(|\varphi |^2\), as well as the usual minimal coupling \({\alpha }\). Note that the last term is the (quadratic) Gauss–Bonnet (GB) term [9], which is a topological, i.e., total-derivative, term in \(D=4\) for a constant coupling \({\beta }\) so that it does not affect equations of motion and the local structure of spacetime.

Let us now consider the general maximally symmetric and static ansatz,

$$\begin{aligned} ds^2= & {} -h(r)dt^2+\frac{1}{f(r)}dr^2+r^2 d \Omega _{D-2,k}, \nonumber \\ \varphi= & {} \varphi (r),~A=A_t(r)dt, \end{aligned}$$
(3)

where \(d \Omega _{D-2,k}\) is the metric of \((D-2)\)-dimensional unit sphere with the spatial curvatures which are normalized as \(k=1,0,-1\) for the spherical, planar, hyperbolic topologies, respectively. The equations of motion [Here, we consider \(D=4\) case for simplicity but we will discuss about higher-dimensional cases later, which are straightforward (for the details, see Appendix A)] are given by,

$$\begin{aligned} E_{A_t}\equiv & {} \frac{1}{{\kappa }} \left( Z(|\varphi |^2) \sqrt{\frac{f}{h}}~ r^{2} A_t' \right) ' -\frac{2 q^2 {\alpha }r^2 |\varphi |^2 A_t }{f} \sqrt{\frac{f}{h}} =0,\nonumber \\ \end{aligned}$$
(4)
$$\begin{aligned} E_{\varphi }\equiv & {} \left( \sqrt{\frac{h}{f}}f {\alpha }r^2 \varphi ' \right) ' +\frac{ q^2 {\alpha }r^2 A_t^2 \varphi }{h}\sqrt{\frac{h}{f}} \nonumber \\{} & {} +r^{2} \left( \frac{1}{2 {\kappa }} \sqrt{\frac{f}{h}} {\dot{Z}} {A_t'}^2-\sqrt{\frac{h}{f}}~ {\dot{V}} \right) \varphi + {\dot{{\beta }}} \varphi \mathcal{G}=0, \end{aligned}$$
(5)
$$\begin{aligned} E_{h}\equiv & {} \frac{2}{{\kappa }} \left( f-k+r f' \right) +r^2 V (|\varphi |^2) +f {\alpha }r^2 |\varphi '|^2 \nonumber \\{} & {} +\frac{r^2}{2 h} \left( \frac{1}{{\kappa }} {Z}f {A_t'}^2 +2 {\alpha }q^2 |\varphi |^2 A_t^2 \right) \nonumber \\{} & {} +8{\dot{{\beta }}} \left[ (k-3f) f' |\varphi \varphi '| +2 f(k-f) ( |\varphi '|^2\right. \nonumber \\{} & {} \left. +|\varphi \varphi ''|) \right] +32 \ddot{{\beta }} f(k-f) |\varphi \varphi '|^2=0, \end{aligned}$$
(6)
$$\begin{aligned} E_f\equiv & {} \frac{2}{{\kappa }} \left( f-k+r f' \left( \frac{h'}{h} \right) \right) +r^2 V (|\varphi |^2) -f {\alpha }r^2 |\varphi '|^2 \nonumber \\{} & {} +\frac{r^2}{2 h} \left( \frac{1}{{\kappa }} {Z}f {A_t'}^2 -2 {\alpha }q^2 |\varphi |^2 A_t^2 \right) \nonumber \\{} & {} +8{\dot{{\beta }}} \frac{f}{h}(k-3f) h' |\varphi \varphi '|=0, \end{aligned}$$
(7)

where \(\mathcal{G}\) is the GB density in \(D=4\),

$$\begin{aligned} \mathcal{G}\equiv & {} \frac{2}{\sqrt{f} h^{3/2}} \left[ (k-f) f h'^2\right. \nonumber \\ {}{} & {} \left. -h \left( (k-3f) f' h'+2(k-f) f h''\right) \right] . \end{aligned}$$
(8)

[The prime \((')\) and dot \((\dot{~})\) denote the derivatives with respect to r and \(|\varphi |^2\), respectively] Here, (4), (5) are the equations for the gauge field \(A_t\) and the scalar field \(\varphi \), and (6), (7) are for the metric functions hf, respectively. As far as we know, there is no exact solution for the charged GB black holes (i.e., with a gauge field \(A_t\)) with the scalar field’s charge q and the field-dependent coupling \({\beta }(|\varphi |^2)\). In this paper, we will consider numerical solutions of the above non-linear ODE (4) \(\sim \) (7) by shooting method and study the black hole’s interior space-time, as well as the exterior space-time. But before that, in the next section we first study the “no scalar-haired Cauchy horizon theorem” to see whether it can be extended to the case with the GB coupling also.

3 No scalar-haired Cauchy horizon theorem

In this section, we consider the “no scalar-haired Cauchy horizon theorem” for charged GB black holes with a charged (complex) scalar hair. One of the key ingredients in the proof of the theorem is the existence of the radially conserved scaling charge,

$$\begin{aligned} \mathcal{Q}= & {} (D-2) r^{D-3} \sqrt{\frac{f}{h}} \left[ \frac{1}{{\kappa }} \left( r {h}'-2h -r {Z} A_t {A_t}' \right) \right. \nonumber \\{} & {} \left. -\frac{2 (D-3)}{r^2} f (r {h}'-2h) \left( (D-4) {\beta }+4 r |\varphi \varphi '| {\dot{{\beta }}} \right) \right] \nonumber \\{} & {} +k \int ^r dr~ r^{D-4} \left\{ 2(D-2) (D-3) \sqrt{\frac{h}{f}} \right. \nonumber \\{} & {} \times \Bigg [\frac{1}{{\kappa }} -4{\dot{{\beta }}} \left( |\varphi (f' \varphi '+2 f \varphi '')| +2 f |\varphi '|^2 \right) \nonumber \\{} & {} \quad -16 \ddot{{\beta }} f |\varphi \varphi '|^2 \Bigg ] \nonumber \\{} & {} +\frac{(D-4)(D-3)(D-2)}{r \sqrt{f} h^{3/2}} \nonumber \\{} & {} \times \Bigg [{\beta }\left( r h (f'h'+2 f h'')-6 f' h^2-r f h'^2 \right) \nonumber \\{} & {} +4 {\dot{{\beta }}}f h (r h'-6h) |\varphi \varphi '|\Bigg ] \nonumber \\ {}{} & {} +\frac{\sum ^D_{n=5} (n-5) (n-4) (n-3)}{r^2 \sqrt{f h}}~ \nonumber \\{} & {} \times \left. 8 {\beta }\left[ r f h'+2 (k-2f) h \right] \right\} , \end{aligned}$$
(9)

where we have recovered the full dimensional dependencies.Footnote 1 From the equations of motion (4)–(7), one can prove that \(\mathcal{Q}\) is radially conserved, i.e., r-independent, due to a remarkable relation,

$$\begin{aligned} \mathcal{Q}'= & {} 2 \sqrt{\frac{f}{h}} \left[ r \left( \frac{h}{f} {\mathcal{E}_f}'+\frac{1}{2} \frac{{h}'}{f} \mathcal{E}_f \right) \right. \nonumber \\{} & {} \left. +\left( (D-2) \frac{h}{f} +\frac{r}{2} \frac{{h}'}{f}\right) \mathcal{E}_h \right. \nonumber \\{} & {} \left. +\frac{r}{2} h |\varphi '~ \mathcal{E}_\varphi |+\frac{1}{2} \left( (D-2) A_t + r A_t' \right) \mathcal{E}_{A_t} \right] =0, \end{aligned}$$
(10)

where \(\mathcal{E}_f =E_f r^{D-4}/2,~\mathcal{E}_h =-E_h r^{D-4}/2,~ \mathcal{E}_\varphi =2 E_\varphi /\sqrt{f h}, ~ \mathcal{E}_{A_t} =- E_{A_t}\sqrt{h/f}\) represent the (rescaled) equations of motion for the fields \(f,h,\varphi \), and \(A_t\), respectively.

For the planar topology, i.e., \(k=0\), the local charge \(\mathcal{Q}\) is the Noether charge associated with a scaling symmetry (for the details, see Appendix B) [10]. For non-planar topologies, i.e., \(k=+1\) (spherical topology), or \(k=-1\) (hyperbolic topology), one can still construct a radially conserved charge \(\mathcal{Q}\) by including the non-local parts with space integrals so that the non-conserved terms from the local parts are exactly canceled [4,5,6].

Now, due to the r-independence of the scaling charge \(\mathcal{Q}\), one can consider the charges at the horizons, in particular, the outer event horizon \(r_+\) and the inner Cauchy horizon \(r_-\), if exists, so that we have

$$\begin{aligned}{} & {} \frac{(D-2)}{{\kappa }} \left[ r_+^{D-2} \left. \sqrt{\frac{f}{h}} \left( {h}'-Z A_t A_t' \right) \right| _{r_+} \right. \nonumber \\{} & {} \qquad \left. -r_-^{D-2} \left. \sqrt{\frac{f}{h}}\left( {h}'-Z A_t A_t' \right) \right| _{r_-} \right] \nonumber \\{} & {} \quad =-k \int ^{r_+}_{r_{-}} dr~ r^{D-4} \left\{ 2(D-2) (D-3) \sqrt{\frac{h}{f}} \right. \nonumber \\{} & {} \qquad \times \left. \left[ \frac{1}{{\kappa }} -4{\dot{{\beta }}} \left( |\varphi (f' \varphi '+2 f \varphi '')| +2 f |\varphi '|^2 \right) \right. \right. \nonumber \\ {}{} & {} \left. \left. \qquad -16 \ddot{{\beta }} f |\varphi \varphi '|^2 \right] \right. \nonumber \\{} & {} \qquad +\frac{(D-4)(D-3)(D-2)}{r\sqrt{f} h^{3/2}} \nonumber \\{} & {} \qquad \times \left[ {\beta }\left( r h (f'h'+2 f h'')-6 f' h^2-r f h'^2 \right) \right. \nonumber \\ {}{} & {} \qquad \left. +4 {\dot{{\beta }}}f h(r h'-6h) |\varphi \varphi '|\right] \nonumber \\{} & {} \qquad \left. +\frac{\sum ^D_{n=5} (n-5) (n-4) (n-3)}{r^2 \sqrt{f h}}~ \right. \nonumber \\{} & {} \times \left. 8 {\beta }\left[ r f h'+2 (k-2f) h \right] \right\} . \end{aligned}$$
(11)

From the property \( {h}'\sqrt{{f}/{h}} |_{r_-} \le 0\) at the assumed inner horizon \(r_-\) and for non-extremal black holes with the finite Hawking temperature or surface gravity \(\sim {h}' \sqrt{{f}/{h}}|_{r_+} >0\) at the outer horizon \(r_+\) with \(f|_{r_{\pm }}\sim h|_{r_{\pm }}=0\), the purely metric-dependent terms in the left-hand side of (11) are positive , i.e., non-negative (Fig. 1). Moreover, one can prove that \(A_t\) needs to be zero at the horizons,

$$\begin{aligned} A_t (r_+)=A_t (r_-)=0, \end{aligned}$$
(12)

from the regularity at the horizons with “charged” (complex) scalar fields [4, 5] so that the gauge field terms in the left-hand side of (11) vanish at the horizons. This regularity condition is another key ingredient for the proof of the theorem (see Appendix C for the proof of (12)).

Fig. 1
figure 1

Typical plots of f(r) and h(r) for a non-extremal charged black hole with the inner (Cauchy) horizon \(r_-\) and the outer (event) horizon \(r_+\). Due to the non-vanishing Hawking temperature at the Killing horizon \(r_{\pm }\) with \(f|_{r_{\pm }}\sim h|_{r_{\pm }}=0\), we have \(f'\sim {h}'>0\) at the outer horizon \(r_+\), but \(f'\sim {h}' \le 0\) at the inner horizon generally, if exists (orange, solid line). In the absence of the inner horizon, \(f'\) and \({h}'\) can have arbitrary values but there is no inner point of \(f\sim h=0\) (blue, dashed line)

Hence, the left-hand side of (11) is always positive if the two horizons exist, which is consistent with the relation (11) only if the right-hand side is also positive: This is a necessary condition (but not sufficient) for the existence of the inner horizon with the outer horizon (or the existence of the outer horizon with the inner horizon), from the radial conservation of the scaling charge \(\mathcal{Q}\). Otherwise, the assumption of existence of the inner (or outer) horizon with charged scalar hairs will not be true, which results in a no-go theorem for the scalar-haired Cauchy horizon. This is a powerful theorem since it does not depend on the details of scalar potential \(V(|\varphi |^2)\), contrary to the usual no-hair theorems.

In addition, if there is another horizon, exterior to the outer horizon \(r_+\), i.e., the cosmological horizon \(r_{++}\) in asymptotically de Sitter space, one can prove also a no-go theorem for charged de Sitter black holes (with or without GB terms) with charged scalar hairs, since (12) can not be satisfied for both the outer horizon and the cosmological horizon (see Appendix D for the proof).

Then, for \(k=0\), one can easily find that (11) can not be satisfied since the right-hand side is zero which is in contradiction to the non-vanishing (positive) left-hand side. This means “no smooth inner (Cauchy) horizon with the outer horizon” can be formed for black planes.

However, for \(k\ne 0\), the right-hand side does not have a definite sign generally with the GB terms (\({\beta }\ne 0\)), and so there is no simple condition for the (non) existence of the inner (or outer) horizon associated with non-planar topologies. This implies that, for \(k=+1\) (black holes with spherical topology) or \(k=-1\) (topological black holes with hyperbolic topology), we may have a Cauchy horizon due to GB terms, depending on the solutions. For example, if we consider the \(D=4\) case, for simplicity, where only the first integral in the right-hand side of (11) remains, all the GB terms, except \(|\varphi (f' \varphi '+2 f \varphi '')|\), are positive for \({\dot{{\beta }}}(|\varphi |^2), \ddot{{\beta }}(|\varphi |^2)>0\) so that the no-inner-horizon theorem in EMS theories could apply. However, the excepted term can cause a problem in applying the theorem because of the sign-changing behaviors of \(f'\) at the two horizons with \(f|_{r_{\pm }}\sim h|_{r_{\pm }}=0\), i.e., \(f'|_{r_+}>0, f'|_{r_-}<0\), unless compensated by \(\varphi \), i.e., \(\varphi \varphi '|_{r_+}<0,~\varphi \varphi '|_{r_-}>0\), but \(\varphi \varphi ''|_{r_+}, \varphi \varphi ''|_{r_-}>0\). In higher dimensions, we might need more complicated conditions.

This is in contrast to the EMS (Einstein–Maxwell–scalar) theories (\({\beta }=0\)) [4] or EMH (Einstein–Maxwell–Horndeski) theories with a positive coupling \({\gamma }>0\) to Einstein tensor [5], where (11) is inconsistent unless \(k=-1\) so that “no smooth inner (Cauchy) horizon with an outer horizon” can be formed for \(k=0\) or \(k=+1\).

However, even with GB terms, we have the general criterion as follows, depending on the integral parts of (11): (a) if the right-hand side (RHS) of (11) is zero or negative, the inner (or outer) horizon can not be formed, (b) if RHS of (11) is positive, the inner (or outer) horizon can be formed but not necessarily always. We will see that this general criterion is satisfied by the numerical solutions in Sect. 5.

4 Near horizon relations

In order to find numerical solutions for charged GB black holes, it is useful to study behaviors of metric functions, scalar and gauge fields near the horizons. To this end, we first solve the equation for f (7), which is a quadratic polynomial of f, and obtain

$$\begin{aligned} f^{-1} \equiv e^B= \frac{-\mu (r) {\pm } \sqrt{{\mu }(r)^2-4 {\nu }(r)}}{2}, \end{aligned}$$
(13)

whereFootnote 2

$$\begin{aligned}{} & {} {\mu }(r)\nonumber \\ {}{} & {} = \frac{2 \left( 4 k |\varphi \varphi '| {\dot{{\beta }}} +{r}/{{\kappa }} \right) A' +\left( {r^2} e^{-A} Z A_t'^2+{4} \right) /{2{\kappa }} -{\alpha }r^2 |\varphi '|^2 }{-{\alpha }q^2 r^2 e^{-A} |\varphi |^2 A_t^2-2k/{\kappa }+r^2 V}, \nonumber \\ \end{aligned}$$
(14)
$$\begin{aligned}{} & {} {\nu }(r)= \frac{-24 |\varphi \varphi '| {\dot{{\beta }}} A'}{-{\alpha }q^2 r^2 e^{-A} |\varphi |^2 A_t^2-2k/{\kappa }+r^2 V } \end{aligned}$$
(15)

by introducing \(e^A\equiv h(r)\) and \(e^{B} \equiv f^{-1}(r)\) for convenienceFootnote 3. Here, we note that the first term in the denominator \(\sim e^{-A} |\varphi |^2 A_t^2\) is finite and may not be neglected at the horizons generally, with \(e^{-A}\rightarrow \pm \infty , A_t \rightarrow 0, \varphi =finite\). Once the solutions for \(A(r),\varphi (r)\), and \(A_t(r)\) are obtained, the metric function B(r) can be also obtained by (13). The ± roots depend on the topology parameter k and the region we consider, i.e., the black hole interior \(r \in [r_-,r_+]\) or the black hole exterior \(r \in [r_+, \infty ]\) or deep interior \(r \in [0, r_-]\).

By substituting \(e^B\) from (13), the remaining Eqs. (4), (5), and (6) with the three independent fields \(A,\varphi , A_t\) can be written as

$$\begin{aligned} {A''=\frac{P}{S}, ~\varphi ''=\frac{U}{W}, ~A_t''=\frac{R}{Y},} \end{aligned}$$
(16)

while \(B'\) can be written as

$$\begin{aligned} B'(r)=-\frac{{\nu }' +e^B {\mu }'}{2 e^{2B}+e^B {\mu }} \end{aligned}$$
(17)

for both ± roots of \(e^B\). Here, PSUWRY are complicated functions of (\(r, e^B,e^{A}, A', \varphi ', A_t', {\dot{{\beta }}}, \ddot{{\beta }}\)) whose explicit expressions are not shown here (for the computational details, see Appendix E). Since \(A''\) diverges already at the horizons and \(A_t''\) is finite for regular solutions with a finite \(A_t'\) and the condition of \(A_t=0\) (12) at the horizons, \(\varphi ''\) gives the most information at the horizons. For the solvability of the information, we consider the case where the term \(\sim e^{-A} |\varphi |^2 A_t^2\) in the denominator of (14) and (15) can be neglected by considering a rapidly-decaying gauge field at the horizons, \(A_t^2 \sim h^{\delta }~({\delta }>1)\), whilst satisfying (12) also. Then, one can find that

$$\begin{aligned} \varphi ''=C(\varphi , \varphi ', A_t',T)A' +\mathcal{O}(1) \end{aligned}$$
(18)

and so, in order to have a regular scalar field with a finite \(\varphi ''\) at the horizons, we need

$$\begin{aligned} C(\varphi , \varphi ', A_t',T)=0 \end{aligned}$$
(19)

at the horizons \(r_H\), i.e., \(A\rightarrow \infty , A' \rightarrow \pm \infty \) (\(+\infty \) for \(r_+\), \(-\infty \) for \(r_{-}\)). Here, \(T \equiv h'=e^A A'\) corresponds to Hawking temperature (up to a finite factor) and given by

$$\begin{aligned} T =\left. \frac{{\kappa }r^2 Z A_t'^2 \left[ 2 {\kappa }r^2 Z \left( {\alpha }q^2 r^2 e^{-A} |\varphi |^2A_t^2+2 {\kappa }{k}-r^2 V\right) -\widetilde{Q}^2 (r) \right] }{4 \widetilde{Q}^2 (r)(4k |\varphi \varphi '| {\dot{{\beta }}}+{\kappa }r)} \right| _{r_H}, \nonumber \!\!\! \\ \end{aligned}$$
(20)

by keeping \(e^{-A} |\varphi |^2A_t^2\) term for the sake of completeness, which will be neglected in the next section for numerical solutions, for simplicity. (See Appendix E for some relevant computations and the explicit form of \(C(\varphi , \varphi ', A_t',T)\)) \(\widetilde{Q}(r)\) is the black hole charge function by integrating the gauge field equation (4),

$$\begin{aligned}{} & {} \frac{Z}{{\kappa }} e^{-(A+B)/2} r^2 A_t'={\widetilde{Q}(r)}, \end{aligned}$$
(21)
$$\begin{aligned}{} & {} {\widetilde{Q}(r)}=2 {\alpha }q^2 \int ^r_{r_H} dr r^2 e^{(B-A)/2} |\varphi |^2 A_t + \widetilde{Q}(r_H) \end{aligned}$$
(22)

so that we obtain, from (21),

$$\begin{aligned} e^B=\frac{{\kappa }^2 Z^2 r_H^4}{\widetilde{Q}^2(r_H)}{A_t'}^2 e^{-A} \end{aligned}$$
(23)

at the black hole horizons \(r_H\): By comparing (23) and the near horizon expansion of (13) with \(T=e^A A'\), one can find the temperature formula (20).

Then, solving the condition (19), we obtain the condition of \(\varphi '|_{r_H}\) at the horizons from a finiteness of \(\varphi ''|_{r_H}\). We note that the condition of \(\varphi '|_{r_H}\) is important in obtaining numerical solutions in the next section because it gives the proper initial condition at the horizons. As we have noted above, we will consider the rapidly vanishing gauge field \(A_t\) at the horizons so that \(e^{-A} |\varphi |^2 A_t^2\) term in (14), (15), and (20) are neglected for the solvability of (19).

5 Numerical solutions

In Sect. 3, we have proved that, for the planar topology \((k=0)\) of charged GB black holes, the Cauchy horizon with charged scalar fields can not be formed. However, for non-planar topologies, i.e., spherical (\(k=1\)) or hyperbolic (\(k=-1\)) black holes, there is no simple condition for the existence of the haired Cauchy horizons due to the GB term, except a general criterion on the integral parts of the scaling charge. In this section, we consider numerical solutions with the scalar-haired Cauchy horizon for the hyperbolic case as some explicit examples of our theorem.

Fig. 2
figure 2

Numerical solutions of the \(D=4\) hyperbolic charged GB black hole (\(k=-1\)) with the model (24) and initial conditions (25) in asymptotically AdS space. In the left panel, we plot f (orange), h (blue), \(\varphi \) (green), \(A_t\) (purple), and they show the inner Cauchy horizon at \(r_-\approx 0.240558232\) as well as the outer event horizon at \(r_+ \approx 0.837565833\), where all the solutions are smooth. We find \(A_t=0\) at the two horizons, in consistent with the condition (12). In the right panel, we plot \(r^2 /f,10 r^2/h, {\varphi , A_t/70}\), and the solutions reveal the asymptotically AdS-like behaviors \(f \sim h \sim r^{2}\) with \(\varphi \sim 0\) and a finite \(A_t\)

In Fig. 2, we first present numerical solutions of the four-dimensional (\(D=4\)) hyperbolic charged GB black hole in EMGBS gravity for the choice of the model

$$\begin{aligned} {\beta }(|\varphi |^2)={\lambda }|\varphi |^2,~V(|\varphi |^2) =-6 +m^2 |\varphi |^2, ~ Z(|\varphi |^2)=1 \nonumber \\ \end{aligned}$$
(24)

with \({\lambda }=10^{-10}\), \(m^2=-0.18388\)Footnote 4, and \(q=1.5\). We choose the outer horizon \(r_+ \approx 0.837565833\) and the initial conditions at \(r_+\) as follows (we have set \({\kappa }\equiv {\alpha }\equiv 1)\):

$$\begin{aligned}{} & {} h(r_+)=-10^{-10},~h'(r_+)=1.23278,\nonumber \\{} & {} A_t(r_+)=10^{-10},~A_t'(r_+)\approx -0.927989424, \nonumber \\ ~{} & {} \varphi (r_+)=1.106834110,~ \varphi '(r_+)=-0.165094, ~\nonumber \\ {}{} & {} \widetilde{Q}(r_+)=0.650999915. \end{aligned}$$
(25)

Here, \(\varphi '(r_+)\) and \(A_t'(r_+)\) are determined by (19) and (20) by \(T=h'(r_+)\), respectively. By rewriting the second-order equations of motion (4), (5), (6) into the first-order forms via new variables \(H(r)\equiv h'(r),~ \Phi (r)\equiv \varphi '(r),~ E(r) \equiv A_t' (r)\) (after replacing f(r) and \(f'(r)\) by (13) and (17), respectively), we numerically solve the six differential equations (with \(k=-1\)) by shooting method, for the variables \((h, H, \varphi , \Phi , A_t, E)\) from \(r=r_+ +{\epsilon }\) to \(r=10^4\) for the black hole exterior solution (we set \({\epsilon }=10^{-9}\)), and from \(r=r_+ -{\epsilon }\) to \(r=10^{-8}\) for the black hole interior solution. We use NDSolve of MATHEMATICA with PrecisionGoal \(\rightarrow 26\) and WorkingPrecision \(\rightarrow 27\).

The code for the black hole interior solution solves the differential equations up to the inner Cauchy horizon at \(r_-\approx 0.240558232\) but does not solve beyond the inner horizon, due to increasing numerical errors at \(r_-\). In order to obtain the deep interior solution beyond the inner horizon, we need to consider another set up of the code with now the initial conditions at \(r_-\) as follows, which can be determined from the obtained numerical interior solutions:

$$\begin{aligned}{} & {} h(r_-)=10^{-10},\!~h'(r_-)=-2.33135,\nonumber \\{} & {} A_t(r_-)\!=\!-10^{-10},~A_t'(r_-)\approx 1.868563472, \nonumber \\ ~{} & {} \varphi (r_-)=1.140835529,~ \varphi '(r_-)=-0.0560344,\nonumber \\ {}{} & {} ~\widetilde{Q}(r_-)=-0.137024. \end{aligned}$$
(26)
Fig. 3
figure 3

Plots of the scaling charge \(\mathcal{Q}\) (purple) together with its local (blue) and integrand (orange) parts for the numerical solutions in Fig. 2. The local and integrand parts are smooth at the horizons. We can see also the radial conservation, i.e., constancy, of the charge \(\mathcal{Q}\), across the horizons

Here, in order to obtain the proper initial conditions of \(h'(r_-)\) and \(\varphi '(r_-)\), we first determine the black hole charge \(\widetilde{Q}\) from \(h'(r_-)=-2.328970925, \varphi '(r_-)=-537884.8323\) which can be read naively from the interior solution, and use (19) and (20). It is important to note that \(\widetilde{Q}\) is a quite stable parameter in the numerical solutions and its first determination gives the reasonable initial conditions of \(\varphi '(r_-)\) which matches well with the interior solution, even with the high values of naively-read \(\varphi '(r_-)\) due to numerical errors at \(r_-\).

By combining all the solutions in three different regions, we obtain the whole region solution as in Fig. 2 (left panel), which shows the smooth matchings at the inner and outer horizons. Here, note that we need to use the ‘\(+\)’ root of \(f^{-1}=e^B\) in (13) for the black hole interior solution, and the ‘−’ root of for the deep interior and black hole exterior solutions, respectively. The exterior solutions in Fig. 2 (right panel) show the asymptotically AdS-like behaviors \(f \sim h \sim r^{2}\) with \(\varphi \sim 0\) and finite \(A_t\). Figure 3 shows the radially conserved (i.e., constancy) of scaling charge, and its local and integrand parts which show smooth matchings at the horizons and so supports well our numerical solutions.

Fig. 4
figure 4

Numerical solutions of a \(D=4\) hyperbolic charged black hole in EMS gravity with the same model (24) and initial conditions (25) in asymptotically AdS space. This agrees well with Fig. 2 and also the earlier result in [4], but without the complexified integration to avoid the coordinate singularity problem at the inner horizon

In Figs. 4 and 5, for a comparison, we present numerical solutions of the corresponding hyperbolic charged black hole in the EMS case (\({\beta }=0\)) for the same choice of the model (24) and initial conditions (25), as in [4]. Figure 4 shows quite good agreements with Fig. 2 which can be considered as EMS limit (\({{\beta }} \rightarrow 0\)) so that it can be a consistency check of our numerical method. Actually, we reproduce the numerical solutions in [4] (Fig. 3) but without using the complexified integration to avoid the coordinate singularity at the inner horizon which can not be applied to our case with GB term, due to different roots of \(f^{-1}=e^B\) (13) in different regions: There is only one root of \(e^B\) in (13) without GB term (\({\beta }=0\)) and one has the same field equations for the whole region. One difference is the last point of the deep interior solution where the numerical computation stops, \(r\approx 0.0000262\), which is smaller than \(r\approx 0.0038097\) for Fig. 2 and might indicate a possible GB effect near \(r=0\).

In Fig. 6, we present another numerical solution of the \(D=4\) hyperbolic charged GB black hole in EMGBS gravity for the model with

$$\begin{aligned} {\lambda }=10^{-3},~m^2=-0.18,~q=2.5. \end{aligned}$$
(27)

We choose initial conditions

$$\begin{aligned}{} & {} r_+=0.91, h(r_+)=-10^{-10},~h'(r_+)=2.48104 \times 10^{-8},\nonumber \\ {}{} & {} ~A_t(r_+)=10^{-10},~A_t'(r_+)=10^{-4}, \nonumber \\ ~{} & {} \varphi (r_+)=0.682,~ \varphi '(r_+)=-0.0918761, ~\widetilde{Q}(r_+)=0.65.\nonumber \\ \end{aligned}$$
(28)

Using the same method as in Fig. 2, we obtain the numerical solutions for the black hole interior and exterior as shown in Fig. 6. But, in this case no deep interior solution is found due to higher numerical errors at the inner horizon \(r_-\approx 0.132916515\). For the exterior solution, we can see the similar AdS-like behaviors in f(r), h(r), \(\varphi \sim 0\) and finite \(A_t\) as in Fig. 2. Figure 7 shows the radial conservation of \(\mathcal{Q}\) as well as its local and integrand parts with smooth matchings at the horizons and so supporting our numerical solutions.

In all the numerical solutions, we find that (a) the vanishing gauge field condition (12), \(A_t (r_H)=0\) and (b) the general criterion for the existence of an inner Cauchy horizon, i.e., negativeness of RHS in (11) (or integrand of \(\mathcal{Q}\) in Figs. 25, and 7) are satisfied. On the other hand, at the asymptotic boundary (\(r=10^4\) in our analysis), we find that \(r^2/f \approx 1, \varphi \approx 0\), \(r^2/h\) and \(A_t\) approach to finite values with vanishing derivatives. This indicates the AdS-like behaviors of \(f, h \sim r^2, A_t \sim 1/r, \varphi \sim 1/r^a \) with \(a>0\)Footnote 5.

Fig. 5
figure 5

Plots of the scaling charge \(\mathcal{Q}\) (dots) and its local (solid line), integrand (dashed line) parts for the numerical solutions in Fig. 4

Fig. 6
figure 6

Numerical solutions of a \(D=4\) hyperbolic charged GB black hole with the model (27) and initial condition (28). In the left panel, we plot f (orange), \(10^8 h\) (blue), \(\varphi \) (green), \(10^4 A_t\) (purple), and no solution is found for the deep interior region due to high numerical errors at the inner horizon \(r_-\approx 0.132916515\). In the right panel, we plot \(r^2/f,r^2/(10^8 h),{2 \varphi }, 10^4 A_t/45\), and they show the AdS-like behaviors in f, h, \(\varphi \sim 0\) and finite \(A_t\) as in Fig. 2

6 Concluding remarks

In conclusion, we have studied an extension of the “no scalar-haired inner (Cauchy) horizon theorem” to the electrically charged Gauss–Bonnet (GB) black holes in Einstein–Maxwell–Gauss–Bonnet–scalar (EMGBS) theories with charged (complex) scalar fields. We have found that the condition of vanishing gauge field \(A_t=0\) at the horizons from the regularity of equations of motion is unchanged even with GB coupling. We have computed the radially conserved scaling charge \(\mathcal{Q}\) for GB coupling \({\beta }(|\varphi |^2)\) in arbitrary dimensions D.

From the constancy of scaling charge \(\mathcal{Q}\) at the outer and inner horizons, we have obtained the no scalar-haired Cauchy horizon theorem for \(k=0\), i.e., “no scalar-haired inner (Cauchy) horizon for planar (\(k=0\)) black holes”. For \(k=1\) (spherical) or \(k=-1\) (hyperbolic) black hole, a simple condition for the no scalar-haired theorem is not available due to some terms in the integral part of \(\mathcal{Q}\) which do not have definite signs in the black hole interior region, but one can still consider a general criterion for applying the theorem, depending on the resulting sign of the integral part. This means that a Cauchy horizon with non-trivial, charged scalar hairs might exist even for \(k=1\), contrary to Einstein–Maxwell–scalar (EMS) or Einstein–Maxwell–Horndeski (EMH) theories, as a genuine GB effect.

Fig. 7
figure 7

Plots of the scaling charge \(\mathcal{Q}\) (purple) and its local (blue), integrand (orange) parts for the numerical solution in Fig. 6

We have obtained numerical solutions with the inner horizon for \(k=-1\) and in the asymptotically anti-de Sitter space. For a very small GB coupling parameter \({\lambda }=10^{-10}\), we have obtained a solution covering the whole region of \(r \in [0, \infty ]\), which agrees with EMS solution of [4], but without the “complexification” method to obtain the deep interior solution of \(r \in [0, r_-]\). On the other hand, for \({\lambda }= 10^{-3}\), we have obtained solutions for the inner and exterior regions, i.e., \(r \in [r_-, \infty ]\) from the initial conditions at the outer horizon \(r_+\), but no solution is found for the deep interior region of \(r \in [0, r_-]\) due to increased errors in finding initial conditions at the inner horizon. We have checked the radial conservation, i.e., constancy of the scaling charge \(\mathcal{Q}\) and the general criterion of the scalar-haired Cauchy horizon in the obtained numerical solutions.

However, we were not able to find numerical solutions with the inner horizon for \(k=1\), which might exist due to a GB effect. From the no-go theorem for \(k=1\) in EMS theories [1,2,3,4], we expect that the solution may exist in the non-GR branch, where the GB coupling is not small. On the other hand, in Appendix D, we have shown a no-go theorem for charged de Sitter black holes (with or without GB terms) with charged scalar hairs.

It would be a challenging problem to obtain the whole range solutions including the deep interior solutions for a sizable coupling \({\lambda }\sim \mathcal{O} (1)\) also, by controlling the numerical errors at the inner horizons more efficiently. There is no known exact charged GB black hole solution with complex scalar hairs as far as we know. It would be interesting to see whether some exact haired solutions can be found by considering some special potential and to study the GB effect on the interior and deep interior spaces.