1 Introduction

One of the most interesting theories of gravity, which without introducing any additional matter field describe the dark components of the universe as a geometrical effect, is mimetic gravity [1]. In this theory, the conformal degree of freedom of gravity is isolated by introducing the following relation between physical metric \( g_{\mu \nu } \), auxiliary metric \( {\tilde{g}}_{\mu \nu } \), and a scalar field known as mimetic field,

$$\begin{aligned} g_{\mu \nu }=\pm {\tilde{g}}_{\mu \nu }{\tilde{g}}^{\alpha \beta }\partial _{\alpha }\phi \partial _{\beta }\phi . \end{aligned}$$
(1.1)

As a consistency condition, the above equation implies that the mimetic field must satisfy the following constraint,

$$\begin{aligned} g^{\mu \nu }\partial _{\mu }\phi \partial _{\nu }\phi =\pm 1. \end{aligned}$$
(1.2)

The equations of motion of the gravitational action are equivalent to those one can obtain from the action in terms of the physical metric with the imposition of constraint (1.2), by using a Lagrange multiplier [1]. The conformal degree of freedom, even in the absence of matter, is dynamical and this mimics the phenomenon of cold dark matter evolution of the universe in the background. It has been also shown that the scalar field can mimic the gravitational behavior of any form of matter [2, 3].

In the following, we briefly review some attempts in obtaining the gravitational and cosmological solutions in the context of mimetic model. Spherically symmetric static solutions with various topologies in the framework of mimetic gravity are analyzed in [4,5,6,7,8,9]. The vacuum static and spherically symmetric solutions in the mimetic gravity scenario are explored in [10], based on the conformal invariance principle. Modified gravity models including mimetic scalar potential are also studied for Gauss–Bonnet [11], f(R) [12,13,14,15], Born-Infeld [16] and Hořava [17] theories. It also is shown that, in the presence of mimetic field, a schwarzschild black hole can be exist without singularity [18]. Recently, in [19,20,21] the authors obtained topological black hole, black string as well as there-dimensional BTZ-like solutions in the framework of mimetic gravity. From the cosmological point of view, the authors indicate that the singularities in cosmological solutions can be easily removed by considering the longitudinal degree of freedom of gravity to be dynamical [22]. In [23], the dynamical behavior of mimetic gravity with a general form of potential for the mimetic scalar field has been investigated. It also has been observed that, in the presence of some classified higher-derivative corrections, the mimetic cosmological perturbations can be stable [62]. Different aspects of mimetic cosmology are also explored in [25,26,27,28,29,30]. For a comprehensive survey on mimetic gravity and its applications to cosmology and astrophysics, the reader can refer to [31].

Most efforts in finding a quantum theory of gravity have been directed at studying theories in which the dimension of spacetime is larger than four. It also appears that black holes will play a crucial role in understanding nonperturbative effects in a quantum theory of gravity. Thus, exploring black holes in \( D>4 \) dimensions is important to obtain a full understanding of these theories [32]. On the other side, the large black holes that have finite-area horizons in the supergravity approximation only arise for \( D \le 5 \). This is one reason why there has been a lot of interest for studying the black ring case. Another reason is that nonspherical horizon topologies become possible for \( D > 4 \). Furthermore, black branes, which are generalizations of black holes to higher dimensions, play a crucial role in the context of the AdS/CFT conjecture [33]. However, motivations for studying higher dimensional general relativity also originate from this theory itself since it exhibits much more richer dynamics than in the four-dimensional case. For example, the existence of black rings or other black objects with nonspherical horizon topologies leading to the violation of the four-dimensional black hole uniqueness theorem in higher dimensions. Brane-world scenarios also consider that our four-dimensional universe lies on a brane embedded in a higher dimensional spacetime [34].

The generalization of black hole solutions to higher dimensions first described by Tangherlini [35] for static vacuum black holes, and Myers and Perry [36] for stationary vacuum charged static black holes. With the advent of brane-world theories, black hole solutions in higher dimensions received much interest [37, 38]. Models of modified gravity with extra dimensions appear when considering string theory. Their black holes solutions are also known for some low energy effective actions related to string theory [39,40,41,42,43,44,45] and are interesting in the context of gauge/gravity duality because yield to a quantitative evidence for \( \mathrm{AdS}_{D}/\mathrm{CFT}_{(D-1)} \) [46].

In the present work, we are going to find the charged static and rotating solutions in the context of mimetic gravity in spacetimes with dimensions larger than four and investigate their physical properties. The solutions are indeed the generalizations of those obtained in [20, 21] to higher dimensions. Depending on their identifications, one can interpret them as black holes, or black strings/branes. The structure of paper is arranged as follows. First, in Sect. 2, we introduce the mimetic Einstein–Maxwell action as well as its field equations in D dimensions. Then, in Sect. 3, we will derive the solutions for five-dimensional spherical as well as cylindrical symmetric spacetimes. In Sect. 4, we extend our solutions to include higher-dimensional spacetimes. Finally, we summarize closing remarks in Sect. 5.

2 Action and field equations

The action of Einstein–Maxwell (EM) gravity in the presence of mimetic field for D-dimensional asymptotically anti-de Sitter (AdS) spacetimes is given byFootnote 1

$$\begin{aligned} I_D= & {} \int d^D x \sqrt{-g}\Bigg [ R+\frac{(D-1)(D-2)}{l^2}\nonumber \\&-F_{\mu \nu }F^{\mu \nu }+\lambda (g^{\mu \nu }\partial _{\mu } \phi \partial _{\nu } \phi -\epsilon )\Bigg ], \end{aligned}$$
(2.1)

where g is the determinant of the physical metric \( g_{\mu \nu } \), R is the Ricci scalar, \( \lambda \) is the Lagrange multiplier and \( \Lambda =-(D-1)(D-2)/2l^2 \) is the negative cosmological constant describing AdS spacetimes. \( F_{\mu \nu }=\partial _{\mu } A_{\nu }-\partial _{\nu } A_{\mu } \) is the electromagnetic field strength tensor corresponding to the gauge potential \( A_{\mu } \). Here \( \epsilon =+1,-1 \), respectively, denote to the spacelike and timelike nature of vector field \( \partial _{\mu } \phi \). Variation of the above action with respect to Lagrange multiplier \( \lambda \) yields the following constraint on mimetic field,Footnote 2

$$\begin{aligned} g^{\mu \nu }\partial _{\mu } \phi \partial _{\nu } \phi =\epsilon . \end{aligned}$$
(2.2)

This equation implies that the physical metric must satisfy the constraint (2.2) and confirms that the scalar field is not dynamical. By varying the action (2.1) with respect to the physical metric \( g_{\mu \nu } \), the scalar field \( \phi \) and the gauge field \( A_{\mu } \), one can get the Einstein, scalar and Maxwell field equations as

$$\begin{aligned} G_{\mu \nu }= & {} T_{\mu \nu }+T_{\mu \nu }^{\phi }, \end{aligned}$$
(2.3)
$$\begin{aligned} \nabla _{\mu } (\lambda \partial ^{\mu }\phi )= & {} 0, \end{aligned}$$
(2.4)
$$\begin{aligned} \nabla _{\mu }F^{\mu \nu }= & {} 0. \end{aligned}$$
(2.5)

Here, \( G_{\mu \nu }= R_{\mu \nu }- R g_{\mu \nu }/2\), \( T_{\mu \nu }^{\phi }=(D-1)(D-2)g_{\mu \nu }/2l^2+\lambda \partial _{\mu } \phi \partial _{\nu } \phi \) and \( T_{\mu \nu }=2 F_{\mu \gamma }F_{\mu }{}^{\gamma }-g_{\mu \nu }F_{\alpha \beta }F^{\alpha \beta }/2\) are respectively the Einstein tensor, scalar field energy-momentum tensor, and Maxwell energy-momentum tensor. Taking the trace of Eq. (2.3), when one takes into account Eq. (2.2), leads to

$$\begin{aligned} \lambda =\epsilon \left[ G-T-\frac{D(D-1)(D-2)}{2l^2}\right] , \end{aligned}$$
(2.6)

where \( G=G_{\mu }{}^{\mu } \) and \( T=T_{\mu }{}^{\mu } \) respectively denote the trace of Einstein tensor and Maxwell energy momentum tensor. By inserting Eq. (2.6) into Eqs. (2.3) and (2.4), we arrive at

$$\begin{aligned}&G_{\mu \nu }=T_{\mu \nu }+\frac{(D-1)(D-2)}{2l^2} g_{\mu \nu }\nonumber \\&\qquad \qquad +\epsilon \left[ G-T-\frac{D(D-1)(D-2)}{2l^2}\right] \partial _{\mu } \phi \partial _{\nu } \phi , \end{aligned}$$
(2.7)
$$\begin{aligned}&\nabla _{\mu } \left[ \left( G-T-\frac{D(D-1)(D-2)}{2l^2}\right) \partial ^{\mu }\phi \right] =0. \end{aligned}$$
(2.8)

Our aim in the following is to solve the above equations in spherically and cylindrically symmetric spacetimes and for various dimensions.

3 Solutions in five dimensions

By making restrictions, in particular with respect to the horizon topology, one can generalize EM theory to five dimensions [47,48,49,50,51,52]. In the context of mimetic gravity, one can get the final form of five-dimensional version of field equations as well as scalar field equation by setting \( D=5 \) in Eqs. (2.7) and (2.8). In the following two subsections, we are going to solve the field equations for spherically and cylindrically symmetric spacetimes.

3.1 Charged static solutions in spherically symmetric spacetimes

Here, we are looking for charged solutions for static black holes in spherically symmetric spacetimes. In doing so, we consider the following five-dimensional metric

$$\begin{aligned} ds^2=-f(r)g^2(r)dt^2+\frac{1}{f(r)}dr^2+r^2 d\Omega ^{2}, \end{aligned}$$
(3.1)

where \( d\Omega ^{2}=d\psi ^2+\sin ^2\psi (d\theta ^2+\sin ^2\theta d\varphi ^2) \) is the line element of a three-sphere. Here, the topology of event horizon and spacetime are given by \( S^3 \) and \( {\mathbb {R}}^2\times S^3 \), respectively. In the line element (3.1), we also incorporate an extra degree of freedom due to the additional mimetic field, by the function g(r) .

Using the metric (3.1), the constraint (2.2) yields the following equation for the mimetic field

$$\begin{aligned} f\phi '^2=\epsilon , \end{aligned}$$
(3.2)

where a prime denotes derivative with respect to r. This differential equation has the following solution

$$\begin{aligned} \phi (r)=\pm \int \frac{dr}{\sqrt{|\epsilon f(r)|}}, \end{aligned}$$
(3.3)

plus a constant of integration, which we observe that disappears in the field equations and accordingly we are safe to set it to zero. We are also free to choose the positive sign of the above solution without loss of generality.

First, we consider the charged solutions. In this case, the vector potential and nonzero components of electromagnetic tensor are given by

$$\begin{aligned} A_{\mu }= & {} h(r)\delta _{\mu }^{0};\nonumber \\ F_{tr}= & {} -F_{rt}=-h'(r). \end{aligned}$$
(3.4)

Having had the electromagnetic field strength tensor, it is not difficult to show that the t component of Maxwell equation (2.5) leads to the following equation

$$\begin{aligned} r h'' g-r h' g'+3 h' g =0, \end{aligned}$$
(3.5)

with the solution

$$\begin{aligned} h'(r)=\frac{q}{r^3}g(r). \end{aligned}$$
(3.6)

In obtaining the above solution we set the constant of integration equal to the electric charge q of black hole. By inserting the metric (3.1), Eq. (3.2), the constraint \( \epsilon ^2=1 \), and electromagnetic field strength (3.4) into Eq. (2.7), one arrives at the following three independent equations in five dimensions

$$\begin{aligned}&12 r^6-2q^2 l^2+l^2 r^4\left( 6-6f-3rf'\right) =0, \end{aligned}$$
(3.7)
$$\begin{aligned}&g\{48r^6 +4 l^2\left( q^2+3 r^2 \right) \nonumber \\&\quad -3l^2r^4\left[ 4 f+r\left( 5 f'+r f''\right) \right] \}\nonumber \\&\quad -3l^2 r^5\left[ \left( 4 f+3 r f'\right) g'+2rfg''\right] =0, \end{aligned}$$
(3.8)
$$\begin{aligned}&\quad -2 l^2 r^4 g-12r^6 g-2 q^2 l^2 g+l^2 r^5 f'\left( 4g+3rg'\right) \nonumber \\&\quad +l^2 r^6 f'' g +2l^2r^4f\left[ g+r\left( 2g'+rg''\right) \right] =0. \end{aligned}$$
(3.9)

By solving Eq. (3.7), one finds

$$\begin{aligned} f(r)=1+\frac{r^2}{l^2}-\frac{m}{r^2}+\frac{q^2}{3r^4}. \end{aligned}$$
(3.10)

Here, m is an integration constant which is indeed the black hole mass. Plugging the solution (3.10) for metric function f(r) into Eq. (3.8) or (3.9) yields

$$\begin{aligned}&\left[ l^2 \left( 4 q^2-3 m r^2-6 r^4\right) -15 r^6\right] g'\nonumber \\&\quad -\{ r l^2 \left[ q^2+3 r^2 \left( r^2-m\right) \right] +3 r^7\} g''=0. \end{aligned}$$
(3.11)

Solving this equation leads,

$$\begin{aligned} g(r)=1+c_1\int \frac{r^4 dr}{|3r^6+l^2\left[ q^2+3r^2\left( r^2-m\right) \right] |^{3/2}}, \end{aligned}$$
(3.12)

where the constant of integration \( c_1 \) describes the effect of mimetic field in the solution. We also check that the above solutions satisfy Eq. (2.8) for mimetic field, as was expected. Setting \( c_1=0 \), one can easily recover the 5-dimensional charged black holes of Einstein gravity in spherically symmetric spacetimes. The horizons are the real roots of equation \( f(r_h)=0 \). Here, we find out that there are at most two horizons, corresponding a black hole with inner and outer horizon. Note that, depending on choosing the parameters, one may also get the solutions which describe extremal black hole with one horizon, or a naked singularity without an event horizon, as illustrated in Fig. 1.

Fig. 1
figure 1

The diagram of function f(r) for five-dimensional charged mimetic black hole with \(l=1\), \( q=1.5 \), and different values of m

The integrand in Eq. (3.12) diverges at \( r=r_h \), while both Kretschmann and Ricci scalars have finite values at \( r=r_h \). This indicates that \( r=r_h \) is a coordinate singularity, not a curvature one. To obtain an analytical solution, we examine the asymptotic behavior of function g(r) . First, we consider the large r limit for which we can approximate the absolute value term in the integrand of Eq. (3.12) with \( 3(r^6+l^2 r^4) \), and rewrite the function g(r) as

$$\begin{aligned} g(r)&\approx 1-c_1\frac{2 r^2+l^2}{3l^4\sqrt{3(r^4+l^2 r^2)}}\nonumber \\&\approx 1-\frac{2 c_1}{3 \sqrt{3} l^4}-\frac{c_1}{12 \sqrt{3} r^4}+{\mathcal {O}}\left( r^{-6} \right) . \end{aligned}$$
(3.13)

Therefore, g(r) tends to the constant value \( 1-\frac{2 c_1}{3 \sqrt{3} l^4} \) as \( r \rightarrow \infty \), as can be seen from Fig. 2.

Fig. 2
figure 2

The diagram of function g(r) for five-dimensional charged mimetic black hole at large r, and for different values of \( c_1\)

The metric function \( -g_{tt}=f(r)g^2(r) \) also takes the following form at large r

$$\begin{aligned} f(r)g^2(r)&\approx \left( 1+\frac{r^2}{l^2}+\frac{q^2}{3r^4}-\frac{m}{r^2} \right) \nonumber \\&\quad \times \left[ 1-c_1\frac{2 r^2+l^2}{3l^4\sqrt{3(r^4+l^2 r^2)}} \right] ^2\nonumber \\&\approx \left( 1-\frac{2 c_1}{3 \sqrt{3} l^4}\right) ^2+\frac{\left( 1-\frac{2 c_1}{3 \sqrt{3} l^4}\right) ^2r^2}{l^2}\nonumber \\&\quad +\left( 2 \sqrt{3} c_1-9 l^4\right) \times \nonumber \\&\quad \times \frac{\left[ \sqrt{3} c_1 \left( l^2-4 m\right) +18 l^4 m\right] }{162 l^8 r^2}+\frac{\left( -\frac{2 c_1 q}{3 \sqrt{3} l^4}\right) ^2}{3 r^4}\nonumber \\&\quad +{\mathcal {O}}\left( r^{-6} \right) . \end{aligned}$$
(3.14)

The infinite redshift surfaces \( r=r_{s_{i}} \) are defined by roots of \( g_{tt}=0 \). It can be seen from the first line of Eq. (3.14) that for \( c_1 \le 0 \), the infinite redshift surfaces coincide with the horizons i.e., \( r_{s_{i}}=r_\pm \). On the other side, for \( c_1 > 0 \), the function \( g_{tt} \) admits an additional root \( r_{s_{3}} =\frac{1}{\sqrt{2}} \sqrt{3 l^{12}/\sqrt{9 l^{20}-4 c_1^2 l^{12}/3}-l^2} \), as illustrated in Fig. 3. When \( r\rightarrow 0 \), both Ricci and Kretschmann scalars diverge, while in the limit \( r\rightarrow \infty \) they go to the values: \( R=-20/l^2 \), and \( R_{\mu \nu \rho \sigma }R^{\mu \nu \rho \sigma }=40/l^2 \), respectively. Therefore, there is a curvature singularity at \( r = 0 \).

Fig. 3
figure 3

The behavior of function \(f(r)g^2(r)\) for five-dimensional charged mimetic black hole at large r and different values of \( c_1 \). Here we choose \( m=3.5,l=1,q=1.5\)

The electric field at large r is also given by

$$\begin{aligned} E(r)=-F_{tr}\approx \frac{q}{r^3}\left[ 1-c_1\frac{2r^2+l^2}{3l^{4}\sqrt{3(r^4+l^2 r^2)}} \right] . \end{aligned}$$
(3.15)

The diagram of E(r) is plotted in Fig. 4. As one can see, the electric field diverges for small r, and tends to zero at large r limit.

Fig. 4
figure 4

The behavior of Electric field E(r) for five-dimensional charged mimetic black hole at large r with \( q=1.5 \)

In the following, we explore the uncharged black hole solutions. To do so, we set \( q=0 \) in the field equations. In this case, we observe that the gravitational field equations (3.7)–(3.9) have the following solutions

$$\begin{aligned} f(r)= & {} 1+\frac{r^2}{l^2}-\frac{m}{r^2}, \end{aligned}$$
(3.16)
$$\begin{aligned} g(r)= & {} 1+c_2\frac{2r^2+l^2}{\sqrt{|r^4+l^2(r^2-m)|}}. \end{aligned}$$
(3.17)

The integration constant \( c_2 \) in the above equation, imposes the effect of mimetic field in the solution. The horizon is determined by real roots of \( g^{rr}=f(r_+)=0 \) which is given by \( r_+=\frac{1}{\sqrt{2}}\left( l \sqrt{\sqrt{l^2+4m}-1} \right) \). The curvature invariants have finite values at \( r_+ \) and as a result this is a coordinate singularity, not a curvature one. The sign of \( |r^4+l^2(r^2-m)|\) in the denominator of second term of Eq. (3.17) depends on whether one consider \( r < r_+ \) or \( r > r_+ \) regions. By expanding g(r) for large r, one arrives at

$$\begin{aligned} g(r)\approx 1+2 c_2+\frac{c_2 l^2\left( l^2+ 4 m\right) }{4r^4}+{\mathcal {O}}\left( r^{-6}\right) . \end{aligned}$$
(3.18)

When \( r\rightarrow \infty \), \( g(r)\rightarrow 1+2c_2 \), that indicates the mimetic field incorporates in the metric function g(r) through the constant \( c_2 \). Also, the tt component of metric i.e., the function \( f(r)g^2(r) \) reads

$$\begin{aligned} f(r)g^2(r)= & {} \frac{\left[ c_2\left( l^2+2 r^2\right) +\sqrt{|r^4+l^2 \left( r^2-m\right) |}\right] ^2}{l^2 r^2},\nonumber \\ \end{aligned}$$
(3.19)

with the following expansion at large r

$$\begin{aligned} f(r)g^2(r)\approx & {} \left( 1+2 c_2\right) ^2+\frac{\left( 1+2 c_2\right) ^2}{l^2}r^2\nonumber \\&+\frac{\left( 1+2 c_2\right) \left( c_2 l^2-2 m\right) }{2r^2}+{\mathcal {O}}\left( r^{-6}\right) . \end{aligned}$$
(3.20)

The infinite redshift surfaces are the roots of \( g_{tt}=0 \), they are

$$\begin{aligned} r_{s_{i}}=\sqrt{\frac{\left( 1-4 c_2^2\right) l^2\pm \sqrt{\left( 1-4 c_2^2\right) l^2 \left( l^2+4 m\right) }}{8 c_2^2-2}}, \end{aligned}$$
(3.21)

where \( i=1,2 \). The Ricci scalar and the Kretschmann invariant are also given by the following expressions:

$$\begin{aligned} R= & {} \frac{2 c_2 \left[ l^4 -20 r^4+2l^2\left( 2m-5r^2\right) \right] -20 r^2 \sqrt{|r^4+l^2 \left( r^2-m\right) |}}{ l^2 r^2\left[ c_2\left( l^2+2r^2\right) +\sqrt{|r^4+l^2 \left( r^2-m\right) |}\right] },\nonumber \\ \end{aligned}$$
(3.22)
$$\begin{aligned}&R_{\mu \nu \rho \sigma }R^{\mu \nu \rho \sigma }\nonumber \\&\quad =\frac{1}{l^4 r^8 \left[ c_2\left( l^2+2r^2\right) +\sqrt{|r^4+l^2 \left( r^2-m\right) |}\right] ^2}\times \nonumber \\&\qquad \times \left\{ -8 \left( 5 r^8+9 l^4 m^2\right) \left[ l^2 \left( m-r^2\right) -r^4\right] \right. \nonumber \\&\qquad +4 c_2^2 \left[ l^8 \left( -18 r^2 m+7 r^4+18 m^2\right) +l^6 \left( 20 r^4 m-2 r^6\right) \right. \nonumber \\&\qquad \left. +r^4 \left( 40 r^4 m^2-8 r^6 m+6 r^8\right) +8 r^8 l^2 \left( 5 r^2-2 m \right) +40 r^{12}\right] \nonumber \\&\qquad +8 c_2 \sqrt{|r^4+l^2 \left[ r^2-m\right) |} \left( 9 l^6 m \left( 2 m-r^2\right) -r^6 l^4\right. \nonumber \\&\qquad \left. \left. +l^2 \left( 10 r^8-4 r^6 m\right) +20 r^{10}\right] \right\} . \end{aligned}$$
(3.23)

In the limit \( r \rightarrow 0 \), both Ricci and Kretschmann invariants diverge. As \( r \rightarrow \infty \), they go to \( -20/l^2 \) and \( 40/l^4 \), respectively. Therefore, there is an essential singularity at \( r = 0 \).

3.2 Charged rotating solutions in cylindrical symmetric spacetimes

Now, let us investigate charged rotating solutions with cylindrical symmetric spacetimes. In doing so, we consider the following five-dimensional metric [57,58,59]

$$\begin{aligned} ds^2&=-f(r)g^2(r)\left( \Xi dt -\sum _{i=1}^{2}a_i d\varphi _i \right) ^2+\frac{1}{f(r)}dr^2\nonumber \\&\quad +\frac{r^2}{l^4} \sum _{i=1}^{2} \left( a_i dt -\Xi l^2 d\varphi _i \right) ^2\nonumber \\&\quad -\frac{r^2}{l^2}\sum _{i<j}^{2}\left( a_i d\varphi _j-a_j d\varphi _i\right) ^2+\frac{r^2}{l^2}dz^2, \end{aligned}$$
(3.24)

where \( \Xi =\sqrt{1+\sum _{i=1}^{2}a_i^2/l^2} \). The constants \( a_i \) and l have dimensions of length and as we will see later, the former are rotation parameters and the latter can be interpreted as the AdS radius. Here also, as spherically symmetric metric (3.1), we have considered a new function g(r) because of an extra gravitational degree of freedom due to the mimetic field. The ranges of the time and radial coordinates are \( -\infty<t<\infty ,0\le r<\infty \). The topology of horizon can be

  1. (i)

    the flat 3-torus \( T^3 \) with topology \( S^1\times S^1\times S^1 \) and the ranges \( 0\le \varphi _1<2\pi ,0\le \varphi _2<2\pi ,0\le z<2\pi l \),

  2. (ii)

    the three-dimensional cylinder with topology \( {\mathbb {R}}\times S^1\times S^1 \) and the ranges \( 0\le \varphi _1<2\pi ,0\le \varphi _2<2\pi ,-\infty<z<\infty \),

  3. (iii)

    the three-dimensional infinite plane with topology \( {\mathbb {R}}^3 \) and the ranges \( -\infty<\varphi _1<\infty ,-\infty<\varphi _2<\infty ,-\infty<z<\infty \).

Here, we consider the topologies (i) and (ii). The former describes uncharged rotating solutions, while the latter represents charged rotating solutions. The gauge potential is also given by

$$\begin{aligned} A_{\mu }=h(r)\left( \Xi \delta _{\mu }^{0}- \sum _{i=1}^{2} a_i \delta _{\mu }^{\varphi _i} \right) . \end{aligned}$$
(3.25)

Having had the above gauge potential, the nonvanishing components of electromagnetic field strength tensor take the following form

$$\begin{aligned} F_{tr}=-\Xi h'(r),F_{\varphi _1 r}=a_1 h'(r),F_{\varphi _2 r}=a_2 h'(r). \end{aligned}$$
(3.26)

By substituting the gauge potential into the Maxwell field equation (2.5), one finds the t, \( \phi _1 \) and \( \phi _2 \) components of Maxwell equation yield the same differential equation for the function h(r) , that is

$$\begin{aligned} g\left( rh''+3 h'\right) -rg'h'=0, \end{aligned}$$
(3.27)

which admits the following solution

$$\begin{aligned} h'(r)=\frac{q}{r^3} g(r), \end{aligned}$$
(3.28)

where we replace the constant of integration by the electric charge q. Plugging the solution (3.28) into the nonzero components of Maxwell tensor (3.26) and inserting the results into Eq. (2.7), one arrives at the following seven independent differential equations

$$\begin{aligned}&r^7 l^2 \left( a_1^2+a_2^2\right) \left[ 3 r f' g'+2 f \left( r g''+2 g'\right) \right] \nonumber \\&\quad +r^2 \left( a_1^2+a_2^2\right) g \left( r^6 l^2 f''+4 r^5l^2 f' +2 r^4 l^2 f -12 r^6-2 q^2 l^2\right) \nonumber \\&\quad -\Xi ^2 l^4 f g^3 \left( 3 r^5 l^2 f'+6 r^4 l^2 f-12 r^6+2 q^2 l^2\right) =0, \end{aligned}$$
(3.29)
$$\begin{aligned}&-r^7 l^2 \left[ \left( 3 r f'+4 f\right) g'+2 r f g''\right] +l^2 f g^3 \left[ 3 r^4 l^2 \left( r f'+2 f\right) \right. \nonumber \\&\quad \left. +2 \left( q^2 l^2-6 r^6\right) \right] +g\{ 2 r^2 \left( 6 r^6+q^2 l^2\right) \nonumber \\&\quad -r^6 l^2 \left[ r \left( r f''+4 f'\right) +2 f\right] \}=0, \end{aligned}$$
(3.30)
$$\begin{aligned}&g \{ -3 r^4 l^2 \left[ r \left( r f''+5 f'\right) +4 f\right] +48 r^6+4 q^2 l^2\}\nonumber \\&\quad -3 r^5 l^2 \left[ \left( 3 r f'+4 f\right) g'+2 r f g''\right] =0 , \end{aligned}$$
(3.31)
$$\begin{aligned}&a_1^2 l^2 f g^3 \left[ 3 r^4 l^2 \left( r f'+2 f\right) +2 \left( q^2 l^2-6 r^6\right) \right] \nonumber \\&\quad +r^7 l^2 (a_2+\Xi l) (a_2-\Xi l) \left[ \left( 3 r f'+4 f\right) g' +2 r f g''\right] \nonumber \\&\quad +r^2 g (a_2+\Xi l) (a_2-\Xi l) \{ r^4 l^2 \left[ r \left( r f''+4 f'\right) +2 f\right] \nonumber \\&\quad -2 \left( 6 r^6+q^2 l^2\right) \}=0, \end{aligned}$$
(3.32)
$$\begin{aligned}&r^7 l^2 \left[ \left( 3 r f'+4 f\right) g'+2 r f g''\right] -l^2 f g^3 \left[ 3 r^4 l^2 \left( r f'+2 f\right) \right. \nonumber \\&\quad \left. +2 \left( q^2 l^2-6 r^6\right) \right] +g\{ r^6 l^2 \left[ r \left( r f''+4 f'\right) +2 f\right] \nonumber \\&\quad -2 \left( q^2 r^2 l^2+6 r^8\right) \}=0 , \end{aligned}$$
(3.33)
$$\begin{aligned}&a_2^2 l^2 f g^3 \left[ 3 r^4 l^2 \left( r f'+2 f\right) +2 \left( q^2 l^2-6 r^6\right) \right] \nonumber \\&\quad +r^7 l^2 (a_1+\Xi l) (a_1-\Xi l) \left[ \left( 3 r f'+4 f\right) g'+2 r f g''\right] \nonumber \\&\quad +r^2 g (a_1+\Xi l)(a_1-\Xi l) \{ r^4 l^2 \left[ r \left( r f''+4 f'\right) +2 f\right] \nonumber \\&\quad -2 \left( 6r^6+q^2 l^2\right) \} =0, \end{aligned}$$
(3.34)
$$\begin{aligned}&r^7 l^2 \left[ \left( 3 r f'+4 f\right) g'+2 r f g''\right] +g \{ r^6 l^2 \left[ r\left( r f''+4 f'\right) +2 f\right] \nonumber \\&\quad -2 \left( q^2 r^2 l^2+6 r^8\right) \}=0 . \end{aligned}$$
(3.35)

The next step is to solve the above field equations and obtain the unknown functions f(r) and g(r) . To do so, we subtract Eq. (3.35) from Eq. (3.33). Doing so, yields the following equation on f(r)

$$\begin{aligned} -l^2 f g^3 \left[ 3 r^4 l^2 \left( r f'+2 f\right) +2 \left( q^2 l^2-6 r^6\right) \right] =0. \end{aligned}$$
(3.36)

Solving the equation leads to

$$\begin{aligned} f(r)=\frac{r^2}{l^2}-\frac{m}{r^2}+\frac{q^2}{3r^4}, \end{aligned}$$
(3.37)

where the integration constant m is the mass of solutions.

Fig. 5
figure 5

The diagram of function f(r) for five-dimensional charged rotating solutions in mimetic gravity with \(l=1\), \( q=1.5 \) and different values of m

Substituting the function f(r) from Eq. (3.37) into Eq. (3.30), leads to the following equation for the metric function g(r)

$$\begin{aligned}&\left[ l^2 \left( -3 m r^2+4 q^2\right) -15 r^6\right] g'\nonumber \\&\quad +\left[ r l^2 \left( -3 m r^2+q^2\right) +3 r^7 \right] g''=0, \end{aligned}$$
(3.38)

with the solution

$$\begin{aligned} g(r)=1+c_3\int \frac{r^4 dr}{|3r^6+l^2\left( q^2-3 m r^2\right) |^{3/2}}, \end{aligned}$$
(3.39)

where, as already mentioned, the constant \( c_4 \) reflects the imprint of mimetic field in the solutions. It also easy to show that the solutions (3.37) and (3.39) satisfy Eq. (2.8) in five dimensions. For large r, the absolute value in the integrand of (3.39) can be approximated by \( 3r^6 \). Therefore, we can rewrite the function g(r) as

$$\begin{aligned} g(r)\approx 1-\frac{c_3}{12\sqrt{3}r^4}. \end{aligned}$$
(3.40)
Fig. 6
figure 6

The diagram of function g(r) for five-dimensional charged rotating solutions in mimetic gravity and different values of \( c_3\)

In this limit the metric Function \( f(r) g^2(r)\) is also given by

$$\begin{aligned} f(r) g^2(r)\approx \frac{r^2}{l^2}-\frac{m}{r^2} -\frac{c_3}{6\sqrt{3}l^2r^2}+\frac{q^2}{3r^4} +{\mathcal {O}}\left( \frac{1}{r^6}\right) ,\nonumber \\ \end{aligned}$$
(3.41)

In the above solutions, the term containing \( c_3 \) is the impact of mimetic field on charged rotating solution of Einstein gravity in five dimensions.

Fig. 7
figure 7

The behavior of function \(f(r)g^2(r)\) for five-dimensional charged rotating solutions in mimetic gravity and different values of \( c_3\). Here we choose \( m=3.5,l=1,q=1.5 \)

On the other side, when \( r\rightarrow 0 \), one can neglect the term \( 3r^6 \) in the absolute value term in the integrand of Eq. (3.39) and therefore the function g(r) , in this limit, is given by

$$\begin{aligned} g(r)\approx 1+ \frac{c_3 r^5}{5 l^3 q^3}+\cdots , \end{aligned}$$
(3.42)

and hence

$$\begin{aligned} f(r) g^2(r) \approx \frac{q^2}{3 r^4}-\frac{m}{r^2} +\frac{2 c_3 r}{15 q l^3}+\frac{r^2}{l^2}-\frac{2 c_3 r^3 m}{5 q^3 l^3}+\cdots .\nonumber \\ \end{aligned}$$
(3.43)

It can be seen that, near the singularity \( r\rightarrow 0 \), metric function \( f(r) g^2(r) \) diverges, as was expected.

Fig. 8
figure 8

The behavior of Electric field E(r) for five-dimensional charged rotating solutions in mimetic gravity with \( c_3=1.75 \), \( \Xi =1.2 \) and different values of q

Fig. 9
figure 9

The behavior of Electric field E(r) for five-dimensional charged rotating solutions in mimetic gravity with \( q=1.5 \), \( \Xi =1.2 \) and different values of \( c_3 \)

The horizon is the real root of equation \( f(r)=0 \), for which the metric function f(r) is given by (3.37). Depending on the different values of parameters, this equation may have zero, one or two roots. The cases with zero or one root correspond to naked singularity and extremal solutions, respectively. When this equation has two roots, we encounter a solution with two inner and outer horizon. For \( r\rightarrow 0 \), both Ricci and Kretschmann scalars diverge while in the limit \( r\rightarrow \infty \), they goes to the values: \( R=-20/l^2 \) and \( R_{\mu \nu \rho \sigma }R^{\mu \nu \rho \sigma }=40/l^2 \). Therefore, there is a curvature singularity at \( r = 0 \). The electric field at large r is also given by

$$\begin{aligned} E(r)=-F_{tr}\approx \frac{q\Xi }{r^3}\left( 1-\frac{c_3}{12\sqrt{3}r^4} \right) . \end{aligned}$$
(3.44)

The behavior of E(r) is plotted in Figs. 8 and 9. As can be seen, the electric field diverges for small r and tends to zero at large r limit.

The uncharged solutions can be found by setting \( q=0 \) in Eq. (3.36),

$$\begin{aligned} \left( -3 m l^2 r^2-15 r^6\right) g'+\left( -3 m l^2 r^3 +3 r^7 \right) g''=0, \end{aligned}$$
(3.45)

with the following solution

$$\begin{aligned} g(r)=1+ c_4 \frac{ r^2}{\sqrt{|r^4-m l^2 |}}. \end{aligned}$$
(3.46)

To investigate the asymptotic behavior of solutions, we consider the nonrotating case (\( a_1 = a_2 = 0 \)), in the above solutions. The tt component of metric is also given by

$$\begin{aligned} f(r)g^2(r) = \frac{\left( c_4 r^2+\sqrt{|r^4-m l^2 |}\right) ^2}{l^2 r^2}. \end{aligned}$$
(3.47)

Expanding g(r) and \( f(r)g^2(r) \) for large values of r leads to

$$\begin{aligned}&g(r) \approx 1+c_4+\frac{ c_4 m l^2 }{2 r^4}+{\mathcal {O}}\left( r^{-8}\right) , \end{aligned}$$
(3.48)
$$\begin{aligned}&f(r)g^2(r) \approx \frac{\left( 1+c_4 \right) ^2}{l^2} r^2-\frac{\left( 1+c_4 \right) m}{r^2} +{\mathcal {O}}\left( r^{-6}\right) .\nonumber \\ \end{aligned}$$
(3.49)

The Ricci scalar and the Kretschmann invariant take the following form

$$\begin{aligned} R&=\frac{4 \left( c_4 l^2 m-5 c_4 r^4-5 r^2 \sqrt{|r^4-m l^2 |}\right) }{r^2 l^2 \left( c_4 r^2+\sqrt{|r^4-m l^2 |}\right) }, \end{aligned}$$
(3.50)
$$\begin{aligned}&R_{\mu \nu \rho \sigma }R^{\mu \nu \rho \sigma }\nonumber \\&\quad = \frac{8}{l^4 r^8 \left[ \left( c_4^2-1\right) r^4+l^2 m\right] ^2} \nonumber \\&\qquad \times \left\{ -2 \left( c_4^2-1\right) r^{10} l^2 m \left[ \left( c_4^2-5\right) r^2- c_4 \sqrt{|r^4-m l^2 |}\right] \right. \nonumber \\&\qquad -2 l^6 m^3 r^2 \left[ \left( 7 c_4^2+9\right) r^2-9 c_4 \sqrt{|r^4-m l^2 |}\right] \nonumber \\&\qquad +5 \left( c_4^2-1\right) ^2 r^{16} \nonumber \\&\qquad + l^4 m^2 r^6\left[ \left( 5 c_4^4+12 c_4^2+14\right) r^2\right. \nonumber \\&\qquad \left. \left. -2 c_4 \left( 5 c_4^2+8\right) \sqrt{|r^4-m l^2 |}\right] +9 l^8 m^4\right\} . \end{aligned}$$
(3.51)

In the limit \( r \rightarrow 0 \), both Ricci and Kretschmann invariants diverge. As \( r \rightarrow \infty \), they go to \( -20/l^2 \) and \( 40/l^4 \), respectively. This confirms that \( r = 0 \) is an essential singularity of spacetime.

In the following, we are going to find some physical quantities of solutions such as temperature, entropy, mass and angular momenta. By setting \( t\rightarrow i \tau \), one can obtain the Euclideanized version of the metric (3.1) which implies that the period of Euclidean time to be as \( \tau \sim \tau + \beta _+ \). Thus, the inverse Hawking temperature takes the following form [20]

$$\begin{aligned} \beta _+=\frac{1}{T}=\frac{4 \pi \Xi }{g(r_+)f'(r_+)}, \end{aligned}$$
(3.52)

where \( r_+ \) is the largest root of f(r) . Upon Euclidean continuation, we must take \( a_j \rightarrow i a_j \), as well. The periodicity of Euclideanized time \( \tau \sim \tau + \beta _+ \) also leads to the periodicity of angular coordinates as \( \phi _j \sim \phi _j + i\beta _+ {\Omega _+}_j \), where

$$\begin{aligned} {\Omega _+}_j=\frac{a_j}{\Xi l^2}, \end{aligned}$$
(3.53)

are the angular velocities at the horizon [60]. The above result for inverse Hawking temperature can also be obtained by computing the surface gravity via the following formula:

$$\begin{aligned} \beta _+=\frac{2\pi }{\kappa }=\frac{2\pi }{\sqrt{-\frac{1}{2}(\nabla ^\mu \chi ^\nu )(\nabla _\mu \chi _\nu )}}, \end{aligned}$$
(3.54)

where the Killing vector is given by \( \chi ^\nu =(1,0,{\Omega _+}_1,{\Omega _+}_2,0) \) associated with the Killing horizon \( {{{\mathcal {S}}}}(r=r_+) \). The entropy per unit volume of horizon for metric (3.1) is given by the quarter of horizon area

$$\begin{aligned} S=\frac{A_h}{4}=\frac{r_+^3 \Xi }{4l}. \end{aligned}$$
(3.55)

To obtain thermodynamical quantities, we should add the Gibbons–Hawking boundary term to 5-dimensional version of action (2.1) and then get Einstein–Maxwell equations by varying the bulk metric with fixed boundary metric. Here, the boundary action is given by

$$\begin{aligned} I_s=\frac{1}{8\pi }\int _{\partial {{\mathcal {M}}}} d^4x \sqrt{-\gamma } \Theta , \end{aligned}$$
(3.56)

where \( \gamma _{ab} \) is the boundary metric and \( \Theta \) is the trace of the extrinsic curvature \( \Theta _{ab} \) of the boundary. We use the counterterm approach [53, 54] to eliminate the divergences of action. In this approach we add some local surface integrals to the action to make it finite. The following counterterm get a finite action up to seven dimensions [59]

$$\begin{aligned} I_{ct}=\frac{1}{8\pi }\int _{\partial {{\mathcal {M}}}} d^4x \sqrt{-\gamma } \left( \frac{3}{l} -\frac{l}{4} {{\mathcal {R}}}+\cdots \right) , \end{aligned}$$
(3.57)

where dots denote the terms which are needed in higher dimensions. Here, \( {{\mathcal {R}}} \) and \( {{{\mathcal {R}}}}_{ab} \) are the Ricci scalar and tensor for the boundary metric \( \gamma \). By varying the finite action with respect to boundary metric \( \gamma _{\mu \nu } \), we can find a divergence-free stress tensor which has been introduced by Brown and York [55]

$$\begin{aligned} T^{ab}=\frac{1}{8\pi }\left( \Theta ^{ab}-\Theta \gamma ^{ab}+\frac{3}{l}\gamma ^{ab}-\frac{l}{2} {{{\mathcal {G}}}}^{ab}+\cdots \right) , \end{aligned}$$
(3.58)

where \({{{\mathcal {G}}}}_{ab}={{{\mathcal {R}}}}_{ab}-{{{\mathcal {R}}}}\gamma _{ab}/2\) is the Einstein tensor of boundary metric \( \gamma _{ab} \). The above stress tensor is divergence-free for dimensions less than six, but one can add more counterterms to get a finite action in higher dimensions [56]. For asymptotically AdS solutions with flat horizons, the only nonvanishing counterterm is the first term in (3.57) which yields the stress–energy tensor (3.58) up to the third term. Using this stress tensor, one can define the quasilocal conserved quantities for an asymptotically AdS spacetime. The conserved charge associated to a Killing vector \( \xi _a \) is given by

$$\begin{aligned} Q_\xi =\int _{\Sigma } d^3x\sqrt{\sigma } u^a T_{ab}\xi ^b, \end{aligned}$$
(3.59)

where \( u_a =-N\delta ^{0}_{a} \), while N and \( \sigma \) are the lapse function and the spacelike metric which appear in the ADM-like decomposition of the boundary metric

$$\begin{aligned} \gamma _{ij}dx^i dx^j= & {} -N^2 dt^2+\sigma _{ab}\left( dx^a + V^a dt\right) \nonumber \\&\times \left( dx^b + V^b dt \right) . \end{aligned}$$
(3.60)

Here, \( V^a \) is the shift vector. To obtain the total mass (energy) we should set \( \xi =\partial _t \) i.e., the Killing vector conjugate to time coordinate t and to obtain the ith component of angular momentum we should set \( \xi =\partial _{\phi _i} \) i.e., the Killing vector conjugate to angular coordinate \( \phi _i \). Using the definition (3.59) for conserved charges, we find the total mass per unit volume of horizon for charged solutions to be given by

$$\begin{aligned} M=\frac{1}{16 \pi l}\left[ \left( 4\Xi ^2-1\right) m+\frac{2}{3\sqrt{3}l^2}(\Xi ^2-1)c_3\right] , \end{aligned}$$
(3.61)

while the angular momenta per unit volume of horizon are given by

$$\begin{aligned} J_i=\frac{1}{16 \pi l}\left( 4 m +\frac{2}{3\sqrt{3}l^2}c_3\right) \Xi a_i. \end{aligned}$$
(3.62)

In the case of uncharged solutions, the total mass and angular momenta per unit volume of horizon are as follows

$$\begin{aligned} M= & {} \frac{1}{16 \pi l}\left( 4 \Xi ^2-1+3 c_4\right) m, \end{aligned}$$
(3.63)
$$\begin{aligned} J_i= & {} \frac{1}{4 \pi l} \Xi a_i m. \end{aligned}$$
(3.64)

Finally, to find the electric charge of solutions, we determine the electric field by considering the projections of the electromagnetic tensor on a special hypersurface. The normal vectors to such a hypersurface are

$$\begin{aligned} u^0 = \frac{1}{N} ,u^r = 0, u^i=-\frac{V^i}{N}, \end{aligned}$$
(3.65)

where N and \( V^i \) are the lapse function and shift vector, respectively. The electric field is also given by \( E^\mu = g^{\mu \rho }F_{\rho \nu }u^{\nu } \). The electric charge per unit volume of black string can be found by calculating the flux of the electric field at infinity, i.e.,

$$\begin{aligned} Q=\frac{q \Xi }{l}. \end{aligned}$$
(3.66)

The electric potential \( \Phi \), measured at infinity with respect to the horizon, is defined by [61]

$$\begin{aligned} \Phi =A_a \chi ^a|_{r\rightarrow \infty }-A_a\chi ^a|_{r=r_+}, \end{aligned}$$
(3.67)

Calculating the above expression leads to

$$\begin{aligned} \Phi =\frac{q}{2 \Xi r_+^2}\left( 1-\frac{\sqrt{3} c_3}{108 r_+^4}\right) . \end{aligned}$$
(3.68)

4 Extension to higher dimensions

Now, we are in a position to extend our solutions to \( D>4 \) dimensions. We first consider the spherically symmetric spacetimes for which the line element is given by the D-dimensional version of metric (3.1), where \( d\Omega ^{2} \) is the line element of a (\( D-2 \))-sphere. The topology of event horizon and spacetime are therefore \( S^{(D-2)} \) and \( {\mathbb {R}}^2\times S^{(D-2)} \), respectively. The next step is to solve Eqs. (2.7) and (2.8) for the given metric. To do so, we solve them for six and seven dimensionsFootnote 3 and find the following structure for the metric functions f(r) and g(r) in D dimensions

$$\begin{aligned} f(r)= & {} 1+\frac{r^2}{l^2}-\frac{m}{r^{D-3}}\nonumber \\&\quad +\frac{2q^2}{(D-3)(D-2)r^{2(D-3)}}, \end{aligned}$$
(4.1)
$$\begin{aligned}&g(r)=1+c_1\int \nonumber \\&\times \frac{r^{2(D-3)} dr}{\left|\frac{(D-3)(D-2)}{2}r^{2(D-2)}+l^2\left[ q^2+\frac{(D-3)(D-2)}{2}r^{D-3}\left( r^{D-3}-m\right) \right] \right|^{3/2}}.\nonumber \\ \end{aligned}$$
(4.2)

To obtain an analytical solution for g(r) , one can examine the asymptotic behavior of function at large r, that is

$$\begin{aligned}&g(r)\approx 1-c_1\nonumber \\&\times \frac{2 r \sqrt{\frac{2 r^2}{l^2}+2} \, _2F_1\left( \frac{3}{2},2-\frac{D}{2};3-\frac{D}{2};-\frac{r^2}{l^2}\right) }{(D-4) (D-3) (D-2) l^2 \sqrt{(D-3) (D-2) r^{2(D-3)} \left( r^2+l^2\right) }},\nonumber \\ \end{aligned}$$
(4.3)

where \( _2F_1(a,b;c;z) \) is the Gaussian hypergeometric function. In the case of uncharged solutions we get

$$\begin{aligned} f(r)= & {} 1+\frac{r^2}{l^2}-\frac{m}{r^{D-3}}, \end{aligned}$$
(4.4)
$$\begin{aligned} g(r)= & {} 1+c_1\int \frac{r^{(D-3)/2} dr}{\left|r^{(D-1)}+l^2 \left( r^{D-3}-m\right) \right|^{3/2}}. \end{aligned}$$
(4.5)

Here also the function g(r) takes the following form at large r

$$\begin{aligned} g(r)\approx & {} 1-c_2\frac{r^{\frac{5-D}{2}} \, _2F_1\left( 1,\frac{3-D}{2};3-\frac{D}{2};-\frac{r^2}{l^2}\right) }{(D-4) l^2 \sqrt{r^{D-3} \left( r^2+l^2\right) }}. \end{aligned}$$
(4.6)

We have found that for the charged and uncharged cases, in the limit \( r \rightarrow 0 \), both Ricci and Kretschmann invariants diverge, while as \( r \rightarrow \infty \) they go to \( -D(D-1)/l^2 \), and \( 2D(D-1)/l^4 \), respectively. As a result, \( r = 0 \) is an essential singularity of spacetime.

The solutions for cylindrically symmetric spacetimes can also be found by considering the line element (3.24) in D dimensions. Here, the metric (3.24) is modified by considering n rotation parameters rather than 2, and the relation between the number of rotation parameters and dimension is given by \( n=[(D-1)/2] \), where the bracket denotes the integer part. In this case, the possible topologies of horizon are given by,

  1. (i)

    the flat n-torus \( T^n \) with topology \( S^1\times \cdots \times S^1 \) and the ranges \( 0\le \varphi _i<2\pi ,0\le z<2\pi l \),

  2. (ii)

    the \( (D-2) \)-dimensional cylinder with topology \( {\mathbb {R}}\times S^1\times \cdots \times S^1 \) and the ranges \( 0\le \varphi _i<2\pi ,-\infty<z<\infty \),

  3. (iii)

    the infinite plane \( {\mathbb {R}}^n \) with the ranges \( -\infty<\varphi _i<\infty ,-\infty<z<\infty \).

where \(i=1,\ldots ,n \). Here, as five-dimensional case, we consider the topology (i) and (ii). Here also we solve the Einstein–Maxwell field equations in the presence of mimetic field for six and seven dimensions and find the following D-dimensional form for the metric functions f(r) and g(r)

$$\begin{aligned} f(r)= & {} \frac{r^2}{l^2}-\frac{m}{r^{D-3}} +\frac{2q^2}{(D-3)(D-2)r^{2(D-3)}}, \end{aligned}$$
(4.7)
$$\begin{aligned} g(r)= & {} 1+c_3\int \nonumber \\&\times \frac{r^{2(D-3)} dr}{\left|\frac{(D-3)(D-2)}{2}r^{2(D-2)} +l^2\left[ q^2-\frac{(D-3)(D-2)}{2} m r^{D-3}\right] \right|^{3/2}}.\nonumber \\ \end{aligned}$$
(4.8)

At large r, the function g(r) reads

$$\begin{aligned} g(r)\approx 1-\left[ \frac{2}{(D-3)(D-2)}\right] ^{3/2}\frac{c_3}{D-1}\frac{1}{r^{D-1}}. \end{aligned}$$
(4.9)

In the absence of Maxwell field, we get

$$\begin{aligned} f(r)= & {} \frac{r^2}{l^2}-\frac{m}{r^{D-3}}, \end{aligned}$$
(4.10)
$$\begin{aligned} g(r)= & {} 1+ c_4 \frac{ r^{(D-1)/2}}{\sqrt{|r^{D-1}-m l^2 |}}, \end{aligned}$$
(4.11)

Here also, as spherically symmetric spacetimes, we observe that even in the absence of Maxwell field in the limit \( r \rightarrow 0 \), both Ricci and Kretschmann invariants diverge while as \( r \rightarrow \infty \), they go to \( -D(D-1)/l^2 \) and \( 2D(D-1)/l^4 \), respectively. This indicates that, there is a spacetime singularity at \( r=0 \).

The entropy per unit volume of horizon is given by the quarter of horizon area [59]

$$\begin{aligned} S=\frac{A_h}{4}=\frac{r_+^{D-2}\Xi }{4l}. \end{aligned}$$
(4.12)

By redefinition of conserved charges in D-dimensions, we find the total mass per unit volume of horizon for the charged solutions to be given by

$$\begin{aligned} M= & {} \frac{1}{16 \pi l}\left\{ \left[ (D-1)\Xi ^2-1\right] m\right. \nonumber \\&\left. +\frac{2}{l^2}\left( \frac{2}{(D-3)(D-2)}\right) ^{3/2}\left( \Xi ^2-1\right) c_3\right\} , \end{aligned}$$
(4.13)

while the angular momenta per unit volume of horizon are given by

$$\begin{aligned} J_i= & {} \frac{1}{16 \pi l}\left[ (D-1) m +\frac{2}{l^2}\left( \frac{2}{(D-3)(D-2)}\right) ^{3/2}c_3\right] \nonumber \\&\times \Xi a_i. \end{aligned}$$
(4.14)

In the absence of Maxwell field the total mass and angular momenta per unit volume of horizon are given by

$$\begin{aligned} M= & {} \frac{1}{16 \pi l}\left[ (D-1) \Xi ^2-1+(D-2)c_4\right] m, \end{aligned}$$
(4.15)
$$\begin{aligned} J_i= & {} \frac{D-1}{16 \pi l} \Xi a_i m. \end{aligned}$$
(4.16)

It can be seen that, total mass and angular momenta reduce to the corresponding ones in Einstein–Maxwell gravity in asymptotically AdS and cylindrically symmetric spacetime by setting \( c_3=c_4=0\) [59]. For \( D = 4 \) and in the absence of mimetic field, they reduce to the mass and angular momenta given in [58, 61]. For \( D = 4 \), they also reduce to the mass and angular momenta in [20] by reparametrization of the constants \( c_3 \) and \( c_4 \).

5 Concluding remarks

We have presented two class of charged static and rotating solutions of mimetic gravity in D dimensions. In doing so, we have constructed the solutions in five, six and seven dimensions in spherically and cylindrically symmetric spacetimes and then extend them to higher dimensions.

We observe that, for both class of solutions, the spacetime admits a curvature singularity in mimetic gravity. We also have found that both Ricci and Kretschmann invariants diverge at \( r = 0 \) and are finite at \( r \ne 0 \). Thus, we have an essential singularity at this point.

We have used the conserved charges defined by Brown and York to calculate the total mass and angular momenta of these solutions. It also can be seen that, the mass and angular momenta for uncharged solutions can not be recovered from the charged ones by setting \( q=0 \). The reason is that, the function g(r) in the charged case is obtained with the approximation large r, while in the uncharged case, we have not used any approximation in obtaining the function g(r) . We also observe that, when \( D=4 \), our results for singularities, the asymptotic behaviour of Ricci and Kretschmann invariants, as well as mass and angular momenta are fully consistent with the corresponding ones in black string solutions obtained in [20].

For future works, one can consider the solutions in the presence of a variable potential. Finding the solutions with higher-derivative corrections to mimetic field [62] is also an interesting feature.