Quantum Black Hole Entropy, Localization and the Stringy Exclusion Principle

Supersymmetric localization has lead to remarkable progress in computing quantum corrections to BPS black hole entropy. The program has been successful especially for computing perturbative corrections to the Bekenstein-Hawking area formula. In this work, we consider non-perturbative corrections related to polar states in the Rademacher expansion, which describes the entropy in the microcanonical ensemble. We propose that these non-perturbative effects can be identified with a new family of saddles in the localization of the quantum entropy path integral. We argue that these saddles, which are euclidean $AdS_2\times S^1\times S^2$ geometries, arise after turning on singular fluxes in M-theory on a Calabi-Yau. They cease to exist after a certain amount of flux, resulting in a finite number of geometries; the bound on that number is in precise agreement with the stringy exclusion principle. Localization of supergravity on these backgrounds gives rise to a finite tail of Bessel functions in agreement with the Rademacher expansion. As a check of our proposal, we test our results against well-known microscopic formulas for one-eighth and one-quarter BPS black holes in $\mathcal{N}=8$ and $\mathcal{N}=4$ string theory respectively, finding agreement. Our method breaks down precisely when mock-modular effects are expected in the entropy of one-quarter BPS dyons and we comment upon this. Furthermore, we mention possible applications of these results, including an exact formula for the entropy of four dimensional $\mathcal{N}=2$ black holes.


Introduction
Supersymmetric localization [1,2] has lead to the possibility of evaluating exactly the AdS 2 path integral that computes the quantum entropy [3] of BPS black holes. This technique has been particularly successful for computing perturbative quantum corrections to the Bekenstein-Hawking entropy in toroidal compactifications , where an almost exact matching with the microscopic theory was obtained [4].
The goal of this work is to address instead non-perturbative corrections to black hole entropy related to polar states in the microscopic theory. We want to understand the origin of these effects, perhaps as new saddle points of the path integral, and if so how to compute quantum corrections around each saddle. In toroidal compactifications, such non-perturbative effects are not present, which in a way is what explains the simplicity of the microscopic formulas. Nevertheless, for N = 4 and N = 2 compactifications, these non-perturbative effects are crucial to understand black hole entropy in the limit of very large central charge, which is where the four dimensional semiclassical description holds. Though exponentially subleading, these non-perturbative effects can become relevant when the number of polar states grows exponentially, which is the case of large central charge.
Recent attempts to compute exactly the quantum entropy, rely on the four dimensional effective action, which includes instanton effects in the prepotential of supergravity. In order to address the problem of non-perturbative corrections within the context of supersymmetric localization, we need to first understand the UV dynamics that are responsible for those effects. With this in mind, the following question arises: can we rely on effective field theory such as supergravity or do we need the full string theory?
Another issue is of concern. Since localization is an off-shell computation and as such does not depend on the values of the coupling constants, it is valid at strong and weak coupling. Translating to supersymmetric black holes and their quantum entropy, this means that the localization computation should hold for any value of charges. The reason is that, in string theory, the scalar fields, which play the role of the coupling constants, become functions solely of the charges at the black hole attractor. However, in view of the AdS/CFT correspondence and the fact that we are working in the microcanonical ensemble, this raises many issues related to the validity of effective field theory. For example, the characteristic length scale of the geometry is a function of the charges, and so by scaling these it is possible that a particular dimensional point of view is more appropriate than other. Conversely, we may ask which microscopic Lagrangian are we localizing?
To better understand these issues, we take a pedestrian approach. We start by recalling the original localization computation of [2] in four dimensional supergravity and discuss its validity using effective field theory. Then in section §1.2 we consider the five dimensional point of view.
We argue this is more appropriate to describe the physics of the Rademacher expansion. In section §1.3, we discuss the connection between non-perturbative effects in the black hole entropy and the counting of polar states. Along the way, we present the main lines of our solution, which, in essence, is a reformulation of the OSV formula. We require this formula to be compatible with the Rademacher expansion and to reproduce at the same time the counting of polar states.

The four dimensional point of view and the OSV formula
In [2], it is shown that the path integral of N = 2 supergravity 1 on AdS 2 × S 2 , which computes the entropy of a BPS black hole, reduces to a finite dimensional integral by means of supersymmetric localization. The answer for the black hole degeneracy d(q, p) is schematically of the form where F (X) is the four dimensional holomorphic prepotential that encodes the couplings of the vectors to the Weyl multiplet, and q, p are respectively the electric and magnetic charges; the integration variables φ correspond to normalizable modes that are left unfixed by localization.
The result (1.1) is a reincarnation of the conjectured OSV formula [5], which relates the black hole quantum entropy to the topological string partition function. In the original formulation [5], the reason this happens is because the supergravity prepotential F (X) in (1.1) is directly related to the perturbative free energy F (g top , t) of the topological string on the Calabi-Yau compactification manifold.
To be more precise, the topological string computes four dimensional higher derivative terms, also called F-type terms, of the form F g (t)R 2 − T 2g−2 − + h.c. (g > 0) with R − being the anti-self-dual curvature two-form and T the graviphoton field [6,7]. The F g (t) 2 are defined in a perturbative expansion in powers of the topological string coupling constant g top , that is, For t ≫ 1, the tree level g = 0 term can be approximated by F 0 (t) ≃ D abc t a t b t c /g 2 top with D abc the intersection matrix of the Calabi-Yau threefold, while the function F 1 (t) is the one-loop correction which approximates to F 1 (t) ≃ c 2a t a 24 + O(e −t ). The corrections of order e −t are due to worldsheet instantons, while the parameter c 2a can be identified with the second Chern-class c 2 (X) (tangent bundle) of the Calabi-Yau. The map between the topological string variables and the supergravity fields is the following: the complexified Kähler parameter t a = X a /X 0 and g top = 1/X 0 , where X 0 is the dilaton that sits in the supergravity multiplet and X a are the vectormultiplet complex scalar fields. 3 .
For a general Calabi-Yau, the function (1.2) is known only as an asymptotic expansion in g top . 1 The Lagrangian is based on the off-shell superconformal formalism and it is thus related to the Wilsonian rather than the 1PI effective action of string theory. 2 In the present discussion, we keep the free energies Fg(t) holomorphic, which is appropriate for the Wilsonian point of view of the entropy function and hence also of the localization computation. We will comment on possible non-holomorphic corrections later in section §5.3. 3 We are omitting minor details regarding the map between the complex scalar fields X a and the topological string variables. These details will become clear later on.
If one tries to use localization at the level of the four dimensional effective Lagrangian as in [2] we run into serious problems; not only we have to constrain the scalar X 0 ∼ 1/g top to very large values, but we also need to include an arbitrary number of higher derivative corrections. The best we can do is to compute order by order in the inverse of the charges using perturbative methods.
Nonetheless, in compactifications that preserve more supersymmetry, like in N = 8 and N = 4, the prepotential (1.2) is one-loop exact, that is, all F g>1 (t) vanish. In this case, the tree level free energy is given exactly by F 0 (t) = D abc t a t b t c and the one-loop contribution F 1 (t) = ln g(t), with g(t) being a worldsheet instanton partition function. Since the prepotential is now one-loop exact one might expect to be able to use supersymmetric localization at the level of the four dimensional effective action. As a matter of fact, previous work shows that in the N = 8 theory it is possible to reproduce exactly all the perturbative corrections to the area formula [4] including non-perturbative corrections, related to orbifold geometries, that depend on intricate Kloosterman sums [8]. In the N = 4 case, however, the situation is not so satisfactory because the localization integral (1.1) is not able to reproduce all the features predicted by the microscopic theory. In particular, it fails to reproduce the measure that is known from microscopics even after taking into account the one-loop determinants [9,10]. In a way, this is partially justified from the microscopic studies [11,12,13]. These studies predict a measure M(φ, p) to (1.1) that depends strongly on the worldsheet instantons. The precise dependence is of the form where g(τ ) can be identified with a worldsheet instanton partition function [14] that appears in topological string free energy, and p 2 is a quadratic magnetic charge invariant. Since the instanton corrections carry non-trivial information about the Calabi-Yau manifold, related to Gromov-Witten invariants, it would be puzzling if the four dimensional localization computation, including the oneloop determinants, could explain those corrections. In general the determinants are given in terms of equivariant indices of the four dimensional background with no connection to the Calabi-Yau invariants. Instead, one needs to understand the dynamics that are responsible for the quantum corrections that one observes at the level of the microscopic measure.
The near-horizon geometry can help clarify some of these issues by drawing a clear contrast between four and five dimensional physics. Lets consider the attractor geometry of the D0 − D4 black hole in IIA and uplift to M-theory. The near horizon geometry [15] is spherically symmetric and contains a local AdS 3 factor which consists of the M-theory circle fibered over AdS 2 , that is, Here u parametrizes the circle, A is the Kaluza-Klein gauge field, ϑ(p) is the physical size which can be taken to be large, and ds 2 CY is the Calabi-Yau metric. Both AdS 2 and S 2 factors inside the brackets have unit size in string units. When reducing to four dimensional IIA string theory the radius of the circle becomes the scalar 1/X 0 in (1.2). Given the map between the supergravity varibles and the topological string, finite radius means finite topological string coupling constant.
So for finite radius, the Kaluza-Klein modes, that one obtains after compactification on the circle, have masses which are comparable to the AdS 2 inverse size and thus the solution is best described in five dimensional supergravity. In contrast to four dimensions, the part of five dimensional N = 2 Lagrangian that contains the couplings of the vectors to the Weyl multiplet, is completely determined by the parameters D abc and c 2a , which appear in the topological string free energy.
Therefore, at the level of the Lagrangian that one obtains after dimensional reduction on the Calabi-Yau, there seems to be no information about the worldsheet instantons.

The five dimensional point of view and the Rademacher expansion
The four dimensional problem just described holds in the regime for which the radius of the circle is parametrically smaller than the size of AdS 2 , or equivalently in the regime of weak topological string coupling constant. However, if supersymmetric localization should hold for any value of the charges 4 , the regime of g top ∼ 1 5 should be equally well valid, but this corresponds to take the five dimensional point of view. In the following, we shall argue that the microscopic Rademacher expansion is more appropriate to describe the five dimensional physics, and we build our solution based on this idea.
As we explain later in more detail, localization at the level of the five dimensional theory, initiated in [12,16], gives instead the finite dimensional integral with F cl (X) the "classical" prepotential that we define as (1.6) This is the one-loop approximation of the prepotential (1.2) without the worldsheet instanton corrections. It is thus clear that the dependence on the worldsheet corrections (1.3) must arise from other effects. In contrast, the localization integral captures only perturbative quantum corrections around the attractor background (1.4), as an expansion in the area. 4 In the black hole problem, charges play the role of the coupling constants in quantum field theory. When computing perturbative corrections to black hole entropy, we expand in inverse powers of the charges. 5 The scalar fields are functions of the charges in the attractor geometry and so is gtop too.
We can check that the integral (1.5) matches the expectations from the microscopic theory.
Performing the various integrals, it is found that the final result matches the microscopic degeneracy -a Bessel function, valid precisely for large g top [12], including the measure factor in N = 8 as well as in all N = 4 CHL examples in both K3 × T 2 and T 4 × T 2 compactifications. For this reason, we consider the five dimensional point of view to be a step closer to understanding the quantum measure and the role of the worldsheet instantons.
Besides the leading Bessel, the microscopic N = 4 answer contains a series of subleading Bessel contributions. Schematically, they arise after expanding the functions g(τ ) (1.3) as instanton sums and then performing appropriate integrals [12,13]. As a result, non-perturbative corrections to black hole entropy are generated. Remarkably, this series of Bessel contributions can be matched, to a certain extent, to the polar state contributions in a mock Jacobi Rademacher expansion [13].
The main goal of this work is to clarify the origin of the subleading Bessel functions, in a way consistent with the quantum entropy functional. Even though they are non-perturbative for large g top , they can become relevant in the opposite regime of g top ≪ 1, which occurs for large central charge, because the number of Bessel functions can increase exponentially. According to the supergravity/topological string map, that regime corresponds to the four dimensional point of view, which is why it is crucial to understand the origin of the subleading Bessels. Preliminary steps in this direction were already taken in [12], where it was suggested that the subleading Bessel contributions could arise from additional configurations of the full string theory path integral. To better understand the claim lets look in more detail to the Rademacher expansion [17], which is an exact formula for the Fourier coefficients of modular forms-the black hole microscopic degeneracy 6 . Schematically one has where d(∆) is the black hole degeneracy, which is a function of the charge combination ∆(q, p), Ω(∆ polar ) is the degeneracy associated with the polar terms and Kl(∆, ∆ polar , c) are Kloosterman sums; each of the integrals are modified Bessel functions of the first kind. The microscopic N = 4 answer derived in [13] has precisely this form after neglecting the c > 1 terms. Also, in this work we will only be considering the terms with c = 1, usually referred as polar Bessels. Our approach is mainly heuristic. In essence, we propose that the full path integral of Mtheory receives the contribution of a new family of configurations which are euclidean geometries of the type AdS 2 × S 1 × S 2 . The AdS 2 × S 1 factor is a local AdS 3 geometry, such as (1.4), with euclidean time contractible, and guarantees that after reduction on the circle, one obtains the four dimensional AdS 2 × S 2 attractor background. This also follows from the fact that the four dimensional localization equations fix the geometry to be exactly AdS 2 × S 2 [19]. Therefore we see that from a five dimensional point of view there is not much room for the space of allowed geometries, except that it must have a circle fibered over the attractor geometry.
To be consistent with the path integral and the localization computation, we argue that the new configurations are exact solutions of different five dimensional Lagrangians that we see as effective descriptions. The difference between Lagrangians is a finite renormalization of the parameters that define the theory such as c 2a (1.6), which is the gauge-gravitational Chern-Simons coupling in five dimensions. The supersymmetric localization computation at the level of the five dimensional theory reproduces the tail of polar Bessel functions observed in the microscopic answers, including the exact spectrum of ∆ polar . That is, for each euclidean AdS 2 × S 1 × S 2 geometry we find a Bessel function with index and argument given as in (1.7), thus explaining the origin of the nonperturbative effects from a five dimensional point of view.
The renormalization of c 2a has an additional effect. It corrects the physical size of the AdS 2 × S 1 × S 2 geometry in such a way that it can become zero, thus imposing a physical condition on the number of geometries. We find that this bound is in perfect agreement with the stringy exclusion principle [20]. The bound on the number of possible geometries is essentially the reason why there is only a finite number of polar Bessel functions in the Rademacher expansion. In the semiclassical limit, that is, when the central charge is very large, the number of geometries close to maximal polarity is dense which allows for a saddle point approximation. The result of this can be identified with the dilute gas approximation of the AdS 3 path integral as in [21], and the non-perturbative corrections around that saddle correspond to excitations of the fields dual to the chiral primary states.
It is also instructive to compare the above proposal with the effective field theory computation in R 4 × S 1 , which is the setup considered in [6,7] and revisited in [22], for deriving the Gopakumar-Vafa formula. They consider a one-loop computation for the Kaluza-Klein modes of vectors and hypermultiplets on the circle S 1 , in the background of a self-dual graviphoton field. The result of this computation is the four dimensional higher derivative terms proportional to the topological string free energies F g (t) (1.2). At the on-shell level we do not expect the R 4 and AdS 2 × S 2 computations to differ much when the curvatures are very small. So computing the instanton contributions, in F g (t), to the on-shell entropy function, we can generate non-perturbative corrections to the entropy area formula [13]. Nevertheless, at the quantum level, placing the theory on the AdS 2 × S 1 × S 2 background (1.4), leads to problems related to the stringy exclusion principle [20]. The path integral of the reduced theory 7 on AdS 2 × S 1 8 contains fluctuations that are not unitary and hence are expected to backreact on the background solution [23]. The role of the exclusion principle is to artificially truncate the perturbative spectrum of fluctuations in agreement with the dual field theory. The exclusion principle is more relevant for small central charge which makes it a nonperturbative effect. The way we circumvent this problem is by considering the full M-theory path integral, instead of using the effective five dimensional Lagrangian with the massive hypermultiplets that are needed to obtain the Gopakumar-Vafa formula.
In fact, we show that in the limit of charges for which the circle becomes parametrically smaller than the size of AdS 2 , while keeping the curvature small, we recover the perturbative partition function, in an expansion in the charges, as determined by the four dimensional effective action.
This regime of charges is obtained by scaling Max(∆ polar ) faster than ∆ such that we have 1/φ 0 ≪ 1 at the saddle point. In this regime, we shall recover the Gopakumar-Vafa corrections to black hole entropy. We explain, in addition, how the on-shell logarithmic corrections computed in [24,25] arise from our formalism.
To put it more explicitly, we provide with a non-perturbative formula for black hole entropy that correctly interpolates between the five and four dimensional physics. For small central charge c, one has only a small number of geometries and thus also a small number of Bessels. Schematically 7 By the AdS/CFT we keep track of all the Kaluza-Klein modes. 8 To be more precise on thermal AdS3, which, in a way, is a modular transformed version of AdS2 × S 1 .
we have the gravitational answer which is the Bessel function, in agreement with the Rademacher expansion. Whereas for large central charge the high density of geometries, and so of Bessels, allows for a saddle point approximation. For the N = 8 and N = 4 models, we recover partially the OSV formula, that is, the holomorphic part, with corrections that we can systematically compute, Here Z top (φ, p), which encodes the holomorphic free energies, can be seen as a canonical partition function for the non-perturbative effects. These effects can then be related to the Gromov-Witten worldsheet instantons.

The polar state side of the story
So far we have described the problem from the black hole point of view. However, there is another side to this story, which is not directly connected to black holes. This is the context of polar states and its relation to chiral primary states. We will study these states, which can be seen as D6 − D6 bound states, and we shall argue that the proposed AdS 2 × S 1 × S 2 geometries are the bulk duals of these microscopic configurations, after a modular transformation.
Polar states are characterized by having negative charge discrimant −∆ polar < 0 in the R sector of the CFT. Since black holes have necessarily positive charge discriminant, polar states must correspond in the bulk to configurations that do not form single center black holes. However, the reason why the information about polar states enters in the black hole counting formula (1.7) is due to the modular properties of the CFT partition function. In fact, knowing the spectrum of polar states defines completely the spectrum of non-polar states, and so using modularity we can relate one to the other.
There is an extensive literature on the problem of determining the spectrum of polar states and then use modularity to study corrections to black hole entropy [21,26,27]. One of the most complete of such studies is the work of Denef and Moore. Succintly, they perform an extensive study of polar multi-center black hole solutions in four dimensional N = 2 supergravity, with the goal of determining their contribution to the spacetime index. The main ingredients used are attractor flow trees [28] and the wall-crossing phenomena. They find that at large topological string coupling, the main contribution to the index comes from two center black hole solutions, corresponding to a configuration of a single D6 and a single anti-D6 (D6) with worldvolume fluxes, located at different positions in R 3 . The fluxes considered contain, besides the smooth part, a singular component, which is represented by ideal sheaves. Their contribution to the index gives rise to a refined version of the OSV answer, which includes a measure of the sort described by (1.3).
The multi-center black hole solutions studied by Denef and Moore, admit a decoupling limit after an uplift to five dimensions [29,30]. In particular for the two center solution, the region near the core, where the D6 and D6 sit, is zoomed in, and the decoupled geometry becomes asymptotically AdS 3 × S 2 with no black holes inside [30]. It can be shown that these solutions carry Virasoro charges consistent with the values expected for ∆ polar . Nevertheless, this result holds only for ∆ polar very close to its maximal value. We revisit this construction and establish a parallelism with our solutions.
In all the works on black hole entropy through polar state counting, one uses the CFT 2 as an intermediate step. First, we build a partition function for the polar states Z polar (τ, z i ), with τ the complex structure of the torus where the CFT 2 lives, and z i are chemical potentials. Then, we use modularity to construct the black hole partition function [31] as This is only an approximate equality because we are not including the contribution due to other elements in the SL(2, Z) modular group. Nevertheless, for the purpose of studying non-perturbative effects due to the polar contributions, it is enough to consider only the modular transformation From the CFT point of view, Z polar naturally receives the contribution from only a finite number of states, those with negative discriminant. Nevertheless, from the bulk, one has to truncate artificially the perturbative spectrum of Kaluza-Klein fields on AdS 3 , which are the fields dual to chiral primary states (polar states in the R sector). The truncation is known as the stringy exclusion principle [20] and asserts that quantum gravity in AdS 3 is inherently non-perturbative.
The solution that we propose in this work is greatly inspired by the polar geometries studied in [30]. The asymptotically AdS 3 × S 2 polar configurations have a complicated geometry, but for large central charge we can write the metric as a background global AdS 3 × S 2 geometry plus corrections proportional to the singular fluxes, which are of the order of the inverse of central charge. A modular transformation makes the euclidean time circle contractible giving rise to asymptotically black hole like AdS 2 × S 1 × S 2 geometries [20,32,33]. However, in view of the localization computation that we want to perform, these solutions are not satisfactory because they do not have an exact [19,16]. In a sense, which we would like to understand in more detail, our solutions are the non-perturbative analog, when taking into account the full string theory, of these modular transformed polar configurations. Conversely, we expect the fully quantum corrected polar configuration to have an exact global AdS 3 × S 2 factor.
To build intuition about the quantum corrected polar configurations we proceed as follows. The approach described in [27,30]  To guide the construction of our solution, we will revisit the counting of chiral primary states on AdS 3 and its relation to Z polar (1.12) following [21,26]. Since our goal is to interpret the quantum black hole entropy as a partition function of M-theory, we will want to reproduce the counting of chiral primaries purely in terms of the eleven dimensional M-theory fields, and this will lead us inevitably to the polar D6 − D6 configurations with singular fluxes. The counting consists essentially in building multi-particle states on top of the vacuum AdS 3 by acting with the quanta that we obtain from the fields dual to the chiral primary states [35,36]. To do that we need to analyze the Kaluza-Klein tower of fields on AdS 3 coming from the supergravity fields and the M2, and (anti)-M2 branes, wrapping cycles on the Calabi-Yau. Contrary to [21], which works in the dilute gas approximation, we will reconsider the same counting but for finite central charge.
Imposing the stringy exclusion principle and spectral flow symmetry will enable us to reproduce the non-perturbative corrections induced by the polar Bessels in the Rademacher expansion, including the polar coefficients Ω(∆ polar ).

Outline
The plan of the paper is as follows. In section §2, we start by describing in more detail the Rademacher expansion and connect it to previous work on black hole entropy and localization in supergravity. Then we review the microscopic formula for the entropy of one-quarter BPS black holes, which includes the effect of the subleading Bessel contributions. We use this formula as a check of our proposal and later make comments on N = 2 black hole entropy. Before moving to the discussion about the D6 − D6 configurations, in section §3 we review the problem of counting chiral primaries on AdS 3 , which includes M2 and anti-M2-branes wrapping holomorphic cycles of the Calabi-Yau [20,21]. Taking into account the stringy exclusion principle and spectral flow symmetry we obtain a formula that agrees precisely with the microscopic N = 4 answer at finite charges; this formula will serve as a guide for the solution that we propose. Then in section §4, we review the D6 − D6 configurations with worldvolume fluxes and their decoupling limit. We argue for the existence of a family of AdS 2 × S 1 × S 2 configurations and then in section §5 we compute the partition function using localization. The result of this is a finite sum over Bessel functions, whose spectrum is in agreement with the spectrum of polar states of a Jacobi form. Finally in section §6 we discuss a connection between our solutions and the quantum foam picture of non-perturbative topological string.

Quantum saddle points from Rademacher expansion
The Fourier coefficients of Jacobi forms of non-positive weight admit an exact expansion in terms of an infinite sum of Bessel functions. This expansion is known as Rademacher expansion [32] and provides with a simple way to address the asymptotic behaviour of the integer Fourier coefficients.
We review this expansion and connect to previous work on black hole entropy corrections.
Consider a Jacobi form J k,ω of level k and negative weight ω, with Fourier expansion J k,ω (τ, z) = n≥0,l c(n, l)q n y l , q = e 2πiτ , y = e 2πiz . (2.1) The coefficients c(n, l) with non-negative discriminant ∆ ≡ n − l 2 /(4k) ≥ 0, which are known as non-polar coefficients, admit an exact expansion in terms of an infinite sum of Bessel functions.
Known as Rademacher expansion [37,32] it has the form c(n, l) = The coefficients c(m, s) have negative discriminant, or polarity, ∆ p ≡ m − s 2 /(4k) < 0, and are thus the polar coefficients, and Kl(n, l; m, s; c) are Kloosterman sums [38]. The structure in (2.2) is completely fixed by modularity except for the knowledge of the polar coefficients.
One of the great advantages of the expansion (2.2), is that it is very appropriate to the study of asymptotics. For ∆ ≫ 1 with finite ∆ p each of the Bessel functions have a saddle point at Around each saddle we can expand perturbatively in powers of ∆|∆ p | ≫ 1 such that where the . . . denote perturbative corrections in powers of 1/∆ around each of the saddles u p , we are ignoring a normalization factor for each of the perturbative series. Therefore we see that the sum of polar contributions results in a tail of exponentially suppressed terms relative to the term of maximal polarity.
For holomorphic Jacobi forms 9 , the leading term in the expansion (2.4) comes from the most polar term, which has ∆ p = −k/4. From the bulk physics point of view, we can identify the leading exponential growth with the black hole entropy area formula, since we have 4π where A is the area of the black hole horizon. Similarly, in the near-horizon attractor geometry (1.4) the saddle value of u p is identified with 1/φ 0 .
In addition, we can compute quantum perturbative corrections to the leading saddle using localization and a connection to Chern-Simons theory [12]. The result is the finite dimensional integral (1.5), which we review in section §5.1 using localization at the level of five dimensional supergravity.
The idea of [12] is roughly the following. We start with the four dimensional localization integral (1.1) and approximate the prepotential F (X) according to the regime φ 0 ≪ 1, where the leading saddle lives. Indeed, the on-shell complexified Kähler class becomes large, that is, t ≫ 1 and the one-loop topological string free energy approximates to F 1 (t) ≃ c 2a t a /24 leading to the classical prepotential (1.6). The quantum measure, on the other hand, is fixed by a zero mode argument using the Chern-Simons formulation. Though this formulation is well justified in the regime of φ 0 ≪ 1, it is argued in [12] that the zero mode argument can be extrapolated also for the regime φ 0 ≫ 1, which allows to define a quantum measure. at the level of the quantum entropy path integral [39,8]. In this case, the subleading terms that grow as exp A/4c arise after including in the path integral Z c orbifolds of locally AdS 3 geometries [33]. The orbifold explains the exponential growth ∼ exp A/4c that characterizes them, because the area is reduced by a factor of 1/c due to the orbifold.
There is something particular to the subleading polar terms when compared with the orbifold saddles, which is partially the reason why their bulk interpretation is more difficult. While for the orbifold saddles the values of u p are consistent with the attractor background, for the subleading polar saddles (2.5) the values of u p (2.3) are quite distinct from the on-shell attractor background values, which can be determined from the leading Bessel; they differ from finite renormalizations.
If these saddles indeed correspond to bulk saddle configurations, then they can not be solutions of five dimensional supergravity that one obtains after compactification on the Calabi-Yau.

Degeneracy from Siegel Modular Forms
In the following we present a study of the microscopic N = 4 degeneracy for dyons in K3 × T 2 and T 4 × T 2 CHL orbifold compactifications [12,13]; we describe in detail the role of the polar contributions. Though, our considerations are valid also for N = 2 compactifications, we will use the N = 4 answer as a check of our proposal.
The index d(m, n, l) of 1/4-BPS dyons in four dimensional N = 4 compactifications, has generating function the reciprocal of a Siegel modular form Φ k , that is, Here k is the weight of the modular form under a congruence subgroup of Sp(4, Z), and depends on the orbifold compactification. The integers m, n, l label respectively the T-duality invariants P 2 /2, Q 2 /2 and Q.P with electric charges Q and magnetic charges P (in a particular heterotic frame).
For further details we point the reader to [40].
Conversely we can extract the integers d(m, n, l)-the black hole degeneracies, by performing an inverse Fourier transform. The function 1/Φ k contains poles, and thus by deforming the contour, the integral picks the residues at those poles. It turns out that the dominant contribution to the black hole degeneracy is The functions g(u) are modular forms of weight k + 2, with Fourier expansion (2.10) Choosing appropriately the contour C in (2.8) [12], we can rewrite the degeneracy (2.8) as a finite sum of integrals of Bessel type, that is, and with n p = 1, 0 for K3 and T 4 CHL models respectively. Integrating over u 1 we obtain a sum over Bessel functions with the series resembling the Rademacher expansion (2.2). This has led the authors in [13] to test this possibility against an exact mock-Jacobi Rademacher expansion [18].
For r = s = 0, extremization of (2.12) gives the Cardy formula where c L = 6m + 24n p can be identified with the left central charge (of the non-supersymmetric side of the (0, 4) CFT 2 ). The values of u 1 and u 2 at the saddle point are From the bulk physics, u 1 and u 2 are mapped respectively to the values of the scalar fields X 1 /X 0 and 1/X 0 of the four dimensional supergravity.
For (r, s) = (0, 0) we can proceed similarly. Each term has exponential growth exp W r,s (u, m, n, l) ∼ e 2π √ cq∆/6 , ∆ ≫ 1, (2.16) and the values of the saddles are From here we see that these saddles differ from (2.15) by finite renormalizations parametrized by r, s.

Polar states from M2 and anti-M2 branes
In this section, we review the problem of counting chiral primary states from the bulk theory on AdS 3 × S 2 × X CY , with X CY a Calabi-Yau manifold, and how it connects to the study of black hole entropy. This section is essentially a review of [21] and companion works [26,41]. We develop on their formulas for black hole entropy and provide with corrections, which follow mainly from the stringy exclusion principle. The final result for the degeneracy of one-quarter BPS dyons in N = 4 compactifications can be shown to agree with the microscopic formula (2.11).
The idea of [21] is to compute the contribution to the elliptic genus coming from the fields on AdS 3 , which are dual to the chiral primary states of the CFT. The elliptic genus is nevertheless formulated in the R sector, and thus to count primary states, we must first do a spectral flow transformation to the NS sector. This map consists on the identification where the | R,N S subscripts denote the R and NS sectors, L 0 ,L 0 and J 3 0 are the Virasoro and R-symmetry generators respectively, and c L , c R are the left and right central charges. Under this transformation, polar states essentially map to chiral primary states, which we can count from the spectrum of Kaluza-Klein fields on AdS 3 [20,35,36]. These include not only the contribution coming from the supergravity fields but also the contribution of M2 and anti-M2 branes wrapping holomorphic two-cycles on the Calabi-Yau. The black hole partition function is obtained by performing a modular transformation, after flowing to the R sector.
The main result of [21] is the factorization of the partition function (index), over the chiral primary states, as the square of the topological string partition function Z top . Essentially the result is where the trace only goes through the chiral primary states (ch.p.); for simplicity we have omitted a −c L /24 factor in L 0 . In the NS sector, chiral primary states obey the condition L 0 = J 3 0 , which maps to the conditionL 0 − c R /24 = 0 in the R sector (3.1). In addition, chiral primary states can carry charges under U (1) currents J a . In the dilute gas approximation of [21], the trace in the bulk is a trace over BPS multi-particle states [36,35,20] with arbitrary spin and occupation numbers.
As a consequence, the result of the trace is a formal infinite product over all the quantum numbers, which can be related to Z top using the Gopakumar-Vafa invariants [6,7]. That is, This is the key step that allows the authors in [21] to make a connection with the OSV conjecture [5]. Here p a is the magnetic flux on the sphere S 2 , induced by the M5-brane wrapping a divisor four cycle in the homology class P Poincare dual to [P ] = p a Σ a with Σ a ∈ H 2 (X CY , Z).
The factors Z top (τ, z a ) and Z top (τ, −z a ) arise essentially from the contributions of respectively M2-branes and anti-M2-branes wrapping holomorphic cycles in the Calabi-Yau; there is also a contribution coming from the supergravity fields but they will not be relevant for the discussion of N = 4 compactifications, which is our main interest in this section. What allows the sum over arbitrary M2 and anti-M2 charges is the fact that in AdS space, a brane and its anti-brane can preserve mutual supersymmetries. Indeed, a M2-brane wrapping a holomorphic cycle Q ∈ H 2 (X CY ), siting at the origin of AdS 3 and at the north pole of S 2 preserves the same set of supersymmetries as an anti-M2-brane wrapping the same cycle Q, sitting at the origin of AdS 3 but now at the south pole of S 2 [41,21]. The fact that these are supersymmetric configurations on AdS 3 × S 2 × X CY will play a very important role in the remaining of the letter.
If the theory has N = 4 supersymmetry, for example when X CY = K3 × T 2 , the partition function (3.5) simplifies considerably, that is, Here p 1 parametrizes the class of K3 ∈ H 4 (Z), which is Poincare dual to H 2 (T 2 ). The coefficient 24 in the product is the Euler character of K3, which allows for a generalization to other N = 4 compactifications. In the case of N = 8 supersymmetry this partition function is trivially one.
Formula (3.4) is valid only in the limit of very large central charge and for low density of chiral primaries, and so it is not the complete answer. The reason is that it does not take into account the stringy exclusion principle, which puts a bound on the total spin of the multi-particle states, that is, It makes sense as a grand canonical partition function valid for infinite central charge, in which case the stringy exclusion principle constraint can be relaxed. The exclusion principle can not be seen in perturbation theory on AdS 3 , because from the bulk point of view the multi-particle states are free bosonic excitations with no limit in their particle number. Instead, for finite central charge the contribution coming from the perturbative spectrum of Kaluza-Klein fields on AdS 3 must be truncated due to the stringy exclusion principle. SinceL 0 = J 3 0 , by supersymmetry, then the bound on J 3 0 imposes a bound onL 0 . Moreover, we have L 0 =L 0 for a static solution and so L 0 is also bounded. Therefore, only a finite number of states contribute to (3.4).
Physically, adding q a M2-branes sitting at the north pole adds non-zero angular momentum much like an electron in a background magnetic field, while theq a anti-M2-branes, because they sit at the south pole, contribute with the same sign angular momentum, that is, J 3 0 =q a p a /2. Therefore, flowing to the R sector, we find that the state carries R-charge We then see that the exclusion principle gives a bound on the number of M2 and anti-M2 branes.
The trace in the R sector must contain only states that do not form black holes, up to a spectral flow transformation. In terms of the Virasoro charges this implies in the R sector, where we have reincorporated a −c L /24 factor. Here j a = q a −q a is the total M2-brane charge where q a andq a are respectively the M2 and anti-M2 charges, and D ab = D abc p c , with D abc the intersection matrix of the Calabi-Yau. Since j a ∈ Z and D ab is not unimodular, j a lives on the lattice Λ * /Λ with Λ the lattice k a ∈ Z and Λ * its dual under the metric D ab ; the quotient removes spectral flow charges [31]. Since the configuration is static, that is, L 0 =L 0 in the NS sector, the condition becomes where we used the fact that c L = p 3 + c 2 · p, with p 3 = D abc p a p b p c and c 2 · p = c 2a p a [42]. We can show that (3.11) is spectral flow invariant. In particular, for K3 × T 2 or T 4 × T 2 CHL orbifolds this condition becomes with n p = 0, 1 for the T 4 , K3 respectively. Here we have used the fact that the only non-vanishing components of D abc are D 1ab ≡ C ab and permutations, together with c 2a ≡ 24n p δ a,1 and P 2 ≡ C ab p a p b . Setting P 2 = 2m, q 1 = (r − s) andq 1 = s we obtain precisely the effective central charges The formula (3.4) also misses important degeneracy factors when taking the trace over the chiral primaries. In the limit when the M2-brane charge q a ,q a is parametrically smaller than p, which we are taking to be large, these degeneracy factors are irrelevant for the purpose of arriving at (3.4). This is the dilute gas approximation of [21]. However, since our main interest is for finite central charge, we need to take into account those degeneracy factors. Essentially we follow the discussion in [26]. Under spectral flow from NS to R sector the chiral primaries, which are annihilated by J − 1 , flow to lowest SU (2) R weight states because J − 1 flows to J − 0 . For example the AdS 3 R vacuum corresponds to a lowest weight state with J 3 0 = −c R /12 = −k/2 with k the SU (2) R level. Therefore acting with J + 0 we generate the full multiplet, which leads to a degeneracy of 2|J| + 1 states. In addition, these states have to be tensored with the zero modes ψ +± of the centre of mass multiplet 10 which carry spin 1/2. The total angular momentum after including the contribution of the M2-branes is which leads to a degeneracy (3.14) Substituting in this expression the values of p a and q a ,q a for the K3 × T 2 and T 4 × T 2 CHL examples, that is, q 1 = (r − s) andq 1 = s, one obtains precisely which we identify with the measure factor in the first line of expression (2.11). Since degeneracy is always positive we must have m + 2n p − r > 0, (3.16) which is the bound implied by the stringy exclusion principle [20]. In the limit when p 3 ∝ m → ∞ this bound can be relaxed which is why one obtains the infinite products (3.5).
In addition to the SU (2) R degeneracy, we need to tensor with the states associated with the Assembling all the factors, we construct, in the R sector, the polar partition function where the sum is over the states obeying the condition (3.12) and (3.16). The black hole partition function is obtained after a modular transformation [21], that is, There are further corrections to this formula coming from other elements of SL(2, Z); they give contributions of the orbifold type (2.6). The parameter ω is the weight of the elliptic genus under modular transformations and can be determined as follows. We decompose the elliptic genus in spectral flow sectors as χ(τ, z) = µ h µ (τ )θ µ (τ, z a ), with θ µ (τ, z a ) a multidimensional theta function 11 . The function h µ (τ ) contains the information about black hole degeneracy, while the theta functions contains the states related by spectral flow symmetry. On one hand, from the Siegel modular form (2.7), of weight k, one finds Jacobi forms of weight −k and a single chemical potential z. This implies that part of the Jacobi form that contains the information about black hole degeneracy, which is a vector valued modular form, must have weight −k − 1/2, and hence also h µ (τ ). On the other hand, since θ µ (τ, z a ) has weight b 2 /2 with b 2 the second Betti number of the Calabi-Yau, we find that the weight of the elliptic genus is ω = −k − 1/2 + b 2 /2. For the K3 × T 2 compactification we have b 2 = 23 and thus ω = 1. Similarly for the other CHL compactifications we have b 2 = 2k + 2 + 1 [40], which also gives ω = 1! The black hole degeneracy is computed by an inverse Fourier transform, that is,

Black hole bound states and horizonless geometries
In this section, instead of thinking in terms of M2 and anti-M2 branes wrapping cycles on the Calabi-Yau, we consider an equivalent description in type IIA string theory consisting of a D6 and a D6 configuration wrapping the Calabi-Yau, and carrying U (1) fluxes F in their worldvolume.
This section is essentially a review of the polar configurations of Denef and Moore [27] and their decoupling limit [30]. The main goal is to find a microscopic description for the family of saddle geometries that we propose. Under certain assumptions, we argue that the quantum entropy path integral should be seen as an M-theory path integral with eleven dimensional instanton solutions.
Then we propose an effective five dimensional description, which is amenable for using localization.
For the charge configuration of interest, the total D6 charge is zero but the presence of fluxes induce lower dimensional charges due to the couplings of the worldvolume fields to the Ramond- which generate D2 and D0 charges respectively. Uplifting to M-theory, the pair D6 − D6 becomes a Taub-Nut and anti-Taub-Nut configuration, while the D2 and D2 charges lift to M2 and M2 charges and the D0 charges become momentum along the M-theory circle.
From the M-theory point of view the fluxes on the D6-brane lift to four fluxes G = dC 3 [43] in M-theory, with C 3 the three-form that couples to M2-branes, that is, ω T N is the self-dual normalizable two form of the Taub-Nut geometry, and F is the total flux in the D6; and similarly for the D6 brane. Therefore fluxes on the D6 branes map to fluxes in the bulk M-theory.
To be consistent with the M2 brane picture of the previous section, we want to turn on fluxes that generate arbitrary M2 ∼ D2 charges as well as D0 charges, but keep fixed the D4 charge, which lifts to the M5 brane, parametrized by the magnetic charges p a . In order to do that, we parametrize the flux in the form F = p + F, where p ∈ H 2 (X). To keep the D4 charge equal to p, we need to impose that the first Chern-class of F is zero, whereas to generate arbitrary D0, D2 charges we must keep its higher Chern-classes arbitrary. In other words, this amounts to for the first D6 center, where we have defined p a = D abc p c p b , while for the second center D6, we We have denoted β and n respectively the second and third Chern-classes of the ideal sheaves, and similarly forβ andn. We have used the notation in [27] which assigns charges (D6,D4,D2,D0) as (p 0 , p a , q a , q 0 ). We see that the total charges are as follows: the total D6 charge is zero, and the total D4 charge is p a as required; on the other hand the total D2 ∼ M2 charge is β a −β a and the Once we consider backreaction in four dimensional supergravity this charge configuration gives rise to a two center supersymmetric black hole solution. In fact we can obtain multi-center configurations by considering many other non-local charges [28]. For a generic charge configuration there can exist both single and multi-center solutions. However, certain configurations have the property that for the same total charge, only multi center solutions exist; these are the polar configurations.
A special feature of multi center configurations is that for certain values of the asymptotic moduli the distance between two centers goes to infinity and the bound state leaves the spectrum leading to the phenomenon of wall-crossing.
The two center black hole solution is a complicated geometry. The details about the metric can be found in [28,27]. Nevertheless, the essential feature that we need is that the metric is determined in terms of R 3 harmonic functions H(x), where q a andq a are the D2 charges induced respectively by the D6 and D6, and similarly for q 0 ,q 0 . The parameter R, which is a free parameter, is the asymptotic radius of the M-theory circle.
In addition, supersymmetry imposes a certain integrability condition on the harmonic functions, which force the centers to stay at a predetermined distance. This equilibrium distance is a function of the charges and also the asymptotic moduli. The wall-crossing phenomena happens when we tweak the moduli such that this distance goes to infinity in which case the bound state splits into its constituents. Moreover, the two center solution is not a static geometry and carries angular where Γ 1 , Γ 2 is the symplectic charge inner product defined as Γ 1 , The region near the core of the centers admits a decoupling limit [30] after an uplift to five dimensions. Before moving to a general discussion about the decoupled two center configurations, first we describe the simplest D6 − D6 configuration, which corresponds to setting the singular fluxes to zero. Without loosing generality we consider c 2 (X) = 0 for the moment. Therefore, the configuration consists of a D6 at a position x 6 and a D6 at a position x6, carrying U (1) fluxes F = p a ω a /2, with ω a a basis of H 2 (X), andF = −p a ω a /2 for the D6. The charge vectors are therefore Each center has non-zero entropy but from asymptotic infinity one finds that a black hole with the same total charges cannot exist because the discriminant functionq where the centers sit at a fixed distance completely determined by their charges, that is, where Γ 6 , Γ6 is the symplectic charge inner product. For the charge configuration (4.8) we find The decoupled geometry based on the harmonic functions is still a complicated solution. Nevertheless, we can follow the observation made in [29], and use oblate-spheroidal coordinates defined as |x − x 6 | = r 66 2 (cosh(2η) + cos(θ)), (4.10) |x − x6| = r 66 2 (cosh(2η) − cos(θ)), (4.11) to simplify considerably the problem. The five dimensional metric in the new coordinates becomes precisely the global AdS 3 × S 2 geometry where U = p 3 /6. Furthermore, the attractor equations fix the five dimensional vector-multiplet scalars M to constants M a = U 1/3 p a while the gauge fields have constant flux on the sphere F a = p a e 2 , with e 2 the volume form. Furthermore, the sphere is twisted by the gauge field map to the center of AdS 3 and respectively to the north and south of S 2 , which is consistent with the M2 branes description.
The geometry described above corresponds to a particular case of what is known as ambi-polar Eguchi-Hanson metric with Gibbons-Hawking (GH) charges q = 1 and −q [45]. For general q this is a Z q quotient of global AdS 3 × S 2 . We review this construction following [45]. We use cylindrical polar coordinates (z, ρ, φ) on R 3 , and consider GH charges located on the z-axis at z = ±a, and define r ± = ρ 2 + (z ∓ a) 2 . (4.14) The five dimensional geometry is entirely determined by the harmonic functions Using the oblate spheroidal coordinates we can map the GH space to global AdS 3 × S 2 (4.12) with size L 2 = (k 2 ) 2/3 .
Lets now consider the case of a general two center charge configuration and its decoupling limit [30]. In this case, the geometry is only asymptotically AdS 3 × S 2 (4.17) Here J = Γ 6 , Γ6 /2 is the total angular momentum of the two center configuration (4.7). The remaining field configuration consists of five dimensional gauge fields A a and scalars M , which have the attractor solution for η ≫ 1, with q a the total D2 charge.
We can use the expansion of the metric and the gauge fields at infinity to compute the Virasoro charges. After removing the contribution of the U (1) and SU (2) R currents to the stress tensor [30], with q 0 , q a the total charges. These represent the contributions to the stress tensor coming purely from the gravitational sector. For the charge configuration (4.4) and (4.5) this gives with ∆β a = β a −β a . Since q 0 − 1 2 D ab q a q b > 0 is the polarity, we see that these configurations indeed map to the polar states in the CFT 2 .
Let us now consider the limit of charges p a → λp a with large λ while keeping fixed the fluxes β,β and n,n in (4.4) and (4.5). In particular, this ensures that the individual center black hole charges are kept large, which is necessary for the supergravity solution to be valid. The harmonic functions (4.6) split into a term proportional to the smooth fluxes p and a term coming from the contribution of the ideal sheaves fluxes β,β and n,n, which are parametrically smaller of order 1/λ 2 , 1/λ 3 respectively. Since in the absence of the singular fluxes the geometry is global AdS 3 ×S 2 , we can write the full geometry as global AdS 3 × S 2 plus corrections, that is, where δg µν is a function of the singular fluxes β,β and n,n and thus of order O(1/λ 3 , 1/λ 2 ). We can proceed similarly for the gauge fields and scalars We can identify these perturbations as coming from the backreaction of the fields dual to the chiral primary states described in section §3.

Purely fluxed solutions from Gauge-Gravitational Chern-Simons
In this section, we set the singular fluxes to zero and consider the case of charges induced by mixed gauge-gravitational Chern-Simons terms, which are proportional to c 2 , the second Chern-class of the Calabi-Yau. We saw previously that the decoupling of the two-center solution, after uplift to five dimensions, gave a geometry that was asymptotically AdS 3 × S 2 . In this section we try a different approach. Instead of solving for the backreacted four dimensional solution and then uplift, we consider the problem directly in five dimensional supergravity in the presence of higher derivatives terms, given by the supersymmetrization of gauge-gravitational Chern-Simons terms.
We find that the theory admits global AdS 3 ×S 2 with same quantum numbers as the asymptotically AdS solutions.
The Ramond couplings (4.1) must be supplemented with the terms R ∧ R ∧ A 3 and R ∧ R ∧ F ∧ A 1 , where R is the curvature two-form. The two center charge configuration in the absence of the singular fluxes is with c 2 (X) the second Chern-class (tangent bundle) of Calabi-Yau X. As explained in the previous section, the solution that we find in two derivative supergravity after decoupling limit, is a geometry which is asymptotically AdS 3 × S 2 , and carries total angular momentum The decoupled geometry is not a solution of the full equations of motion because the four dimensional multi-center geometries, described in [30,28], are solutions of two derivative supergravity and thus higher derivative corrections are not taken into account. To correctly describe the exact solution we need to consider the problem in the presence of the higher derivatives terms, which arise from the reduction of the eighth-derivative C ∧ I 8 (R) term in M-theory. After compactification on the Calabi-Yau this gives rise to gauge-gravitational Chern-Simons terms plus their supersymmetric completion. This includes terms such as with A a the five dimensional gauge field and M a the real scalar field that sits in the vector multiplet.
This problem was studied in [46,47] by considering five dimensional off-shell supergravity with a mixed gauge-gravitational Chern-Simons term. The solution found is in fact the near-horizon geometry of a black ring, which has the form AdS 2 ×S 1 ×S 2 . But after a simple analytic continuation, that we describe in further detail in section §5.2, we can bring the metric to global AdS 3 × S 2 . A few properties of the solution are the following. The physical size L 2 is given by in contrast with the two derivative result L 2 = (p 3 /6) 2/3 (4.16). The difference is nevertheless negligible in the limit of p ≫ 1, which is when the two derivative solution is justified. Note that in this case L 2 agrees precisely with the decoupling two center distance r 66 (4.9); this fact will become relevant later. Furthermore, the attractor equations for the U (1) gauge fields and the scalar fields are exactly A a 5D = −p a cos θdφ, (4.31) which contrasts with the approximate solutions in the two derivative theory.
So far the sphere is not twisted and thus the gravitini are antiperiodic along the spatial circle, which makes this a solution in the NS sector. Since our interest is in the R sector we need to turn on a non-trivial connection on the sphere, such as (4.13), so that its holonomy around the contractible cycle effectively changes the gravitini periodicities. This has an effect on the total angular momentum carried by the solution. This is easier to see from an holographic point of view.
To do that, we reduce the theory on the sphere keeping its isometries gauged, which gives rise to three dimensional SU (2) R Chern-Simons terms [48] with level k R [49] From the three dimensional point of view the twisting connection A = dσ − dτ = dz on the sphere, with z a right-moving coordinate, induces a current J Rz = ik R Az/2 [48]. The angular momentum is the R-charge of the solution, that is, in precise agreement with (4.7). Note also that the solution corresponds to a lowest SU (2) R weight state. In this case the ratio J/J max = 1 in (4.17). The key difference is on the SU (2) R level, which suffers a correction due to the mixed Chern-Simons terms.

Purely fluxed solutions from Ideal Sheaves
In branes. Inspired by this result we consider an ansatz for the exact geometry which we take to be global AdS 3 × S 2 .
We start from the AdS 3 × S 2 ansatz and write the metric using the ambi-polar Eguchi-Hanson coordinates defined in (4.15), which depend on the parameters q, a, k. In this work we consider only smooth geometries and so we set q = 1; q maps to the number of D6 branes, which is consistent with our problem. The parameter a is the physical distance between the centers while k parametrizes the harmonic functions. From the decoupling limit of the multi-center geometry, the distance between the centers (4.9) is proportional to the symplectic charge inner product, which has the value This is the charge product Γ 6 , Γ6 for the charges (4.4) and (4.5). Since we are turning on singular fluxes in M-theory, we can expect corrections to the harmonic functions (4.6) and also to the distance formula (4.9). Nevertheless the charge combination Γ 6 , Γ6 is a topological invariant and hence it is integer quantized. In view of this, it seems natural to assume that the distance between the centers remains unchanged. Moreover, we expect the geometry to asymptote to the perturbative geometry (4.12) when we take the fluxes β,β to be parametrically smaller than p. This means that the constant term in the harmonic function V 0 (4.15) must equal the corresponding term h 0 = R 3/2 /4 in the formula (4.6), so we have Hence, using that a = r 66 , we find As explained in a previous occasion, to describe the R sector of the theory, the sphere must be twisted by the Wilson line (4.13), to impose the correct boundary conditions on the gravitini. Following the derivation presented in the previous section, the geometry acquires angular momentum This is in perfect agreement with the angular momentum formula (4.7) for the two center bound state, and it also agrees with the total angular momentum contribution due to the M2-branes (3.13) as described in section §3.
Given that the size (4.38) must be positive for the geometry to make sense, we must have As we discuss later, restricting the fluxes to β,β ≥ 0, guarantees that the partition function agrees with the Cardy limit of the CFT. If it was not the case then there would be contributions to the path integral overwhelming the area formula predicted from microscopics (2.5). Therefore for β,β > 0 we obtain an upper bound on the possible amount of fluxes, which in turn leads to a finite number of geometries. This bound on the spectrum was also observed in a similar context [50].
The bound on the number of geometries is precisely the bound imposed by the stringy exclusion principle [20]. The principle was introduced in order for the number of chiral primaries in the CFT 2 to match the spectrum of Kaluza-Klein fields on AdS 3 . The reason is that while from the CFT the number of chiral primaries follows from fermi statistics and is therefore finite, from the bulk point of view the Kaluza-Klein fields have free bosonic excitations and thus with no limit in their particle number. The exclusion principle gives an unitarity condition that is non-perturbative in nature. In terms of quantum numbers, the exclusion principle translates into a bound on the R-charge carried by the fields excitations on top of AdS 3 . For example, in the M2 brane picture it implies that 1 2 (q +q) · p < p 3 12 + c 2 ·p 24 where q,q are the number of M2 and M2 respectively, in agreement with the bound (4.43).
At this point the renormalization (4.39) is only a conjecture, which is very difficult to show given the nature of the solution. Nevertheless, we can already provide with preliminary evidence, by giving an alternative derivation for the SU (2) R level (4.40), and then ofk R by supersymmetry.
The idea is to determine the coefficient of the SU (2) R Chern-Simons terms in three dimensions starting directly from the eleven dimensional action. We follow closely [48,51]. We write the M-theory four form flux as where e 2 is the volume form of the sphere and contains the effect of gauging the isometries, that is, it depends explicitly on the SU (2) R connections A, which have legs on the AdS 3 directions. We decompose the flux F in the smooth component p = p a ω a with ω a ∈ H 2 (X, Z) and the singular term F , that is F = p + F. The ideal sheaf flux F has zero first Chern-class and where α a ∈ H 4 (X, Z) and β a ,β a , n,n ∈ Z. The contributions β, n andβ,n are due to the D6 and D6 respectively. The expressions (4.45) have to be taken with care since the fluxes F are singular and require an appropriate regularization. For our purpose the Chern-classes c 2 (F) and c 3 (F) are well defined and given by the values (4.45). The SU (2) R Chern-Simons coupling is implicitly related to a lack of gauge invariance of the action and thus we can focus only on the Chern-Simons terms in M-theory. We compute with e = e 2 . The first integral on the RHS gives the "descent" of the Pontryagin class of the sphere bundle, that is, with A the SU (2) R connection. In addition one has Furthermore we have the contribution from the eighth derivative term C ∧ I 8 (R) in M-theory. This term is easier to compute. Since it depends linearly on C only the first Chern-class of F can contribute but that is zero by definition. Though, it contributes with a term proportional to c 2 · p [49]. The final contribution is therefore The overall normalization is fixed by setting the fluxes to zero. The coefficient of the Chern-Simons term agrees precisely with the level k R (4.40). We have kept the dependence on the fluxes n,n arbitrary to note that the Chern-Simons coefficient is proportional to the symplectic charge product Γ 6 , Γ6 . This is in agreement with our expectations since as we have shown, the R-charge, and thus the angular momentum, is proportional to the Chern-Simons level.
We now return to the backreacted geometry. There is an important comment regarding the definition of the five and four dimensional Newton's constants, which will be important later. So far we have been following the conventions used in [30] which fix the five dimensional Einstein-Hilbert (EH) term as where g 5 and R (5) correspond to the five dimensional metric and Ricci scalars respectively. In the five dimensional off-shell theory, the EH term contains, in contrast to the on-shell version (4.50), a conformal coupling to vector-multiplet scalars M as The attractor equations impose LM a = p a , with L 2 the conformal factor of the metric. After reducing on the circle with radius L/φ 0 , we obtain the four dimensional EH term d 4 x √ g 4 in four dimensions. We keep the factor 1/φ 0 such that the conformal factor of the four dimensional metric remains constant in the problem; thus we need L 2 ∝ p 3 . If we include higher derivatives then we must impose L 2 ∝ p 3 /6 + c 2 · p/12, which is the result found in [46].
In order to establish a map between the on-shell and the off-shell theory, we write the five dimensional EH in terms of the unit size metric g 5 , which gives g 5 Γ 6 , Γ6 R (0) . Following the same logic outlined above, we find by dimensional reduction that the size L 2 is precisely Γ 6 , Γ6 .
We can also show that this is consistent with the four dimensional off-shell superconformal gravity and the renormalization of c 2 . Following [52], the EH term is given by where the combination i(X IF I −X I F I ) is the Kahler potential e −K . Assuming the renormalization induced by the fluxes, the prepotential F (X) is withĉ 2 (4.39). Using the on-shell attractor solutions LX 0 = φ 0 and LX a = φ a + ip a , the Kahler potential becomes Therefore to obey the choice (4.52) we must have (4.56)

Localization and Non-perturbative Corrections
In this section, we consider supersymmetric localization at the level of the five dimensional theory. We follow closely the four dimensional solution studied in [2,19]. Different aspects of this computation such as boundary conditions or the choice of localization supercharge were discussed previously in the works [16,8], which we review along the way.
The relation between the quantum entropy functional on AdS 2 and the partition function on AdS 3 ≃ AdS 2 × S 1 was discussed in [53]. The essential observation is that the ground states of the conformal quantum mechanics dual to the theory on AdS 2 map to a chiral half of the CFT 2 , which is dual to the theory on AdS 3 . This gives a simple way to relate the microscopic index computations to the black hole degeneracy [39,54].
According to our proposal, the full partition function will be the sum of different contributions, each coming from a solution parametrized by β,β , that is where D[Φ] denotes a measure for all the fields in five dimensional supergravity, and S E [Φ, β,β] is the euclidean action whose Lagrangian depends explicitly on the values of the fluxes β,β. For each of the geometries parametrized by β,β, we perform localization.
As we explain shortly, one also needs to consider the contribution of U (1) connections that have a delta function singularity at the origin of AdS 2 × S 1 . This was also pointed out in [32]. The field is pure gauge but it is not well defined everywhere. The reason to include them is motivated from the fact that in the decoupled geometry, the M2 brane total charge gives rise to a gauge transformation ∼ D ab (β −β) b dy in the five dimensional gauge field (4.18), with y parameterizing the spatial circle that is contractible. From a physical point of view, this gauge transformation generates a spectral flow transformation for the U (1) currents in the CFT. In the path integral we use a regularization scheme to avoid the singularity at the origin, and show that is consistent with the localization procedure. The computation ends up depending only on the abelian Chern-Simons terms, as expected for the contribution of a large gauge transformation.

5D Supersymmetric Localization
We start by reviewing the localization computation of N = 2 supergravity on AdS 2 × S 2 [2]. The four dimensional Lagrangian is constructed using the off-shell superconformal formalism, for which a good review is [52]. The part of the Lagrangian that is most relevant for the computation is based on the holomorphic prepotential where X are the complex scalar fields in the vector-multiplets andÂ = (T − ) 2 is the bottom component of the chiral multiplet W 2 , with W the Weyl superfield; in the on-shell theory T − becomes the graviphoton field. Besides the usual Einstein-Hilbert and Maxwell terms, the Lagrangian contains in addition higher derivative terms parametrized by the function g(X/X 0 ). It determines the coupling of the vector-multiplets to the square of the Weyl tensor as with C abcd the Weyl tensor. Therefore at the on-shell level, we have two derivative supergravity with Weyl square higher derivative corrections. Later we show how to introduce Gauss-Bonnet type of corrections, which are known to contribute to black hole entropy [55].
The original localization solutions of [2], solve the BPS equation QΨ = 0, with Q a real supercharge that squares to a self-dual 12 U (1) isometry of AdS 2 × S 2 , and Ψ are the vector-multiplet where r ∈ [1, ∞[ is the radial coordinate of AdS 2 and X * is the attractor value of the scalar, which is constant. All the other fields remain fixed to their attractor background. Moreover, the solutions are parametrized by constants C 0 , C a , with a = 1 . . . n V , with n V the number of vector multiplets 12 On AdS2 × S 2 we have isometries L and J, respectively rotations on AdS2 and S 2 . The supercharge Q obeys Q 2 = L − J. 13 There is an important caveat in this computation (which is not fault of the authors). The reason is that in supergravity we can not really define a supercharge as we usually do in supersymmetric field theory. So the construction of the localization deformation of the sort QV , which includes all the supergravity fields and is invariant under local supersymmetry, is still unknown. Part of this work provides steps in that direction. 14 .
Given the solutions to the localization equations we need to determine their contribution to the physical action. After removing IR divergences 15 , following the prescription in [3], we obtain the renormalized action Ren(S) = −πq I φ I + 4πImF (φ + ip), (5.5) where φ + ip is the value of the scalar X at the origin of AdS 2 , with φ ∼ Re(X * ) + C, which is free to fluctuate. The function F is the holomorphic prepotential (5.2). To arrive at the expression (5.5) one needs to use, at an intermediate step, the on-shell equations of motion It ensures that the saddle point equations that we obtain from varying the renormalized action against φ are consistent with the attractor equations of motion. The localization integral is thus given by The symbol ∼ means that we are ignoring a measure factor. A measure was proposed in [56,10], which includes the contribution of the localization one-loop determinants.
As an example, lets evaluate the integral (5.7) for the theory on K3 × T 2 . The prepotential is with η 24 (t) the worldsheet instanton partition function. We have used the fact that D 1ab = C ab with the other components zero. The integral (5.7) becomes after evaluating the φ a integrals, with a = 2 . . . n V , which are gaussian. We have defined |Q+τ P | 2 ≡ Q 2 + 2τ 1 Q.P + |τ |P 2 , with Q 2 , P 2 , Q.P the T-duality invariants, which are quadratic in the charges q, p. Comparing with the microscopic answer (2.8) described in section §2.1, we find agreement up to the measure factor that contains a derivative of ln |η 24 | 2 .
Now we turn gears to the localization computation in five dimensions. In contrast to four dimensions, the coupling between the Weyl multiplet and the vector-multiplets are determined 14 The Weyl multiplet does not contain the graviphoton gauge field, which requires to add the compensator vectormultiplet, which contains the scalar X 0 . 15 Integrating on AdS2 leads to infinite volume divergences, which requires introducing a cutoff at finite radius.
completely by the constants D abc and c 2 a. The first parametrizes the different couplings in the two derivative Lagrangian, while the second constant parametrizes the supersymmetrization of the gauge-gravitational Chern-Simons term where A a is the gauge field in the vector-multiplet, and R is the curvature two form.
The Lagrangian contains the following terms Supersymmetric localization of the five dimensional theory on AdS 2 ×S 1 ×S 2 goes along the lines described in [16]. The off-shell reduction described in [57] plays a very important role and we use it extensively here. We can show that the five dimensional localization equations [16] do not allow the fields to depend on the circle coordinate. Therefore, we can write the five dimensional equations in terms of the four dimensional ones, using the off-shell reduction of [57]. As a consequence, the five dimensional solutions are an uplift of the four dimensional.
The uplift goes as follows. Since the four dimensional scalar X 0 maps to the radius of the circle and the four dimensional metric is fixed by the localization equations to be of the form AdS 2 × S 2 , the five dimensional metric becomes where (φ 0 ) * = ϑ 1/2 Re(X 0 ) * is the on-shell value of φ 0 . The factor ϑ is a constant free parameter, since the theory is Weyl invariant by construction. Physically we need to use a gauge fixing condition, which makes ϑ a function of the charges. This was explained at the end of section §4.2.
Similarly, the five dimensional gauge fields are not fixed by the localization equations. The scalars X a map to the Wilson lines of the five dimensional gauge field, and so we obtain where (φ a ) * = ϑ 1/2 Re(X a ) * are the on-shell values of φ a and (A a ) * 4D is the on-shell four dimensional gauge field. In addition, there is a map between the four and five dimensional auxiliary fields, which we refer the reader to [57,16] for more details. For C 0 = C a = 0 the metric becomes the locally AdS 3 metric (1.4) and the five dimensional gauge fields become flat, in agreement with the five dimensional attractor equations [58].
Before moving to the computation of the renormalized action, we discuss the boundary terms.
These are necessary to ensure a well defined variational problem. At the boundary, the gauge fields have the form with A f a flat connection on AdS 2 × S 1 and A Dirac is the Dirac monopole gauge field, which is defined locally. In order to compute the boundary terms it is enough to consider the abelian Chern-Simons terms in L V V V . In contrast, the Maxwell terms give a contribution proportional to dA f that vanishes at the boundary. The boundary terms are thus of Chern-Simons type as discussed in [59]. Moreover, we need to include a Wilson line for the Kaluza-Klein gauge field, since we keep fixed the electric fields in the microcanonical ensemble [3]. Details about their computation can be found in [8]. We will denote these boundary terms generically by S Bnd .
The renormalized action in five dimensions consists of the following terms S bulk is the bulk action based on the Lagrangian (5.11) and S ct are boundary counter terms necessary to remove IR divergences. Computing the action above is a very complicated task, because the various fields, including the metric, have non-trivial radial profiles. Instead of performing directly the five dimensional computation, we can simplify the problem by reducing the different terms to four dimensions and then use the results of [2] described in the beginning of this section. The reduction is possible because the fields do not carry any dependence on the circle coordinate. Nevertheless, this is still a complicated task because the five dimensional Lagrangian contains a large amount of terms. Fortunately, such problem has been object of study in recent years [60,61,57].
The main conclusion is that under the reduction, the different four dimensional terms can be assembled in four dimensional supersymmetric invariants.
The way the reduction works is succinctly the following. The two derivative Lagrangian L V V V gives rise to the four dimensional Lagrangian based on the holomorphic prepotential On the other hand, the reduction of the higher derivative L V W W , gives rise to two different super-symmetric invariants. The first is the supersymmetrization of the Weyl squared tensor term, which together with the reduction of L V V V , can both be written in terms of a single supersymmetric invariant based on the holomorphic prepotential This is the one-loop N = 2 prepotential (1.2), after neglecting the contribution of the world-sheet instantons. Since it depends only on the geometry we call it classical prepotential. The second set of terms can be written in terms of a chiral superspace integral based on the non-linear Kinetic multiplet T(ln X 0 ) [60]. In superspace it has the form which is a particular case of the more general type of supersymmetric invariants with Φ ′ a chiral superfield of weyl weight zero and Φ ω a chiral superfield of weyl weight ω. The Following [60,61], we can develop in components the Lagrangian density L N L of the invariant where we used the notation A, Ψ i , B ij , F − ab , Λ i , C for the components of a chiral superfield Φ. The prime variables correspond to the components of the chiral multiplet Φ ′ and the hat variables correspond to the components of lnΦ ω ; e is the volume element. The remaining fields D, T abij , A a , V i µj are respectively the auxiliary scalar, antisymmetric tensor and R-symmetry vector field respectively, while R ab is the Ricci tensor. These fields sit in the Weyl multiplet.
For our problem we have A ′ = A| X a /X 0 andÂ = A| lnX 0 and similarly for all the other components of the chiral multiplets. Developing the components of the chiral multiplets in terms of the vector-multiplet fields, we obtain a density L N L that has a very complicated dependence on the fields. To compute its contribution on the localization solution we proceed as follows. First we note that in the four dimensional attractor background we have [52,2] with all the other fermionic fields in the Weyl multiplet set to zero. This implies that the covariant derivative D a and the superconformal invariant derivative D a become the usual covariant derivative with no dependence on the weight ω. This is enough to show that the last two lines of (5.20) vanish identically as noticed in [60]. Furthermore, the two lines also vanish, except for the term T acij T bcij D b D a A ′ since A ′ = X a /X 0 is not constant in the localization background. Nevertheless, that term can be replaced by D b (T acij T bcij ) D a A ′ after an integration by parts, which vanishes on the solution. Note that we are not taking into account the total derivatives in (5.20), and so in practice that term is ambiguous 16 . On the other hand, the remaining lines in (5.20), those which do not come multiplied by ω, give rise to terms that fall in the category of the D-type terms studied in [62]. A few characteristic terms are [57] the Kähler potential and H IJ... its derivatives. Plugging in the localization solution we still obtain a very complicated expression. Fortunately, this is precisely the problem studied in [63], where it is shown that D-type terms of the form (5.23) vanish identically on the localization solution.
In conclusion, only the reduction of L V V V and the part of L V W W that contains a coupling to a Weyl squared term survive once evaluated on the localization solution. The resulting Lagrangian density is based on the holomorphic prepotential (5.17). Therefore, the renormalized action on AdS 2 × S 1 × S 2 reduces exactly to the four dimensional one based on the classical prepotential.
That is, Ren(S 5D ) = −q I φ I + 4πImF cl (φ + ip), (5.25) with F (X) cl the classical prepotential (5.17). Developing further this expression we obtain with D ab = D abc p c , c 2 ·p = c 2a p a , andq 0 = q 0 −D ab q a q b /2. The parameter p 3 +c 2 ·p can be identified with the central charge of the dual CFT [42], which is also proportional to the SL(2, R) L Chern-Simons level of the three dimensional effective theory; similarly, D ab parametrizes the Chern-Simons couplings of the abelian gauge fields [8,12]. This gives further support in view of the observations made in [12], which relates the quantum black hole entropy (5.26) to the Chern-Simons path integral. In particular, −πq 0 φ 0 + π 6 (p 3 + c 2 · p)/φ 0 can be identified with the Chern-Simons action of a flat SL(2, R) L connection. The quadratic term proportional to D ab can be identified with the contribution of zero modes of the abelian Chern-Simons terms.
To compute the one-loop determinants we follow essentially the discussion in [12], which provides with a simple derivation of the measure using a connection to supersymmetric Chern-Simons theory on AdS 2 × S 1 . The derivation of the measure relies on the fact that the structure of perturbative corrections in the Cardy limit, which is given by the most polar Bessel function, in essence, is determined by the modular properties of the dual CFT 2 partition function. This can be used to determine the measure and hence the one-loop determinants. Here we give a more refined version of that derivation and argue that the localization one-loop determinants are consistent with the Chern-Simons computation.
In the four dimensional problem, the localization deformation was quadratic in the fields. As a consequence the one-loop determinants could not carry any dependence on the off-shell solution 17 .
In contrast, in five dimensions, the metric is fluctuating and so, on general grounds, we expect the one-loop determinant to be a function of the localization modes φ 0 , φ a and the physical size ϑ(p).
Furthermore, given the off-shell nature of the localization computation, the one-loop determinants can not depend on the couplings of the theory. In our problem these are effectively determined by the Chern-Simons couplingsk L ∝ p 3 + c 2 · p,k R ∝ p 3 + c 2 · p/2 and D ab ∼ p a , as we can see from the renormalized off-shell action. Another aspect to take into account is the fact that the localization deformation is Weyl invariant 18 and in odd dimensions Weyl invariance is preserved 17 In [9, 10] the one-loop determinants depend explicitly on the localization manifold because the conformal factor of the metric is chosen to be field dependent. Nevertheless, such an approach requires the inclusion the Weyl multiplet in the localization determinants together with understanding the conformal gauge fixing procedure, features that are not clarified in those works. 18 The localization deformation tQV , with V fermionic, is of the form t √ gL loc . Since the path integral is t invariant we must have that √ gL loc is Weyl invariant, otherwise, we could absorb the t dependence in a Weyl rescaling of the metric.
also at the quantum level. This means that the one-loop determinants, that is, the determinant over the non-zero modes, can not carry any dependence on ϑ(p), but only on the fields φ 0 , φ a that are scale invariant. A dependence on ϑ(p) can arise due to zero modes, which we know are present in the AdS 2 path integral [39,12,1]. Therefore, we can conclude that the one-loop contribution must have the form Z Loc 1-loop = ϑ α f (φ 0 , φ a ) with α determined by a zero mode counting. At this point we assume that f (φ 0 , φ a ) can depend on φ 0 , φ a only polynomially. If this was not the case, the presence of exponential terms would correct the various terms in the renormalized action (5.26) and change the saddle point equations. As a consequence, we would find that the on-shell values of φ 0 , φ a were no longer the ones determined by the physical attractor geometry. It would be important, nevertheless, to check by explicit computation that integration over the Kaluza-Klein modes on the circle does not give rise to such exponential terms in the one-loop determinants.
Later we use the chiral primary picture of section §3 to argue that this is the case.
To determine ϑ α f (φ 0 , φ a ) we can compare with the one-loop computation in the supersymmetric Chern-Simons theory [12].  [8,12]. This gives wherek L is the SL(2, R) L level and D ab parametrize the abelian U (1) levels. On the other hand, from the localization computation we obtain after extremization of the finite dimensional integral, the following one-loop correction The term (φ 0 ) b 2 /2+3/2 / k L det(D ab ) comes from evaluating the gaussian integrals at the saddle of the renormalized action (5.26). The saddle point approximation only requires that |q 0 p 3 | ≫ 1, At the extremum, we have x ∼ 1 and thus the saddle value of φ 0 can range from small values, for |q 0 | ≫ p 3 , to large values for |q 0 | ≪ p 3 , while keeping |q 0 p 3 | ≫ 1. Since the Chern-Simons computation is valid for any value of φ 0 19 , comparing the expressions (5.27) and (5.28), we must have that the localization one-loop determinant is given by We can check that the chiral primary computation of section §3 reproduces the result (5.29). To do that, note that we have already included the effect of the massive hypermultiplets by means of the shift in the parameter c 2 of the five dimensional Lagrangian. Therefore, we only need to care about the supergravity modes, which include the effect of the graviton multiplet, n V vector multiplets and n H massless hypermultiplets. The idea is to repeat the computation of section §3 for these modes. Since we have n V = n H for the N = 4 theory, we can show that the supergravity modes cancel exactly for any value of L 0 > 0 in the trace (3.4). This is so because the canonical partition function for these modes is proportional to the MacMahon function to the power χ = −2(n V − n H ) [21], which is also the Euler character of the Calabi-Yau. Therefore, for this supergravity theory we have only one polar term, that is, the trace over the chiral primaries is trivial. From this point of view, we also see that the five dimensional supergravity theory does not lead to problems related to the stringy exclusion principle. To obtain the black hole entropy we must perform a modular transformation as (3.18). The degeneracy becomes where c R and c L are respectively c R = p 3 +ĉ 2 · p/2 and c L = p 3 +ĉ 2 · p. As explained before, the c R factor in the measure comes from counting states in the angular momentum multiplet. Using the map we can show that the integrand above is the exponential of the entropy function computed using localization. Moreover, from the analysis in section §3 we have found ω = 1, and so we conclude that the one-loop determinant is Z Loc 1−loop = c R /φ 0 . From the analysis at the end of section §4.2, we have found that the physical size ϑ of the geometry is proportional to c R , which allows to reproduce the result (5.29), as we wanted to show.
The full partition function, including the one-loop determinants, is therefore To determine the integration contour C we proceed as follows. In the path integral, the measure includes an integration over the five dimensional metric and the gauge fields. Therefore, in the Figure 1: Contour deformation for the integral dz e az+b/z z c with a, b > 0 and c > 1. Cε denotes the semicircle contour of radius ǫ and CR is the original contour. It is easy to show that the integrals along the contours C1 and C3 vanish when we take Imz(C3) → +∞ and Imz(C1) → −∞. Since there is no pole inside the contour we must have that the integral along CR equals the integral along C2. In turn, the integral along C2 is precisely the modified Bessel function of the first kind.
finite dimensional integral (5.32) the appropriate variables of integration are the radius 20 R ∼ 1/φ 0 and the Wilson lines A a u ∼ φ a , and so the integration measure must be proportional to dR dφ a . Furthermore, in the Euclidean four dimensional supergravity theory one has an SO(1, 1) R-symmetry instead of the usual U (1) in the Minkowski theory. From a five dimensional point of view this effectively amounts to reduce the theory on a time-like circle [64] instead of the euclidean circle. Looking at the geometry (5.12) we see that we must integrate R ∼ 1/φ 0 over the imaginary axis, which determines the contour. To avoid the singularity at R = 0, we take R along the contour C R =] − i∞, −iǫ] ∪ C ǫ ∪ [iǫ, +i∞] with C ǫ a semicircle of radius ǫ ≪ 1 going around the origin in the anti-clockwise direction as depicted in figure (1) (the integral would be zero if it circled the origin in the clockwise direction). Besides, one also has that the matrix D ab is not positive definite 21 , which renders the gaussian integral in (5.32) ill-defined when Re(R) > 0, or equivalently for R ∈ C ǫ .
In a diagonal basis for D ab , with D ab φ a φ a = λ +φ 2 + − λ −φ 2 − and λ + , λ − > 0, the solution is to analytically continueφ − to imaginary values, making the gaussian integral convergent. Deforming the contour, as described in figure (1), the final integral is a modified Bessel function of the first kind, that is,

Subleading Bessel contributions
The global AdS 3 × S 2 solutions described in section §4.2 can be used to generate black hole AdS 2 × S 1 × S 2 geometries. For example, start with the AdS 3 global metric and write y = τ − σ and ρ = 2η such that, after some algebra, For the purpose of computing the euclidean path integral we can declare y to be the euclidean time and τ the spatial circle instead. Then, the AdS 2 factor dρ 2 + sinh 2 ρdy 2 together with the sphere becomes the euclidean near-horizon geometry of the four dimensional black hole [3]. The spatial circle has nevertheless, a time-like signature and so we have to consider its Wick rotation.
In particular, we consider the identification iτ ∼ iτ + 2π/φ 0 -similar details concerning the analytic continuation were considered in the context of string theory on R 4 × S 1 in [22]. The metric becomes where we have defined u = iτ φ 0 with periodicity u ∼ u + 2π. This metric can also be seen as the extremal limit of a BTZ black hole in AdS 3 . Physical considerations for this spacetime in the context of the entropy function were made in [53,33].
Furthermore, on top of the geometry we need to consider the effect of the singular gauge field configurations, which generate spectral flow transformations. This is motivated from the gauge field configuration (4.18), that one obtains in the decoupling limit of the polar configurations.
Asymptotically we have after analytically continuing the time-like circle, as described above. We see that the total M2 charge contribution ∆β = β −β induces the gauge transformation − 2D ab ∆β a dy. (5.37) Nevertheless, this gauge transformation is not well defined because the circle parametrized by y is contractible at the origin ρ = 0, which gives rise to a delta function singularity in its field strength.
Similar gauge field configurations were discussed in [32].
Note that ∆β a ≡ D ab ∆β a lives in Λ * /Λ, where Λ corresponds to the lattice k a ∈ Z, while Λ * is the dual lattice. As D ab is not unimodular (its determinant is not one), ∆β a is not necessarily an integer, and so the holonomies exp A 5D around the contractible cycle can be non-trivial.
The connection (5.37) is thus a large gauge transformation and we want to understand its contribution to the localization computation. We will argue that its contribution to the renormalized action comes solely from the abelian Chern-Simons terms, since these are the only terms in the Lagrangian that are not gauge invariant. To deal with the delta function singularity we remove a disk of radius ǫ from the origin 22 and at the end of the computation we consider the limit when ǫ goes to zero. This way we ensure that the localization equations are left unchanged, as they depend only on the field strengths. There is a subtlety in this procedure. It turns out, that we also need to supplement the Chern-Simons integral with a boundary term at r = ǫ, which is the inner boundary disk. This term is necessary to correctly take into account the delta function singularity.
To exemplify this, consider the integral on the disk D We now discuss the contribution of large gauge transformation to the renormalized action coming from the Chern-Simons action. To simplify the problem, we first integrate on the sphere.
The five dimensional Chern-Simons terms give rise to three dimensional abelian Chern-Simons By the localization equations, the five dimensional gauge field has the form (5.13) The space has topology D × S 1 where D is a disk.
where A * 0 and A * a 4D have the attractor values of the unperturbed solution. In contrast the fields φ a and φ 0 have non-trivial radial profiles. The boundary conditions are such that at infinity one has lim ρ→∞ φ a φ 0 = −q a , (5.42) which follows from the equations of motion. Note that due to the Chern-Simons terms only the component of the gauge field along du, which is proportional to q a at infinity, is kept fixed while the component dy is allowed to fluctuate [8]. To simplify the discussion we consider the case of only one gauge field. Due to the boundary conditions the Chern-Simons action has to be supplemented with a boundary action, that is, The term d(dΛ∧A n.s ) gives rise to the integral of a delta function and so we need the regularization term at the inner boundary of D ǫ as in (5.39). Being a total derivative, it gives rise to two contributions. The first is a boundary term at infinity that cancels the third term. The second is a term at the inner boundary ∂D ǫ , but this cancels against a similar term in the regularization (5.39).
In the present problem the components of F which are relevant are those coming from the term −2∂ ρ (φ a /φ 0 )dρ ∧ du. Then the term dΛ ∧ F gives rise to a total derivative that we can calculate.
Specializing for the Chern-Simons terms (5.40), (5.44) gives is the field computed at the origin, which coincides with the variables in the renormalized action. The final result for the renormalized action including the effect of the large gauge transformation is, therefore, where we have included the effect of the shift in c 2 → c 2 − 12(β +β) inĉ 2 . After some algebra this can be written as Note that by extremezing Ren(S 5D ), the saddle values for φ 0 , φ a are different from the ones defined by the attractor values (5.6). The difference is due to the terms proportional to ∆β, which do not appear in the classical prepotential for computing the on-shell values. At first site, this could have looked puzzling. The fact is that the fields φ 0 , φ a in the renormalized action (5.46) are the values of the fields computed at the origin, which can be different from the values at the boundary. The mismatch is due to the singular gauge transformation, whose contribution to the action behaves more like a non-local term. As a side comment, note that if (5.47) was the result of a local contribution, then by the equations of motion we would find the attractor value φ a = −2i∆β a , for q a = 0. We would recover precisely the asymptotic value of the five dimensional gauge field given in (5.36).
The localization one-loop determinant works much the same way as discussed in the previous section. The only difference is the singular gauge transformation. Nevertheless, since the localization action depends only on the field strengths, given the regularization procedure, the determinant is not expected to depend on the effect of the large gauge transformation. Therefore for the purpose of computing the one-loop determinant we can set ∆β a = 0. Hence, using (5.29) we obtain where ϑ is the physical size of the geometry (4.43), which contains the backreaction of the fluxes.
Note that this expression is precisely the Kähler potential of the four dimensional theory, computed with the classical prepotential (5.17).
We are ready to assemble the N = 4 answer. In both the K3 × T 2 and T 4 × T 2 CHL compactifications we have β a = βδ 1a andβ a =βδ 1a , following the description in terms of M2 and anti-M2 branes of section §3. For the N = 8 compactification one is effectively turning off the fluxes, since the index vanishes otherwise. Furthermore, the intersection matrix is D ab1 = D a1b = D 1ab = C ab with the other components zero, and the second Chern-class is c 2a = 24n p δ 1a with n p = 1, 0 for K3 and T 4 respectively. We compute where we defined P 2 = C ab p a p b . This gives and ϑ(p, β,β) = p 1 (P 2 /2 + 2n p − (β +β)). (5.49) The full N = 4 answer is therefore the sum of the five dimensional partition function for each of the saddles parametrized by β,β, that is, where D(β), D(β) represent a measure, or better an Euler characteristic, for the ideal sheaves contribution; in the M2 brane picture this measure is given by an index. It would be important to understand more clearly how these Euler characteristics are computed from the full M-theory path integral. Nevertheless, if we use the M2-brane counting we find that D(β) = dq q β+1 1 g(q) 23 ,where g(q) is the worldsheet instanton partition function. For example, for K3 one has g(q) = η 24 (q).
Assembling all the pieces in the formula above we obtain Furthermore, the Bessel contour forces the condition otherwise the integral vanishes. That is, if the condition is non-positive we can close the contour on the right hand side by an infinite semicircle, because the integral along this arc vanishes. Since there is no pole inside the contour, the Bessel integral must vanish too.
Putting all factors together we find that the macroscopic answer (5.51) is in perfect agreement 23 It is possible that the ideal sheaves counting differs from the M2-brane index. The reason is that while the index is computed in flat spacetime transverse to the Calabi-Yau, the ideal sheaves moduli space might carry a AdS2 × S 2 factor instead of R 4 . The instanton computation on AdS2 × S 2 of [15] using string worldsheet methods seems to point in that direction. It is found that a string wrapping a two-cycle in the Calabi-Yau, has both bosonic and fermionic collective coordinates on AdS2 × S 2 .
with the microscopic answer (2.11) up to a phase involving the charges, and an overall p 1 dependence. The phase exp [πi(r − 2s)l/m] is a Kloosterman sum. In a related work [8], Kloosterman sums were shown to be related to a sum over flat connections in Chern-Simons theory on a Dhen filled solid torus. It would be important to check if the missing phase arises in the same way [65]. The correct p 1 dependence can be incorporated by taking into account a redefinition of the Chern-Simons couplings [12].
We end this section by making a comment about the mock-modular nature of the N = 4 microscopic answer [18]. The microscopic degeneracy of one-quarter BPS dyons still admits a Rademacher expansion but with some important differences, which result essentially from the meromorphicity of the Jacobi form. As expected from the usual Rademacher expansion, one finds a sum over Bessel functions of index −ω + 3/2, with ω the weight of the meromorphic Jacobi form [13], but due to its mock-modular nature, the degeneracy formula contains in addition Bessel functions of index −ω + 2 and an integral over a Bessel of index −ω + 5/2 [66] (they have used ω = −10). The argument of the unusual Bessel functions lies precisely at the lower boundary of the polarity.
We can see that our construction breaks down precisely when such deviations of the usual Rademacher expansion are expected. This happens when the geometry attains its possible minimal size, that is, when β +β = P 2 2 (5.53) and the spectral flow invariant combination that appears in the argument of the Bessel function, becomes zero, that is This last condition signals a breakdown of the Rademacher expansion for holomorphic Jacobi forms.
The solution to both equations is 55) and the contribution to the full partition function is The origin of the mock-modular nature may be related to the fact that in the canonical ensemble there is a configuration which competes with a similar growth of (5.56). This happens when P 2 = 0 and β =β = 0. In this case det(D ab ) in (5.56) is zero and so we need to reconsider the computation of the one-loop determinants. Following the Chern-Simons formulation, we see that the U (1) L factor has level k L = P 2 /2 = 0. This is consistent with the fact that at the level of the renormalized action the coefficient of (φ 1 ) 2 is zero. We have to truncate the integration over φ 1 to a finite interval.

4D quantum effective action and the topological string
In this section, we make a comparison with four dimensional string theory. To do that, we consider the limit when the M-theory circle radius becomes parametrically smaller than the size of AdS 2 ×S 2 .
This amounts to take 1/φ 0 ≪ 1, which is equivalent to the regime of weak topological string coupling. We show that in this limit the number of Bessel functions grows exponentially, allowing to perform the sum by a saddle approximation. As a consequence, we can expand the entropy ln d(q, p) in a perturbative expansion in powers of g top = 1/φ 0 . We can then identify some of the terms in the expansion with the topological string free energies (holomorphic part), as expected from the OSV proposal [5]. Nevertheless, we will encounter other terms such as logarithmic corrections, which signal a departure from the Wilsonian action point of view. This may be regarded as a way to derive the non-holomorphic corrections proposed in [67,68,69,70,71].
In the regime of charges q I → λq I , p I → λp I , λ ≫ 1, (5.57) the attractor values scale as and thus the M-theory circle, which is proportional to 1/φ 0 , becomes very small for λ ≫ 1. Moreover, in this limit we keep fixed the Kähler class of the Calabi-Yau, which is proportional to p/φ 0 [15], while taking the size L 2 ∝ p 3 of AdS 2 × S 2 to large values.
However, the scaling limits (5.57) and (5.58) are valid only for the solution without fluxes. For p I ≫ 1 the number of fluxes increases because of the condition p 3 /6 + c 2 · p/12 − (β +β) · p > 0. At the order β,β ∼ λ 2 we can expect a breakdown of the scaling limits because the factors D(β ∼ λ 2 ) in (5.51) will have exponential growth. In the case of K3 for example, we have We can use this to obtain an approximate formula for the degeneracy (5.51) in the limit (5.57).
Using a saddle point approximation for each of the Bessel functions, we obtain exp 4π β + 4π β + 4π p 1 |q 0 | (P 2 /2 − (β −β)) 2 2P 2 −β + n p , p ≫ 1. (5.60) Next, we approximate the sum over fluxes by a continuum, which allows to make a new saddle point approximation with respect to β,β. After some algebra, we find that the saddle is at β =β with β finite of order ∼ P 2 /(p 1q 0 ) ∼ O(λ 0 ). Therefore, we see that the saddle point approximation is not consistent with β,β ≫ 1, and thus the leading contribution must come, instead, from small values of β,β. In this case the dominant contribution comes from the term with β =β = 0, which is the Bessel function of maximal polarity.
Therefore for large λ we approximate where φ * 0 and φ * 1 are the on-shell values determined from the Bessel of maximal polarity. To arrive at the formula above we approximated the subleading Bessel contributions by their saddle point value, and then expanded their growth formula for β,β ≪ p 3 . The measure factor ∼ P 2 − 4(β +β) in (5.51), is offset by the saddle point gaussian integrals, which give an overall factor of 1/P 2 , and hence in the limit P 2 ∼ λ 2 , they are of the same order. In the second line, we have extended the range of β to infinity which is justified for λ ≫ 1. This allowed to resum the contributions of D(β) into their generating function η 24 (β). Similarly, we could have repeated the same exercise for CHL models, with η 24 (β) being replaced by g(β), the worldsheet instanton partition function.
From the four dimensional point of view, the exponential in (5.61) can be interpreted as the renormalized 1PI effective action computed on the near-horizon geometry AdS 2 × S 2 [3,40]. In particular, the expression can be identified with the two derivative Lagrangian contribution, which gives the dominant con-tribution to the entropy since it scales as λ 2 . On the other hand, the logarithmic part grows as λ 0 . It can be computed by evaluating the contribution of the Gauss-Bonnet R 2 corrections on AdS 2 × S 2 [40]. Furthermore, it is modular invariant in the variable τ = φ * 1 +ip 1 φ * 0 , as expected from the four dimensional electric-magnetic duality of string theory on K3 × T 2 . Finally, there is no term of order ln λ, which is in agreement with the logarithmic correction computed in the four dimensional N = 4 supergravity theory [24,25].
From the topological string point of view we can identify the different corrections as an expansion in g top ∼ 1/λ ≪ 1. For example, the leading contribution (5.62) corresponds to the real part of the tree level free energy F 0 (t) multiplied by 1/g 2 top , while the term of order λ 0 (5.63) can be identified with the one-loop contribution, with the complexified Kähler class t being τ . Such an expansion is precisely the conjectured OSV formula [5]. However, we must stress that further corrections can carry the imprint of the AdS 2 × S 2 physics and deviate from the topological string free energies that we obtain from the R 4 computation.

Quantum Foam and Non-perturbative topological string
In this work, we have argued that the path integral of M-theory should include the contribution of singular gauge field configurations. Their effect was to produce a finite renormalization of the parameter c a of the five dimensional Lagrangian that parametrizes the mixed gauge-gravitational Chern-Simons terms. If this idea is correct, this would imply that one is effectively summing over different topologies of the internal manifold, since the parameter c a descends from the second Chern-class c 2 (X) of the Calabi-Yau X. In a way, this is reminiscent of the idea of quantum foam and melting crystals discussed in [34], which we briefly review now.
The goal of [34] was to provide with a non-perturbative definition for the topological string.
The example under discussion was the case of the A-model. From the target space perspective, the A-model can be described by a theory known as Kähler gravity [72], and the classical solutions of this theory are given by Kähler forms k, with action proportional to the volume form with g the topological string coupling constant. We can consider higher derivatives in this action by adding the term 1 24 k ∧ c 2 (X).
In the quantum problem we consider fluctuations of the macroscopic solution k 0 as k = k 0 + g F, (6.2) with F the fluctuation. Since it obeys dF = 0 due to the Käler condition, F can be seen as the field strength of a gauge field. In addition, we want to preserve the macroscopic Kähler form, that is, we need α F = 0 for any two-cycle α ∈ H 2 (Z, X). As explained before, if we require F to have non-trivial higher Chern-classes, then it must be the field strength of a singular gauge connection, or in the appropriate bundle generalization an ideal sheaf. It is argued in [34] that these singular fluctuations lead to a foamy description of quantum gravity characterized by wild changes of the geometry and the topology. Instead of dealing directly with the quantum gravity picture, which may lead to puzzles related to black hole formation, they propose that the same physics should be described in terms of the topologically twisted maximally supersymmetric U (1) theory, that is, the D6 brane worldvolume theory.
After some algebra, the quantum action for k = k 0 + gF becomes We have included the effect of higher derivative corrections proportional to c 2 ·k 0 . Using localization, they show that the partition function of the D6 theory on S 1 ×X, with periodic boundary conditions on S 1 for the fermions, reproduces the gravity path integral.
Our problem is slightly different because in this case we have a D6 − D6 configuration, but we can easily mimic many of the quantum foam features. We thus expect fluctuations F and F of the Kähler form, coming from each of the centers. The total quantum action receives the contribution from both the D-branes, that is, S Quantum = S D6 + S D6 with S D6 = 1 g 2 3! k 3 0 + c 2 · k 0 − β · k 0 − gn, (6.4) where we have defined the second and third Chern-classes of the bundles F, F by −β, −β and −n, −n respectively. We have g = 1/φ 0 , and k a 0 = gp a /2 so that the total Kähler class is 2k 0 = p/φ 0 in agreement with the attractor geometry. Note that the quantum Kähler class k 0 +gF is equivalent to the flux p/2 + F that we turn in M-theory, as discussed in the section §4.2. From the Kähler gravity point of view it becomes clear that the effect of the M-theory fluctuations parametrized by β,β is to renormalize the second Chern-class c 2 (X), as we see from (6.3). The final result is S Quantum = p 3 + c 2 · p 24φ 0 − (β +β) · p 2φ 0 − n +n φ 0 . (6.6) For n,n = 0, we recognize the action 2πS Quantum as the on-shell renormalized physical action on the near-horizon geometry (5.26), before including the electric charges and the effect of the large gauge transformation.
We thus see that there are striking similarities between our problem and the quantum foam description, with the topological string playing a special role. It would be important to make more precise the connection between quantum black hole entropy, Kähler gravity and the D6 brane theory.

Discussion and Conclusion
In this work we have discussed a proposal for explaining the non-perturbative corrections to black hole entropy, related to the polar subleading Bessel contributions in the Rademacher expansion. In summary, the main results are: • New family of saddle geometries and the stringy exclusion principle: we have argued that the path integral of M-theory on the near-horizon geometry of the black hole receives the contribution of a new family of saddle geometries, whose contribution is related to the polar terms in the Rademacher expansion. We discussed the possibility that these saddles arise after turning on ideal sheaves fluxes on the Calabi-Yau, which in turn induce corrections on the parameters that define the effective five dimensional Lagrangian. This picture has an alternative description in terms of M2 and anti-M2 branes wrapping holomorphic cycles on the Calabi-Yau. However, in previous works such as [41,21], the backreaction of the M2 branes on the geometry is not taken into account. Instead, our proposal considers backreaction, which allows to solve many puzzles. In fact, one can show that effective field theory on a fixed background is a good approximation for very large central charge, as expected. But for finite central charge, which is the main goal of this work, backreaction becomes important and we find that a finite number of geometries contributes. The bound on the number of geometries is precisely the bound imposed by the stringy exclusion principle [20].
• 5D Supersymmetric localization: as an intermediate problem, we have considered supersymmetric localization at the level of five dimensional supergravity on the AdS 2 × S 1 × S 2 background, generalizing the results found in [2]. Two main results stand out in this computation.
The first is that the solutions of the localization equations are an uplift of the four dimensional solutions found in [2]. The second, and most important, is that the five dimensional supergravity action computed on the localization locus, which includes the contribution from the supersymmetrization of the gauge-gravitational Chern-Simons term, gives precisely the renormalized four dimensional result using the classical holomorphic prepotential (the one that does not contain the contribution from instantons). This result elevates the non-renormalization theorem, pointed out recently in [61], to the quantum level. The finite dimensional integral obtained using localization, is exactly the modified Bessel function that appears in the Rademacher expansion, including the exact spectrum of the polar terms.
• Quantum effective action and the topological string: from our formulas, it becomes clear that the effect of backreaction is relevant for small central charge, because it induces only a small number of Bessel contributions. Whereas for large central charge, the number of Bessel functions grows exponentially, which allows for a saddle point approximation on the sum over Bessels. This limit is equivalent to take the M-theory circle parametrically much smaller than the size of AdS 2 . We find that the final result for the degeneracy, after integrating out the contribution from the fluxes, matches with the four dimensional quantum effective action computed on the near-horizon geometry of the black hole, in agreement with previous results.
From this effective action we can read the topological string contributions as an expansion in powers of g top = 1/φ 0 ≪ 1, in agreement with the OSV proposal [5].
There are many features in our construction that are similar to the work of Denef and Moore [27]. Many of those have been discussed in previous sections. The differences though, are essential for deriving an exact formula for the entropy of four dimensional N = 2 black holes. In the following we discuss some of them. First of all, we consider a path integral formulation directly in the near-horizon geometry, without relying on the properties of the dual CFT partition function.
Furthermore, our construction avoids the enigmatic multi-center configurations discussed in [27].
The reason is that localization only allows for geometries of the type AdS 2 × S 1 × S 2 , but the decoupling limit of the enigmatic configuration, discussed in [30], contains a black hole localized on the sphere, which is, thus, physically very different. Without entering in many details about a derivation of N = 2 black hole entropy, which we leave for future work [73], we can already see a few advantages of our construction in comparison to [27]. First, our degeneracy formula is always finite, without the need of including any cutoff. This solves many issues related to the original OSV proposal [5]. That is, the topological string partition function is defined formally in the form of the Gopakumar-Vafa infinite products, which in general is not convergent. In our work, finiteness of the degeneracy follows essentially from the microcanonical ensemble and the bound on the number of geometries. Another key aspect of our construction, is that it can be extended to the regime of weak topological string coupling, in contrast with Denef and Moore's work. This is possible because the localization computation provides with a result that is valid for any value of the charges, which obviously includes the regime g top = 1/φ 0 ≪ 1, and moreover is finite.
Finally we comment on three ongoing projects. These are an application of the ideas proposed in this work and provide with further support of our claims, by testing our proposal against microscopic and macroscopic computations. These projects extend through four dimensional black holes in Calabi-Yau compactifications, including a study of the logarithmic corrections following [74], and the study of number theoretic properties of the black hole degeneracy related to Kloosterman sums and U-duality invariants. Succinctly, these projects can be summarized as: • N = 2 black hole entropy [73]: we will extend the present results to black holes in N = 2 compactifications [42]. In particular, the goal is to derive an exact formula for the entropy.
There are two important requirements. First, the entropy formula must agree with Denef and Moore's formula [27] in the regime of strong topological string coupling. Second, it should reproduce the logarithmic corrections computed using the quantum entropy formalism in N = 2 supergravity [75,76]. In particular, this is the regime of weak topological string coupling.
• Generalized Kloosterman Sums from M2-branes [65] : in this project we will consider the contribution of smooth AdS 2 × S 1 × S 2 /Z c orbifolds to the path integral in N = 4 compactifications, following previous work [8]. The goal is to reproduce the structure of the Rademacher expansion, and in particular, to derive expressions for the Kloosterman sums that can be compared with arbitrary level (mock) Jacobi forms [66]. These orbifolds result from an SL(2, Z) Dehn filling of the bulk solid torus and are thus topology changing. We will follow [8] and compute the contribution of flat connections to the Chern-Simons path integral.
• Quantum entropy, Koosterman Sums and U-duality invariance [77]: we will consider the contribution of Eguchi-Hanson space with GH charges q and −q (4.15), which are AdS 2 × S 1 × S 2 geometries with Z q orbifold singularities. We argue that these are the geometries corresponding to a configuration of q D6 and q D6. We will study the dependence of the exact entropy on arithmetic invariants and compare with microscopic formulas for both the N = 8 [78] and N = 4 [79,80] examples. In a sense, we want to extend the results [39,81] to the quantum theory.