Introduction {#Sec1}
============

The past few years have seen significant advances in our understanding of supersymmetric gauge theories. Such progress has been largely possible due to the developments of supersymmetric localization techniques which have allowed many exact results to be obtained. One of these is the discovery by Alday, Gaiotto and Tachikawa (AGT) \[[@CR1]\] that certain BPS observables of class $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {S}$$\end{document}$ theories \[[@CR2]\] of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$A_1$$\end{document}$ type can be computed in Liouville CFT, or Toda for higher rank \[[@CR3]\]. In particular, the AGT correspondence identifies the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^4$$\end{document}$ Nekrasov instanton partition function ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {Z}^{\mathbb {R}^4}_{\mathrm{inst}}$$\end{document}$) \[[@CR4], [@CR5]\] with the chiral blocks \[[@CR6]\] of the Virasoro algebra (or $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$W_{M}$$\end{document}$ algebra for $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$A_{M-1}$$\end{document}$ theories)$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {Z}^{\mathbb {R}^4}_{\mathrm{inst}}\simeq { \langle \gamma _\infty |} \prod _{i=1}^N V_{\gamma _i}(x_i){ |\gamma _0\rangle }_{\mathrm{Vir}}. \end{aligned}$$\end{document}$$The AGT relation is a powerful tool to get further insights into the gauge dynamics as certain aspects can be efficiently addressed in the 2d CFT side, for example the study of defect operators \[[@CR7]--[@CR14]\] (for a recent review we refer to \[[@CR15]--[@CR17]\]).

It seems to be quite important to understand whether AGT-like relations exist in other dimensions as well, in particular in 6d where much of the 4d physics finds its natural origin. One of the main motivations behind this work was indeed to explore the possibility of studying 6d theories through AGT inspired methods, a topic which was previously addressed also in \[[@CR18], [@CR19]\]. Our results can be summarized in the proposal$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {Z}^{\mathbb {R}^4\times \mathbb {T}^2}_{\mathrm{inst}}\simeq { \langle \gamma _\infty |} \prod _{i=1}^N V_{\gamma _i}(x_i){ |\gamma _0\rangle }_{e\text {-Vir}}, \end{aligned}$$\end{document}$$where the l.h.s. captures the supersymmetric partition function of a 6d (1, 0) theory on a torus which can be engineered in M-theory by two M5-branes probing a transverse $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$A_{N-1}$$\end{document}$ singularity \[[@CR20]\], while the r.h.s. represents the chiral blocks of an elliptically deformed Virasoro algebra, which we define in this paper.Table 1The AGT relation in various dimensions$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {Z}_{\mathrm{inst}}$$\end{document}$ on  Chiral blocks of$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^4$$\end{document}$ Virasoro$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^4\times S^1$$\end{document}$  *q*-Virasoro$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^4\times \mathbb {T}^2$$\end{document}$  *e*-Virasoro

This result can be read as the natural 1-parameter deformation (Table [1](#Tab1){ref-type="table"}) of the 5d AGT relation \[[@CR21]\], which we briefly recall here to pave the way for our analysis in this work. The $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^4$$\end{document}$ Nekrasov partition function and the Virasoro algebra have both a natural trigonometric deformation. The deformation of the former corresponds to the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^4\times S^1$$\end{document}$ Nekrasov partition function \[[@CR4], [@CR5]\], while the deformation of the latter corresponds to the *q*-Virasoro algebra (*q*-$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$W_M$$\end{document}$ algebra) of \[[@CR22]--[@CR24]\]. The identification of the two deformations predicts the 5d AGT correspondence$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {Z}^{\mathbb {R}^4\times S^1}_{\mathrm{inst}}\simeq { \langle \gamma _\infty |} \prod _{i=1}^N V_{\gamma _i}(x_i){ |\gamma _0\rangle }_{q\text {-Vir}}. \end{aligned}$$\end{document}$$Evidences supporting this idea were extensively discussed, for example, in \[[@CR25]--[@CR27]\], and more recently in \[[@CR28], [@CR29]\]. A complete 5d AGT relation beyond the chiral level was also proposed in \[[@CR30], [@CR31]\], where the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$S^5$$\end{document}$ \[[@CR32]--[@CR39]\] and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$S^4\times S^1$$\end{document}$ \[[@CR40]--[@CR42]\] partition functions of the 5d lift of class $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {S}$$\end{document}$ theories \[[@CR43]\] of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$A_1$$\end{document}$ type were shown to be described by correlators in two distinct QFTs with *q*-Virasoro symmetry, and hence called *q*-CFTs (see also \[[@CR44]--[@CR46]\] for an analysis of the higher rank case).

Another neat argument in favor of the 5d AGT correspondence, which we also adopt in this paper for the 6d analysis, was given in \[[@CR47]\] (see also the review \[[@CR48]\]). It was shown that the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^4\times S^1$$\end{document}$ Nekrasov instanton partition function of the *U*(*N*) theory with *N* fundamental and anti-fundamental flavors reproduces, upon suitable specializations $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$a=a_*(r)$$\end{document}$ of the Coulomb branch moduli, the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$(N+2)$$\end{document}$-point chiral blocks of the *q*-Virasoro algebra in the Dotsenko--Fateev free field integral representation \[[@CR25], [@CR49]\]$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {Z}^{\mathbb {R}^4\times S^1}_{\mathrm{inst}}\Big |_{a=a_*(r)}\simeq \oint \!\!\mathrm{d}z\; { \langle \gamma _{\infty }|}\prod _{i=1}^N V_{\gamma _i}(x_i)\prod _{j=1}^r S(z_j){ |\gamma _0\rangle }_{q\text {-Vir}}, \end{aligned}$$\end{document}$$where the operator *S*(*z*) denotes the screening current and the integral is computed by residues for specific choices of integration contours. The specialization of the Coulomb branch moduli corresponds to the root of the Higgs branch where vortex solutions exist and the dynamics can be effectively described by a 1/2 BPS codimension 2 theory on $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^2_{\epsilon }\times S^1$$\end{document}$. Partition functions of 3d $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {N}=2$$\end{document}$ gauge theories compactified on $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^2_{\epsilon }\times S^1$$\end{document}$ can be computed by means of the 3d holomorphic block integrals ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {B}^{\mathrm{3d}}$$\end{document}$) introduced in \[[@CR50]\] (see also \[[@CR51]\] for previous work on 3d block factorization and \[[@CR52]\] for a derivation of block integrals through localization)$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {B}^{\mathrm{3d}}=\oint \!\!\frac{\mathrm{d}z}{2\pi \mathrm{i}z}\Upsilon ^{\mathrm{3d}}(z), \end{aligned}$$\end{document}$$where the integral kernel $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Upsilon ^{\mathrm{3d}}(z)$$\end{document}$ is a meromorphic function determined by the specific theory and the integration is over a basis of middle dimensional cycles in $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$(\mathbb {C}^\times )^{|G|}, G$$\end{document}$ being the gauge group. It was pointed out in \[[@CR47]\] that the free field integral representation of *q*-Virasoro chiral blocks manifestly matches the 3d block integrals of the *U*(*r*) theory with *N* fundamental and anti-fundamental flavors, 1 adjoint and Fayet--Iliopoulos term. Combining all these observations, one gets the identifications$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {Z}^{\mathbb {R}^4\times S^1}_{\mathrm{inst}}\Big |_{a=a_*(r)}\simeq \oint \!\!\mathrm{d}z\; { \langle \gamma _{\infty }|}\prod _{i=1}^N V_{\gamma _i}(x_i)\prod _{j=1}^r S(z_j){ |\gamma _0\rangle }_{q\text {-Vir}}\simeq \mathcal {B}^{\mathrm{3d}}[U(r)]. \end{aligned}$$\end{document}$$In particular, the two parameters *q*, *t* of the *q*-Virasoro algebra are identified with the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\epsilon _{1,2}$$\end{document}$ parameters of the 5d $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Omega $$\end{document}$-background $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^4_{\epsilon _1,\epsilon _2}\times S^1$$\end{document}$, and with the angular momentum fugacity $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\epsilon $$\end{document}$ and adjoint real mass in the 3d theory. The choice $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$a=a_*(r)$$\end{document}$ determines the rank *r* of the 3d gauge group and the number of screening currents, which must be in turn distributed among the *N* flavors and insertion points according to a choice of partition $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$r=\sum _{a=1}^N r_a$$\end{document}$. This choice corresponds to an integration contour and provides additional discrete variables (filling fractions \[[@CR53]--[@CR55]\]) entering the allowed values of the internal momenta in the correlator. This kind of "triality" can be extended to quiver gauge theories and *q*-$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$W_M$$\end{document}$ correlators \[[@CR56]\] (the generalization to *DE* root systems and applications to little string theories \[[@CR57]--[@CR59]\] can be found in \[[@CR60]\]).

The natural lift of the 3d setup is provided by 4d $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {N}=1$$\end{document}$ gauge theories compactified on $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^2_{\epsilon }\times \mathbb {T}^2$$\end{document}$. Partition functions on this background can be computed through the 4d holomorphic block integrals ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {B}^{\mathrm{4d}}$$\end{document}$) introduced in \[[@CR61]\]. These objects can be thought of as a 1-parameter deformation of 3d block integrals, in the sense that$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {B}^{\mathrm{4d}}=\oint \!\!\frac{\mathrm{d}z}{2\pi \mathrm{i}z}\Upsilon ^{\mathrm{4d}}(z) ~~\xrightarrow {\text {3d limit}}~~\mathcal {B}^{\mathrm{3d}}=\oint \!\!\frac{\mathrm{d}z}{2\pi \mathrm{i}z}\Upsilon ^{\mathrm{3d}}(z). \end{aligned}$$\end{document}$$Due to the algebraic interpretation of 3d holomorphic blocks with adjoint matter as *q*-Virasoro chiral blocks in free field representation, we are naturally led to ask whether 4d holomorphic blocks with adjoint matter can be similarly interpreted as chiral blocks of an elliptic deformation of the Virasoro algebra. A central result of the current paper is that we can give an affirmative answer to that question, namely$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {B}^{\mathrm{4d}}[U(r)]\simeq \oint \!\!\mathrm{d}z\; { \langle \gamma _{\infty }|}\prod _{i=1}^N V_{\gamma _i}(x_i)\prod _{j=1}^r S(z_j){ |\gamma _0\rangle }_{e\text {-Vir}}. \end{aligned}$$\end{document}$$In turn, we are also able to match the evaluation of the 4d block integral with the topological string partition function on the Calabi--Yau geometry obtained by gluing two periodic strips \[[@CR62]--[@CR64]\], for special values of the Kähler moduli. The latter captures the M-theory partition function of two M5-branes extending in $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^4\times \mathbb {T}^2$$\end{document}$ and probing a transverse $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$A_{N-1}$$\end{document}$ singularity, and hence we can also argue that the 4d gauge theories under examination describe vortices of 6d (1, 0) theories so engineered. This chain of results, together with large *r* duality \[[@CR65]--[@CR68]\], strongly supports a 6d version of the AGT correspondence (discussed also in \[[@CR69]\] from the M-theory perspective) by identifying generic chiral blocks of the elliptic Virasoro algebra with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^4\times \mathbb {T}^2$$\end{document}$ Nekrasov instanton partition functions. Lately, 6d (1, 0) theories have attracted much attention \[[@CR70]--[@CR81]\]. We hope that the methods developed in this work will be useful to get further insights into the elusive 6d physics.

The rest of this paper is organized as follows. In Sect. [2](#Sec2){ref-type="sec"}, we define an elliptic deformation of the Virasoro algebra and compute free field correlators. In Sect. [3](#Sec8){ref-type="sec"}, we briefly review the 4d block integral formalism and we consider its application to the *U*(*r*) theory with adjoint matter, manifestly matching free field correlators of the elliptic Virasoro algebra. In Sect. [4](#Sec9){ref-type="sec"}, we compute the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^4\times \mathbb {T}^2$$\end{document}$ Nekrasov instanton partition function by using the topological vertex on the periodic strip, and we show that at specific points it coincides with the elliptic vortex partition function of the 4d theory. In Sect. [5](#Sec10){ref-type="sec"}, we discuss our results further as well as interesting directions for future research. Other and more technical aspects of this work are discussed in several appendices.

Elliptic Virasoro Algebra {#Sec2}
=========================

In this section we define a 1-parameter deformation of the Deformed Virasoro Algebra (DVA or *q*-Virasoro) of \[[@CR22]\], which we call the Elliptic Virasoro Algebra (EVA or *e*-Virasoro). We give a free field representation of the EVA and find its screening currents. We then compute free field correlators of suitably defined vertex operators and screening charges. The special functions used in this section are collected in Appendix [1](#Sec11){ref-type="sec"}, while part of our notation is set in Appendix [2](#Sec12){ref-type="sec"}.

Defining relation {#Sec3}
-----------------

We define the EVA to an be associative algebra generated by the coefficients of the current $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$T(z)=\sum _{n\in \mathbb {Z}}T_n z^{-n}$$\end{document}$, with the defining relations encoded by$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}&f\left( \frac{w}{z}\right) T(z)T(w)-T(w)T(z)f\left( \frac{z}{w}\right) \nonumber \\&\quad =-\frac{\Theta (q;q')\Theta (t^{-1};q')}{(q';q')_\infty ^2\Theta (p;q')}\left( \delta \left( p\frac{w}{z}\right) -\delta \left( p^{-1}\frac{w}{z}\right) \right) , \end{aligned}$$\end{document}$$where the coefficients of the structure function $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$f(x)=\sum _{\ell \in \mathbb {Z}}f_\ell x^\ell $$\end{document}$ are defined by the series expansion of$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} f(x)=\frac{\Gamma (x;p^2,q')\Gamma (p^2q^{-1}x;p^2,q')\Gamma (p q x;p^2,q')}{\Gamma (p^2x;p^2,q')\Gamma (p q^{-1}x;p^2,q')\Gamma (q x;p^2,q')}, \end{aligned}$$\end{document}$$with the elliptic Gamma function defined in ([6.9](#Equ84){ref-type=""}) in the region $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$|p^2|,|q'|<1$$\end{document}$, while $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\delta (x)=\sum _{n\in \mathbb {Z}}x^n$$\end{document}$ is the multiplicative $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\delta $$\end{document}$ function, i.e., $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\delta (x)\phi (x)=\delta (x)\phi (1)$$\end{document}$ for any Laurent series $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\phi (x)$$\end{document}$. The parameters $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q,t,q'$$\end{document}$ are complex, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$p=qt^{-1}$$\end{document}$, and for later convenience we also define $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\beta \in \mathbb {C}$$\end{document}$ such that $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$t=q^\beta $$\end{document}$.

### Remark {#FPar1}

The associativity of the algebra is equivalent to the requirement \[[@CR82], [@CR83]\]$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} f(x)f(x p^{-1})-f(x^{-1})f(p x^{-1})= \kappa ( \delta (x p^{-1})-\delta (x)), \end{aligned}$$\end{document}$$for some constant coefficient $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\kappa $$\end{document}$, arising from the Yang--Baxter equation for *T*(*z*). The validity of ([2.3](#Equ3){ref-type=""}) can be explicitly verified by using ([2.13](#Equ13){ref-type=""}), ([2.14](#Equ14){ref-type=""}), ([2.15](#Equ15){ref-type=""}).

The choice of the structure function is motivated by the property above, the construction given in Appendix [5](#Sec15){ref-type="sec"}, and by the fact that in the limit $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q'\rightarrow 0$$\end{document}$, ([2.1](#Equ1){ref-type=""}) manifestly reduces to the defining relation of the DVA by using$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \Gamma (x;p^2,0)=\frac{1}{(x;p^2)_\infty },\quad \Theta (x;0)=1-x. \end{aligned}$$\end{document}$$This trigonometric limit can be verified at various stages of our construction below.

### Remark {#FPar2}

By comparing the coefficients of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$z^{-n}w^{-m}$$\end{document}$, the defining relation ([2.1](#Equ1){ref-type=""}) is equivalent to the quadratic relation$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \sum _{\ell \in \mathbb {Z}}f_\ell (T_{n-\ell }T_{m+\ell }-T_{m-\ell }T_{n+\ell })=-\frac{\Theta (q;q')\Theta (t^{-1};q')}{(q';q')_\infty ^2\Theta (p;q')}(p^n-p^{-n})\delta _{n+m,0}. \end{aligned}$$\end{document}$$

Free field representation {#Sec4}
-------------------------

In order to find a free field representation of the EVA, we introduce two commuting families of quantum bosonic oscillators $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\{\alpha _n,\beta _n,n\in \mathbb {Z}\backslash \{0\}\}$$\end{document}$. They satisfy the commutation relations (we display the non-trivial relations only)$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \begin{aligned} {[}\alpha _n,\alpha _m]&=\frac{1}{n}(1-q'^{|n|})\left( q^{\frac{n}{2}}-q^{-\frac{n}{2}}\right) \left( t^{\frac{n}{2}}-t^{-\frac{n}{2}}\right) \left( p^{\frac{n}{2}}+p^{-\frac{n}{2}}\right) \delta _{m+n,0},\\ {[}\beta _n,\beta _m]&=\frac{q'^{|n|}}{n}(1-q'^{|n|})\left( q^{\frac{n}{2}}-q^{-\frac{n}{2}}\right) \left( t^{\frac{n}{2}}-t^{-\frac{n}{2}}\right) \left( p^{\frac{n}{2}}+p^{-\frac{n}{2}}\right) \delta _{m+n,0}. \end{aligned} \end{aligned}$$\end{document}$$We also introduce zero mode operators $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathsf{P},\mathsf{Q}$$\end{document}$ commuting with all the oscillators and normalized according to$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}{}[\mathsf{P},\mathsf{Q}]=2. \end{aligned}$$\end{document}$$We then define the currents$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \Lambda _{\sigma }(z)\!=\; :\mathrm{e}^{\sigma \sum _{n\ne 0}\frac{z^{-n}}{(1\!+p^{-\sigma n})(1-q'^{|n|})}\alpha _n}\mathrm{e}^{\sigma \sum _{n\ne 0}\frac{z^{n}}{(1+p^{\sigma n})(1-q'^{|n|})}\beta _n}: q^{\sigma \frac{\sqrt{\beta }}{2}\mathsf{P}}p^{\sigma \frac{1}{2}},\quad \sigma \in \{+,-\}. \end{aligned}$$\end{document}$$The symbol  :   :  denotes normal ordering, i.e., all the positive oscillators are placed to the right of the negative ones, and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathsf{P}$$\end{document}$ to the right of the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathsf{Q}$$\end{document}$. Using the commutation relations ([2.6](#Equ6){ref-type=""}), the definition ([6.9](#Equ84){ref-type=""}) of the elliptic Gamma function and the free boson tools summarized in Appendix [2](#Sec12){ref-type="sec"}, we can verify that the current$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathsf{T}(z)=\Lambda _{+}(z)+\Lambda _{-}(z)=\sum _{n\in \mathbb {Z}}\mathsf{T}_n z^{-n}~ \end{aligned}$$\end{document}$$satisfies the defining relation ([2.1](#Equ1){ref-type=""}) of the EVA. The explicit verification of this claim is straightforward but lengthy, and hence presented in Appendix [3](#Sec13){ref-type="sec"}. The key relations to be used are$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \Lambda _\sigma (z)\Lambda _\rho (w)=\; :\Lambda _\sigma (z)\Lambda _\rho (w):f_{\sigma ,\rho }(w z^{-1})^{-1},\quad (\sigma ,\rho )\in \{\pm ,\pm \}, \end{aligned}$$\end{document}$$where$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} f_{\sigma ,\rho }(x)=\left( \frac{\Gamma \left( p^{\frac{\sigma \cdot 1-\rho \cdot 1}{2}}x;p^2,q'\right) \Gamma \left( p^{\frac{\sigma \cdot 1-\rho \cdot 1}{2}}p^2q^{-1}x;p^2,q'\right) \Gamma \left( p^{\frac{\sigma \cdot 1-\rho \cdot 1}{2}}p q x;p^2,q'\right) }{\Gamma \left( p^{\frac{\sigma \cdot 1-\rho \cdot 1}{2}}p^2x;p^2,q'\right) \Gamma \left( p^{\frac{\sigma \cdot 1-\rho \cdot 1}{2}}p q^{-1}x;p^2,q'\right) \Gamma \left( p^{\frac{\sigma \cdot 1-\rho \cdot 1}{2}}q x;p^2,q'\right) }\right) ^{\sigma \rho \;\cdot 1},\nonumber \\ \end{aligned}$$\end{document}$$andOne also needs$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} f(x)=f_{+,+}(x)=f_{-,-}(x)=f_{+,-}(x)\gamma \left( p^{\frac{1}{2}}x\right) =f_{-,+}(x)\gamma \left( p^{-\frac{1}{2}}x\right) , \end{aligned}$$\end{document}$$where$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \gamma (x)=\frac{\Theta (p^{\frac{1}{2}}q^{-1}x;q')\Theta (p^{-\frac{1}{2}}q x;q')}{\Theta (p^{\frac{1}{2}}x;q')\Theta (p^{-\frac{1}{2}}x;q')}, \end{aligned}$$\end{document}$$as well as the equality$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \gamma (x)-\gamma (x^{-1})=-\frac{\Theta (q;q')\Theta (t^{-1};q')}{(q';q')_\infty ^2\Theta (p;q')}\left( \delta (p^{\frac{1}{2}}x)-\delta (p^{-\frac{1}{2}}x)\right) , \end{aligned}$$\end{document}$$which follows from the representation ([8.14](#Equ112){ref-type=""}) of the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\delta $$\end{document}$ function. More details along with technical comments are given in Appendix [3](#Sec13){ref-type="sec"}.

### Remark {#FPar3}

Using $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$(M-1)$$\end{document}$-dimensional oscillators $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\vec \alpha _n, \vec \beta _n$$\end{document}$ associated with the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$A_{M-1}$$\end{document}$ root system, it is possible to extend our construction to define an elliptic version of the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$W_{M}$$\end{document}$ algebra, along the lines of \[[@CR23], [@CR24], [@CR84]\].

Screening currents {#Sec5}
------------------

The screening current $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathsf{S}(z)$$\end{document}$ of the EVA in the free field representation ([2.9](#Equ9){ref-type=""}) is defined by the relation$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}{}[\mathsf{T}_n,\mathsf{S}(w)]=\frac{\mathrm{d}}{\mathrm{d}_q w}\mathsf{A}_n(w)=\frac{\mathsf{A}_n(q^{\frac{1}{2}}w)-\mathsf{A}_n\left( q^{-\frac{1}{2}}w\right) }{w\left( q^{\frac{1}{2}}-q^{-\frac{1}{2}}\right) } \end{aligned}$$\end{document}$$for some operator $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathsf{A}_n(w)$$\end{document}$, so that the EVA generators and the screening charge $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\oint \!\! \mathrm{d}w\;\mathsf{S}(w)$$\end{document}$ commute for a suitable *q*-invariant integration contour (e.g., around the origin). With the definition$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathsf{S}(z)=\, :\mathrm{e}^{-\sum _{n\ne 0}\frac{z^{-n}}{\left( q^{n/2}-q^{-n/2}\right) (1-q'^{|n|})}\alpha _n}\mathrm{e}^{\sum _{n\ne 0}\frac{z^{n}}{\left( q^{n/2}-q^{-n/2}\right) (1-q'^{|n|})}\beta _n}:\mathrm{e}^{\sqrt{\beta }\mathsf{Q}}z^{\sqrt{\beta }\mathsf{P}}, \end{aligned}$$\end{document}$$we can verify that ([2.16](#Equ16){ref-type=""}) is satisfied. Since this particular choice of screening current will be crucial for actual computations, in Appendix [4](#Sec14){ref-type="sec"} we explicitly show how the claim ([2.16](#Equ16){ref-type=""}) can be verified.

### Remark {#FPar4}

Another screening current can also be defined through the map $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q\rightarrow t, t\rightarrow q, \alpha _n\rightarrow -\alpha _n, \beta _n\rightarrow -\beta _n, \sqrt{\beta }\rightarrow -1/\sqrt{\beta }$$\end{document}$, but we do not need it for our purposes.

The product of several screening currents can be written as$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \prod _{i=1}^r\mathsf{S}(z_i)= & {} \; :\prod _{i=1}^r\mathsf{S}(z_i): \times \prod _{1\le i\ne j\le r}\frac{\Gamma (t z_j z_i^{-1};q,q')}{\Gamma (z_j z_i^{-1};q,q')}\prod _{1\le i<j\le r}\frac{\Theta (t z_i z_j^{-1};q)}{\Theta (z_i z_j^{-1};q)}\nonumber \\&\times \prod _{i=1}^{r}z_i^{2\beta (r-i)} . \end{aligned}$$\end{document}$$The last factor arises from the normal ordering of the zero modes$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \prod _{i}\left( \mathrm{e}^{\sqrt{\beta }\mathsf{Q}}z_i^{\sqrt{\beta }\mathsf{P}}\right) = \prod _{i}\mathrm{e}^{\sqrt{\beta }\mathsf{Q}}\prod _{i}z_i^{\sqrt{\beta }\mathsf{P}}\times \prod _{i<j}z_i^{2 \beta }, \end{aligned}$$\end{document}$$and it can also be rewritten as$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \prod _{i<j}z_i^{2 \beta }=\prod _{i=1}^r z_i^{2\beta (r-i)}=\prod _{i=1}^r\frac{z_i^{\sqrt{\beta }(\sqrt{\beta }r-Q)}}{z_i}\times \prod _{1\le i<j\le r}\left( \frac{z_i}{z_j}\right) ^\beta , \end{aligned}$$\end{document}$$where we defined$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} Q=\sqrt{\beta }-\frac{1}{\sqrt{\beta }}. \end{aligned}$$\end{document}$$The last factor in the r.h.s. of ([2.20](#Equ20){ref-type=""}) can be put with the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Theta $$\end{document}$s in ([2.18](#Equ18){ref-type=""}) to form the *q*-constant[1](#Fn1){ref-type="fn"} $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} c_\beta (z;q)=\prod _{1\le i<j\le r}\left( \frac{z_i}{z_j}\right) ^\beta \frac{\Theta (t z_i z_j^{-1};q)}{\Theta (z_i z_j^{-1};q)}, \end{aligned}$$\end{document}$$while we can use the product of the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Gamma $$\end{document}$s in ([2.18](#Equ18){ref-type=""}) to define an elliptic Vandermonde-like determinant$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \Delta _E(z)=\prod _{1\le i\ne j\le r}\frac{\Gamma (t z_i z_j^{-1};q,q')}{\Gamma (z_i z_j^{-1};q,q')}. \end{aligned}$$\end{document}$$When considering free field correlators with integrated screening currents, this object will provide the integration measure. In fact, we can simply forget about the *q*-constant ([2.22](#Equ22){ref-type=""}) because of the integration contour that we will prescribe (see discussion in Sect. [3](#Sec8){ref-type="sec"}).

Vertex operators {#Sec6}
----------------

Let us define the following vertex operator built out of the bosonic oscillators and zero modes$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathsf{V}_u(x)=\; :\mathrm{e}^{\sum _{n\ne 0}\frac{[u]_n x^{-n}}{\left( q^{n/2}-q^{-n/2}\right) (1-q'^{|n|})}\alpha _n} \mathrm{e}^{-\sum _{n\ne 0}\frac{[u]_n x^{n}}{\left( q^{n/2}-q^{-n/2}\right) (1-q'^{|n|})}\beta _n}:\mathrm{e}^{-\frac{\gamma }{2}\sqrt{\beta }\mathsf{Q}}x^{-\frac{\gamma }{2}\sqrt{\beta }\mathsf{P}}, \end{aligned}$$\end{document}$$where$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}{}[u]_n=\frac{u^{\frac{n}{2}}-u^{-\frac{n}{2}}}{(t^{\frac{n}{2}}-t^{-\frac{n}{2}})(p^{\frac{n}{2}}+p^{-\frac{n}{2}})},\quad u=t^\gamma . \end{aligned}$$\end{document}$$The momentum $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\gamma $$\end{document}$ (or equivalently *u*) is a free parameter labeling the vertex operator. The "OPE" between this vertex operator and the screening current can be written as$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathsf{V}_u(x)\mathsf{S}(z) =\; :\mathsf{V}_u(x)\mathsf{S}(z):\times \frac{\Gamma (q^{\frac{1}{2}}u^{-\frac{1}{2}}z x^{-1};q,q')}{\Gamma (q^{\frac{1}{2}}u^{\frac{1}{2}}z x^{-1};q,q')}\times x^{-\beta \gamma }, \end{aligned}$$\end{document}$$where the last factor arises from the normal ordering of the zero modes$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} x^{-\frac{\gamma }{2}\sqrt{\beta }\mathsf{P}}\mathrm{e}^{\sqrt{\beta }\mathsf{Q}}= \mathrm{e}^{\sqrt{\beta }\mathsf{Q}} x^{-\frac{\gamma }{2}\sqrt{\beta }\mathsf{P}}\times x^{-\beta \gamma }. \end{aligned}$$\end{document}$$In the following, we do not need the explicit form of the "OPE" between vertex operators alone.

Correlators {#Sec7}
-----------

Let us start by defining the zero momentum Fock space $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {F}_0$$\end{document}$. It is the left module over the oscillator algebra ([2.6](#Equ6){ref-type=""}) generated by the vacuum $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${ |0\rangle }$$\end{document}$ defined by$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \alpha _{n}{ |0\rangle }=\beta _{n}{ |0\rangle }=0,\quad n\in \mathbb {Z}_{>0}, \end{aligned}$$\end{document}$$namely$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {F}_0=\mathrm{Span}\Big \{\alpha _{-\mu }\beta _{-\nu }{ |0\rangle },\mu ,\nu \in \mathcal {P}\Big \}, \end{aligned}$$\end{document}$$where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {P}$$\end{document}$ is the set of partitions, and for length $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\ell (\mu ), \ell (\nu )$$\end{document}$ partitions we defined $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\alpha _{-\mu }=\alpha _{-\mu _1}\;\cdots \;\alpha _{-\mu _{\ell (\mu )}}, \beta _{-\nu }=\beta _{-\nu _1}\;\cdots \;\beta _{-\nu _{\ell (\nu )}}$$\end{document}$. Let us also define the dual (right) Fock module$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {F}_0^*=\mathrm{Span}\Big \{{ \langle 0|}\alpha _{\mu }\beta _{\nu },\mu ,\nu \in \mathcal {P}\Big \}, \end{aligned}$$\end{document}$$generated by the dual vacuum $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${ \langle 0|}$$\end{document}$ defined by $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${ \langle 0|}\alpha _{-n}\beta _{-m}=0, n,m\in \mathbb {Z}_{>0}$$\end{document}$.[2](#Fn2){ref-type="fn"} Acting with the exponential of the zero mode operator $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathsf{Q}$$\end{document}$ on the neutral vacua, we can define charged Fock vacua generating the charged Fock modules $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {F}_\gamma , \mathcal {F}^*_\gamma $$\end{document}$ $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} { |\gamma \rangle }=\mathrm{e}^{\frac{\gamma }{2} {\mathsf{Q}}}{ |0\rangle },\quad { \langle \gamma |}={ \langle 0|}\mathrm{e}^{-\frac{\gamma }{2}{\mathsf{Q}}},\quad \gamma \in \mathbb {C}. \end{aligned}$$\end{document}$$The charged vacua are eigenstates of the momentum operator $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathsf{P}$$\end{document}$ $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathsf{P}{ |\gamma \rangle }=\gamma { |\gamma \rangle },\quad { \langle \gamma |}\mathsf{P}=\gamma { \langle \gamma |} , \end{aligned}$$\end{document}$$and we define the following pairing between the left and right charged Fock modules$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} { \left\langle \gamma |\gamma ' \right\rangle }=\delta _{\gamma ,\gamma '}. \end{aligned}$$\end{document}$$We are now ready to compute correlators of *N* vertex operators and *r* integrated screening currents between external Fock states. We start by using the manipulations of the previous subsection to write$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}&\prod _{i=1}^N\mathsf{V}_{u_i}(x_i)\prod _{i=1}^r\mathsf{S}(z_i)=\; :\prod _{i=1}^N\mathsf{V}_{u_i}(x_i)\prod _{i=1}^r\mathsf{S}(z_i):\times \mathrm{``OPE''}\times \prod _{j=1}^N x_j^{-\beta r\gamma _j}\nonumber \\&\quad \times c_\beta (z;q)\times \Delta _E(z)\prod _{i=1}^r\frac{z_i^{\sqrt{\beta }(\sqrt{\beta }r-Q)}}{z_i}\prod _{i=1}^r\prod _{j=1}^N \frac{\Gamma (q^{\frac{1}{2}}u_j^{-\frac{1}{2}}z_i x_j^{-1};q,q')}{\Gamma (q^{\frac{1}{2}}u_j^{\frac{1}{2}}z_i x_j^{-1};q,q')},\quad \end{aligned}$$\end{document}$$where we set $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$u_j=t^{\gamma _j}$$\end{document}$. The $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathrm{``OPE''}$$\end{document}$ prefactor denotes all the normal ordering terms arising from vertex operators alone, which are not important for the present analysis and hence will be neglected in the following. Sandwiching ([2.34](#Equ34){ref-type=""}) between two Fock states $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${ |\gamma _0\rangle }$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${ \langle \gamma _\infty |}$$\end{document}$ we get (up to constant, i.e., $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$z_i$$\end{document}$-independent factors)$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}&{ \langle \gamma _\infty |}\prod _{i=1}^N \mathsf{V}_{u_i}(x_i)\prod _{i=1}^r\mathsf{S}(z_i){ |\gamma _0\rangle }\propto { \left\langle \gamma _\infty |\gamma _0+\sqrt{\beta }(2r-\sum _i\gamma _i) \right\rangle }\nonumber \\&\quad \times c_\beta (z;q)\times \Delta _E(z)\prod _{i=1}^r\frac{z_i^{\sqrt{\beta }(\gamma _0+\sqrt{\beta }r-Q)}}{z_i} \prod _{i=1}^r\prod _{j=1}^N\frac{\Gamma (q^{\frac{1}{2}}u_j^{-\frac{1}{2}}z_i x_j^{-1};q,q')}{\Gamma (q^{\frac{1}{2}}u_j^{\frac{1}{2}}z_i x_j^{-1};q,q')},\nonumber \\ \end{aligned}$$\end{document}$$which is nonzero provided the neutrality condition $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sqrt{\beta }(2r-\sum _{i=1}^N \gamma _i)+\gamma _0-\gamma _\infty =0$$\end{document}$ holds. In this case, the correlator integrated over the positions of the screening currents reads$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}&G^{(N)}_{\gamma _\infty ,\gamma _0}=\oint \prod _{i=1}^r\frac{\mathrm{d}z_i}{2\pi \mathrm{i}}{ \langle \gamma _\infty |}\prod _{i=1}^N \mathsf{V}_{u_i}(x_i)\prod _{i=1}^r\mathsf{S}(z_i){ |\gamma _0\rangle }\nonumber \\&\quad \propto \oint \prod _{i=1}^r\frac{\mathrm{d}z_i}{2\pi \mathrm{i}z_i}\;c_\beta (z;q)\;\Delta _E(z)\prod _{i=1}^r z_i^{\sqrt{\beta }(\gamma _0+\!\sqrt{\beta }r-Q)}\prod _{i=1}^r\prod _{j=1}^N \frac{\Gamma (q^{\frac{1}{2}}u_j^{\!-\frac{1}{2}}z_i x_j^{-1};q,q')}{\Gamma (q^{\frac{1}{2}}u_j^{\frac{1}{2}}z_i x_j^{-1};q,q')}, \end{aligned}$$\end{document}$$where we left the integration contour momentarily unspecified. For later purposes, it is useful to reorder the integration variables $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$z_i\rightarrow z_{r-i+1}$$\end{document}$, perform the change $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$z_i\rightarrow z_i^{-1}$$\end{document}$, and set $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q^{1/2}u_j^{-1/2}x_j^{-1}=y_j$$\end{document}$. The combination of these transformations acts as the identity on $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Delta _E(z)$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$c_\beta (z;q)$$\end{document}$, and then, we have$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} G^{(N)}_{\gamma _\infty ,\gamma _0}\propto \oint \prod _{i=1}^r\frac{\mathrm{d}z_i}{2\pi \mathrm{i}z_i}\;c_\beta (z;q)\;\Delta _E(z)\prod _{i=1}^r z_i^{\sqrt{\beta }(Q-\gamma _0\!-\!\sqrt{\beta }r)}\prod _{i=1}^r\prod _{j=1}^N\frac{\Gamma (y_j z_i^{-1};q,q')}{\Gamma (u_j y_j z_i^{-1};q,q')}. \end{aligned}$$\end{document}$$This integral looks like an elliptic deformation of the Dotsenko--Fateev representation of the chiral blocks of the DVA.[3](#Fn3){ref-type="fn"} In fact, in the trigonometric limit $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q'\rightarrow 0$$\end{document}$ we get$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}&\lim _{q'\rightarrow 0}G^{(N)}_{\gamma _\infty ,\gamma _0}\propto \oint \prod _{i=1}^r\frac{\mathrm{d}z_i}{2\pi \mathrm{i}z_i}\;c_\beta (z;q)\;\Delta _T(z)\prod _{i=1}^r z_i^{\sqrt{\beta }(Q-\gamma _0-\sqrt{\beta }r)}\nonumber \\&\quad \times \prod _{i=1}^r\prod _{j=1}^N \frac{(u_j y_j z_i^{-1};q)_\infty }{(y_j z_i^{-1};q)_\infty }, \end{aligned}$$\end{document}$$where$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \Delta _T(z)=\prod _{1\le i\ne j\le r}\frac{(z_i z_j^{-1};q)_\infty }{(t z_i z_j^{-1};q)_\infty } \end{aligned}$$\end{document}$$is the trigonometric Vandermonde-like determinant appearing in the *q*-deformed $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\beta $$\end{document}$-ensemble studied, for example, in \[[@CR25]\] in the context of the 5d AGT correspondence. In the special case $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$t=q^\beta , \beta \in \mathbb {Z}_{>0}$$\end{document}$, we find$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \Delta _E(z)=\prod _{1\le i\ne j\le r}\prod _{k=0}^{\beta -1}\Theta (q^k z_j z_i^{-1};q'), \end{aligned}$$\end{document}$$which in the trigonometric limit $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q'\rightarrow 0$$\end{document}$ reduces to$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \Delta _T(z)=\prod _{1\le i\ne j\le r}\prod _{k=0}^{\beta -1}(1-q^k z_j z_i^{-1}). \end{aligned}$$\end{document}$$The latter represents, apart for a factor of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\prod _{i=1}^r z_i^{-\beta (r-1)}$$\end{document}$ which can be reabsorbed into the integrand factors, the ordinary *q*-deformation \[[@CR26]\] of the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\beta $$\end{document}$-deformed rational Vandermonde determinant$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \Delta _R(z)=\prod _{1\le i<j\le r}(z_i-z_j)^{2\beta }. \end{aligned}$$\end{document}$$

4d holomorphic blocks {#Sec8}
=====================

In \[[@CR61]\] we have analyzed the structure of supersymmetric partition functions of 4d $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {N}=1$$\end{document}$ theories with R-symmetry on compact manifolds ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {M}^4_g$$\end{document}$). This class of theories can be coupled to new minimal supergravity backgrounds \[[@CR85]\], and in the rigid limit \[[@CR86]\] 2 supercharges of opposite R-charge can be preserved. In this case $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {M}^4_g$$\end{document}$ must be a Hermitian manifold given by a $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {T}^2$$\end{document}$ fibration over a Riemann surface. When the base has the topology of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$S^2, \mathcal {M}^4_g$$\end{document}$ can be considered to be $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$S^3\times S^1, S^3/\mathbb {Z}_k\times S^1$$\end{document}$ or $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$S^2\times \mathbb {T}^2$$\end{document}$. From our viewpoint, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {M}^4_g$$\end{document}$ is not an elementary geometry in the sense that it admits a Heegaard-like splitting into solid tori $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$D^2 \times \mathbb {T}^2\simeq \mathbb {R}^2_\epsilon \times \mathbb {T}^2$$\end{document}$ (Fig. [1](#Fig1){ref-type="fig"})$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {M}^4_g\simeq (D^2\times \mathbb {T}^2)\cup _g (D^2\times \mathbb {T}^2), \end{aligned}$$\end{document}$$where *g* represents a certain element in $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$SL(3,\mathbb {Z})$$\end{document}$ implementing the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {T}^3$$\end{document}$ boundary homeomorphism realizing the compact geometry and acting on the fibration moduli $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\tau ,\sigma $$\end{document}$. In this construction $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\tau \propto \epsilon $$\end{document}$ is to be identified with the disk equivariant parameter ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Omega $$\end{document}$-deformation) while $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma $$\end{document}$ with the torus modular parameter. Eventually, one can map $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\tau $$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma $$\end{document}$ to the complex structure parameters of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {M}^4_g$$\end{document}$ (see, for example, the discussion in \[[@CR87], [@CR88]\] and references therein).Fig. 1Decomposition of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {M}^4_g$$\end{document}$ into solid tori $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$D^2\times \mathbb {T}^2$$\end{document}$

These geometric observations acquire even more importance if we recall that the compact space partition functions of the class of theories we are considering are quasi-topological objects, as they depend on the complex structure but do not depend on the Hermitian metric \[[@CR85], [@CR89]\]. Assuming that there are deformations of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {M}_g^4$$\end{document}$ into a stretched geometry which preserve the complex structure (similarly to the 3d case \[[@CR90]\]), one expects that the associated partition function (*Z*) can be factorized according to the underlying geometric decomposition of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {M}_g^4$$\end{document}$ $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} Z_{\mathcal {M}_g^4}=\sum _c \Big \Vert \mathcal {B}_c^{\mathrm{4d}}\Big \Vert ^2_g, \end{aligned}$$\end{document}$$where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {B}_c^{\mathrm{4d}}$$\end{document}$ is identified with the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}_\epsilon ^2\times \mathbb {T}^2$$\end{document}$ partition function of the 4d theory and *c* runs over the supersymmetric vacua of the effective 2d theory. The functions $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {B}_c^{\mathrm{4d}}$$\end{document}$ were called 4d holomorphic blocks \[[@CR61]\] because the *g*-pairing acts as an involution mapping a block to the conjugate block, where the *g*-action is on $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\tau , \sigma $$\end{document}$ and on a set of variables parametrizing global fugacities.

In \[[@CR61]\] we have explicitly proved this structure in rank 1 gauge theories and argued its general validity for anomaly free theories by means of other arguments, such as the existence of a commuting set of difference operators annihilating the partition functions, Higgs branch localization \[[@CR91]\] or the close relation to $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$tt^*$$\end{document}$ geometries \[[@CR92]\]. In fact, for a given gauge theory we have found a specific recipe to compute $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {B}_c^{\mathrm{4d}}$$\end{document}$ through a block integral formalism, similar to that developed in \[[@CR50]\] for the 3d case. The fundamental object of this formalism is an integral kernel $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Upsilon ^{\mathrm{4d}}(z)$$\end{document}$ whose contour integrals produce the 4d holomorphic blocks[4](#Fn4){ref-type="fn"} $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {B}_c^{\mathrm{4d}}=\oint _{\mathcal {P}_c}\frac{\mathrm{d}z}{2\pi \mathrm{i}z}\Upsilon ^{\mathrm{4d}}( z), \end{aligned}$$\end{document}$$where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {P}_c$$\end{document}$ belongs to a basis of middle dimensional integration cycles in $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$(\mathbb {C}^{\times })^{|G|}$$\end{document}$ which can be determined by the specific matter content and gauge group *G*. The kernel $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Upsilon ^{\mathrm{4d}}(z)$$\end{document}$ can be assembled using the rules derived in \[[@CR61]\], which can be briefly summarized as follows (we refer to \[[@CR61]\] for a full account):To a vector multiplet we associate a factor of $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {B}_{\mathrm{vec}}^{\mathrm{4d}}( z)= \prod _{\alpha }\frac{1}{\Gamma (z_\alpha ;q_\tau ,q_\sigma )}, \end{aligned}$$\end{document}$$ where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\alpha $$\end{document}$ denotes a gauge root.To a chiral multiplet we associate a factor of $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {B}_{\mathrm{N}}^{\mathrm{4d}}( z, x)=\prod _{\rho }\Gamma (z_\rho x;q_\tau ,q_\sigma ),\quad \text { or }\quad \mathcal {B}_{\mathrm{D}}^{\mathrm{4d}}( z, x)=\prod _{\rho }\frac{1}{\Gamma (q_\tau z_\rho ^{-1} x^{-1};q_\tau ,q_\sigma )}, \end{aligned}$$\end{document}$$ where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho $$\end{document}$ is a gauge weight while *x* is a global *U*(1) fugacity.The parameters $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q_\tau =\mathrm{e}^{2\pi \mathrm{i}\tau }$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q_\sigma =\mathrm{e}^{2\pi \mathrm{i}\sigma }$$\end{document}$ can be interpreted as fugacities for rotations on the disk and translations on the torus. We should also observe that the construction of the integral kernel suffers from some ambiguity represented by $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q_\tau $$\end{document}$-constants.[5](#Fn5){ref-type="fn"}

We can now apply the 4d block integral formalism to the higher rank example we have mentioned in the introduction, namely the *U*(*r*) theory with *N* fundamentals and anti-fundamental chirals, 1 adjoint and FI parameter ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\xi $$\end{document}$). Using the rules summarized above, the block integral for this theory can be written as$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {B}^{\mathrm{4d}}= & {} \oint \prod _{i=1}^r\frac{\mathrm{d}z_i}{2\pi \mathrm{i}z_i}\Upsilon ^{\mathrm{4d}}(z),\nonumber \\ \Upsilon ^{\mathrm{4d}}(z)= & {} \prod _{1\le i\ne j\le r}\frac{\Gamma (t z_i z_j^{-1};q_\tau , q_\sigma )}{\Gamma (z_i z_j^{-1};q_\tau , q_\sigma )}\prod _{i=1}^{r}z_i^\xi \prod _{a=1}^N \frac{\Gamma (y_a z_i^{-1};q_\tau ,q_\sigma )}{\Gamma (u_a y_a z_i^{-1};q_\tau , q_\sigma )}, \end{aligned}$$\end{document}$$where for later convenience the global parameters have been encoded into *t*, *u*, *y*.[6](#Fn6){ref-type="fn"}

In this parametrization the 4d block integral ([3.6](#Equ48){ref-type=""}) is manifestly equal (up to prefactors) to the correlator ([2.37](#Equ37){ref-type=""}) that we have introduced in the previous section$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {B}^{\mathrm{4d}}\propto G^{(N)}_{\gamma _\infty ,\gamma _0}, \end{aligned}$$\end{document}$$where the identification of parameters is as follows $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \begin{array}{c|c|c|c|c|c|c} \text {Gauge theory}~&{}~ q_\tau ~&{}~q_\sigma ~&{}~t~&{}~u~&{}~y~&{}~\xi \\ \hline \text {EVA}~&{}~q~&{}~q'~&{}~t~&{}~u~&{}~y~&{}~Q-\gamma _0-\sqrt{\beta }r~ \end{array}. \end{aligned}$$\end{document}$$In particular, the gauge theory integration measure given by the adjoint and vector multiplets and the elliptic Vandermonde-like determinant ([2.23](#Equ23){ref-type=""}) coming from "OPE" factor of the screening currents are identified. As we mentioned around ([2.22](#Equ22){ref-type=""}), the actual measures may differ by *q*-constants, but they give the same result (up to proportionality factors) when integrating along paths enclosing the poles specified in the following ([3.14](#Equ56){ref-type=""}).[7](#Fn7){ref-type="fn"} It then follows that ([3.6](#Equ48){ref-type=""}) can be interpreted as the Dotsenko--Fateev representation of the chiral blocks of the EVA, as summarized in ([3.7](#Equ49){ref-type=""}).

We now turn to discussing the integration contour ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {C}$$\end{document}$), which was left unspecified so far, and the evaluation of the block integral/correlator ([3.6](#Equ48){ref-type=""}) by residues. We assume $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$|q_\tau |<1, |q_\sigma |<1, |t|<1$$\end{document}$ and that they are generic, namely $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q_\tau ^m\ne q_\sigma ^n\ne t^k$$\end{document}$ for any $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$m,n,k\in \mathbb {Z}\backslash \{0\}$$\end{document}$. We begin by studying the pole distribution of the block integrand in ([3.6](#Equ48){ref-type=""}), focusing on the *u*-independent ones. These are associated with anti-fundamental matter in our conventions, and they determine $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {C}$$\end{document}$ as we are going to explain. The poles coming from the numerator of the matter contribution are located at$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} z_i=y_a q_\tau ^n q_\sigma ^k,\quad n,k\in \mathbb {Z}_{\ge 0}. \end{aligned}$$\end{document}$$Further poles come from the numerator of the integration measure (adjoint) and are determined by the condition$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \frac{z_i}{z_j}=t q_\tau ^n q_\sigma ^k,\quad n,k\in \mathbb {Z}_{\ge 0}. \end{aligned}$$\end{document}$$Importantly, there are zeros coming from the denominator of the integration measure (vector) whenever$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \frac{z_i}{z_j}=q_\tau ^n q_\sigma ^k,\quad n,k\in \mathbb {Z}_{\ge 0}. \end{aligned}$$\end{document}$$The contour $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {C}$$\end{document}$ is chosen to encircle only the poles of the form$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} z_i=y_a t ^k q_\tau ^n,\quad n,k\in \mathbb {Z}_{\ge 0}. \end{aligned}$$\end{document}$$As explained in detail in \[[@CR61]\], this prescription arises by interpreting the contributions from poles containing powers of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q_\sigma $$\end{document}$ as unphysical replicas because of the quasi-periodicity on $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {T}^2$$\end{document}$. Moreover, this prescription works in rank 1 examples \[[@CR61]\], and we adopt it also in the present case. In order to completely specify the integration path, we split the integration variables into *N* groups of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$r_{a}$$\end{document}$, namely$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} r=\sum _{a=1}^{N}r_a,\quad \{z_i\}=\{z_{(a,\ell )}~|~ a=1,\ldots ,N,~\ell =1,\dots ,r_a\}, \end{aligned}$$\end{document}$$and we assign a contour to each group. Within each group, the sequence $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$z_{(a,\ell )}=y_a q_\tau ^n$$\end{document}$ connects the points $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$z_{(a,\ell )}=0$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$z_{(a,\ell )}=y_a$$\end{document}$, and the contour is taken to go around that path. In order to understand what are the contributing poles, let us focus on the *a* ^th^ group. First of all, we have a permutation symmetry among the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$z_{(a,\ell )}$$\end{document}$ which we fix by starting to integrate from the last variable of the group all the way to the first one, namely we perform the integrations in the order $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$z_{(a,r_a)},z_{(a,r_a-1)},\ldots ,z_{(a,1)}$$\end{document}$. For the last variable the contributing poles are just those from the anti-fundamentals, namely $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$z_{(a,r_a)}=y_a q_\tau ^n$$\end{document}$. Then, we perform the integration over the next-to-last variable $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$z_{(a,r_a-1)}$$\end{document}$. The possible contributing poles arise from the anti-fundamentals at $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$z_{(a,r_a-1)}=y_a q_\tau ^{k}$$\end{document}$, or from the adjoint at $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$z_{(a,r_a-1)}=y_a t q_\tau ^{n+k}$$\end{document}$. The first family does not contribute because the condition $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\frac{z_{(a,r_a-1)}}{z_{(a,r_a)}}=q_\tau ^\mathbb {Z}$$\end{document}$ is satisfied and hence the vector contributes with a zero. Similarly, for the variable $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$z_{(a,r_a-2)}$$\end{document}$ we find the contributing poles are those at $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$z_{(a,r_a-2)}=y_a t^2 q_\tau ^{n+k+j}$$\end{document}$, and so on. The same reasoning applies to each group, and we can eventually realize that the relevant poles are labeled by an *N*-tuple of Young tableaux $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$Y^a$$\end{document}$ with at most $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$r_a$$\end{document}$ rows of length $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$Y^a_\ell $$\end{document}$ $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} z_{(a,\ell )}=z_{Y^a_\ell }=y_a t^{r_a-\ell }q_\tau ^{Y^a_\ell },\quad Y^a_\ell \ge Y^a_{\ell +1}. \end{aligned}$$\end{document}$$The sum of the residues of ([3.6](#Equ48){ref-type=""}) over these poles can be evaluated by using the properties in ([6.12](#Equ87){ref-type=""}), and we can finally write$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {B}^{\mathrm{4d}}_\mathcal {C}=\mathrm{Res}_{z=z_{\vec \emptyset }}\frac{\Upsilon ^{\mathrm{4d}}(z)}{z}\times \sum _{\vec Y}\frac{\Upsilon ^{\mathrm{4d}}(z)|_{z_{\vec Y}}}{\Upsilon ^{\mathrm{4d}}( z)|_{z_{\vec \emptyset }}}. \end{aligned}$$\end{document}$$The summands of the series reads as$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \frac{\Upsilon ^{\mathrm{4d}}(z)|_{z_{\vec Y}}}{\Upsilon ^{\mathrm{4d}}(z)|_{z_{\vec \emptyset }}}= & {} q_\tau ^{\xi |\vec Y|}\!\!\!\!\!\!\!\prod _{(a,\ell )\ne (b,k)}\!\!\!\frac{\Theta (t y_a y_b^{-1}t^{r_a-r_b-\ell +k};q_\sigma ,q_\tau )_{Y^a_\ell -Y^b_k}}{\Theta (y_a y_b^{-1}t^{r_a-r_b-\ell +k};q_\sigma ,q_\tau )_{Y^a_\ell -Y^b_k}}\nonumber \\&\prod _{a,b,\ell }\!\frac{\Theta (y_b y_a^{-1} t^{-r_a+\ell };q_\sigma ,q_\tau )_{-Y^a_\ell }}{\Theta (u_b y_b y_a^{-1} t^{-r_a+\ell };q_\sigma ,q_\tau )_{-Y^a_\ell }}, \end{aligned}$$\end{document}$$where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$|\vec Y|\!=\!\sum _{a=1}^{N}\!\sum _{\ell =1}^{r_a}\!Y^a_\ell $$\end{document}$ and the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Theta $$\end{document}$-factorial is defined in ([6.14](#Equ89){ref-type=""}). We see that $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {B}^{\mathrm{4d}}_\mathcal {C}$$\end{document}$ is similar to a multiple elliptic hypergeometric series studied, for example, in \[[@CR93]\].

In \[[@CR61]\] we have shown that the Abelian blocks ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$r=1$$\end{document}$) are annihilated by a difference operator which is an elliptic deformation (in the shift operator) of the *q*-hypergeometric operator. We believe that there should exist a similar operator annihilating the more general block given in ([3.15](#Equ57){ref-type=""}), and it would be interesting to determine it.

The 4d holomorphic block ([3.15](#Equ57){ref-type=""}) has the form of an elliptic deformation of a vortex partition function \[[@CR94]\], similar to those appearing in \[[@CR61], [@CR91], [@CR95], [@CR96]\]. Given the relation between vortex and instanton counting \[[@CR94], [@CR97]--[@CR100]\], it is natural to ask whether ([3.15](#Equ57){ref-type=""}) can be seen as the vortex partition function of a 1/2 BPS codimension 2 theory in $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^4_{\epsilon _1,\epsilon _2}\times \mathbb {T}^2$$\end{document}$. Granted the comment in the previous paragraph, this possibility is also strongly supported by the very well-known fact that partition functions of defect theories obey difference equations \[[@CR44], [@CR98]--[@CR102]\]. Indeed, in the next section we will verify that the elliptic vortex sum in ([3.15](#Equ57){ref-type=""}) equals the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^4\times \mathbb {T}^2$$\end{document}$ Nekrasov instanton partition function \[[@CR62]--[@CR64]\] of the *U*(*N*) theory with *N* fundamental and anti-fundamental flavors for particular values of the Coulomb branch parameters of the 6d theory.

6d Nekrasov partition function {#Sec9}
==============================

In this section, we compute the instanton partition function on $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^4_{\epsilon _1,\epsilon _2}\times \mathbb {T}^2$$\end{document}$, which can be defined as the generating function of elliptic genera \[[@CR103], [@CR104]\] of the instanton moduli space. Our goal is to show that the elliptic Nekrasov instanton partition function reduces to the elliptic vortex partition function ([3.15](#Equ57){ref-type=""}) at specific points in the Coulomb branch. In fact, in analogy with the lower dimensional cases, these should correspond to the points where vortex solutions exist and where the low energy dynamics can be described by a 1/2 BPS codimension 2 theory on $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^2_\epsilon \times \mathbb {T}^2$$\end{document}$.[8](#Fn8){ref-type="fn"}

There are diverse methods \[[@CR62]\] to compute the supersymmetric partition function we are interested in, such as instanton calculus \[[@CR4], [@CR5]\] or topological string methods \[[@CR106], [@CR107]\]. We adopt the second perspective. We start by considering an M-theory setup provided by *M* parallel M5-branes wrapped on a torus and probing a transverse $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$A_{N-1}$$\end{document}$ singularity as in \[[@CR63], [@CR64]\]Our aim is then to compute the M-theory partition function on such background. The result we are looking for can be found in \[[@CR63]\], here we briefly review the points of that construction which are more relevant for our analysis and adapt to our notation. For coincident M5-branes the configuration leads to a 6d (1, 0) superconformal theory. However, one can also consider a deformation away from the superconformal fixed point by separating the M5-branes along a transverse direction, and suspending M2-branes between consecutive M5-branes. The ends of the M2-branes appear as strings from the M5-brane viewpoint, and hence were called $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathrm{M}_A$$\end{document}$-strings in \[[@CR63]\] (the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$N>1$$\end{document}$ generalization of M-strings \[[@CR108]\]). The M-theory partition function can be obtained by computing the BPS degeneracies of the states arising from the M2-branes wrapping $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {T}^2$$\end{document}$. Through a chain of dualities, the M-theory background has a dual description in type IIB string theory as the (*p*, *q*)-web \[[@CR109], [@CR110]\]where the subindex denotes the (*p*, *q*)-cylinder. The (*p*, *q*)-web is dual to an elliptically fibered toric Calabi--Yau threefold \[[@CR111], [@CR112]\]. This geometry can be used to compute IIA topological string amplitudes by using the refined topological vertex \[[@CR107], [@CR113], [@CR114]\]. The basic building block of the geometry is given by the periodic strip depicted in Fig. [2](#Fig2){ref-type="fig"} (left), where we have explicitly shown the external Young diagrams and the various Kähler parameters. Because of the periodic identification, all the variables of the strip are subject to the equivalence relation $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$n\sim n+N$$\end{document}$ for any subindex of Kähler parameters or Young diagrams. Notice that there is an additional Kähler parameter ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$Q_{f,0}\sim Q_{f,N}$$\end{document}$) and internal Young diagram ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\nu _1\sim \nu _{N+1}$$\end{document}$) with respect to the uncompactified strip. By choosing the horizontal direction as the preferred one, the sums over the internal diagrams can be performed through the refined version of the method of \[[@CR115]\], the main difference being the appearance of an extra infinite product taking into account the multi-covering contributions of the basic holomorphic curves due to the periodic identification. The resulting (normalized) periodic strip amplitude can be written as ([11.15](#Equ162){ref-type=""})$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}&\frac{\mathcal {K}^{\vec \alpha }_{\vec \beta }( Q_m,Q_f;q,t)}{\mathcal {K}^{\vec \emptyset }_{\vec \emptyset }( Q_m,Q_f;q,t)} =\prod _{a=1}^N\frac{q^{\frac{\Vert \alpha _a\Vert ^2}{2}}t^{\frac{\Vert \beta ^\vee _a\Vert ^2}{2}}{\tilde{Z}}_{\alpha _a}(t,q){\tilde{Z}}_{\beta _a^\vee }(q,t)}{\prod _{k=0}^\infty N_{\beta _a\beta _{a}}(p q'^{k+1};q,t)N_{\alpha _a\alpha _{a}}(q'^{k+1};q,t)}\nonumber \\&\quad \times \frac{\prod _{a,b=1}^N N_{\alpha _{a}\beta _{b}}(p^{\frac{1}{2}}Q_{ab}Q_{m,b};q,t|q')}{\prod _{1\le a\ne b\le N}\prod _{k=0}^\infty N_{\beta _a\beta _{b}}(p q'^{k}Q_{ab}Q_{m,a}^{-1}Q_{m,b};q,t)N_{\alpha _a\alpha _{b}}(q'^{k}Q_{ab};q,t)},\nonumber \\ \end{aligned}$$\end{document}$$with$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} p=qt^{-1},\quad q'=\prod _{k=1}^N Q_{m,k}Q_{f,k},\quad Q_{ab}=\left\{ \begin{array}{ll}\prod _{k=a}^{b-1}Q_{m,k}Q_{f,k},&{} a<b\\ 1,&{}a=b\\ q' Q_{b a}^{-1},&{} a>b\end{array}\right. . \end{aligned}$$\end{document}$$The function $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$N_{\mu \nu }(Q;q,t|q')$$\end{document}$ defined in ([11.14](#Equ161){ref-type=""}) is the elliptic version of the K-theoretic Nekrasov function $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$N_{\mu \nu }(Q;q,t)$$\end{document}$ ([11.10](#Equ157){ref-type=""}). The parameters of the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Omega $$\end{document}$-background are identified as $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q=\mathrm{e}^{2\pi \mathrm{i}\epsilon _1}, t=\mathrm{e}^{-2\pi \mathrm{i}\epsilon _2}, q'=\mathrm{e}^{2\pi \mathrm{i}\sigma }$$\end{document}$, where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\sigma $$\end{document}$ is the elliptic modulus. The 6d theory we are interested in can be engineered by gluing two periodic strips ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$M=2$$\end{document}$) as in Fig. [2](#Fig2){ref-type="fig"} (right) with the constraint$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} Q_{m,a}Q_{f,a}={\bar{Q}}_{m,a+1}{\bar{Q}}_{f,a}\quad \Rightarrow \quad {\bar{Q}}_{ab}= Q_{ab}{\bar{Q}}_{m,a}{\bar{Q}}_{m,b}^{-1}. \end{aligned}$$\end{document}$$Setting the external legs to empty Young tableaux, we can compute the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^4\times \mathbb {T}^2$$\end{document}$ Nekrasov instanton partition function for the *U*(*N*) theory with *N* fundamental and anti-fundamental hypers \[[@CR62]\]. The details of the gluing are reported in Appendix [6](#Sec16){ref-type="sec"}, the final result is[9](#Fn9){ref-type="fn"} $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {Z}^{\mathbb {R}^4\times \mathbb {T}^2}_{\mathrm{inst}}=\sum _{\vec Y}{\tilde{Q}}_B^{| \vec Y| } \prod _{a,b=1}^N\frac{N_{\emptyset Y^b}(A_b^{-1}{\bar{Q}}_a;q,t|q') N_{Y^a\emptyset }(A_a Q_b;q,t|q')}{N_{Y^a Y^b}(A_a A_b^{-1};q,t|q')}, \end{aligned}$$\end{document}$$where we set$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} Q_{ab}=\left\{ \begin{array}{ll}A_a A_b^{-1},&{} a\le b\\ q' A_a A_b^{-1},&{} a>b\end{array}\right. ,\quad Q_{m,a}=A_a Q_a p^{-\frac{1}{2}},\quad {\bar{Q}}_{m,a}=A_a^{-1} {\bar{Q}}_a p^{-\frac{1}{2}}. \end{aligned}$$\end{document}$$Due to $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$N_{Y^a Y^b}(Q;q,t|0)=N_{Y^a Y^b}(Q;q,t)$$\end{document}$, in the decompactification limit $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q'\rightarrow 0$$\end{document}$ we can recognize in the expression above the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^4\times S^1$$\end{document}$ Nekrasov instanton partition function upon identifying$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} A_b=\mathrm{e}^{R a_b},\quad Q_b=\mathrm{e}^{R m_b},\quad {\bar{Q}}_b=\mathrm{e}^{R {\bar{m}}_b },\quad {\tilde{Q}}_B= \Lambda ^{\mathrm{5d}}_{\mathrm{inst}}, \end{aligned}$$\end{document}$$where *R* is the scale of the surviving circle, while $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$a_b, m_b, {\bar{m}}_b, \Lambda ^{\mathrm{5d}}_{\mathrm{inst}}$$\end{document}$ are, respectively, the Coulomb branch parameters, the masses of fundamental and anti-fundamental hypers and the 5d instanton parameter.Fig. 2*Left* the (dual) toric diagram of the periodic strip. *Right* gluing two strips

We now consider a particular specialization of the parameters $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$A_a$$\end{document}$. If we tune$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} A_aQ_a=t^{r_a},\quad r_a\in \mathbb {Z}_{>0},\quad a=1,\ldots ,N, \end{aligned}$$\end{document}$$the numerator of ([4.6](#Equ64){ref-type=""}) yields zero at the box $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$(r_a+1,1)\in Y^a$$\end{document}$, and hence the sum over the Young tableaux is truncated to tableaux with at most $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$r_a$$\end{document}$ rows. When $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$Y^a$$\end{document}$ has at most $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$r_a$$\end{document}$ rows we have$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} N_{Y^a\emptyset }(Q;q,t|q')=\prod _{i=1}^{r_a}\prod _{j=1}^{Y^a_i}\Theta (Q q^{j-1}t^{1-i};q')=\prod _{i=1}^{r_a}\frac{\Gamma (Qq^{Y^a_i}t^{1-i};q,q')}{\Gamma (Qt^{1-i};q,q')}, \end{aligned}$$\end{document}$$where we used $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\{\lambda _i-j\}=\{j-1\}$$\end{document}$ at fixed *i* and the definition of the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Theta $$\end{document}$-factorial ([6.14](#Equ89){ref-type=""}). Similarly$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} N_{\emptyset Y^a}(Q;q,t|q')=\prod _{i=1}^{r_a}\prod _{j=1}^{Y^a_i}\Theta (Qq^{-j}t^{i};q')=\prod _{i=1}^{r_a}\frac{\Gamma (q q' Q^{-1}q^{Y^a_i}t^{-i};q,q')}{\Gamma (q q' Q^{-1}t^{-i};q,q')}. \end{aligned}$$\end{document}$$When the diagrams are both non-empty, we can use the identity (for $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$|q|<1$$\end{document}$) \[[@CR117]\]$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} N_{\mu \nu }(Q;q,t)=\prod _{i,j\ge 1}\frac{(Qq^{\mu _i-\nu _j}t^{j-i+1};q)_\infty }{(Qt^{j-i+1};q)_\infty }\frac{(Qt^{j-i};q)_\infty }{(Qq^{\mu _i-\nu _j}t^{j-i};q)_\infty }, \end{aligned}$$\end{document}$$and the definitions ([6.9](#Equ84){ref-type=""}), ([11.14](#Equ161){ref-type=""}) to write$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} N_{\mu \nu }(Q;q,t|q')=\prod _{i,j\ge 1}\frac{\Gamma (Qt^{j-i+1};q,q')}{\Gamma (Qq^{\mu _i-\nu _j}t^{j-i+1};q,q')}\frac{\Gamma (Qq^{\mu _i-\nu _j}t^{j-i};q,q')}{\Gamma (Qt^{j-i};q,q')}. \end{aligned}$$\end{document}$$Therefore, when $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$Y^a$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$Y^b$$\end{document}$ have at most $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$r_a$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$r_b$$\end{document}$ rows, respectively, we have$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} N_{Y^a Y^b}(Q;q,t|q')= & {} \prod _{i=1}^{r_a}\prod _{j=1}^{r_b}\frac{\Gamma (Qt^{j-i+1};q,q')}{\Gamma (Qq^{Y^a_i-Y^b_j}t^{j-i+1};q,q')}\frac{\Gamma (Qq^{Y^a_i-Y^b_j}t^{j-i};q,q')}{\Gamma (Qt^{j-i};q,q')} \nonumber \\&\times N_{Y^a\emptyset }(Qt^{r_b};q,t|q')N_{\emptyset Y^b}(Qt^{-r_a};q,t|q'), \end{aligned}$$\end{document}$$where we have divided the infinite products in four regions, namely $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$(i,j)\in [1,r_a]\times [1,r_b], (i,j)\in [1,r_a]\times [r_b+1,+\infty ], (i,j)\in [r_a+1,+\infty ]\times [1,r_b], (i,j)\in [r_a+1,+\infty ]\times [r_b+1,+\infty ]$$\end{document}$. The first region contributes with the first factor, the second and the third regions yield the elliptic Nekrasov functions with an empty tableaux, while the fourth region does not contribute. Finally, the evaluation of ([11.16](#Equ163){ref-type=""}) at $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$A_a=Q_a^{-1}t^{r_a}$$\end{document}$ yields$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {Z}_{\mathrm{inst}}^{\mathbb {R}^4\times \mathbb {T}^2}=\sum _{\vec Y}{\tilde{Q}}_B^{|\vec Y|}\prod _{a,b=1}^N\frac{\mathcal {Z}^{\mathrm{ad}}_{Y^a Y^b}}{\mathcal {Z}^{\mathrm{ad}}_{\emptyset \emptyset }}\prod _{a=1}^N\frac{\mathcal {Z}^{\mathrm{f}}_{Y^a}\mathcal {Z}^{\bar{\mathrm{f}}}_{Y^a}}{\mathcal {Z}^{\mathrm{f}}_{\emptyset }\mathcal {Z}^{\bar{\mathrm{f}}}_{\emptyset }}, \end{aligned}$$\end{document}$$where$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \begin{aligned} \mathcal {Z}^{\mathrm{ad}}_{Y^aY^b}&=\prod _{i=1}^{r_a}\prod _{j=1}^{r_b}\frac{\Gamma (t Q_b Q_a^{-1}t^{r_a-r_b+j-i}q^{Y^a_i-Y^b_j};q,q')}{\Gamma (Q_b Q_a^{-1}t^{r_a-r_b+j-i}q^{Y^a_i-Y^b_j};q,q')},\\ \mathcal {Z}^{\mathrm{f}}_{Y^a}\mathcal {Z}^{\bar{\mathrm{f}}}_{Y^a}&=\prod _{b=1}^N\prod _{i=1}^{r_a}\frac{\Gamma (Q_b^{-1}Q_a t^{-r_a+i}q^{-Y^a_i};q,q')}{\Gamma ({\bar{Q}}_b Q_a t^{-r_a+i}q^{-Y^a_i};q,q')}. \end{aligned} \end{aligned}$$\end{document}$$We can now easily identify ([4.15](#Equ73){ref-type=""}) with the elliptic vortex sum in ([3.15](#Equ57){ref-type=""}) provided the following identifications hold[10](#Fn10){ref-type="fn"} $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \begin{array}{c|c|c|c|c|c|c} \mathbb {R}^2\times \mathbb {T}^2/\mathrm{EVA}~&{}~ q_\tau ~&{}~q_\sigma ~&{}~t~&{}~u_a~&{}~y_a~&{}~q_\tau ^\xi \\ \hline \mathbb {R}^4\times \mathbb {T}^2~&{}~q~&{}~q'~&{}~t~&{}~Q_a{\bar{Q}}_a~&{}~Q_a^{-1}~&{}~{\tilde{Q}}_B~ \end{array}. \end{aligned}$$\end{document}$$Moreover, the specialization of the Coulomb branch parameters/internal momenta encodes the rank *r* of the 4d gauge group/number of screening currents, and it also determines the choice of the 4d block integral/EVA correlator contour through the breaking pattern $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$r=\sum _{a=1}^{N}r_a$$\end{document}$.

Discussion and outlook {#Sec10}
======================

In the special case of the 4-point function ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$N=2$$\end{document}$) with a single screening current ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$r=1$$\end{document}$), corresponding to the SQED theory with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$N=2$$\end{document}$ fundamentals and anti-fundamentals, we have shown in \[[@CR61]\] that the 4d holomorphic block (proportional to the elliptic series $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${}_2E_1$$\end{document}$) satisfies a *q*-difference equation representing an elliptic deformation of the equation satisfied by the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${}_2\phi _1$$\end{document}$ *q*-hypergeometric. In *q*-Virasoro theories this corresponds to the fact that the 4-point correlator has a degenerate insertion at level 2, analogously to the very well-known case of (undeformed) Virasoro theories. It is tempting to make an analogous statement for elliptic Virasoro theories, interpreting the elliptic *q*-difference equation as a decoupling equation for the insertion of a degenerate operator. This is certainly true from the gauge theory viewpoint, as we have shown that the Abelian block arises upon the specialization ([4.9](#Equ67){ref-type=""}) $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$a_1=-m_1-\epsilon _2, a_2=-m_2$$\end{document}$ of the elliptic Nekrasov instanton partition function, corresponding in the AGT dictionary to the insertion of a level 2 degenerate external momentum \[[@CR14]\]. In order to fully understand this aspect, a study of the representation theory of the EVA is required.

The results of this work summarized in the "triality" ([4.17](#Equ75){ref-type=""}) and the above observations strongly suggest that, in the spirit of the AGT correspondence, generic chiral blocks of the EVA are described by elliptic Nekrasov instanton partition functions. We hope that this 6d AGT relation and the EVA can be a useful tool for studying certain 6d supersymmetric theories and their defects. It would also be interesting to study the 4d/6d/EVA "triality" from the perspective of \[[@CR119]--[@CR121]\].

As we mentioned in the main text, our construction of the EVA can be easily generalized to define an elliptic deformation of the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$W_M$$\end{document}$ algebra. We expect this extended algebra to be important for studying 4d quiver gauge theories and 6d theories engineered by gluing an arbitrary number of periodic strips. It would be also very interesting to develop a stronger version of the 6d AGT correspondence through the identification of compact space partition functions with non-chiral correlators in QFTs with elliptic Virasoro symmetry, along the lines of \[[@CR30], [@CR31]\] for the 5d case.

The EVA may be also interesting from a purely mathematical viewpoint and applications to elliptic integrable systems. The DVA was introduced to understand the symmetry algebra behind Macdonald polynomials, in analogy with the relation between Jack polynomials and singular vectors of the Virasoro algebra. It was eventually understood \[[@CR122]\] that the DVA and Macdonald polynomials are naturally related to a more elementary algebra, the trigonometric Ding--Iohara algebra \[[@CR123]\]. Elliptic Macdonald functions can be defined as eigenfunctions of the elliptic Macdonald operator. However, their study is much more complicated than in the trigonometric case (see \[[@CR102], [@CR124]\] for developments from a gauge theory viewpoint). In \[[@CR125]\] an elliptic Ding--Iohara algebra was introduced[11](#Fn11){ref-type="fn"} and its connection to elliptic Macdonald functions was established. In Appendix [5](#Sec15){ref-type="sec"}, we show that the EVA can be realized on a tensor product of two Fock representations of the elliptic Ding--Iohara algebra. It is then natural to ask whether elliptic Macdonald functions can be studied by means of the EVA, perhaps through their correspondence with some kind of singular vectors. This perspective may eventually lead to a neat integral representation of elliptic Macdonald functions, as in \[[@CR22], [@CR127]\] for the trigonometric case.

Finally, in \[[@CR128]\] the important role of the trigonometric Ding--Iohara algebra for the 5d AGT relation was extensively discussed. It was conjectured (and proved in the Abelian case) that topological string amplitudes on the strip, the basic building block for the 5d Nekrasov instanton partition function, can be computed as matrix elements of a vertex operator intertwining representations of the trigonometric Ding--Iohara algebra. Given the relation among the 6d Nekrasov instanton partition function, the EVA and the elliptic Ding--Iohara algebra found in this work, it would be interesting to understand whether periodic strip amplitudes have a similar interpretation.[12](#Fn12){ref-type="fn"}

*Comment added* Clavelli--Shapiro trace technique \[[@CR130]\] allows torus correlators in *q*-$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$W_M$$\end{document}$ algebras to be interpreted as sphere correlators in elliptic $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$W_M$$\end{document}$ algebras. The advantage of this perspective is that the latter are usually easier to handle. This relation between trigonometric and elliptic algebras is related to the fiber/base duality in the context of 5d or 6d theories arising from toric Calabi--Yau threefolds with a periodic direction discussed in this paper. However, this duality does not imply that all the elliptic $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$W_M$$\end{document}$ algebra observables can be recast in terms of *q*-$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$W_M$$\end{document}$ algebra ones. This is, for instance, the case of elliptic torus correlators, which should be interesting for doubly compactified toric geometries. Moreover, it seems to be a non-trivial fact that the elliptic deformation leads to a well-defined associative algebra.

A Elliptic functions {#Sec11}
====================

In this appendix, we collect useful definitions and properties of some elliptic functions used in the main text. We refer to \[[@CR135]\] for further details. We start by defining the (infinite) *q*-factorial$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} (x;q)_\infty =\mathrm{e}^{-\mathrm{Li}_2(x;q)},\quad \mathrm{Li}_2(x;q)=\sum _{k\ge 1}\frac{x^k}{k(1-q^k)}. \end{aligned}$$\end{document}$$In the region $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$|q|<1$$\end{document}$, it has the compact product representation$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} (x;q)_\infty =\prod _{k\ge 0}(1-q^k x), \end{aligned}$$\end{document}$$which can be extended to the domain $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$|q|>1$$\end{document}$ through$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} (x;q)_\infty = \frac{1}{\prod _{k\ge 1}(1-q^{-k} x)}. \end{aligned}$$\end{document}$$The Jacobi Theta function that we use is defined by$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \Theta (x;q)=(x;q)_\infty (q x^{-1};q)_\infty =\mathrm{e}^{-\sum _{n\ne 0}\frac{x^n}{n(1-q^n)}}. \end{aligned}$$\end{document}$$From this simple expression we can realize that throughout this paper we will consider exponentials of infinite sums running in both directions. These series can be organized by replacing the expansion parameter $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$x^{n}$$\end{document}$ with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\ell ^{|n|} x^{n}$$\end{document}$, expanding in $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\ell $$\end{document}$ and then letting $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\ell \rightarrow 1$$\end{document}$. This is, for instance, how one can verify on a computer Jacobi's triple product identity$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} (x;q)_\infty (qx^{-1};q)_\infty =\frac{1}{(q;q)_\infty }\sum _{n\in \mathbb {Z}}(-1)^n q^{n(n-1)/2}x^n. \end{aligned}$$\end{document}$$Useful properties of Theta functions are ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$m\in \mathbb {Z}_{\ge 0}$$\end{document}$)$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \frac{\Theta (q^m x;q)}{\Theta (x;q)}=(-x q^{(m-1)/2})^{-m},\quad \frac{\Theta (q^{-m}x;q)}{\Theta (x;q)}=(-x^{-1}q^{(m+1)/2})^{-m}. \end{aligned}$$\end{document}$$The double (infinite) *q*-factorial is defined by$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} (x;p,q)_\infty =\prod _{j,k\ge 0}(1-p^j q^k x),\quad |p|,|q|<1, \end{aligned}$$\end{document}$$and it can be extended to other regions by using the representation$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} (x;p,q)_\infty =\mathrm{e}^{-\mathrm{Li}_3(x;p,q)},\quad \mathrm{Li}_3(x;p,q)=\sum _{k\ge 1}\frac{x^k}{k(1-p^k)(1-q^k)}. \end{aligned}$$\end{document}$$The elliptic Gamma function is defined by$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \Gamma (x;p,q)=\frac{(p q x^{-1};p,q)_\infty }{(x;p,q)_\infty }=\mathrm{e}^{\sum _{k\ne 0}\frac{x^k}{k(1-p^k)(1-q^k)}}=\mathrm{e}^{\sum _{k>0}\frac{(q^{-1/2}p^{-1/2}x)^k}{k(q^{k/2}-q^{-k/2})(p^{k/2}-p^{-k/2})}}. \end{aligned}$$\end{document}$$Assuming $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$|p|, |q|<1$$\end{document}$, it has zeros and poles at$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \text {zeros}:~ x=p^{m+1}q^{n+1},\quad \text {poles}:~ x=p^{-m}q^{-n},\quad m,n\in \mathbb {Z}_{\ge 0}. \end{aligned}$$\end{document}$$Useful properties of the elliptic Gamma function are ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$m,n\in \mathbb {Z}_{\ge 0}$$\end{document}$)$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}&\mathrm{Reflection:}~~\Gamma (x;p,q)\Gamma (p q x^{-1};p,q)=1, \end{aligned}$$\end{document}$$ $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}&\mathrm{Shift:}~~\begin{aligned}&\frac{\Gamma (p^m q^n x;p,q)}{\Gamma (x;p,q)}=(-x p^{(m-1)/2}q^{(n-1)/2})^{-m n}\Theta (x;p,q)_n\Theta (x;q,p)_m,\\&\frac{\Gamma (p^m q^{-n} x;p,q)}{\Gamma (x;p,q)}=(-x p^{(m-1)/2}q^{-(n+1)/2})^{m n}\frac{\Theta (x;q,p)_m}{\Theta (p q x^{-1};p,q)_n}, \end{aligned} \end{aligned}$$\end{document}$$ $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}&\mathrm{Residues:}~~\text {Res}_{x=y p^m q^n}\frac{\Gamma (y x^{-1};p,q)}{x}\nonumber \\&\quad =\text {Res}_{x=1}\Gamma (x;p,q)~\frac{(-p q~q^{(n-1)/2}p^{(m-1)/2})^{m n}}{\Theta (p q;p,q)_n\Theta (p q;q,p)_m}. \end{aligned}$$\end{document}$$Here we introduced the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Theta $$\end{document}$-factorial$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \Theta (x;p,q)_n&=\frac{\Gamma (q^n x;p,q)}{\Gamma (x;p,q)}=\prod _{k=0}^{n-1}\Theta (x q^k;p), \end{aligned}$$\end{document}$$ $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \Theta (x;p,q)_{-n}&=\Theta (q^{-n}x;p,q)_{n}^{-1}. \end{aligned}$$\end{document}$$Notice that in the limit $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$p\rightarrow 0$$\end{document}$ the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Theta $$\end{document}$-factorial reduces to the *q*-factorial$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \Theta (x;0,q)_n=(x;q)_n=\prod _{k=0}^{n-1}(1-q^k x), \end{aligned}$$\end{document}$$because$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \Theta (x;0)=1-x. \end{aligned}$$\end{document}$$

B Free boson tools {#Sec12}
==================

The master formula when manipulating with bosonic oscillators is the BCH formula. Given two operators $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathsf{A}, \mathsf{B}$$\end{document}$ such that for some constant $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$c\in \mathbb {C}$$\end{document}$, the BCH formula reduces to$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathrm{e}^\mathsf{A}\mathrm{e}^\mathsf{B}=\mathrm{e}^\mathsf{B}\mathrm{e}^\mathsf{A}\mathrm{e}^{c},\quad \mathrm{e}^{-\mathsf{A}}\mathsf{B}\mathrm{e}^\mathsf{A}=\mathsf{B}-[\mathsf{A},\mathsf{B}]. \end{aligned}$$\end{document}$$Let us now consider an algebra generated by the operators $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\{\mathsf{a}_n, n\in \mathbb {Z}\backslash \{0\} \}$$\end{document}$ with the defining relationsWe can construct the following vertex operators$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathsf{V}_i=\; :\mathrm{e}^{\mathsf{v}_i}:,\quad \mathsf{v}_i=\sum _{n\ne 0}v_{i,n}\mathsf{a}_n, \end{aligned}$$\end{document}$$where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$v_{i,n}$$\end{document}$ are generic complex numbers and the normal ordering symbol  :   :  means all the positive modes are moved to the right of all the negative modes. If we denote by $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$[~]_\pm $$\end{document}$ the positive and negative mode parts, we can then write$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathsf{V}_i=[\mathsf{V}_i]_-[\mathsf{V}_i]_+, \quad [\mathsf{V}_i]_\pm =\mathrm{e}^{[\mathsf{v}_i]_\pm }. \end{aligned}$$\end{document}$$In the main text, we have to compute correlators containing expressions such as$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \prod _{i=1}^M \mathsf{V}_{i}=[\mathsf{V}_1]_-[\mathsf{V}_1]_+[\mathsf{V}_2]_-[\mathsf{V}_2]_+~\cdots ~ [\mathsf{V}_M]_-[\mathsf{V}_M]_+. \end{aligned}$$\end{document}$$To this end, we bring all the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$[\mathsf{V}_i]_+$$\end{document}$s to the right of all the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$[\mathsf{V}_j]_-$$\end{document}$s. The first, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$[\mathsf{V}_1]_+$$\end{document}$, has to cross all the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$[\mathsf{V}_i]_-$$\end{document}$ with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$i=2,\ldots ,M$$\end{document}$, while it commutes with all the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$[\mathsf{V}_i]_+$$\end{document}$s. In the process it produces $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathrm{e}^{[[\mathsf{v}_1]_+,[\mathsf{v}_2]_-]}\cdots \mathrm{e}^{[[\mathsf{v}_1]_+,[\mathsf{v}_M]_-]}$$\end{document}$ due to ([7.1](#Equ93){ref-type=""}). The second, $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$[V_2]_+$$\end{document}$, has to cross all the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$[\mathsf{V}_i]_-$$\end{document}$ with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$i=3,\ldots ,M$$\end{document}$, and so on. Eventually, we get$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \prod _{i=1}^M \mathsf{V}_{i}=\;:\prod _{i=1}^M \mathsf{V}_i:\times \prod _{1\le i<j\le M}\mathrm{e}^{[[\mathsf{v}_i]_+,[\mathsf{v}_j]_-]}. \end{aligned}$$\end{document}$$

C Free boson representation of the EVA {#Sec13}
======================================

In this section we give the proof that the current ([2.9](#Equ9){ref-type=""}) satisfies the defining relation ([2.1](#Equ1){ref-type=""}) of the EVA.[13](#Fn13){ref-type="fn"} Let us start by computing the "OPE"$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathsf{T}(z)\mathsf{T}(w)&=\Lambda _+(z)\Lambda _+(w)+\Lambda _+(z)\Lambda _-(w)+\Lambda _-(z)\Lambda _+(w)+\Lambda _-(z)\Lambda _-(w)\nonumber \\&=\;:\Lambda _+(z)\Lambda _+(w):f_{+,+}(w/z)^{-1}+:\Lambda _+(z)\Lambda _-(w):f_{+,-}(w/z)^{-1}\nonumber \\&~~~+:\Lambda _-(z)\Lambda _+(w):f_{-,+}(w/z)^{-1}+:\Lambda _-(z)\Lambda _-(w):f_{-,-}(w/z)^{-1}. \end{aligned}$$\end{document}$$Using ([2.13](#Equ13){ref-type=""}) we have$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} f(w/z)\mathsf{T}(z)\mathsf{T}(w)&=\;:\Lambda _+(z)\Lambda _+(w):+:\Lambda _+(z)\Lambda _-(w):\gamma (p^{1/2}w/z)\nonumber \\&~~~+:\Lambda _-(z)\Lambda _+(w):\gamma (p^{-1/2}w/z)+:\Lambda _-(z)\Lambda _-(w):, \end{aligned}$$\end{document}$$and similarly for $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathsf{T}(w)\mathsf{T}(z)f(z/w)$$\end{document}$ which is obtained by exchanging $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$z\leftrightarrow w$$\end{document}$. Subtracting the two equalities we get$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}&f(w/z)\mathsf{T}(z)\mathsf{T}(w)-\mathsf{T}(w)\mathsf{T}(z)f(z/w)=\; :\Lambda _+(z)\Lambda _-(w):(\gamma (p^{1/2}w/z)\nonumber \\&\quad -\gamma (p^{-1/2}z/w))+:\Lambda _-(z)\Lambda _+(w):(\gamma (p^{-1/2}w/z)-\gamma (p^{-1/2}z/w)). \end{aligned}$$\end{document}$$Now using ([2.15](#Equ15){ref-type=""}) we have ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\kappa =\frac{\Theta (q;q')\Theta (t^{-1};q')}{(q';q')^2_\infty \Theta (p,;q')}$$\end{document}$)$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}&f(w/z)\mathsf{T}(z)\mathsf{T}(w)-\mathsf{T}(w)\mathsf{T}(z)f(z/w)\nonumber \\&\quad =\; -\kappa :\Lambda _+(z)\Lambda _-(w):(\delta (p w/z)-\delta (w/z))\nonumber \\&\qquad -\kappa :\Lambda _-(z)\Lambda _+(w):(\delta (w/z)-\delta (p^{-1}w/z))\nonumber \\&\quad =-\kappa :\Lambda _+(z)\Lambda _-(p^{-1}z):\delta (p w/z)\nonumber \\&\qquad +\kappa :\Lambda _-(z)\Lambda _+(p z):\delta (p^{-1}w/z), \end{aligned}$$\end{document}$$and we can use ([2.12](#Equ12){ref-type=""}) to conclude the proof. This is the final result, but the relation ([2.15](#Equ15){ref-type=""}) needs to be considered more carefully. First of all, one may naively conclude that$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \gamma (x)-\gamma (x^{-1})=0, \end{aligned}$$\end{document}$$because$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \gamma (x)=\frac{\Theta (p^{1/2}q^{-1}x;q')\Theta (p^{-1/2}q x;q')}{\Theta (p^{1/2}x;q')\Theta (p^{-1/2}x;q')}=\gamma (x^{-1}), \end{aligned}$$\end{document}$$where in the last equality we used the property$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \Theta (x^{-1};q')=\Theta (q' x;q' )=-x^{-1} \Theta (x;q'). \end{aligned}$$\end{document}$$This is the elliptic analogue of the identity$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \frac{1}{1-x}=-\frac{x^{-1}}{1-x^{-1}}, \end{aligned}$$\end{document}$$to which it reduces in the limit $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q'\rightarrow 0$$\end{document}$. However, we have to remember that the difference $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\gamma (x)-\gamma (x^{-1})$$\end{document}$ is coming from subtracting the operator $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathsf{T}(w)\mathsf{T}(z)f(z/w)$$\end{document}$ from the operator $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathsf{T}(z)\mathsf{T}(w)f(w/z)$$\end{document}$, and hence non-trivial contact terms, signaled by $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\delta $$\end{document}$ functions, may arise in the process because a radial ordering prescription is needed. In other words, the difference $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\gamma (x)-\gamma (x^{-1})$$\end{document}$ must be treated in the sense of hyperfunctions (see, for example, \[[@CR131]\]). All in all, the problem is to find a concrete formula for the hyperfunction $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\gamma (x)-\gamma (x^{-1})$$\end{document}$. Before considering the elliptic case, it might be useful to recall how $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\delta $$\end{document}$ function terms arise in the *q*-Virasoro limit (see, for example, appendix of \[[@CR83]\]), in which case the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\gamma (x)$$\end{document}$ function is substituted by the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q'\rightarrow 0$$\end{document}$ limit of the one appearing here$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \gamma (x)\mathop {\rightarrow }\limits ^{q'\rightarrow 0}{\tilde{\gamma }}(x)=\frac{(1-p^{1/2}q^{-1}x)(1-p^{-1/2}q x)}{(1-p^{1/2}x)(1-p^{-1/2}x)}. \end{aligned}$$\end{document}$$First of all, the identity ([8.8](#Equ106){ref-type=""}) must now be replaced/modified by$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \delta (x)=\frac{1}{1-x}+\frac{x^{-1}}{1-x^{-1}}, \end{aligned}$$\end{document}$$which can be easily proved by series expanding the two terms in the r.h.s. separately. Now we focus on the factor $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$(1-p^{1/2}x)$$\end{document}$ in the denominator of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\tilde{\gamma }}(x)$$\end{document}$, which will be replaced by$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \frac{1}{1-p^{1/2}x}=\delta (p^{1/2}x)-\frac{p^{-1/2}x^{-1}}{1-p^{-1/2}x^{-1}}, \end{aligned}$$\end{document}$$and similarly for the factor $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$(1-p^{1/2}x^{-1})$$\end{document}$ in the denominator of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\tilde{\gamma }}(x^{-1})$$\end{document}$ $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \frac{p^{1/2}x^{-1}}{1-p^{1/2}x^{-1}}=\delta (p^{-1/2}x)-\frac{1}{1-p^{-1/2}x}. \end{aligned}$$\end{document}$$Now we can take the difference $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\tilde{\gamma }}(x)-{\tilde{\gamma }}(x^{-1})$$\end{document}$ naively, and only the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\delta $$\end{document}$ function terms will survive$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} {\tilde{\gamma }}(x)-{\tilde{\gamma }}(x^{-1})=-\frac{(1-q)(1-t^{-1})}{(1-p)}(\delta (p^{1/2}x)-\delta (p^{-1/2}x)). \end{aligned}$$\end{document}$$In the elliptic case one can repeat exactly the same steps, the crucial point being to find a $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\delta $$\end{document}$ function representation involving Theta functions which can be used to replace/modify the identity ([8.7](#Equ105){ref-type=""}). This representation is$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \delta (x)=\frac{(q';q')^2_\infty }{\Theta (x;q')}+\frac{(q';q')^2_\infty x^{-1}}{\Theta (x^{-1};q')}, \end{aligned}$$\end{document}$$which is given in \[[@CR125]\] (*Lemma* 3.5). Now we can use this representation to replace the factor $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Theta (p^{1/2}x;q')$$\end{document}$ in the denominator of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\gamma (x)$$\end{document}$ with$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \frac{1}{\Theta (p^{1/2}x;q')}=\frac{\delta (p^{1/2}x)}{(q';q')^2_\infty }-\frac{p^{-1/2}x^{-1}}{\Theta (p^{-1/2}x^{-1};q')}, \end{aligned}$$\end{document}$$and similarly for the factor $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Theta (p^{1/2}x^{-1};q')$$\end{document}$ in the denominator of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\gamma (x^{-1})$$\end{document}$ $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \frac{p^{1/2}x^{-1}}{\Theta (p^{1/2}x^{-1};q')}=\frac{\delta (p^{-1/2}x)}{(q';q')^2_\infty }-\frac{1}{\Theta (p^{-1/2}x;q')}. \end{aligned}$$\end{document}$$This prescription defines the hyperfunction $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\gamma (x)-\gamma (x^{-1})$$\end{document}$ in ([2.15](#Equ15){ref-type=""}), which is not identically zero due to contact terms.

D Screening current of the EVA {#Sec14}
==============================

In this appendix, we provide the explicit verification of ([2.16](#Equ16){ref-type=""}) using ([2.9](#Equ9){ref-type=""}), ([2.17](#Equ17){ref-type=""}). We set$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \Lambda _\sigma (z)=\; :\mathrm{e}^{\lambda _\sigma (z)}: [\Lambda _\sigma (z)]_0,\quad \mathsf{S}(w)=\; :\mathrm{e}^{\mathsf{s}(w)}: [\mathsf{S}(w)]_0, \end{aligned}$$\end{document}$$where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$[~]_{+,-,0}$$\end{document}$ denotes the positive, negative or zero mode part. Then, we have$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}{}[\Lambda _\sigma (z),\mathsf{S}(w)]=\; :\Lambda _\sigma (z)\mathsf{S}(w):\left( t^\sigma \mathrm{e}^{[[\lambda _\sigma (z)]_+,[\mathsf{s}(w)]_-]}-\mathrm{e}^{[[\mathsf{s}(w)]_+,[\lambda _\sigma (z)]_-]}\right) . \end{aligned}$$\end{document}$$Since$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}{}[[\lambda _\sigma (z)]_+,[\mathsf{s}(w)]_-]&=\sigma \sum _{n>0}\frac{(p^{\frac{\sigma }{2}}w z^{-1})^n(t^{\frac{n}{2}}-t^{-\frac{n}{2}})}{n(1-q'^n)}\nonumber \\&+\sigma \sum _{n>0}\frac{(q' p^{-\frac{\sigma }{2}}z w^{-1})^n(t^{-\frac{n}{2}}-t^{\frac{n}{2}})}{n(1-q'^n)},\nonumber \\ [[\mathsf{s}(w)]_+,[\lambda _\sigma (z)]_-]&=-\sigma \sum _{n>0}\frac{(p^{-\frac{\sigma }{2}}z w^{-1})^n(t^{\frac{n}{2}}-t^{-\frac{n}{2}})}{n(1-q'^n)}\nonumber \\&-\sigma \sum _{n>0}\frac{(q' p^{\frac{\sigma }{2}}w z^{-1})^n(t^{-\frac{n}{2}}-t^{\frac{n}{2}})}{n(1-q'^n)}, \end{aligned}$$\end{document}$$we get$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \displaystyle&[\Lambda _\sigma (z),\mathsf{S}(w)]=\;:\Lambda _\sigma (z)\mathsf{S}(w):F_\sigma (p^{\frac{\sigma }{2}} t^{\frac{1}{2}}w z^{-1}), \end{aligned}$$\end{document}$$where$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} F_\sigma (x)=t^\sigma \frac{\Theta (t^{-1} x;q')^\sigma }{\Theta (x;q')^\sigma }-\frac{\Theta (t x^{-1};q')^\sigma }{\Theta (x^{-1};q')^\sigma }. \end{aligned}$$\end{document}$$This function should be interpreted again as a hyperfunction (otherwise it is identically zero). Then,$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} F_+(x)=t\frac{\Theta (t^{-1}x;q')}{(q';q')^2_\infty }\delta (x),\quad F_-(x)=t^{-1}\frac{\Theta (x;q')}{(q';q')^2_\infty }\delta (x t^{-1}), \end{aligned}$$\end{document}$$where we used the representation ([8.14](#Equ112){ref-type=""}). We can therefore write$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}{}[\mathsf{T}(z),\mathsf{S}(w)]=t^\frac{1}{2}\frac{\Theta (t^{-1};q')}{(q';q')^2_\infty }\sum _{\sigma }~\sigma :\Lambda _\sigma (q^{\frac{\sigma }{2}}w)\mathsf{S}(w):t^{\frac{\sigma }{2}}\delta (q^{\frac{\sigma }{2}}w z^{-1}). \end{aligned}$$\end{document}$$It is now easy to verify that$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} :\Lambda _{+}(q^{\frac{1}{2}}w)\mathsf{S}(w):t^{\frac{1}{2}}=\frac{\mathsf{X}(q^{\frac{1}{2}}w)}{w},\quad :\Lambda _{-}\left( q^{-\frac{1}{2}}w\right) \mathsf{S}(w):t^{-\frac{1}{2}}=\frac{\mathsf{X}\left( q^{-\frac{1}{2}}w\right) }{w}, \end{aligned}$$\end{document}$$where$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \frac{\mathsf{X}(w)}{w}=\; :\mathrm{e}^{-\sum _{n\ne 0}\frac{\left( q^{n/2}p^{-n}+q^{-n/2}\right) }{(1+p^{-n})\left( q^{n/2}-q^{-n/2}\right) (1-q'^{|n|})}(w^{-n}\alpha _n-w^n\beta _n)}:\mathrm{e}^{\sqrt{\beta }\mathsf{Q}}w^{\sqrt{\beta }\mathsf{P}}, \end{aligned}$$\end{document}$$so that$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}{}[\mathsf{T}(z),\mathsf{S}(w)]=\left( q^{\frac{1}{2}}-q^{-\frac{1}{2}}\right) t^{\frac{1}{2}}\frac{\Theta (t^{-1};q')}{(q';q')^2_\infty }\frac{\mathrm{d}}{\mathrm{d}_q w}\delta (w z^{-1})\mathsf{X}(w). \end{aligned}$$\end{document}$$

E Relation with the elliptic Ding--Iohara algebra {#Sec15}
=================================================

The Ding--Iohara algebra \[[@CR132]\] is an associative unital (functional) $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {C}$$\end{document}$-algebra endowed with a coproduct $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Delta $$\end{document}$ (in fact, a Hopf algebra) and defined by a matrix of analytic structure functions $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$g_{i j}(z)$$\end{document}$ satisfying the property $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$g_{i j}(z)=g_{j i}(z^{-1})^{-1}$$\end{document}$. It provides a generalization of the Drinfeld realization of quantum affine algebras, giving rise to standard examples for particular choices of the structure matrix.

By considering a single structure function of elliptic type$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} g(z)=\frac{\Theta (q z;q')\Theta (t^{-1}z;q')\Theta (p^{-1}z;q')}{\Theta (q^{-1}z;q')\Theta (t z;q')\Theta (p z;q')}, \end{aligned}$$\end{document}$$the author of \[[@CR125]\][14](#Fn14){ref-type="fn"} introduced the elliptic Ding--Iohara algebra $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {U}(q,t,q')$$\end{document}$ generated by the coefficients of the currents$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} x^\pm (z)=\sum _{n}x^\pm _n z^{-n},\quad \psi ^\pm (z)=\sum _{n}\psi ^\pm _n z^{-n}, \quad n\in \mathbb {Z}, \end{aligned}$$\end{document}$$and the invertible central element $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\gamma ^{1/2}$$\end{document}$, subject to the following defining relations$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \begin{aligned} {[}\psi ^\pm (z),\psi ^\pm (w)]&=0,\\ \psi ^+(z)\psi ^-(w)&=\psi ^-(w)\psi ^+(z)\frac{g(\gamma z w^{-1})}{g(\gamma ^{-1}z w^{-1})},\\ \psi ^\rho (z)x^\sigma (w)&=x^\sigma (w)\psi ^\rho (z)g(\gamma ^{\rho \sigma \frac{1}{2}}z w^{-1})^\sigma ,\quad (\sigma ,\rho )\in \{\pm ,\pm \},\\ x^\pm (z)x^\pm (w)&=x^\pm (w)x^\pm (z)g(z w^{-1})^{\pm 1},\\ [x^+(z),x^-(w)]&=\frac{\Theta (q;q')\Theta (t^{-1};q')}{(q';q')_\infty ^2\Theta (p;q')}\left( \delta \left( \gamma \frac{w}{z}\right) \psi ^+(\gamma ^{\frac{1}{2}}w)\right. \\&\left. \quad -\delta \left( \gamma ^{-1}\frac{w}{z}\right) \psi ^-(\gamma ^{-\frac{1}{2}}w)\right) . \end{aligned} \end{aligned}$$\end{document}$$The coproduct readswhere .

We now show that, using the following level 1[15](#Fn15){ref-type="fn"} Fock representation $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho _y$$\end{document}$ ($\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$y\in \mathbb {C^\times }$$\end{document}$) of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {U}(q,t,q')$$\end{document}$ (\[[@CR125]\], *Theorem* 1.2)$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \rho _y(\gamma ^{\pm \frac{1}{2}})= & {} p^{\mp \frac{1}{4}},\quad \rho _y(\psi ^\pm (z))=\varphi ^\pm (z),\quad \rho _y(x^+(z))=y\eta (z),\nonumber \\ \rho _y(x^-(z))= & {} y^{-1}\xi (z), \end{aligned}$$\end{document}$$where[16](#Fn16){ref-type="fn"} $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \begin{aligned} \varphi ^\pm (z)&=[\varphi (z)]_\pm ,\\ \varphi (z)&\!=\!\;:\mathrm{e}^{\sum _{n\ne 0}\frac{(1-t^n)(p^{-|n|/2}-p^{|n|/2})p^{-|n|/4}z^{-n}}{n(1-q'^{|n|})}\mathsf{a}_n}\\&\quad \qquad \mathrm{e}^{-\sum _{n\!\ne \! 0}\frac{(1-t^{-n})(p^{-|n|/2}-p^{|n|/2})p^{|n|/4}q'^{|n|}z^{n}}{n(1-q'^{|n|})}\mathsf{b}_n}:,\\ \eta (z)&=\; :\mathrm{e}^{-\sum _{n\ne 0}\frac{(1-t^n)z^{-n}}{n(1-q'^{|n|})}\mathsf{a}_n}\mathrm{e}^{-\sum _{n\ne 0}\frac{(1-t^{-n})q'^{|n|}z^{n}}{n(1-q'^{|n|})}\mathsf{b}_n}:,\\ \xi (z)&=\; :\mathrm{e}^{\sum _{n\ne 0}\frac{(1-t^n)p^{-|n|/2}z^{-n}}{n(1-q'^{|n|})}\mathsf{a}_n}\mathrm{e}^{\sum _{n\ne 0}\frac{(1-t^{-n})p^{|n|/2}q'^{|n|}z^{n}}{n(1-q'^{|n|})}\mathsf{b}_n}:,\\ [\mathsf{a}_m,\mathsf{a}_n]&=m\frac{(1-q'^{|m|})(1-q^{|m|})}{1-t^{|m|}}\delta _{m+n,0},\quad m,n\in \mathbb {Z}\backslash \{0\},\\ [\mathsf{b}_m,\mathsf{b}_n]&=m\frac{(1-q'^{|m|})(1-q^{|m|})}{(p q')^{|m|}(1-t^{|m|})}\delta _{m+n,0},\quad [\mathsf{a}_m,\mathsf{b}_n]=0,\quad m,n\in \mathbb {Z}\backslash \{0\}, \end{aligned} \end{aligned}$$\end{document}$$we can give a representation of the EVA algebra defined in ([2.1](#Equ1){ref-type=""}) through the tensor product representation $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho _{y_1}\otimes \rho _{y_2}$$\end{document}$. Our derivation follows the analogous construction of \[[@CR122]\], where it is shown how to realize the *q*-$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$W_M$$\end{document}$ algebra of \[[@CR22], [@CR23]\] starting from the trigonometric Ding--Iohara algebra, the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q'\rightarrow 0$$\end{document}$ limit of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {U}(q,t,q')$$\end{document}$. To begin with, we define the dressed current$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} {t}(z)=\alpha ^-(z)x^+(z)\alpha ^+(z), \end{aligned}$$\end{document}$$where the currents $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\alpha ^\pm (z)$$\end{document}$ are defined by means of the modes of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\psi ^\pm (z)$$\end{document}$ as follows. In analogy with \[[@CR122]\] and having in mind the Fock representation ([10.5](#Equ129){ref-type=""}), we set$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \begin{aligned} \psi ^\pm (z)&=\psi _0^\pm \mathrm{e}^{\pm \sum _{n>0}\Psi _{\pm n}\gamma ^{n/2}z^{\mp n}}\mathrm{e}^{\mp \sum _{n>0}\Psi '_{\pm n}\gamma ^{-n/2}z^{\pm n}},\quad [\psi ^+_0,\psi _0^-]=0,\\ [\Psi _m,\Psi _n]&=\frac{(1-q^{-m})(1-t^m)(1-p^m)}{m(1-q'^{|m|})}(\gamma ^m-\gamma ^{-m})\gamma ^{-|m|}\delta _{m+n,0},\\ [\Psi '_m,\Psi '_n]&=\frac{q'^{|m|}(1-q^{-m})(1-t^m)(1-p^m)}{m(1-q'^{|m|})} (\gamma ^m-\gamma ^{-m})\gamma ^{|m|}\delta _{m+n,0}, \end{aligned} \end{aligned}$$\end{document}$$and take$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \alpha ^\pm (z)=\mathrm{e}^{\pm \sum _{n>0}\frac{z^{\mp n}}{\gamma ^{n}-\gamma ^{-n}}\Psi _{\pm n}}\mathrm{e}^{\pm \sum _{n>0}\frac{z^{\pm n}}{\gamma ^{n}-\gamma ^{-n}}\Psi '_{\pm n}}. \end{aligned}$$\end{document}$$Notice that the action of the coproduct on $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Psi _n, \Psi '_n$$\end{document}$ readswhile the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho _y$$\end{document}$ representation is given by $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho _y(\psi _0^\pm )=1$$\end{document}$ and$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \rho _y(\Psi _n)= & {} \frac{(1-t^n)(p^{-|n|/2}-p^{|n|/2})}{|n|(1-q'^{|n|})}\mathsf{a}_n,\nonumber \\ \rho _y(\Psi '_n)= & {} \frac{q'^{|n|}(1-t^{-n})(p^{-|n|/2}-p^{|n|/2})}{|n|(1-q'^{|n|})}\mathsf{b}_n. \end{aligned}$$\end{document}$$We now consider the twofold tensor product representation$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \rho _{y_1,y_2}^{(2)}=\rho _{y_1}\otimes \rho _{y_2}\circ \Delta , \end{aligned}$$\end{document}$$and we want to compute$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \rho _{y_1,y_2}^{(2)}({ t}(z))=\sum _{i=1,2}y_i\Lambda _i(z). \end{aligned}$$\end{document}$$Notice that we are constructing a level 2 representation since $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho ^{(2)}_{y_1,y_2}(\gamma ^{\pm \frac{1}{2}})=p^{\mp \frac{1}{2}}$$\end{document}$. In particular, we have$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \begin{aligned} \rho ^{(2)}_{y_1,y_2}(\Psi _n)&=\sum _{i=1,2}\rho ^{(2)}_{y_1,y_2,i}(\Psi _n),\\ \rho ^{(2)}_{y_1,y_2,i}(\Psi _n)&=-\frac{(1-t^n)(1-p^{-|n|})p^{\frac{|n|}{2}(2-i+1)}}{|n|(1-q'^{|n|})}\mathsf{a}_{n,i},\\ \rho ^{(2)}_{y_1,y_2}(\Psi '_n)&=\sum _{i=1,2}\rho ^{(2)}_{y_1,y_2,i}(\Psi '_n),\\ \rho ^{(2)}_{y_1,y_2,i}(\Psi '_n)&=\frac{q'^{|n|}(1-t^{-n})(1-p^{|n|})p^{-\frac{|n|}{2}(2-i+1)}}{|n|(1-q'^{|n|})}\mathsf{b}_{n,i}, \end{aligned} \end{aligned}$$\end{document}$$where the subindex *i* denotes that the operators are in the *i* ^th^ tensor component. Therefore,$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \begin{aligned} \rho _{y_1,y_2}^{(2)}(\alpha ^+(z))&=\prod _{i=1,2}\lambda ^+_{i}(z),\\ \lambda ^+_i(z)&=\mathrm{e}^{\sum _{n>0}\frac{z^{-n}}{p^{-n}-p^{n}}\rho _{y_1,y_2,i}^{(2)}(\Psi _n)}\mathrm{e}^{\sum _{n>0}\frac{z^{n}}{p^{-n}-p^{n}}\rho _{y_1,y_2,i}^{(2)}(\Psi '_{n})},\\ \rho _{y_1,y_2}^{(2)}(\alpha ^-(z))&=\prod _{i=1,2}\lambda ^-_{i}(z),\\ \lambda ^-_i(z)&=\mathrm{e}^{-\sum _{n>0}\frac{z^n}{p^{-n}-p^{n}}\rho ^{(2)}_{y_1,y_2,i}(\Psi _{-n})}\mathrm{e}^{-\sum _{n>0}\frac{z^{-n}}{p^{-n}-p^{n}}\rho ^{(2)}_{y_1,y_2,i}(\Psi '_{-n})}. \end{aligned} \end{aligned}$$\end{document}$$We also haveand hence$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \Lambda _i(z)=\prod _{j=1,2}\lambda ^-_j(z){\tilde{\Lambda }}_i(z)\prod _{k=1,2}\lambda ^+_k(z). \end{aligned}$$\end{document}$$Notice that . Finally, we can verify that ([2.10](#Equ10){ref-type=""}) is satisfied with $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Lambda _{+}(z)\rightarrow \Lambda _{1}(z), \Lambda _{-}(z)\rightarrow \Lambda _{2}(z)$$\end{document}$, namely$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \Lambda _{1,2}(z)\Lambda _{1,2}(w)=\; :\Lambda _{1,2}(z)\Lambda _{1,2}(w):f_{\pm ,\pm }(w z^{-1})^{-1}, \end{aligned}$$\end{document}$$which proves that the current $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho _{1,1}^{(2)}({ t}(z))$$\end{document}$ gives a representation of the EVA algebra. For completeness, let us work out explicitly the case of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Lambda _{1}(z)\Lambda _{1}(w)$$\end{document}$, the others can be treated similarly. The first tensor component in the above representation of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\Lambda _{1}(z)\Lambda _{1}(w)$$\end{document}$ arises from$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}&\lambda ^-_1(z)\eta (z)\lambda _1^+(z)\lambda _1^-(w)\eta (w)\lambda ^+_1(w)\nonumber \\&\quad =\lambda ^-_1(z)[\eta (z)]_-\Big ([\eta (z)]_+\lambda _1^+(z)\lambda _1^-(w)[\eta (w)]_-\Big )[\eta (w)]_+\lambda ^+_1(w), \end{aligned}$$\end{document}$$where we put in brackets the terms which need to be normal ordered. Let us focus on the part containing the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathsf{a}$$\end{document}$s. They give four contributions, which sum up to$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathrm{e}^{-\sum _{m>0}\left( \frac{w}{z}\right) ^m\frac{(1-q^m)(1-t^{-m})}{m(1-q'^m)(1-p^{2m})}\left( 1-2p^m+p^{2m}+\frac{(1-p^{-m})^2p^{4m}}{(1-p^{2m})}\right) }. \end{aligned}$$\end{document}$$The second tensor component arises from$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \lambda _2^-(z)\lambda _2^+(z)\lambda _2^-(w)\lambda _2^+(w)=\lambda _2^-(z)\Big (\lambda _2^+(z)\lambda _2^-(w)\Big )\lambda _2^+(w), \end{aligned}$$\end{document}$$and the normal ordering function from the part containing the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathsf{a}$$\end{document}$s reads$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathrm{e}^{-\sum _{m>0}\left( \frac{w}{z}\right) ^m\frac{(1-q^m)(1-t^{-m})}{m(1-q'^m)(1-p^{2m})}\frac{(1-p^{-m})^2p^{3m}}{(1-p^{2m})}}. \end{aligned}$$\end{document}$$Analogous results come from the parts containing the $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathsf{b}$$\end{document}$s but with the replacements $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\frac{w}{z}\rightarrow \frac{q' z}{w}, (q,t,p)\rightarrow (q^{-1},t^{-1},p^{-1})$$\end{document}$. Multiplying all these contributions together yields$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathrm{e}^{-\sum _{m>0}\left( \frac{w}{z}\right) ^m\frac{(1-q^m)(1-t^{-m})(1-p^m)}{m(1-q'^m)(1-p^{2m})}}\mathrm{e}^{\sum _{m>0}\left( \frac{p^2q' z}{w}\right) ^m\frac{(1-q^{-m})(1-t^{m})(1-p^{-m})}{m(1-q'^m)(1-p^{2m})}}=f_{+,+}(w z^{-1})^{-1}, \end{aligned}$$\end{document}$$where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$f_{+,+}(x)$$\end{document}$ is defined in ([2.11](#Equ11){ref-type=""}).

F The refined periodic strip {#Sec16}
============================

The amplitude of the periodic strip geometry depicted in Fig. [2](#Fig2){ref-type="fig"} (left) reads as[17](#Fn17){ref-type="fn"} $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}&\mathcal {K}^{\vec \alpha }_{\vec \beta }(Q_m, Q_f;q,t)\!=\!\sum _{\vec \mu ,\vec \nu }\prod _{a=1}^{N}(-Q_{m,a})^{|\mu _a|}\!\prod _{b=1}^{N}(-Q_{f,b})^{|\nu _{b+1}|}\nonumber \\&\qquad \times \prod _{a=1}^N C_{\nu _a\mu _a\alpha _a}(t,q)\!\prod _{b=1}^N C_{\nu _{b+1}^\vee \mu _b^\vee \beta _b^\vee }(q,t)\!\nonumber \\&\quad =\prod _{a=1}^N q^{\frac{\Vert \alpha _a\Vert ^2}{2}}t^{\frac{\Vert \beta ^\vee _a\Vert ^2}{2}}{\tilde{Z}}_{\alpha _a}(t,q){\tilde{Z}}_{\beta _a^\vee }(q,t)\sum _{\vec \mu ,\vec \nu ,\vec \eta ,\vec \sigma }\prod _{a=1}^{N}(-Q_{m,a})^{|\mu _a|}\prod _{b=1}^{N}(-Q_{f,b})^{|\nu _{b+1}|}\nonumber \\&\qquad \times \prod _{a=1}^N s_{\nu ^\vee _a/\eta _a}(p^{-\frac{1}{2}}t^{-\rho }q^{-\alpha _a})s_{\mu _a/\eta _a}(q^{-\rho }t^{-\alpha ^\vee _a})\nonumber \\&\qquad \times \prod _{b=1}^N s_{\nu _{b+1}/\sigma _b}(p^{\frac{1}{2}}t q^{-\rho }t^{-\beta ^\vee _b})s_{\mu ^\vee _b/\sigma _b}(t^{-\rho }q^{-\beta _b}), \end{aligned}$$\end{document}$$where we introduced $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$p=qt^{-1}$$\end{document}$, and$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} {\tilde{Z}}_{\mu }(t,q)=\prod _{(i,j)\in \mu }\frac{1}{1-q^{\mu _i-j}t^{\mu _j^\vee -i+1}}. \end{aligned}$$\end{document}$$We need to evaluate$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} G(x, y,Q_m, Q_f)=\sum _{\vec X,\vec Y}\prod _{a=1}^{2N}(-{\tilde{Q}}_a)^{|X_a|}\prod _{a=1}^{2N}s_{X_a/Y_a}(x_a)s_{X^\vee _a/Y_{a+1}}(y_a), \end{aligned}$$\end{document}$$where we grouped the relevant variables according to$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} X_a&=\left\{ \begin{array}{ll}\mu _\frac{a+1}{2}, &{}\quad a\text { odd }\\ \nu _{\frac{a}{2}+1},&{}\quad a\text { even }\end{array}\right. ,\quad Y_a=\left\{ \begin{array}{ll}\eta _\frac{a+1}{2}, &{}\quad a\text { odd }\\ \sigma _\frac{a}{2},&{}\quad a\text { even }\end{array}\right. \!, \end{aligned}$$\end{document}$$ $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} {\tilde{Q}}_a&=\left\{ \begin{array}{ll}Q_{m,\frac{a+1}{2}},&{}\quad a\text { odd }\\ Q_{f,\frac{a}{2}},&{}\quad a\text { even }\end{array}\right. \!,\end{aligned}$$\end{document}$$ $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} (x_a,y_a)&=\left\{ \begin{array}{ll}\left( q^{-\rho }t^{-\alpha ^\vee _\frac{a+1}{2}},t^{-\rho }q^{-\beta _\frac{a+1}{2}}\right) ,&{}\quad a \text { odd }\\ \left( q^{-\rho +\frac{1}{2}}t^{-\beta ^\vee _\frac{a}{2}-\frac{1}{2}},t^{-\rho +\frac{1}{2}}q^{-\alpha _{\frac{a}{2}+1}-\frac{1}{2}}\right) \!,&{}\quad a\text { even }\end{array}\right. \!. \end{aligned}$$\end{document}$$Using standard identities of Schur polynomials \[[@CR133]\] we get[18](#Fn18){ref-type="fn"} $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} G(x,y, Q_m, Q_f)=\frac{1}{(q';q')_\infty }\prod _{i,j,k=1}^\infty \prod _{a=1}^{2N}\prod _{\ell =1}^N\frac{1-q'^{k-1}\prod _{s=a}^{a+2\ell -2}{\tilde{Q}}_s~x_{a,i}y_{a+2\ell -2,j}}{1-q'^{k-1}\prod _{s=a}^{a+2\ell -1}{\tilde{Q}}_s~x_{a,i}y_{a+2\ell -1,j}}, \end{aligned}$$\end{document}$$where $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q'=\prod _{a=1}^{2N}{\tilde{Q}}_a=\prod _{a=1}^{N}Q_{m,a}Q_{f,a}$$\end{document}$, and hence$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}&\mathcal {K}^{\vec \alpha }_{\vec \beta }(Q_m, Q_f;q,t)=\frac{1}{(q';q')_\infty }\prod _{a=1}^N q^{\frac{\Vert \alpha _a\Vert ^2}{2}}t^{\frac{\Vert \beta ^\vee _a\Vert ^2}{2}}{\tilde{Z}}_{\alpha _a}(t,q){\tilde{Z}}_{\beta _a^\vee }(q,t)\nonumber \\&\quad \times \prod _{i,j,k=1}^\infty \prod _{r,\ell =1}^N \frac{(1-q'^{k-1}Q_{r,r+\ell }Q_{m,r}^{-1}q^{-\alpha _{r+\ell ,i}+j-\frac{1}{2}}t^{-\beta ^\vee _{r,j}+i-\frac{1}{2}})}{(1-q'^{k-1}Q_{r,r+\ell }Q_{m,r}^{-1}Q_{m,r+\ell }q^{-\beta _{r+\ell ,i}+j}t^{-\beta ^\vee _{r,j}+i-1})}\nonumber \\&\quad \times \frac{(1-q'^{k-1}Q_{r,r+\ell -1}Q_{m,r+\ell -1}q^{-\beta _{r+\ell -1,i}+j-\frac{1}{2}}t^{-\alpha ^\vee _{r,j}+i-\frac{1}{2}})}{(1-q'^{k-1}Q_{r,r+\ell }q^{-\alpha _{r+\ell ,i}+j-1}t^{-\alpha ^\vee _{r,j}+i})}, \end{aligned}$$\end{document}$$where$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} Q_{a,b}=\left\{ \begin{array}{ll}\prod _{k=a}^{b-1}Q_{m,k}Q_{f,k},&{}\quad a<b\\ q' Q_{b,a}^{-1},&{}\quad a>b\\ 1,&{}\quad a=b\\ q',&{}\quad b=a+N\end{array}\right. . \end{aligned}$$\end{document}$$Using the K-theoretic Nekrasov function (we use the notation of \[[@CR117]\])$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} N_{\mu \nu }(Q;q,t)=\prod _{(i,j)\in \mu }(1-Qq^{\mu _i-j}t^{\nu _j^\vee -i+1})\prod _{(i,j)\in \nu }(1-Qq^{-\nu _i+j-1}t^{-\mu _j^\vee +i}), \end{aligned}$$\end{document}$$we also have$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \prod _{i,j=1}^\infty \frac{1-Qq^{-\nu _i+j-1} t^{-\mu _j^\vee +i}}{1-Qq^{j-1}t^{i}}=N_{\mu \nu }(Q;q,t), \end{aligned}$$\end{document}$$and$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}&\frac{\mathcal {K}^{\vec \alpha }_{\vec \beta }(Q_m,Q_f;q,t)}{\mathcal {K}^{\vec \emptyset }_{\vec \emptyset }(Q_m,Q_f;q,t)} =\prod _{a=1}^N q^{\frac{\Vert \alpha _a\Vert ^2}{2}}t^{\frac{\Vert \beta ^\vee _a\Vert ^2}{2}}{\tilde{Z}}_{\alpha _a}(t,q){\tilde{Z}}_{\beta _a^\vee }(q,t)\nonumber \\&\qquad \times \prod _{r,\ell =1}^N\prod _{k=0}^\infty \frac{N_{\beta _r\alpha _{r+\ell }}\left( p^{\frac{1}{2}} q'^{k}Q_{r,r+\ell }Q_{m,r}^{-1};q,t\right) N_{\alpha _r\beta _{r+\ell -1}}\left( p^{\frac{1}{2}} q'^{k}Q_{r,r+\ell -1}Q_{m,r+\ell -1};q,t\right) }{N_{\beta _r\beta _{r+\ell }}\left( p q'^{k}Q_{r,r+\ell }Q_{m,r}^{-1}Q_{m,r+\ell };q,t\right) N_{\alpha _r\alpha _{r+\ell }}(q'^{k}Q_{r,r+\ell };q,t)}\nonumber \\&\quad =\prod _{a=1}^N q^{\frac{\Vert \alpha _a\Vert ^2}{2}}t^{\frac{\Vert \beta ^\vee _a\Vert ^2}{2}}{\tilde{Z}}_{\alpha _a}(t,q){\tilde{Z}}_{\beta _a^\vee }(q,t)\prod _{k=0}^\infty \frac{N_{\beta _a\alpha _{a}}\left( p^{\frac{1}{2}} q'^{k+1}Q_{m,a}^{-1};q,t\right) N_{\alpha _a\beta _{a}}\left( p^{\frac{1}{2}}q'^{k}Q_{m,b};q,t\right) }{N_{\beta _a\beta _{a}}\left( p q'^{k+1};q,t\right) N_{\alpha _a\alpha _{a}}(q'^{k+1};q,t)}\nonumber \\&\qquad \times \prod _{1\le a\ne b\le N}\prod _{k=0}^\infty \frac{N_{\beta _a\alpha _{b}}\left( p^{\frac{1}{2}} q'^{k}Q_{ab}Q_{m,a}^{-1};q,t\right) N_{\alpha _a\beta _{b}}\left( p^{\frac{1}{2}} q'^{k}Q_{a,b}Q_{m,b};q,t\right) }{N_{\beta _a\beta _{b}}\left( p q'^{k}Q_{a,b}Q_{m,a}^{-1}Q_{m,b};q,t\right) N_{\alpha _a\alpha _{b}}(q'^{k}Q_{ab};q,t)}, \end{aligned}$$\end{document}$$where we used $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$q'=Q_{a,b}Q_{b,a}$$\end{document}$ for $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$a\ne b$$\end{document}$ and $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$Q_{a,a+N}=q'$$\end{document}$. Introducing the elliptic version of the Nekrasov function[19](#Fn19){ref-type="fn"} [20](#Fn20){ref-type="fn"} $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} N_{\mu \nu }(Q;q,t|q')&=\prod _{(i,j)\in \mu }\Theta (Qq^{\mu _i-j}t^{\nu _j^\vee -i+1};q')\prod _{(i,j)\in \nu }\Theta (Qq^{-\nu _i+j-1}t^{-\mu _j^\vee +i};q'), \end{aligned}$$\end{document}$$ $$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}&=\prod _{k=0}^\infty N_{\mu \nu }(q'^kQ;q,t)N_{\nu \mu }(pq'^{k+1}Q^{-1};q,t), \end{aligned}$$\end{document}$$we also have$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned}&\frac{\mathcal {K}^{\vec \alpha }_{\vec \beta }( Q_m, Q_f;q,t)}{\mathcal {K}^{\vec \emptyset }_{\vec \emptyset }(Q_m, Q_f;q,t)} =\prod _{a=1}^N \frac{q^{\frac{\Vert \alpha _a\Vert ^2}{2}}t^{\frac{\Vert \beta ^\vee _a\Vert ^2}{2}}{\tilde{Z}}_{\alpha _a}(t,q){\tilde{Z}}_{\beta _a^\vee }(q,t)}{N_{\beta _a\beta _{a}}(p q'^{k+1};q,t)N_{\alpha _a\alpha _{a}}(q'^{k+1};q,t)}\nonumber \\&\quad \times \frac{\prod _{a,b=1}^N N_{\alpha _{a}\beta _{b}}(p^{\frac{1}{2}} Q_{a,b}Q_{m,b};q,t|q')}{\prod _{1\le a\ne b\le N}\prod _{k=0}^\infty N_{\beta _a\beta _{b}}(p q'^{k}Q_{a,b}Q_{m,a}^{-1}Q_{f,a};q,t)N_{\alpha _a\alpha _{b}}(q'^{k}Q_{a,b};q,t)}.\nonumber \\ \end{aligned}$$\end{document}$$The denominator cannot be expressed solely in terms of the elliptic Nekrasov functions because of the "wrong" *q*, *t* shift. This phenomenon has been related to the anomalous modular transformation property of the open periodic strip \[[@CR108]\].

The $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathbb {R}^4\times \mathbb {T}^2$$\end{document}$ Nekrasov instanton partition function of the *U*(*N*) theory with *N* fundamental and anti-fundamental hypers can be computed by gluing two periodic strips, with the result$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {Z}_{\mathrm{inst}}^{\mathbb {R}^4\times \mathbb {T}^2}&=\sum _{\vec Y}\prod _{a=1}^N(-Q_{B,a})^{|Y^a|}\frac{\mathcal {K}^{\vec Y}_{\vec \emptyset }( Q_m, Q_f;q,t)}{\mathcal {K}^{\vec \emptyset }_{\vec \emptyset }(Q_m,Q_f;q,t)}\frac{\mathcal {K}^{\vec \emptyset }_{\vec Y}({{\bar{Q}}}_m,{{\bar{Q}}}_f;q,t)}{\mathcal {K}^{\vec \emptyset }_{\vec \emptyset }({{\bar{Q}}}_m,{{\bar{Q}}}_f;q,t)}\nonumber \\&=\sum _{\vec Y}\prod _{a=1}^N(-Q_{B,a})^{|Y^a|}\prod _{a=1}^N\frac{q^{\frac{\Vert Y^a\Vert ^2}{2}}t^{\frac{\Vert {Y^a}^\vee \Vert ^2}{2}}{\tilde{Z}}_{Y^a}(t,q){\tilde{Z}}_{{Y^a}^\vee }(q,t)}{\prod _{k=0}^\infty N_{Y^aY^a}(p q'^{k+1};q,t)N_{Y^aY^a}(q'^{k+1};q,t)}\nonumber \\&~~~\times \frac{\prod _{a,b=1}^N N_{\emptyset Y^b}(p^{\frac{1}{2}}Q_{ab}{\bar{Q}}_{m,a};q,t|q') N_{Y^a\emptyset }(p^{\frac{1}{2}}Q_{ab}Q_{m,b};q,t|q')}{\prod _{1\le a\ne b \le N} N_{Y^a Y^b}(Q_{ab};q,t|q')}. \end{aligned}$$\end{document}$$Using$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} q^{\frac{\Vert \mu \Vert ^2}{2}}t^{\frac{\Vert \mu ^\vee \Vert ^2}{2}}{\tilde{Z}}_\mu (t,q){\tilde{Z}}_{\mu ^\vee }(q,t)=\frac{(-p^{-\frac{1}{2}})^{|\mu |}}{N_{\mu \mu }(1;q,t)}, \end{aligned}$$\end{document}$$we can recast the second line of ([11.16](#Equ163){ref-type=""}) as$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \frac{\prod _{a=1}^N (p^{-\frac{1}{2}}Q_{B,a})^{| Y^a|}}{\prod _{a=1}^N N_{Y^aY^a}(1;q,t|q')}, \end{aligned}$$\end{document}$$and hence$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {Z}_{\mathrm{inst}}^{\mathbb {R}^4\times \mathbb {T}^2}= & {} \sum _{\vec Y}\prod _{a=1}^N (p^{-\frac{1}{2}}Q_{B,a})^{|Y^a|}\nonumber \\&\times \prod _{a,b=1}^N\frac{N_{\emptyset Y^b}(p^{\frac{1}{2}}Q_{ab}{\bar{Q}}_{m,a};q,t|q') N_{Y^a\emptyset }(p^{\frac{1}{2}} Q_{ab}Q_{m,b};q,t|q')}{N_{Y^a Y^b}(Q_{ab};q,t|q')}.\nonumber \\ \end{aligned}$$\end{document}$$In order to make contact with the field theory language, it is useful to introduce the parametrization$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} Q_{ab}=\left\{ \begin{array}{ll}A_a A_b^{-1},&{}\quad a\le b\\ q' A_aA_b^{-1},&{}\quad a>b\end{array}\right. ,\quad Q_{m,a}=A_aQ_a p^{-\frac{1}{2}},\quad {\bar{Q}}_{m,a}=A_a^{-1} {\bar{Q}}_a p^{-\frac{1}{2}}, \end{aligned}$$\end{document}$$so that ([4.5](#Equ63){ref-type=""}) is automatically satisfied. Using the shift property$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} N_{\mu \nu }(q' Q|q')\!=\!N_{\mu \nu }(Q|q')~(-Q)^{-|\mu |-|\nu |}q^{\frac{1}{2}(|\nu |+\Vert \nu \Vert ^2+|\mu |\!-\!\Vert \mu \Vert ^2)}t^{-\frac{1}{2}(|\mu |\!-\!\Vert \mu ^\vee \Vert ^2\!+\!|\nu |\!+\!\Vert \nu ^\vee \Vert ^2)}, \end{aligned}$$\end{document}$$we can rewrite$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \mathcal {Z}_{\mathrm{inst}}^{\mathbb {R}^4\times \mathbb {T}^2}= & {} \sum _{\vec Y}\prod _{a=1}^N\left( \frac{p^{-\frac{1}{2}}Q_{B,a}}{\prod _{b=1}^N\left( p^\frac{1}{2}{\bar{Q}}_{m,b}\right) }\right) ^{|Y^a|} \frac{\prod _{b\le a}\left( p^\frac{1}{2}{\bar{Q}}_{m,b}\right) ^{|Y^a|}}{\prod _{b<a}\left( p^\frac{1}{2}Q_{m,b}\right) ^{|Y^a|}}\nonumber \\&\times \prod _{a,b=1}^N\frac{N_{\emptyset Y^b}(A_b^{-1}{\bar{Q}}_a;q,t|q') N_{Y^a\emptyset }(A_a Q_b;q,t|q')}{N_{Y^a Y^b}(A_a A_b^{-1};q,t|q')}. \end{aligned}$$\end{document}$$Generically, for *M* glued strips labeled by (*c*) we have \[[@CR134]\]$$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\begin{aligned} \prod _a {Q^{(c)}_{B,a}}^{|Y_a^{(c)}|}=\left( Q_{B,1}^{(c)}p^\frac{1}{2}Q_{m,1}^{(c-1)}\right) ^{\sum _a|Y^{(c)}_a|}\frac{\prod _{b<a}\left( p^\frac{1}{2}Q^{(c)}_{m,b}\right) ^{|Y^{(c)}_a|}}{\prod _{b \le a}\left( p^\frac{1}{2} Q^{(c-1)}_{m,b}\right) ^{|Y^{(c)}_a|}}, \end{aligned}$$\end{document}$$so that we can define a renormalized expansion parameter $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$${\tilde{Q}}_B$$\end{document}$ and write ([4.6](#Equ64){ref-type=""}).

This is a function invariant w.r.t. to *q*-shifts of its arguments, i.e., $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$c_\beta (z;q)|_{z_i\rightarrow q z_i}=c_\beta (z;q)$$\end{document}$.

We identify $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\alpha _n^\dagger =\alpha _{-n}, \beta _n^\dagger =\beta _{-n}$$\end{document}$.

For the role of Dotsenko--Fateev integrals in the 5d AGT duality we refer to \[[@CR25], [@CR26], [@CR28], [@CR29], [@CR47], [@CR56]\].

In order to avoid cluttering, we will denote $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\frac{\mathrm{d}z}{2\pi \mathrm{i}z}\!\!=\!\!\frac{\prod _j \mathrm{d}z_j}{\prod _j 2\pi \mathrm{i}z_j}$$\end{document}$, with the range of *j* clear from the context.

We will see that this is also related to the discussion around ([2.22](#Equ22){ref-type=""}).

The 6d origin of *t* will be clarified in Sect. [4](#Sec9){ref-type="sec"}.

See also an analogous discussion in appendix C of \[[@CR25]\].

A relation between $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mathcal {N}=2$$\end{document}$ theories on $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$S^2\!\times \!\mathbb {T}^2$$\end{document}$ and M-strings (see below) is discussed in \[[@CR105]\].

For a mathematical definition of the instanton partition function we refer to \[[@CR4], [@CR5], [@CR18], [@CR19], [@CR116]\].

This relation was anticipated in \[[@CR118]\], where a review of factorization of supersymmetric partition functions in various dimensions and for diverse compact spaces, 4d and 5d AGT can also be found.

See also \[[@CR123]\] for another elliptic deformation, and \[[@CR126]\] for its application to 3d/5d coupled supersymmetric gauge theories and integrable models.

Some of these aspects have been considered in the related work \[[@CR129]\].

We will follow the lines of the derivation for the *q*-Virasoro case given, for example, in \[[@CR83]\].

We thank S. Shakirov for pointing out this reference to us.

When $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\rho (\gamma ^{\pm \frac{1}{2}})=p^{\mp \frac{m}{4}}, m$$\end{document}$ is called the level of the representation.

See Appendix [2](#Sec12){ref-type="sec"} for notation.

The diagram $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mu ^\vee $$\end{document}$ is the transpose of $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$\mu $$\end{document}$, and we also have $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$|\mu |=\sum _i\mu _i, \Vert \mu \Vert ^2=\sum _i\mu _i^2$$\end{document}$. We refer to \[[@CR117]\] for notations and useful combinatorics of Young diagrams.

See appendix B of \[[@CR108]\] and appendix A of \[[@CR64]\] for a proof.

Notice the symmetry $\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$N_{\mu \nu }(Q;q,t|q')=N_{\nu \mu }(q' p Q^{-1};q,t|q')$$\end{document}$.

$\documentclass[12pt]{minimal}
                \usepackage{amsmath}
                \usepackage{wasysym} 
                \usepackage{amsfonts} 
                \usepackage{amssymb} 
                \usepackage{amsbsy}
                \usepackage{mathrsfs}
                \usepackage{upgreek}
                \setlength{\oddsidemargin}{-69pt}
                \begin{document}$$N_{\mu \nu }(p^\frac{1}{2}x|q')=x^{\frac{|\mu |+|\nu |}{2}}q^{-\frac{\Vert \nu \Vert ^2-\Vert \mu \Vert ^2}{4}}t^{-\frac{\Vert \mu ^\vee \Vert ^2-\Vert \nu ^\vee \Vert ^2}{4}}\vartheta _{\mu \nu }(x;q')$$\end{document}$ in the notation of \[[@CR64]\].

I would like to thank S. Pasquetti for many illuminating discussions and comments about the draft of this paper. I also thank A. Torrielli, M. Zabzine, J. Minahan, and S. Cremonesi for helpful discussions. I also thank the referees for valuable comments. This research was partially supported by the EPSRC Ph.D. studentship EP/K503186/1, and in part by Vetenskapsrådet under Grant \#2014- 5517 and by the grant Geometry and Physics from the Knut and Alice Wallenberg foundation.
