{'fraction_non_alphanumeric': 0.05432252476587452, 'fraction_numerical': 0.01683538136740107, 'mean_word_length': 4.178276103714086, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Exact Chern-Simons / Topological String duality

We invoke universal Chern-Simons theory to analytically calculate the exact free energy of the refined topological string on the resolved conifold. In the unrefined limit we reproduce non-perturbative corrections for the resolved conifold found elsewhere in the literature, thereby providing strong evidence that the Chern-Simons / topological string duality is exact, and in particular holds at arbitrary N as well. In the refined case, the non-perturbative corrections we find are novel and appear to be non-trivial. We show that non-perturbatively special treatment is needed for rational valued deformation parameter. Above results are also extend to refined Chern-Simons with orthogonal groups.


Introduction
By now, the large N duality between SU(N) Chern-Simons on S 3 and the (perturbative) topological string on the resolved conifold of [1] is well established. Over the years this duality has been extended in several ways, like for example to SO/Sp gauge groups [2], leading at large N to orientifolds of the topological string.
More recently, triggered by work of Nekrasov on N = 2 supersymmetric gauge theory [3], it became clear that there should exist a sort of refined topological string, being a one-parameter deformation of the usual topological string [4,5] (for a brief exposition, see [6]). The deformation parameter is usually denoted as β. In turn, this led Aganagic-Shakirov [7,8] to propose a refined Chern-Simons theory yielding at large N the free energy of the refined topological string on the resolved conifold. Of course, at β = 1 the original large N dualities are recovered. In fact, the refined Chern-Simons theory can be defined for all ADE groups [9]. In particular, for D N this leads at large N to a refinement of topological string orientifolds.
Perhaps less known, in a series of works a novel universal formulation of Chern-Simons theory on S 3 has been put forward [10,11,12]. Here, universal refers to the fact that all the partition functions of Chern-Simons with arbitrary classical or exceptional simple gauge groups can be recovered from the universal Chern-Simons partition function under specialization of parameters. Quite surprisingly, the universal Chern-Simons theory does not only include the usual Chern-Simons theories, but, after some extension of range of parameters, as well the refined versions thereof, as shown in [13].
By construction, the universal Chern-Simons partition function constitutes an integral representation of the partition functions and thereby provides an analytic continuation in the parameters, e.g., simple Lie groups are now parametrized by the twodimensional Vogel's plane [14]. This generalizes the old N → −N duality of gauge theories with orthogonal and symplectic groups [15], and leads in particular to a suggestion of an extension of gauge/string duality to exceptional groups [16]. Furthermore, the integral representation is very well suited to study non-perturbative aspects of the large N duality, see [12,16].
In this work we continue this line of research by using the universal Chern-Simons integral representation to analytically calculate non-perturbative corrections to the refined Chern-Simons theory at large N, thereby proposing the non-perturbative com-pletion of the refined topological string on the resolved conifold. However, one should keep in mind that for integer N the non-perturbative corrections vanish, as the analytically continued partition function at integer N coincides with the initial Chern-Simons partition function. At β = 1 we can compare to recently renewed efforts to find the non-perturbative completion of the topological string, in particular to [17,18]. However, we like to stress that our approach is entirely analytic and does not, in contrast to other works in the literature, rely on any subtle combination of quantization, approximation and numerics. In fact, we do not even perform a genus (or more generally trans-series) nor large N expansion, but directly recover for SU(N) gauge group the refined Gopakumar-Vafa expansion of the resolved conifold (similar as previously in [12,16] for the unrefined case) and, most importantly, a non-perturbative completion thereof, via simple residue calculations. In particular, one may see this as the simplest example of a true (i.e., independent of N) gauge / string duality. Similar results are obtained for SO(N) gauge group, leading to the prediction of the non-perturbative completion of orientifolds of the refined topological string on the resolved conifold.
The outline is as follows. In the next section we will recall the basic definitions of universal Chern-Simons theory. In particular, we will rewrite the known integral representation in a more convenient form, see section 2.1, which will allow us to express the integral representation directly as a sum of residue, or, alternatively in terms of multiple sine functions, as discussed in section 2.2. In the following two sections examples are discussed. Namely, in section 3 we calculate the universal partition function for unitary groups as a sum of residue, yielding the refined Gopakumar-Vafa expansion plus non-perturbative terms, with respect to the string coupling parameter.
It is here where we establish a remarkable exact coincidence with the conjectured nonperturbative completion of the topological string on the resolved conifold. In Section 4 we extend the results to orthogonal groups. Section 5 is devoted to the quantum limit of [19] applied to refined Chern-Simons, corresponding at large N to the wellknown Nekrasov-Shatashvilli limit. In particular a S-dual like relation between the perturbative and non-perturbative parts of the free energies will be discussed. Some more general remarks will also be given in this section. In appendixes we present some series identities and supplemental details about multiple gamma and sine functions, used heavily in the body of the paper.

Generalities
Recall that the universal Chern-Simons free energy F reads [10]  (2.1) also includes the refined Chern-Simons theories of [7,9] at appropriate values of parameters, though Vogel's condition will not be satisfied anymore in the refined case.
It is convenient to rewrite F as follows. We redefine x → tx/δ in F II such that Using the relation and making use of that the combined integrand is even under x → −x, we can write F as, where we deformed the integration range to pass the origin on an infinitesimal semicircle in the upper half of the complex plane. We will refer to the deformed contour as R + . (We could have equally well deformed to pass along in the lower half, which we will denote as R − ). We further rescaled x → 2xδ.
As we will show in section 2.2, the integration over the d V term in fact cancels against the log term in (2.4), such that we obtain the (novel) neat expression for the universal Chern-Simons free energy. One should note that the proof of equivalence between the integral representation (2.1), and so (2.5), and the ordinary (refined) Chern-Simons partition functions, performed in [11] and [13], is completely analytical and exact. Besides that it simultaneously encodes the usual and refined Chern-Simons theories in an unified way, other benefits of the integral representation (2.5) are that it naturally extends Chern-Simons theory to non-integer and/or negative values of N and the refinement parameter β, to non-integer values of δ (cf., [20]), and more generally to wide ranges of complex values of parameters. Particularly it allows an exact large N expansion without any need to perform a semi-classical analysis. This, in particular the last point, will become more clear below, where we will discuss ways to explicitly evaluate the integral occurring in (2.5) as a sum of residue.
Note first that it is not easy to establish convergence restrictions for the integral in (2.5) for arbitrary values of parameters. Here, we make the assumption that 2t > v i , ∀i and t > 0. In particular, this assumption is satisfied for the parameters corresponding to SU(N) and SO(N) (with β > 0). We further restrict to κ > 0 corresponding to δ > t > 0 (we can also discuss κ < 0 similarly, but omit it here). Denoting the integrand of (2.5) as I, we can estimate under the above restrictions on parameters that for large x one has I ∼ 1 x e . This leads us to the condition (for the real parts) needed for a convergent integral. For parameters of refined SU(N) and SO(N) this condition is indeed satisfied, cf., [13] and the example sections later on.
In order to show that one can directly rewrite the integral (2.5) as a sum of residue, i.e., where {x * + } denotes the set of poles of the integrand, one has to establish that one can deform the integration contour without pickup up an extra contribution. That this is indeed the case follows from the multiple sine representation we will discuss below.
One should however note that the pole structure of the integrand is subtle. Depending on the particular values the parameters take (e.g., integer multiplies of each other), enhancement to higher order poles may occur for some subsets of poles.

Multiple sine representation
Though (2.7) looks at first glance very simple, the expressions resulting from taking residue directly of I are in fact not as easy as one might expect. In particular, one needs to invoke non-trivial summation identities to bring the result to canonical forms, used in literature. Following ideas of [12], it is however possible to find a closed simple expression for (2.5) in terms of multiple sine functions for which the integral representation, and so the residue calculations, are somewhat different (but of course equivalent due to non-trivial identities), but already more or less in canonical form. The price to pay is the introduction of some mathematical machinery of multiple Barnes' gamma functions, multiple sine functions and their integral representations. This, however is justified by compactness of the resulting expressions, clear rules of transformations and mathematical rigorousness, in particular justifying that simple residue taking of I is indeed valid.

Definitions
We need first to recall some basic definitions. Barnes' multiple ζ-function [21] is defined as ζ r (z, s|w) := ζ r (z, s|w 1 , w 2 , ..., w r ) = ∞ n 1 ,...,nr=0 1 (z + w 1 n 1 + w 2 n 2 + · · · + w r n r ) s . (2.8) Note that ζ r (z, s|w) is well defined if all parameters w i lie on the same side of some straight line through the origin, and Rez > 0, Res > r. In similarity with the definition of Euler's gamma-function in terms of Riemann's zeta-function, one can use ζ r (z, s|w) to define a multiple gamma-function ln Γ r (z|w) := ∂ s ζ r (w, s|w 1 , w 2 , ..., w r )| s=0 . This definition follows [22] and differs from the original Barnes' one [21] by some modular "constant", depending on parameters.
Next, the multiple sine functions are defined via Barnes' gamma function as where |ω| := r j=1 ω j . Some useful identities for the multiple sine functions we will make us of in this section are According to [23,24] the multiple sine functions S r possess for r ≥ 2, 0 < Rew j , and 0 < Rez < |w| an integral representation over the entire real line, bypassing the singularity at zero either in the upper or lower half of the complex plane, i.e., where B r,r refer to the generalized Bernoulli polynomials, defined via the generating function x r e zx r j=1 (e w j x − 1) x n n! B r,n (z|w) . (2.12) Note that the Bernoulli terms occurring in (2.11) are ±i π times the residue of the integrand at x = 0, i.e., they are equal to half of the integral with same integrand over the small circle around x = 0. These terms are necessary to have an equality between the two different integral representation above. The mentioned integral representation of these Bernoulli terms leads to the similar to (2.10) identities for Bernoulli polynomials.
In particular, we will need in the following discussion the identity [23] B r,n (z|w) = (−1) n B r,n (|w| − z|w) .
Using results of [23], the logarithm of multiple sine functions can be expressed as a sum of residue, i.e., (2.14) According to [23], this expression is valid provided Imz > Im |w| > 0. (Similar for the contour R − , for which one needs 0 < Imz < Im|w|). However, there is one subtlety.
Actually, the bound of [23] appears to be slightly too strong. Namely, we believe that one can relax the bound to ≥, via an improved estimation, performing for instance a similar discussion as in [25] (see their section 3.5).

Quintuple sine free energy
We now have everything at hand to rewrite (2.5) in terms of multiple sine functions.
Let us however first show that the log term in (2.4) indeed cancels against the integral over (2.3). We can rewrite (using the equalities in (2.3)) .
Note that we have due to the identity (2.13) which equals zero for r even. Hence, we can freely add this pair of Bernoulli polynomials to the expression above, thereby being able to rewrite where we made use of the multiple sine integral representation (2.11) and the identities given in (2.10). We conclude that the log term in (2.4) indeed cancels out.
Finally, let us discuss how to express the universal Chern-Simons free energy (2.5) entirely in terms of multiple sine functions. For that note that the integrand I is a product of five sinh factors. We can expand the sinh factors in terms of exponentials, where {σ} is the set of 16 tuples of length 4 of all possible sign combinations, i.e., and |w| = 2(t + δ) + 3 i=1 |v i | . Now note that the set σ has a Z 2 symmetry identifying tuples differing by overall sign. Hence we can write .
Clearly, the identities (2.11) and (2.13) can be shifted by z → z + 1 2 |w|. In particular, we have vanishing for r odd. Hence, we can again freely add such pairs of Bernoulli polynomials to the above summation. Making use of (2.11) and (2.13), we conclude (2.16) Note that the condition 0 < Re|z| < |w| needed to rewrite the integral representation in terms of multiple sine functions is equivalent to (2.6), as is evident from (2.15).
Denoting as above the integrand in (2.11) as S(z|w), we finally arrive at where as before {x * + } denotes the set of poles on the upper imaginary axis. Equation (2.17) constitutes the main result of this section. The expression (2.17) is simpler than (2.7), because the numerator of the integrand S(z|w) is not a product of trigonometric functions as in (2.7), but just an exponential. In particular, due to the used multiple sine identities, the exponentials do not combine anymore to trigonometric functions.
This implies the existence of non-trivial summation identities to map to the results obtained via the direct integration (cf., appendix A).

Example 1:
The first example we consider is refined A N −1 , whose universal Chern-Simons representation has been derived in [13]. Namely, the refined A N −1 theory sits at In order to compare with topological string theory, it is convenient to introduce the Usually, this is the t'Hooft parameter kept fixed at large N. Since we do not perform a large N expansion, for us µ is just a parameter. The integrand of (2.7) specializes under this choice of parameters to As for these choice of Vogel's parameters one pair of sinh cancelled out, it is more convenient to write the corresponding partition function Z := e F in terms of quadruple sine functions, rather than via the general expression (2.16) consisting of quintuple sines. Making similar considerations as in section 2.2, we almost immediately deduce (after writing the sinh in terms of exponentials) with w = (1, β, δ, δµ). Using recurrent relations and identities of multiple sine functions (cf., appendix B), the partition function can be simplified to Note that the multiple sine representation is convenient for investigating symmetries of the partition function. For example, at β = 1 we clearly see the level-rank duality k ↔ N (up to the prefactor). Another potentially interesting symmetry is the exchange The for us important symmetry of the partition function is with respect to the Since this symmetry involves inversion of β, it turns via the relation between β and the equivariant parameters of the Ω-background [26] into the Ω-background symmetry ǫ 1 ↔ −ǫ 2 .
Generally, at large N the parameter µ is viewed as fixed t'Hooft coupling constant, i.e., it is assumed to not transform under (3.4). However, the β-inversion symmetry is still manifest. Namely, shifting and rescaling we have in terms of fixedμ andδ Up to a logarithmic term originating from the first factor, we conclude that the exact Note that the transformation (3.6) is the usual shift one has to perform to obtain an even powers of g s only expansion of refined free energies, cf., [27,28].
Let us continue to evaluate (3.3). For that, we make use of the integral representation (2.11), yielding where we dropped for convenience the log µ term and two generalized Bernoulli polynomials. We can solve the integral via summing over residue of the integrand, cf., (2.14).
However, care has to be taken about what values the parameters take, as enhancement from simple poles to higher order poles may occur. In particular, for simplicity we will assume that δ ∈ Q. Note also, that as one ray of poles depend on 1/δ ∼ g s , there is a natural split into perturbative and non-perturbative poles, the latter being independent of δ. Hence, there is a natural split as well of the free energy, i.e., The residue calculation of (3.9) is straight-forward, except that one has to distinguish in the non-perturbative sector between β rational or not. The former will introduce some additional calculational complications due to pole enhancement of some of the poles. (Nevertheless the free energy for rational β can be derived as well by a non-trivial limit from the non-rational β free energy.) Instead of stating directly here the resulting expressions for F P A and F N P A , it is instructive to calculate these free energies as well via the direct integration of I A described in section 2.1. Though this approach is on a technical level more complicated than using multiple sine functions, it is to some extent more illustrative, as for instance flop invariance is explicitly manifest, the Bernoulli polynomials are absent, and we can easily invoke trigonometric identities.
As we assume δ ∈ Q, so we have µ ∈ Q. Equation (2.7) tells us that The set of poles consists of two rays of perturbative simple poles at x * p,1 = nπi /(δµ) and x * p,2 = nπi /δ (since µ ∈ Z) and two rays of non-perturbative poles at x * np,1 = nπi /β and x * np,2 = nπi , where n ∈ N \ {0}. Hence, where R denotes the residue sum of the respective ray of poles. (The sums here and below are actually understood as a limit of sum of partial sums of all objects involved, since infinities are cancelled in between them.) The perturbative contribution F P A can be easily inferred, up to some technical subtlety. Namely, only the combined R p,1 +R p,2 is finite over summation over the set of poles. In particular, taking partial sums implies that we pick up a left over contribution of − 1 2 log µ in canceling the singularities against each other, which in fact exactly reproduces the prefactor of (3.3). Using trigonometric product-to-sum formula and addition identities, it is not hard to infer that we can write the combined residue summation as  In order to make contact with the free energy of the refined topological string, we setδ = 2πi g s , and make use of the (non-trivial) sum identities (A.3) and (A.8), such that we arrive where we also defined Q := e −2πiμ and dropped some terms consisting of generalized Bernoulli polynomials and as well the log µ term. We recognize the refined Gopakumar-Vafa expansion and constant map contribution of the resolved conifold [5].
Let us move on to the non-perturbative contribution. Note that we have to distinguish between β ∈ Q * and β ∈ Q * , with Q * := Q \ {0}, as already mentioned above.

(3.13)
Via invoking trigonometric identities, and under the redefinitions (3.6), we arrive at where we made use of the periodicity cos(x + nπ) = cos(x − nπ). The inversion symmetry (3.8) is clearly manifest in the non-perturbative part of the free energy for β ∈ Z, as expected.
It remains to write (3.14) in terms of g s . Making use of (A.3) and (A.8), we deduce (3.15) (We dropped again some generalized Bernoulli polynomials.) β ∈ Z * As for our purposes, i.e., comparison with known non-perturbative results at β = 1, it is sufficient to take β ∈ Z * , we restrict for simplicity here to this case. We have one ray of non-perturbative double poles at x * np,2 = πi n and one ray of simple poles at x * np,1 = mπi /β with m ∈ N \ {lβ}. We infer sin (2nπδ) + sin (2nπδ(µ − 1)) − sin (2nπδµ) 8n 2 πβ sin 2 (nπδ) . (3.16) Note that for β integer some of the simple poles are enhanced to double poles and therefore the above residue results are more complicated than before. In order to simplify R np,2 further, we redefine µ → µ ′ +1/2 such that with the help of trigonometric sum-to-product identities we are led to (3.17) Adding up the contributions and with some further trigonometric simplifications, we conclude that 2n sin (nπδ) + δ cos (2nπδµ ′ ) cot (nπδ) 4n sin (nπδ) .

(3.19)
The β-dependent non-perturbative completion for β ∈ Z * given in (3.18) appears to be non-trivial and constitutes one of the main results of this work. Note that the symmetry (3.8) is not visible, as it maps β ∈ Z * → 1/β ∈ Q. The symmetry however dictates the solution for F A (µ; 1/β ∈ Q) with β ∈ Z * .
Finally, let us inspect F N P A (µ ′ ; 1) in some more detail. The exact resolved conifold free energy at β = 1 has been calculated already previously in [16]. However, it is interesting to compare the exact result predicted by universal Chern-Simons to other recent predictions. For that, note that under usage of the identities in section A.1, and in terms of g s , we have (up to some generalized Bernoulli polynomials) This has to be compared with the prediction for the non-perturbative completion of the topological string on the resolved conifold inferable from the conjecture of [17].
Under setting we precisely recognize in the second row of (3.20) the conjectured M2-brane contribution, stated for instance in [18] (cf., their eq. (5.40)). The first row corresponds to the non-perturbative completion of the constant map contribution, which, to our knowledge, is not given explicitly in the literature. We conclude that the exact calculations via universal Chern-Simons give strong evidence about the validity of the conjecture of [17] for the resolved conifold. Turned around, this implies that the large N duality is exact. (Very recently, while our work was in the writeup process, some numerical checks of the exactness of the large N duality between Chern-Simons and the unrefined conifold appeared, see [29].)

Example 2: D N/2
In this section we will discuss the free energy of refined D N/2 Chern-Simons theory.
Invoking the multiple sines technique introduced in section 2.2, the free energy can be obtained via a simple residue calculation as a Gopakumar-Vafa sum, and nonperturbative corrections thereto, similar as in the previous section.
The parameters leading to SO(N) refined Chern-Simons theory (N is understood to be even) have been derived in [13] and read The multiple sine expression of the free energy F derived in section 2.2, i.e., (2.16), can be used for calculation of free energy in this case. However, without passing through quintuple sine functions, we can infer via a more direct independent calculation that where Z D (N; β) := e −F D . The first factor can be simplified as where we made use of the identities S 1 (t/2|t) = 1 and S 2 (t/2|1, t) = √ 2. Note that the remaining non-trivial denominator S 2 (1 + 1 2 t|1, δ) becomes S 2 ( 1 2 N|1, δ) in the nonrefined limit β = 1 and matches one of the multipliers of the partition function of SO(N) Chern-Simons given in [16] (recall the invariance of multiple sines under simultaneous rescaling of the argument and all parameters, cf., (2.10)), i.e., .
Let us verify that the other terms in (4.3) appear from the remaining second factor in the refined partition function (4.2). For that, note that the denominator of the second factor in (4.2) can be rewritten for β = 1 as (see appendix B) which exactly matches the corresponding term in the SO(N) Chern-Simons partition function given above. So, our refined SO(N) partition function equals the SO(N) Chern-Simons partition function at β = 1, as it should be.
Let us move on to the refined case with general β. The multiple sine representation (4.2) of the refined partition function is essentially (we omit numerical multipliers) .

(4.4)
This form of the partition function is most suited to invoke the integral representation of multiple sine functions (2.11) in order to obtain the free energy as a sum of residue (cf., (2.17)). However, we do not need the full expression (4.4) for that.
Namely, if we define and compare with Z A given in (3.3), we infer that actually holds. (We made use of the identities (B.7)). Note that µ is the usual t'Hooft coupling kept fixed in a large N limit. However, we like to stress that we actually do not take any limit. We observe that the refined D N/2 partition function splits into an oriented and unoriented sector, cf., [30]. Usually, T is referred to as domainwall tension.
The function M(β) is the unoriented piece of the constant map contribution and is expected to relate at β = 1 to the real MacMohan function introduced in the context of orientifold in [31,32].
As a side remark, note that the Ω-background symmetry discussed in the A N −1 example does not carry over to D N/2 , as the domainwall tension (or orientifold plane) breaks the symmetry. Instead, it seems that the related transformation cf., [30], to predict the corresponding Vogel parameters.) As we already discussed the non-perturbative completion of the Gopakumar-Vafa expansion of Z A (µ; β) in the previous section, we only need to discuss here the additional contribution due to the factors M and T . Let us start with T . From the integral representation (2.11) we immediately deduce .
(For convenience, we drop from now on the first two terms.) As in the previous A N discussion, we can distinguish between perturbative and non-perturbative poles (the former depending on g s ). Hence, there is a natural split into a perturbative and nonperturbative part, i.e., T = T P + T N P .
As we assume δ not to be integer, there are however no cases to be distinguished.
Hence, we can write down immediately where the first sum corresponds to T P and the second to T N P .
For later reference, note that T can be as well expressed as a linear combination of the free energies F A . This can be seen as follows. Using the second identity listed in (B.7) we infer where b = 0 is arbitrary. Hence, taking for instance b = 1/2, we conclude It remains to discuss M(β). Ignoring for notational convenience the generalized Bernoulli polynomials, we have .
As is by now familiar, we have a split into a perturbative and non-perturbative piece.
Summing the residue of the perturbative poles, yields For the non-perturbative parts we have to distinguish between β ∈ Q or not. Note the non-perturbative appearance of an odd sector in n. For β ∈ Q let us just give one example. Namely β = 1 corresponding to (unrefined) topological string orientifolds.
Hence, combining all parts, we deduce via relation (4.5) and under using (3.18) that where the last two terms are the remaining terms of (3.18) at β = 2 (the fractional sums can be resummed for this value of β). The first of them, can be eliminated via a further shift of µ ′ .

Quantum limit
It is interesting to consider the quantum limit introduced in [19] at hand of β-ensembles.
Namely, taking N large with N := βN , fixed. In order to keep N finite, this also requires taking β → 0. Hence, we define 0 W := lim β→0 β F . (5.1) (The notation of quantum limit originates from the fact that in this limit β-ensembles are captured by ordinary quantum mechanics. However, this notation may not be the best choice as it rather corresponds to a classical limit reducing a double quantized system to a single quantized system.) A N Let us apply the quantum limit to the refined A N case discussed in section 3. However, it is instrutive to apply the limit not after residue taking, but directly to (2.5). We We have one ray of perturbative simple poles at x * p = nπi /δ and one ray of nonperturbative simple poles at x * np = nπi . Taking residue leads to (5.2) (Strictly speaking, the discussion in section 2.2 about validity of residue taking does not directly apply to the β → 0 limit. However, it is not hard to convince ourselves that the discussion can be adjusted to deal with (5.1), as in this limit the integrals are actually stronger suppressed.) It is interesting to observe that the perturbative and non-perturbative part of 0 W A are related by We will come back to this S-dual like relation between the perturbative and nonperturbative part of the quantum free energy below. For now, let us take an additional large N limit, keeping fixed, similar as in [19]. We infer that where we defined the Nekrasov-Shatashvilli (for short NS) free energy [33] (see also [34]) as F A,N S (µ) := lim β→0 β F A (µ; β) , but there we take now, in contrast to before, the limit after residue taking. The limit can be easily applied to (3.11) and (3.14). For that, note that the summation index of the summations in (3.14) which can be redefined to run over n/β move off to infinity in this limit, and therefore these summations can be dropped. Hence, (5.6) Comparison with (5.2) confirms (5.5). Note however that if we had applied the limit instead to (3.18), which is only valid for β ∈ Z, we would have gotten a different result.
In particular, we learn that F N P A (µ ′ ; 1) = F N P A,N S (µ ′ ). Instead, it is easy to verify that the relation holds. This relation is an exact statement for the non-perturbative part of refined A N Chern-Simons on S 3 free energies at large N. If we believe in the exactness of the large N duality, this translates to a property of the non-perturbative (refined) topological string free energy on the resolved conifold. Making use of (5.3), we can as well express F N P A (µ ′ ; 1) via F P A,N S leading to the conjecture of [17] (see also [18]).

D N/2
Let us ask what happens in the D N/2 case. Applying the quantum limit defined in (5.1) to the integral representation specialized to refined D N/2 , we observe that where we kept N = βN −β fixed. In fact, this non-uniqueness property of the NS limit has been already observed in [35] and [30]. Hence, trivially the relation (5.3) holds as well for D N/2 . However, this is only one half of the story. As the β-inversion symmetry is broken in the D N/2 case, we have to consider as well the alternative quantum limit We also define N = N − 2 , plane, can be investigated as follows.
The limit (5.9) can be calculated via redefining x → x/(2β), and rescaling δ → 2β δ in the integral representation (2.5) (cf., [13]), leading to We denote the integral over the last term as ∞ T = ∞ T P + ∞ T N P , and evaluate via summation over residue , ∞ T N P = 0 . (5.10) Note that ∞ T N P vanishes because the second term has only one ray of (perturbative) poles. This is consistent with (4.7) as in this equation either T P or T N P can survive the quantum limit, depending on how we rescale δ before taking the limit. Evaluating as well the integral over the first term, we conclude (5.11) Note that both, the domainwall tension ∞ T and the constant map part appear not to be compatible with a relation like (5.3).
Finally, let us ask if we nevertheless can still find a relation like (5.7) in the D N/2 case. For that, recall from section 4 the relation (4.5). Hence, we have for instance F N P D (µ; 1/2) = F N P A (µ; 1) + log M N P (1/2) + T N P .
(T N P does not vanish away from the Nekrasov-Shatashvilli limit, cf., (4.7).) Recall as well that T can be expressed as a linear combination of F A (µ; 1) with shifted µ via (4.8). (This corresponds to the well-known fact that the orientifold contribution on the conifold is essentially given by half a closed period, see [36].) Since (5.7) extends to shifts µ → µ+ s δ , we deduce that F N P D (µ; 1/2) can be expressed via a linear combination of first order linear differential operators in δ acting on shifted Nekrasov-Shatashvilli free energies F A,N S (µ), up to the constant map contribution.

Remarks
Several remarks are in order. Though the relation (5.3) looks very appealing, it rather appears to be a special property of the quantum limit of the refined topological string on the resolved conifold (and other genus zero geometries), as such a relation is not obviously visible for the non-perturbatively corrected β-ensemble [19] and N = 2 supersymmetric gauge theory [37] (see also [38,39]) quantum free energies (where the non-perturbative instanton corrections are due to B-cycle instanton tunneling, at least at a particular point in moduli space). In particular, a general validity of the S-dual like relation (5.3) would trivialize the theory of resurgence.
However, the quantization condition used in the context of toric Calabi-Yau manifolds in [40], see in particular [41], seem to invoke besides the known perturbative part of the quantum periods [34] only the S-dual piece of the non-perturbative part of the quantum (or NS) free energies. As this is directly linked with the validity of the conjecture of [17], i.e., that the relation (5.7) (combined with (5.3)) in general provides the non-perturbative completion for topological strings on (general) toric Calabi-Yau manifolds, for which various numerical checks seem to have been performed in the literature, a puzzle arises. Namely, how can this be ?
Possible resolutions could be as follows. Either there are in fact only A-cycle type instanton corrections (cf., [42]) on toric Calabi-Yau manifolds, see however [43]. (Some might see the fact that the poles in the Gopakumar-Vafa expansion arise only at treelevel, cf., [44], as evidence.) There is as well a hidden S-dual like relation between the perturbative and non-perturbative parts of the (non-trivial) quantum free energy calculated in [19,37] (and so in ordinary quantum mechanics, which would actually be too good to be true). Or, perhaps most appealing, that the dominant instanton action changes over moduli space, i.e., at large volume A-cycle type instantons are dominant, while for instance at conifold points B-cycle instantons are dominant, cf., [43,37,38].
In the sense that the above simple relations break down away from large volume, due to quantum effects. We believe clarifying these points will be of general interest. .
From the definition of the generalized Bernoulli polynomials (2.12) we infer the relation Note that in order to arrive at (A.1) we also made use of the identity B r,l (cz|cw) = c l−r B r,l (z|w) (cf., [23]). Hence, we can rewrite Σ + as Recall the polylogarithm Li s (z) := ∞ n=1 z n n s (defined via the convergent series for |z| < 1, but can be extended to the whole complex plane via analytic continuation), and Jonquière's inversion formula valid for n > 0 (and 0 ≤ Rex < 1 if Imx > 0, else with B n (x) the ordinary Bernoulli polynomials. The above inversion formula extends to n < 0 if we define that B n<0 (x) = 0. Hence, in terms of the polylogarithm we can Now note that B r,l (|w|/2|w) vanishes for l odd due to the identity (2.13). But if l is even only, we have i r+s−1 2 2r+s−l−1 π r+s−l B r,l (|w|/2|w)B r+s−l (x) l!(r + s − l)! .
Note that the summation in Ξ is finite (as we defined the Bernoulli polynomials B n to vanish for negative n). Writing the polylogarithm again as a series and using (A.1), we conclude with the identities valid for r + s odd ∞ n=1 cos (2πnx) n s r l=1 sin (nw l ) where the equality in the lower row is due to the fact that we could have equally expressed Σ + in terms of Li n (e +ix ) (making also use of the identity (−1) n B n (x) = Similarly, we can consider The only difference to Σ + discussed above will be a flip of sign and an additional overall factor of −i . Hence, we have for r + s even .
As a side remark, note that for the parity of r + s there the polylogarithms cancel out we provide via the function Ξ a finite expression for some of the summation formula in [25].
For Imy > 0 we infer with help of the geometric series Σ = 2 Barnes' multiple zeta functions (as defined in (2.8)), fulfill recurrent relations [21,22], which were implicitly widely used in this paper. Indeed, for z = z 0 + w i , Rez 0 > 0 the sum over n i effectively starts from n i = 1, with zeta function argument being z 0 .
where the last identity holds by definition.