Joyce structures and poles of Painlevé equations Tom Bridgeland, Fabrizio Del Monte Abstract . Joyce structures are a class of geometric structures that first arose in relation to Donaldson-Thomas theory. There is a special class of examples, called class S ⁡ [ A 1 ] S[A_{1}] , whose underlying manifold parameterises Riemann surfaces of some fixed genus equipped with a meromorphic quadratic differential with poles of fixed orders. We study two Joyce structures of this type using the isomonodromic systems associated to the Painlevé II and III 3 equations. We give explicit formulae for the Plebański functions of these Joyce structures, and compute several associated objects, including their tau functions, which we explicitly relate to the corresponding Painlevé tau functions. We show that the behaviour of the Joyce structure near the zero-section can be studied analytically through poles of Painlevé equations. The systematic treatment gives a blueprint for the study of more general Joyce structures associated to meromorphic quadratic differentials on the Riemann sphere. 1. Introduction This paper is concerned with a class of geometric structures known as Joyce structures. These structures have appeared in several contexts recently, including integrable systems [ 17 , 29 , 31 ] and topological string theory [ 1 , 2 ] . A Joyce structure on a complex manifold M involves a one-parameter family of flat and symplectic non-linear connections on the tangent bundle T_{M} , and gives rise to a complex hyperkähler structure on the total space X=T_{M} . The precise definition first appeared in [ 13 ] , but the essential features are standard in twistor theory (see e.g. [ 30 ] ), and go back to work of Plebański [ 52 ] . We give a brief summary in Section 3 below, and refer to [ 16 ] for further details. Joyce structures take their name from a line of research initiated in [ 45 ] which aims to encode the Donaldson-Thomas (DT) invariants [ 46 , 47 ] of a three-dimensional Calabi-Yau (CY 3 ) category in a geometric structure on its space of stability conditions [ 11 , 12 ] . From this point of view a Joyce structure should be thought of as a non-linear analogue of a Frobenius structure [ 27 , 28 ] , in which the linear structure group \operatorname{GL}_{n}(\mathbb{C}) is replaced by the group of symplectic automorphisms of a complex torus (\mathbb{C}^{*})^{n} . The wall-crossing formula shows that the DT invariants can be viewed as the Stokes data for an isomonodromic family of irregular connections on \mathbb{P}^{1} taking values in this group. This perspective is the subject of [ 13 ] and is summarised in [ 19 , Appendix A] . An interesting class of examples of Joyce structures was constructed in [ 14 ] . The base M parameterises Riemann surfaces of some fixed genus g equipped with a quadratic differential with simple zeros. The extension to spaces of quadratic differentials with poles of fixed orders m=(m_{1},\ldots,m_{l}) and zero residues will appear in [ 58 ] . These Joyce structures are expected to arise from the DT theory of the CY 3 categories considered in [ 18 , 40 ] . We refer to them as Joyce structures of class S[A_{1}] since they are related to supersymmetric gauge theories of this class. There are ten examples [ 10 ] for which g=0 and the base M has dimension 2. We refer to these as the Painlevé Joyce structures, since they correspond to the ten SL_{2}(\mathbb{C}) isomonodromy problems associated to the Painlevé equations in [ 21 , 57 ] . The relevant pole orders are (2,2,2,2)\quad(2,2,4)\quad(2,2,3)\quad(6,2)\quad(5,2)\quad(4,4)\quad(4,3)\quad(3,3)\quad(8)\quad(7). The case m=(7) corresponding to Painlevé I was studied in detail in [ 17 ] . The aim of this paper is to give explicit descriptions in the cases m=(3,3) corresponding to Painlevé III 3 , and m=(8) corresponding to Painlevé II. From the point of view of supersymmetric theories of class S the case of Painlevé III 3 is particularly important, since it is related to the Seiberg-Witten theory of pure SU(2) super Yang-Mills (see for example [ 9 , 38 ] ). Both examples have several new features as compared with Painlevé I, and the relevant connections exhibit both local monodromy and Stokes phenomena. We give explicit formulae for the associated Plebański functions, compute the linear Joyce connections, and investigate the Joyce structure tau function defined in [ 15 ] . The treatment is designed to be systematic, and to provide a blueprint for the study of more general Joyce structures associated to meromorphic quadratic differentials on the Riemann sphere. Plan of the paper We begin in Section 2 with a quick introduction to Joyce structures as they arise in relation to the isomonodromy approach to Painlevé equations. In Section 3 we recall some of the general theory of Joyce structures and state our main results. In Section 4 we outline a construction of Joyce structures of class S[A_{1}] in terms of pencils of projective structures on Riemann surfaces, and in Section 5 we discuss an equivalent formalism using isomonodromic deformations of linear systems with a reference connection. Sections 6 and 7 are the heart of the paper and contain the detailed computations in the two examples corresponding to Painlevé III 3 and II respectively. In Section 8 we recall the definition of the Joyce structure tau function and compute it in our examples. 2. Painlevé Joyce structures We will give a detailed description of our main results in Section 3 below. Let us first try to quickly orient the reader who is familiar with the usual isomonodromy approach to Painlevé equations. For illustration purposes we will take the example of Painelvé I treated in [ 17 ] . The standard isomonodromy approach to Painlevé I is to consider meromorphic connections on the trivial rank 2 bundle over \mathbb{P}^{1} of the form (1) \nabla=d-\begin{pmatrix}p&x-q\\ x^{2}+xq+q^{2}+t&-p\end{pmatrix}dx. They have a single pole at x=\infty and depend on three parameters (t,q,p) . As t\in\mathbb{C} varies we can uniquely vary q=q(t) and p=p(t) in such a way that the generalised monodromy (or Stokes data) at x=\infty remains constant. These isomonodromy flows can be put in Hamiltonian form by setting H=p^{2}-q^{3}-tq and writing (2) \frac{dq}{dt}=\frac{\partial H}{\partial p}=2p,\qquad\frac{dp}{dt}=-\frac{\partial H}{\partial q}=3q^{2}+t. Eliminating p leads to the Painlevé equation in the form (3) \frac{d^{2}q}{dt^{2}}=2\frac{dp}{dt}=6q^{2}+2t. Note that we can alternatively parameterise the connection by the variables (t,H,q) with p defined implicitly by p^{2}=q^{3}+tq+H . In these variables the isomonodromic flow is described by the vector field (4) \frac{\partial}{\partial t}-q\frac{\partial}{\partial H}+2p\frac{\partial}{\partial q}. To define the associated Painlevé Joyce structure we need to change our point-of-view in several ways. Firstly, rather than a single connection \nabla , we must consider a one-parameter family or pencil of connections \nabla_{\epsilon} depending on an additional parameter \epsilon\in\mathbb{C}^{*} (5) \nabla_{\epsilon}=d-\begin{pmatrix}r&0\\ 0&-r\end{pmatrix}dx-\frac{1}{\epsilon}\begin{pmatrix}p&x-q\\ x^{2}+xq+q^{2}+t&-p\end{pmatrix}dx. The formula ( 5 ) is obtained from ( 1 ) by introducing \epsilon in the obvious way, and then performing a simple shift 1 1 1 To achieve uniformity with the rest of this paper we are using slightly different notation to [ 17 ] . The variables (r,p) there correspond to (2pr,-p) here. p\mapsto p+\epsilon r . Thus for a fixed value of \epsilon\in\mathbb{C}^{*} the connection \nabla_{\epsilon} depends only on three parameters. Nonetheless, the pencil of connections ( 5 ) depends on four parameters, with (t,q,p) specifying the Higgs field part multiplying \epsilon^{-1} , and the additional parameter r specifying the reference connection \nabla_{\infty} . Writing H=p^{2}-q^{3}-tq as before we can equivalently view the pencil of connections ( 5 ) as being parameterised by the co-ordinates (t,H,q,r) with p being once again defined implicitly by p^{2}=q^{3}+tq+H . For a fixed \epsilon\in\mathbb{C}^{*} we can now consider varying both t and H and allowing q=q(t,H) and r=r(t,H) to vary in such a way that the generalised monodromy of \nabla_{\epsilon} remains constant. This leads to a two-dimensional space of flows spanned by the vector fields (6) \displaystyle\frac{2p}{\epsilon}\frac{\partial}{\partial q}-\frac{(3q^{2}+t)r}{\epsilon p}\frac{\partial}{\partial r}+\frac{\partial}{\partial t}-q\frac{\partial}{\partial H}+2r\frac{\partial}{\partial q}, (7) \displaystyle-\frac{1}{2p\epsilon}\frac{\partial}{\partial r}+\frac{\partial}{\partial H}. Note that the first of these flows reproduces ( 4 ) when \epsilon=1 and r=0 . Moreover, whatever the value of r , the resulting differential equation for q is always the \epsilon -deformed Painlevé I equation (8) \frac{d^{2}q}{dt^{2}}=\frac{1}{\epsilon^{2}}(6q^{2}+2t). In general, the flows ( 6 ) seem to be new information, and lead to previously unknown structures including a complex hyperkähler structure on the four-dimensional complex manifold X^{\#} whose co-ordinates are (t,H,q,r) . The final step in the description of a Joyce structure is to re-express these flows in a different set of co-ordinates on the space X^{\#} . The connection \nabla_{\epsilon} can be transformed by a singular gauge transformation into an oper with an apparent singularity expressed by the equation (9) y^{\prime\prime}(x)=Q(x)y(x),\qquad Q(x)=\epsilon^{-2}\cdot Q_{0}(x)+\epsilon^{-1}\cdot Q_{1}(x)+Q_{2}(x) (10) Q_{0}(x)=x^{3}+tx+H,\qquad Q_{1}(x)=-\frac{p}{x-q}+2pr,\qquad Q_{2}(x)=\frac{3}{4(x-q)^{2}}-\frac{r}{x-q}+r^{2}. The required co-ordinates (z_{1},z_{2},\theta_{1},\theta_{2}) are then defined by integrals of the form (11) z_{i}=\oint_{\gamma_{i}}\sqrt{Q_{0}}\,dx,\qquad\theta_{i}=-\oint_{\gamma_{i}}\frac{Q_{1}}{2\sqrt{Q_{0}}}\,dx, where \gamma_{1},\gamma_{2} are cycles on the spectral curve \Sigma=\{(x,y):y^{2}=Q_{0}(x)\} . One way to motivate these co-ordinates is via WKB analysis, which predicts that the logarithmic Fock-Goncharov co-ordinates x_{i} of the connection \nabla_{\epsilon} have asymptotics (12) x_{i}(\epsilon)=-\frac{z_{i}}{\epsilon}+\theta_{i}+O(\epsilon). In these co-ordinates the two-dimensional space of flows is spanned by the vector fields (13) \frac{\partial}{\partial z_{i}}+\frac{1}{\epsilon}\cdot\frac{\partial}{\partial\theta_{i}}+2\pi i\cdot\frac{\partial^{2}W}{\partial\theta_{i}\partial\theta_{1}}\cdot\frac{\partial}{\partial\theta_{2}}-2\pi i\cdot\frac{\partial^{2}W}{\partial\theta_{i}\partial\theta_{2}}\cdot\frac{\partial}{\partial\theta_{1}}, where W=W(z_{i},\theta_{j}) is a single function called the Plebański function of the Joyce structure. It was shown in [ 17 ] that (14) W=\frac{p}{2(4t^{3}+27H^{2})}\left(t-(9H-6tq)r+(8t^{2}-18Hq+12tq^{2})r^{2}+8tp^{2}r^{3}\right). We will derive similar expressions in the Painlevé III 3 and Painlevé II examples below. 3. Statement of results In this section we first briefly review some required background material on Joyce structures, referring the reader to [ 16 , 15 ] for more details. We then state our main results. 3.1. Joyce structures and Plebański functions Let M be a complex manifold of dimension n . A Joyce structure on M involves a system of n flows on the total space of the tangent bundle X=T_{M} of the form (15) \frac{\partial}{\partial z_{i}}+\frac{1}{\epsilon}\cdot\frac{\partial}{\partial\theta_{i}}+\sum_{p,q}\eta_{pq}\cdot\frac{\partial^{2}W}{\partial\theta_{i}\partial\theta_{p}}\cdot\frac{\partial}{\partial\theta_{q}}. Here (z_{1},\ldots,z_{n}) are a canonical system of co-ordinates on M uniquely defined up to integral linear transformations z_{i}\mapsto\sum_{j}a_{ij}z_{j} with (a_{ij})_{i,j=1}^{n}\in\operatorname{GL}_{n}(\mathbb{Z}) . These induce linear co-ordinates (\theta_{1},\ldots,\theta_{n}) on the tangent spaces T_{p}M by writing a tangent vector in the form \sum_{i}\theta_{i}\cdot\frac{\partial}{\partial z_{i}}\big|_{p} , and we can then consider (z_{i},\theta_{j}) as co-ordinates on the total space X=T_{M} . Finally, (\eta_{pq})_{p,q=1}^{n} is an invertible, skew-symmetric matrix, and \epsilon\in\mathbb{C}^{*} is an additional parameter. The flows ( 15 ) are specified by a single function W=W(z_{i},\theta_{j}) on X called the Plebański function. This is required to satisfy Plebański’s second heavenly equations (16) \frac{\partial^{2}W}{\partial\theta_{i}\partial z_{j}}-\frac{\partial^{2}W}{\partial\theta_{j}\partial z_{i}}=\sum_{p,q}\eta_{pq}\cdot\frac{\partial^{2}W}{\partial\theta_{i}\partial\theta_{p}}\cdot\frac{\partial^{2}W}{\partial\theta_{j}\partial\theta_{q}}, which ensures that the flows ( 15 ) are compatible for any \epsilon\in\mathbb{C}^{*} . We also impose the following additional conditions: (17) \displaystyle\frac{\partial^{2}W}{\partial\theta_{j}\partial\theta_{k}}(z_{1},\ldots,z_{n},\theta_{1}+2\pi ik_{1},\ldots,\theta_{n}+2\pi ik_{n})=\frac{\partial^{2}W}{\partial\theta_{j}\partial\theta_{k}}(z_{1},\ldots,z_{n},\theta_{1},\ldots,\theta_{n}), (18) \displaystyle W(\lambda z_{1},\ldots,\lambda z_{n},\theta_{1},\ldots,\theta_{n})=\lambda^{-1}\cdot W(z_{1},\ldots,z_{n},\theta_{1},\ldots,\theta_{n}), (19) \displaystyle W(z_{1},\ldots,z_{n},-\theta_{1},\ldots,-\theta_{n})=-W(z_{1},\ldots,z_{n},\theta_{1},\ldots,\theta_{n}), where (k_{1},\ldots,k_{n})\in\mathbb{Z}^{n} in ( 17 ), and \lambda\in\mathbb{C}^{*} in ( 18 ). Note that the flows ( 15 ) only define the Plebański function W=W(z_{i},\theta_{j}) up to the addition of functions of the form a(z_{i})+\sum_{j}b_{j}(z_{i})\theta_{j} . In the two examples studied in this paper there is in fact a unique choice for W which satisfies the stronger version of ( 17 ) (20) W(z_{1},\ldots,z_{n},\theta_{1}+2\pi ik_{1},\ldots,\theta_{n}+2\pi ik_{n})=W(z_{1},\ldots,z_{n},\theta_{1},\ldots,\theta_{n}), and in what follows we will always take this choice. Note that W then descends to a function on the quotient X^{\#}=X\,/\,(2\pi i\,\mathbb{Z})^{n} whose local co-ordinates are (z_{i},e^{\theta_{j}}) . For each of the two examples considered in this paper we will give an explicit rational expression for W in terms of a different system of co-ordinates on X^{\#} which are natural for the associated isomonodromy problem. 3.2. Restriction to the zero section The two examples of Joyce structures appearing in this paper are meromorphic, in the sense that the Plebański function W is a meromorphic function on X . It is then a subtle problem to determine the positions of the poles of W . In both examples we will establish the non-trivial fact that W is regular along the zero section M\subset X=T_{M} defined by setting all \theta_{i}=0 . Once this regularity is established, it follows from ( 16 ) and ( 19 ) that there is a locally-defined function S=S(z_{i}) on M , well-defined up to the addtion of a constant, such that (21) \frac{\partial W}{\partial\theta_{i}}\bigg|_{\theta=0}=\frac{\partial S}{\partial z_{i}}. In both our examples (and also in the Painlevé I case), the function S has the form (22) S=\log\Delta^{-\frac{1}{24}}, where \Delta is closely related to the discriminant of the spectral curve y^{2}=Q_{0}(x) . This suggests a possible link with the Bergman tau function [ 48 ] which, in the case of a genus 1 curve, is the square of the Dedekind eta function. Another reason that the regularity of W along the zero section is interesting is that, following [ 13 , Section 7] , it allows us to define a flat, torsion-free connection \nabla^{J} on the tangent bundle T_{M} called the linear Joyce connection. This connection is defined by the formula (23) \nabla^{J}_{\frac{\partial}{\partial z_{i}}}\Big(\frac{\partial}{\partial z_{j}}\Big)=-\sum_{p,q}\eta_{pq}\cdot\frac{\partial^{3}W}{\partial\theta_{i}\,\partial\theta_{j}\,\partial\theta_{p}}\bigg|_{\theta=0}\cdot\frac{\partial}{\partial z_{q}}. We compute this connection in our two examples, and express the answer by giving a system of flat co-ordinates on M . 3.3. Tau functions Joyce structures arising from DT theory seem to have interesting links to non-perturbative completions of topological string partition functions. The definition of the Joyce structure tau function was introduced in [ 15 ] in an attempt to better understand this relation. The definition depends on the choice of certain extra data and is rather experimental in nature. It is therefore of interest to compute it in our examples. A Joyce structure on a complex manifold M defines a complex hyperkähler structure on X=T_{M} , and associated closed holomorphic 2-forms \Omega_{\pm}=\Omega_{J\pm iK} and \Omega_{I} on X . For each \epsilon\in\mathbb{C}^{*} the combination (24) \Omega_{\epsilon}=\epsilon^{-2}\Omega_{+}+2i\epsilon^{-1}\Omega_{I}+\Omega_{\infty} descends to a symplectic form on the twistor fibre Z_{\epsilon} , which is the space of leaves of the flows ( 15 ). If we set \Omega_{0}=\Omega_{+} and \Omega_{\infty}=\Omega_{-} this statement holds for all \epsilon\in\mathbb{P}^{1} after appropriate rescaling. Let us choose primitives (25) d\Theta_{0}=\Omega_{0},\qquad d\Theta_{1}=\Omega_{1},\qquad d\Theta_{\infty}=\Omega_{\infty},\qquad d\Theta_{I}=\Omega_{I}. We then define the Joyce structure tau function locally on X by the relation (26) d\log(\tau)=\Theta_{0}+2i\Theta_{I}+\Theta_{\infty}-\Theta_{1}. This definition is of course vacuous without some procedure for defining the primitives ( 25 ). At least for \Theta_{0},\Theta_{1} and \Theta_{I} there are natural choices which will be explained in Section 8.1 . The choice of \Theta_{\infty} is more mysterious, but in our two examples this problem can be side-stepped by restricting to a natural Lagrangian submanifold of Z_{\infty} and taking \Theta_{\infty}=0 . After doing this we find that the Joyce structure tau function gives a particular normalisation of the corresponding Painlevé tau function. 3.4. Painlevé III 3 case This case is treated in detail in Section 6 . The base M of the Joyce structure parameterises quadratic differentials (27) Q_{0}(x)dx^{\otimes 2}=\frac{1}{x^{2}}\left(tx+H+x^{-1}\right)dx^{\otimes 2}, on \mathbb{P}^{1} which have poles at x=0 and x=\infty of order 3, and simple zeros. The quotient space X^{\#} parameterises pencils of connections 2 2 2 Strictly speaking, up to the involution ( 35 ); see Lemma 6.6 . of the form (28) \nabla_{\epsilon}=d-\left(\begin{array}[]{cc}r&0\\ 0&-r\end{array}\right)\frac{dx}{x}-\frac{1}{\epsilon}\left(\begin{array}[]{cc}pq&1-qx^{-1}\\ tx-q^{-1}&-pq\end{array}\right)\frac{dx}{x}, where p is defined implicitly by p^{2}=Q_{0}(q) . This connection \nabla_{\epsilon} is equivalent to an oper with apparent singularity defined by (29) y^{\prime\prime}(x)=Q(x)y(x),\qquad Q(x)=\epsilon^{-2}Q_{0}(x)+\epsilon^{-1}Q_{1}(x)+Q_{2}(x) where (30) Q_{1}(x)=-\frac{pq^{2}}{x^{2}(x-q)}+\frac{2pqr}{x^{2}},\qquad Q_{2}(x)=\frac{3}{4(x-q)^{2}}-\frac{x+rq}{x^{2}(x-q)}+\frac{r^{2}}{x^{2}}. The canonical co-ordinates are given by integrals of the form (31) z_{i}=\oint_{\gamma_{i}}\sqrt{Q_{0}}\,dx,\qquad\theta_{i}=-\oint_{\gamma_{i}}\frac{Q_{1}}{2\sqrt{Q_{0}}}\,dx, where \gamma_{1},\gamma_{2} are cycles on the spectral curve \Sigma=\{(x,y):y^{2}=Q_{0}(x)\} . The flows of the Joyce structure ( 15 ) are obtained by allowing (t,H) to vary and insisting that q=q(t,H) and r=r(t,H) change in such a way that the generalised monodromy of the connection ( 28 ) is constant. By computing these flows and re-expressing them in the co-ordinates (z_{i},\theta_{j}) we prove the following result. Theorem 3.1 . (i) The Plebański function on X^{\#} is given by the formula (32) W=\frac{pq}{6(H^{2}-4t)}\big(tq+(H+6tq)r+(6H+12tq)r^{2}+8p^{2}q^{2}r^{3}\big). (ii) The Plebański function is regular on the locus \theta=0 and (33) S=\log\big(H^{2}-4t\big)^{-\frac{1}{24}}. (iii) The local co-ordinates (s=\log(t),H) on M are flat for the linear Joyce connection. (iv) With the natural choices for the primitives ( 25 ) we have (34) d\log(\tau|_{Y^{\#}})=-Hds+pdq+d(4H+2qp)+\frac{1}{4\pi i}\,x_{1}dx_{2}, where Y^{\#}\subset X^{\#} is the locus r=0 , and (x_{1},x_{2}) are logarithms of Fock-Goncharov co-ordinates of the connection ( 28 ). One special feature of this case is an involution (35) (q,p,r)\mapsto\left((qt)^{-1},-tpq^{2},-(r+\tfrac{1}{2})\right). which preserves all objects of interest, including the Plebański function W . 3.5. Painlevé II case This case is the subject of Section 7 . The base M of the Joyce structure parameterises quadratic differentials (36) Q_{0}(x)\,dx^{\otimes 2}=(x^{4}+tx^{2}+2H)\,dx^{\otimes 2}, with a single pole of order 8 at x=\infty with zero residue, and simple zeros. The quotient space X^{\#} parameterises pencils of connections of the form (37) \nabla_{\epsilon}=d-\left(\begin{array}[]{cc}r&0\\ -2r(x+q)-1&-r\end{array}\right)dx-\frac{1}{\epsilon}\left(\begin{array}[]{cc}x^{2}+p-q^{2}&x-q\\ (x+q)(t-2p+2q^{2})&-x^{2}-p+q^{2}\end{array}\right)dx. The connection \nabla_{\epsilon} can again be put in the oper form ( 29 ) with (38) Q_{1}(x)=-\frac{p}{x-q}+2pr,\qquad Q_{2}(x)=\frac{3}{4(x-q)^{2}}-\frac{r}{x-q}+r^{2}. The canonical co-ordinates (z_{i},\theta_{j}) are defined by integrals of the form ( 31 ) as before, and computing the isomonodromic flows in these co-ordinates gives the following result. Theorem 3.2 . (i) The Plebański function on X^{\#} is given by the formula (39) W=\frac{p}{48H(t^{2}-8H)}\big(-tq-2r(2t^{2}+3q^{2}t-12H)+12r^{2}q(-t^{2}-q^{2}t+4H)-8r^{3}p^{2}t\big). (ii) The Plebański function is regular on the locus \theta=0 and (40) S=\log\big(H^{2}(8H-t^{2})\big)^{-\frac{1}{48}}. (iii) The local co-ordinates \big(t,H-\tfrac{1}{8}t^{2}\big) on M are flat for the linear Joyce connection. (iv) With the natural choices for the primitives ( 25 ) we have (41) d\log(\tau|_{Y^{\#}})=-Hdt+pdq+\frac{1}{3}d(2tH-qp)+\frac{1}{2\pi i}\,x_{1}dx_{2}, where Y^{\#}\subset X^{\#} is the locus r=0 , and (x_{1},x_{2}) are logarithms of Fock-Goncharov co-ordinates of the connection ( 28 ). After matching parameters the expression appearing on the right-hand side of ( 41 ) coincides (up to a factor of two) with the normalisation of the Painlevé II tau function considered by Its, Lisovyy and Prokhorov [ 42 ] . 4. Approach via opers with apparent singularities As discussed in the introduction there is a class of meromorphic Joyce structures which are related to supersymmetric gauge theories of class S[A_{1}] . The base M parameterises Riemann surfaces equipped with quadratic differentials having poles of fixed orders with zero residues, and simple zeros. In the case of quadratic differentials without poles these Joyce structure were constructed in [ 14 ] . The rigorous construction in the meromorphic case will appear in [ 58 ] . In this section we give a sketch of a general but conjectural approach to these Joyce structures following [ 15 , Section 4] . This will be worked out in detail in our two examples in Sections 6 and 7 below. Another interesting class of examples involving quadratic differentials on the Riemann sphere with a single pole of odd order is studied in [ 31 ] . 4.1. Quadratic differentials We begin by fixing the data of a genus g\geq 0 and a collection of integers m=(m_{1},\ldots,m_{l}) with all m_{i}\geq 2 . We always assume that l>0 and (42) k:=6g-6+\sum_{i=1}^{l}(m_{i}+1)>0. We consider the moduli space \operatorname{Quad}(g,m) parameterizing pairs (C,Q_{0}) , where C is a compact, connected Riemann surface of genus g , and Q_{0}=Q_{0}(x)\,dx^{\otimes 2} is a meromorphic section of \omega_{C}^{\otimes 2} with simple zeros, and l unordered poles x_{i}\in C with multiplicities m_{i} . This space is a complex orbifold of dimension k . We now give a brief review of its basic properties, referring the reader to [ 18 , Sections 2 - 4] for more details. Given a point (C,Q_{0})\in\operatorname{Quad}(g,m) there is a spectral curve p\colon\Sigma\to C branched at the zeros and odd order poles of Q_{0} . Locally it is given by writing y^{2}=Q_{0}(x) . There is a covering involution \sigma\colon\Sigma\to\Sigma and a canonical meromorphic 1-form \lambda=y\,dx satisfying \lambda^{\otimes 2}=p^{*}(Q_{0}) . We define \Sigma^{0}\subset\Sigma to be the complement of the poles of \lambda . We consider the homology group H_{1}(\Sigma^{0},\mathbb{Z})^{-} . The superscript signifies anti-invariance for the covering involution: we consider only classes satisfying \sigma_{*}(\gamma)=-\gamma . A calculation shows that H_{1}(\Sigma^{0},\mathbb{Z})^{-}\cong\mathbb{Z}^{\oplus k} is free of rank k . Given a basis (\gamma_{1},\ldots,\gamma_{k})\subset H_{1}(\Sigma^{0},\mathbb{Z})^{-} we define (43) z_{i}=\oint_{\gamma_{i}}\lambda\in\mathbb{C}. As the point (C,Q_{0})\in\operatorname{Quad}(g,m) varies, the homology groups H_{1}(\Sigma^{0},\mathbb{Z})^{-} fit together to form a local system over \operatorname{Quad}(g,m) . Transporting the basis elements \gamma_{i} to nearby points, the resulting functions (z_{1},\ldots,z_{k}) form local co-ordinates on \operatorname{Quad}(g,m) . In particular, the tangent space at a point of \operatorname{Quad}(g,m) is naturally identified with the cohomology group H^{1}(\Sigma^{0},\mathbb{C})^{-} . The inclusion i\colon\Sigma^{0}\hookrightarrow\Sigma defines a natural map (44) i_{*}\colon H_{1}(\Sigma^{0},\mathbb{Z})^{-}\to H_{1}(\Sigma,\mathbb{Z})^{-} whose image is a finite index subgroup \Gamma\subset H_{1}(\Sigma,\mathbb{Z})^{-} . The intersection form on H_{1}(\Sigma,\mathbb{Z}) pulls back via i_{*} to an integral skew-symmetric form \langle-,-\rangle on H_{1}(\Sigma^{0},\mathbb{Z})^{-} . The form \langle-,-\rangle then induces a Poisson structure on \operatorname{Quad}(g,m) satisfying (45) \{z_{i},z_{j}\}=2\pi i\,\langle\gamma_{i},\gamma_{j}\rangle. After tensoring with \mathbb{Q} , the kernel of the map ( 44 ) is spanned by classes \pm\beta_{i}\in H_{1}(\Sigma^{0},\mathbb{Z})^{-} defined up to sign by the difference of small loops around the two inverse images of an even-order pole of Q_{0} . The residue of Q_{0} at such a pole x_{i}\in C is defined to be the period (46) \operatorname{Res}_{x_{i}}(Q_{0})=\pm\oint_{\beta_{i}}\lambda\in\mathbb{C}. It is well-defined up to sign and is a Casimir for the above Poisson structure. Fixing these residues locally cuts out a symplectic leaf in \operatorname{Quad}(g,m) of dimension n=2d , where (47) d=3g-3+\sum_{i=1}^{l}\,\bigg\lceil\frac{m_{i}}{2}\bigg\rceil. The tangent space to this leaf is identified with the cohomology group H^{1}(\Sigma,\mathbb{C})^{-} . The base of our Joyce structure will be the particular symplectic leaf (48) M=M(g,m)\subset\operatorname{Quad}(g,m) obtained by requiring all residues ( 46 ) at even order poles of Q_{0} to be zero. Note that a pole of Q_{0} of order 2 with zero residue is in fact a pole of order 1. Choosing a basis (\gamma_{1},\ldots,\gamma_{n}) for the finite index subgroup \Gamma\subset H_{1}(\Sigma,\mathbb{Z})^{-} gives preferred local co-ordinates (z_{1},\ldots,z_{n}) on M defined by the formula ( 43 ). As in Section 3.1 there are corresponding linear co-ordinates (\theta_{1},\ldots,\theta_{n}) on the tangent spaces T_{p}M obtained by writing a tangent vector in the form \sum_{i}\theta_{i}\cdot\frac{\partial}{\partial z_{i}}\big|_{p} . We can then consider (z_{i},\theta_{j}) as co-ordinates on the total space X=T_{M} . We also introduce the quotient X^{\#}=X/(2\pi i)\,\mathbb{Z}^{n} whose local co-ordinates are (z_{i},e^{\theta_{j}}) . 4.2. Isomonodromy flows To define a Joyce structure on M we need a system of flows ( 15 ). We will construct these by associating to a generic point of the space X^{\#} a family of differential equations of the form (49) y^{\prime\prime}(x)=Q(x,\epsilon)\cdot y(x),\qquad Q(x,\epsilon)=\epsilon^{-2}\cdot{Q_{0}(x)}+\epsilon^{-1}\cdot Q_{1}(x)+Q_{2}(x), depending on a parameter \epsilon\in\mathbb{C}^{*} . In concrete terms the Q_{i}(x) are meromorphic functions on C , but more invariantly, Q_{1}=Q_{1}(x)\,dx^{\otimes 2} is another meromorphic quadratic differential on C , and Q_{2} represents a meromorphic projective structure [ 3 ] . The required flows ( 15 ) will then be given by allowing the point (C,Q_{0}) to move in the space M and varying the other data Q_{1},Q_{2} so that the generalised monodromy of the equation ( 49 ) remains constant. At a point x_{i}\in C where Q_{0} has a pole of order m_{i} we will insist that Q_{1} and Q_{2} have poles of order at most \lceil\tfrac{1}{2}m_{i}\rceil . We also allow Q_{1} and Q_{2} to have poles at exactly d other points q_{i}\in C , with d given by ( 47 ). At these points Q_{1},Q_{2} will be required to have the leading-order behaviour (50) Q_{1}(x)=-\frac{p_{i}}{x-q_{i}}+u_{i}+O(x-q_{i}),\qquad Q_{2}(x)=\frac{3}{4(x-q_{i})^{2}}-\frac{r_{i}}{x-q_{i}}+v_{i}+O(x-q_{i}), with p_{i},r_{i},u_{i},v_{i}\in\mathbb{C} . We will then insist that for all \epsilon\in\mathbb{C}^{*} the equation ( 49 ) has apparent singularities at the points x=q_{i} , i.e. that the monodromy of the associated linear system is trivial as an element of \operatorname{PGL}_{2}(\mathbb{C}) . This is equivalent to the condition (51) \left(\epsilon^{-1}p_{i}+r_{i}\right)^{2}=\epsilon^{-2}Q_{0}(q_{i})+\epsilon^{-1}u_{i}+v_{i}, for all \epsilon\in\mathbb{C}^{*} (see e.g. [ 17 , Lemma 2.1] ), and hence to the equations (52) p_{i}^{2}=Q_{0}(q_{i}),\qquad u_{i}=2p_{i}r_{i},\qquad v_{i}=r_{i}^{2}. The first of these relations shows that the pair (q_{i},p_{i}) defines a point of the spectral curve \Sigma . The condition on the pole orders of Q_{1} at the points x_{i} , together with the equations ( 52 ), ensures that the anti-invariant differential (53) \theta=-\frac{Q_{1}(x)\,dx}{2\sqrt{Q_{0}(x)}} on \Sigma has simple poles at the points (q_{i},\pm p_{i}) with residues \pm\tfrac{1}{2} , and no other poles. We will then require that if the equation ( 49 ) is associated to a point of X^{\#} with co-ordinates (z_{i},e^{\theta_{j}}) then (54) e^{\theta_{j}}=\exp\left(\oint_{\gamma_{j}}\theta\right). Note that the right-hand side of ( 54 ) is well-defined for \gamma_{i}\in H_{1}(\Sigma^{0},\mathbb{Z})^{-} . Indeed, we can lift \gamma_{i} to an anti-invariant cycle on the curve \Sigma^{0} further punctured at the points (q_{i},\pm p_{i}) . Any two ways of doing this differ by a sum of cycles of the form \delta_{i}-\sigma^{*}(\delta_{i}) , where \delta_{i} is a small loop around the point (q_{i},p_{i}) . By the residue property of the differential \theta such a change affects the integral on the right-hand side of ( 54 ) by an element of 2\pi i\mathbb{Z} . It is conjectured in [ 15 , Section 4] that for a generic point of X^{\#} lying over a point (C,Q_{0})\in M , there is a unique equation ( 49 ) satisfying the conditions discussed above and ( 54 ). In other words, with the given conditions on the poles of Q_{1} and Q_{2} , the equation ( 54 ) determines Q_{1} uniquely, and then generically Q_{2} is also uniquely determined by the conditions ( 52 ) coming from the assumption that ( 49 ) has apparent singularities. It is further claimed in [ 15 , Section 4] that the isomonodromy flows for the equation ( 49 ) give rise to a Joyce structure on M . A general construction of these Joyce structures will be given in [ 58 ] with a different approach involving bundles with connection rather than projective structures with apparent singularities. In this paper we will construct the required Joyce structures in our two examples by direct calculation. This involves computing the isomonodromy flows for the equation ( 49 ) and rewriting them in the co-ordinates (z_{i},\theta_{j}) given by ( 43 ) and ( 54 ). Remark 4.1 . There is a small subtlety involved with interpreting ( 54 ) in the case when Q_{0} has even order poles. Restricting to the symplectic leaf ( 48 ) involves setting the co-ordinates z_{i} defined by the cycles \pm\beta_{i} equal to 0 , and the corresponding co-ordinates e^{\theta_{i}} equal to 1. However, the classes \pm\beta_{i} only span an index 2 subgroup of the kernel of the map ( 44 ): there is a further generator \nu\in\ker(i_{*})\subset H_{1}(\Sigma^{0},\mathbb{Z})^{-} , well-defined up to the addition of linear combinations of the \pm\beta_{i} , given by the sum of small anti-clockwise cycles around one inverse image of each even order pole of Q_{0} . To specify the Joyce structure on M we must specify the value of the expression e^{\theta_{\nu}} corresponding to this generator. Since 2\nu is a linear combination of the classes \pm\beta_{i} we necessarily have e^{\theta_{\nu}}\in\{\pm 1\} . In the Painlevé II example below we will take e^{\theta_{\nu}}=-1 since this relates most directly to the existing literature on Painlevé tau functions. 5. Approach via linear systems In this section, we will recall how to describe in a systematic manner isomonodromic deformations of general equations of the form ( 49 ), which are given by Painlevé equations when C=\mathbb{P}^{1} and the spectral curve \Sigma has genus 1. Rather than considering scalar ODEs as in the previous section, the modern formulation of isomonodromic deformations and Painlevé equations typically involves matrix-valued linear systems of ODEs, describing deformations of flat \mathfrak{g} -connections (see for example the monograph [ 34 ] ). Our description will differ from the usual integrable system literature in that we will always work with a nontrivial reference connection. This will mean that there are twice as many isomonodromic flows as in the usual Painlevé literature, albeit half of them take a very simple form. In this paper we will only consider \mathfrak{g}=\mathfrak{sl}_{2} and C=\mathbb{P}^{1} . The extension to higher genus Riemann surfaces is complicated by the existence of nonequivalent flat bundles. While it is certainly possible to formulate isomonodromic deformations also in this case [ 50 , 49 ] , analytic control has only been achieved recently in the case of genus 1 [ 24 , 25 ] . 5.1. Isomonodromic deformations with a reference connection Consider a meromorphic flat \mathfrak{g} -connection on a rank 2 trivial bundle on \mathbb{P}^{1} of the form (55) \nabla_{\epsilon}:=d-A_{0}(x)dx-\frac{1}{\epsilon}\Phi(x)dx. Here d-A_{0}(x)dx is a reference connection, and \Phi(x)dx is a Higgs field, namely a \mathfrak{g} -valued meromorphic 1-form, and \epsilon\in\mathbb{C}^{*} . We can relate this to an oper with apparent singularities by performing a singular gauge transformation (56) g(x)^{-1}\big(d-A(x)dx\big)g(x)=d-\left(\begin{array}[]{cc}0&1\\ Q(x)&0\end{array}\right)dx. This can be achieved by taking (57) g(x)=\left(\begin{array}[]{cc}A_{12}(x)^{\frac{1}{2}}&0\\ 0&A_{12}(x)^{-\frac{1}{2}}\end{array}\right)\cdot\left(\begin{array}[]{cc}1&0\\ \frac{A^{\prime}_{12}(x)}{2A_{12}(x)}-A_{11}(x)&1\end{array}\right). The resulting potential is (58) Q(x)=-\det A(x)+A_{11}(x)\bigg(\frac{A^{\prime}_{11}(x)}{A_{11}(x)}-\frac{A^{\prime}_{12}(x)}{A_{12}(x)}\bigg)+\frac{3}{4}\bigg(\frac{A^{\prime}_{12}(x)}{A_{12}(x)}\bigg)^{2}-\frac{A^{\prime\prime}_{12}(x)}{2A_{12}(x)}, and the condition \nabla_{\epsilon}\Psi=0 for a flat section becomes the second order ODE ( 49 ) after setting \Psi=(y(x),y^{\prime}(x))^{T} . A meromorphic Higgs field \Phi(x)dx on the Riemann sphere C=\mathbb{P}^{1} will have the general form (59) \Phi(x)=-\sum_{j=0}^{d_{\infty}-1}\Phi_{j+2}^{\infty}x^{j}+\sum_{k=1}^{n}\sum_{j=1}^{d_{k}+1}\frac{\Phi_{j}^{k}}{(x-x_{k})^{j}}. Let \pm y(x) be the eigenvalues of \Phi(x) , and \pm\lambda=\pm y(x)dx the eigenvalues of \Phi(x)dx . Away from the poles of \Phi(x) the spectral curve \Sigma is given by the condition \det(\Phi(x)dx-\lambda\,\mathrm{id})=0 , i.e (60) y^{2}=Q_{0}(x),\qquad Q_{0}(x):=-\det\Phi(x)=\frac{1}{2}\operatorname{tr}\Phi(x)^{2}. On the space of Higgs fields, there is a natural R-matrix Lie-Poisson bracket, given by the split rational classical R-matrix [ 53 , 54 ] (see [ 6 ] for more details in this context). The so-called algebro-geometric Darboux coordinates (q_{i},p_{i}) , where i=1,\dots,g(\Sigma) , provide a convenient system of coordinates to explicitly parametrise Higgs fields. For our current \mathfrak{sl}_{2} case, these are defined by (61) \Phi_{12}(q_{i})=0,\qquad\Phi_{11}(q_{i})=p_{i}. We see from ( 60 ) that (q_{i},p_{i}) are points on the spectral curve \Sigma , namely (62) p_{i}^{2}=Q_{0}(q_{i}). We introduce a reference connection through additional parameters r_{i} , obtained by shifting p_{i}\mapsto p_{i}+\epsilon r_{i} in the Higgs field, analogously to the Painlevé I example in Section 2 . In this way, the inhomogeneous term g^{-1}dg in the gauge transformation ( 56 ) leads to a double pole of Q(x)dx^{\otimes 2} at the point x=q_{i} with residue -p_{i}-\epsilon r_{i} , and the algebro-geometric Darboux coordinates coincide with the variables q_{i},\,p_{i} of Section 4.2 . If we have local monodromy exponents \mu_{k} , defined by (63) \mu_{k}:=\operatorname{Res}_{x=x_{k}}y(x)dx, we will also include in the reference connection parameters s_{k} defined by shifts \mu_{k}\mapsto\mu_{k}+\left(s_{k}+\frac{1}{2}\right) . This shifting procedure gives a particular choice of reference connection A_{0} , and immediately gives trivial isomonodromic flows of the form (64) \widetilde{w}_{i}=\frac{\partial}{\partial p_{i}}-\frac{1}{\epsilon}\frac{\partial}{\partial r_{i}}. To have a complete set of coordinates, we also need to include a complete set of spectral invariants for the Higgs field \Phi . This problem was solved in [ 6 ] for a general nonresonant system, meaning that the matrix describing the leading behaviour of the Higgs field at a pole is diagonalizable with distinct eigenvalues. This nonresonancy condition is generic but is not satisfied in the examples corresponding to Painlevé I and III 3 , so that in Section 6 we will use a slightly different set of coordinates. We will denote the spectral invariants as t_{j,k} and H_{j,k} , with the t_{j,k} being Casimir elements, with k=1,\dots,n indexing the poles x_{k} , and j=1,\dots d_{k} . The spectral invariants are given by (65) t_{j,k}:=-\operatorname{Res}(x-x_{k})^{j}y(x)dx,\quad H_{j,k}:=-\operatorname{Res}_{x=x_{k}}\frac{y(x)dx}{j(x-x_{k})^{j}}, (66) t_{0,k}:=x_{k},\qquad H_{0,k}:=\frac{1}{2}\operatorname{Res}_{x=x_{k}}\operatorname{tr}\Phi(x)^{2}dx. For the case of a singular point that has been fixed at infinity, (67) t_{j,\infty}:=-\operatorname{Res}x^{-j}y(x)dx,\qquad H_{j,\infty}:=-\frac{1}{j}\operatorname{Res}_{x=\infty}x^{j}y(x)dx. In the usual setting of isomonodromic deformations without a reference connection, t_{j,k} are isomonodromic times, whose flows are generated by the Hamiltonians H_{j,k} through the R-matrix Poisson bracket. In our present context, these are all isomonodromic times: choosing as coordinates the r ’s, q ’s, H ’s and t ’s, and regarding p_{i} as functions of the other variables through ( 62 ), the flows \widetilde{w}_{i} can be written as (68) \widetilde{w}_{i}=\sum_{k=1}^{n}\sum_{j=1}^{d_{k}}\frac{\partial H_{j,k}}{\partial p_{i}}\bigg|_{q_{i}}\,\frac{\partial}{\partial H_{j,k}}-\frac{1}{\epsilon}\frac{\partial}{\partial r_{i}}, where the subscript denotes partial derivatives with the variables q_{i} fixed. By rescaling and taking linear combinations of the \widetilde{w}_{i} ’s, the flows can be brought to the form w_{j,k}=\frac{\partial}{\partial H_{j,k}}+\dots . The other isomonodromic deformation equations can be obtained from the compatibility of the linear systems (69) \begin{cases}\partial_{x}\Psi(x)=A(x)\Psi(x),\\ \partial_{t_{j,k}}\Psi(x)=B_{j,k}(x)\Psi(x),\qquad j=1,\dots,d_{k},\,k=1,\dots,n,\end{cases} and are given by (70) \partial_{t_{l,k}}A-\partial_{x}B_{l,k}+[A,B_{l,k}]=0,\qquad\partial_{t_{l,k}}B_{j,l}-\partial_{t_{j,k}}B_{l,k}+[B_{j,l},B_{l,k}]=0, with the matrices B_{j,k} themselves being fixed by the consistency conditions. In fact, the isomonodromic equations can be obtained in a uniform manner as the compatibility of the system (71) \begin{cases}\partial_{x}\Psi(x)=A(x)\Psi(x),\\ \partial_{t_{j,k}}\Psi(x)=B_{j,k}(x)\Psi(x),&j=1,\dots,d_{k},\,k=1,\dots,n,\\ \partial_{r_{i}}\Psi(x)=0,&i=1,\dots,g(\Sigma).\end{cases} 6. First example: Painlevé III 3 In this section we will study in detail the Joyce structure of class S[A_{1}] labelled by the genus g=0 and pole orders m=(3,3) . This is the Joyce structure associated to the DT theory of the Krönecker 2-quiver. The base parameterises quadratic differentials on \mathbb{P}^{1} with 2 poles of order 3, and simple zeros. The corresponding Painlevé equation is the III (D 8 ) equation, also known as Painlevé III 3 , associated to perhaps the most famous class S theory: pure SU(2) super Yang-Mills, the original setting of Seiberg-Witten theory [ 55 , 10 ] . 6.1. Higgs field and quadratic differential Take q,t\in\mathbb{C}^{*} and p\in\mathbb{C} and consider the meromorphic Higgs field \Phi=\Phi(x)\,dx on the trivial rank 2 vector bundle over \mathbb{P}^{1} defined by (72) \Phi(x)=\frac{1}{x^{2}}\left(\begin{array}[]{cc}0&-q\\ 0&0\end{array}\right)+\frac{1}{x}\left(\begin{array}[]{cc}pq&1\\ -q^{-1}&-pq\end{array}\right)+\left(\begin{array}[]{cc}0&0\\ t&0\end{array}\right). Note that \Phi has double poles at x=0 and x=\infty with nilpotent leading order behaviour. Thus x=0 and x=\infty are irregular singularities of the connection d-\Phi of Poincaré rank \frac{1}{2} . Then matrix \Phi(x) is a Lax matrix for the Painlevé III 3 equation (see for example [ 38 , Section 2] ) (73) \frac{d^{2}q}{dt^{2}}=\frac{1}{q}\left(\frac{dq}{dt}\right)^{2}-\frac{1}{t}\frac{dq}{dt}+\frac{2q^{2}}{t}-\frac{2}{t^{2}}, in the sense that ( 73 ) describes isomonodromic deformation of the connection d-\Phi . A slight complication in this case is that the poles are branch points of the spectral curve, so that one would need to modify the connection along the lines of [ 38 , Section 2.1] in order for equations ( 65 ) to hold. We will circumvent this issue by introducing the parameter H simply as (74) H=\operatorname{Res}_{x=0}\left(\frac{x}{2}\operatorname{tr}\Phi(x)^{2}\,dx\right)=p^{2}q^{2}-tq-q^{-1}. Since t\in\mathbb{C}^{*} , the spectral invariant (75) \frac{1}{2}\operatorname{tr}(\Phi^{2})=Q_{0}(x)\,dx^{\otimes 2}=\frac{1}{x^{2}}\left(tx+H+x^{-1}\right)dx^{\otimes 2} is a meromorphic quadratic differential on \mathbb{P}^{1} with poles of order 3 at the points x=0 and x=\infty . Conversely any quadratic differential on \mathbb{P}^{1} with 2 poles of order 3 and no other poles can be put in the form ( 75 ) by applying an automorphism of \mathbb{P}^{1} . The base M of our Joyce structure will parameterise differentials of the form ( 75 ) which have simple zeros. Thus (76) M=\big\{(t,H)\in\mathbb{C}^{2}:t(H^{2}-4t)\neq 0\big\}. One exceptional feature in this example is that every differential of the form ( 75 ) is preserved by a unique non-trivial automorphism of \mathbb{P}^{1} , namely x\mapsto(tx)^{-1} . In more abstract language, the stack \operatorname{Quad}(g,m) of quadratic differentials has generic stabilizer \mathbb{Z}_{2} in this example [ 18 , Section 2.7] . We will construct a Joyce structure on M by considering isomonodromic flows for meromorphic connections of the form (77) \nabla_{\epsilon}=d-A_{\epsilon}(x)dx,\qquad A_{\epsilon}(x)=A_{\infty}(x)+\frac{1}{\epsilon}\,\Phi(x), where A_{\epsilon}(x) is obtained from \Phi(x) by the shift p\mapsto p+\epsilon rq^{-1} . Explicitly (78) \nabla_{\epsilon}=d-\left(\begin{array}[]{cc}r&0\\ 0&-r\end{array}\right)\frac{dx}{x}-\frac{1}{\epsilon}\left(\begin{array}[]{cc}pq&1-qx^{-1}\\ tx-q^{-1}&-pq\end{array}\right)\frac{dx}{x}. We view this connection as being parameterised by \epsilon\in\mathbb{C}^{*} together with the variables (t,H,q,r) , with p defined implicitly by ( 74 ). 6.2. Extended isomonodromic flows Let us fix \epsilon\in\mathbb{C}^{*} . If we move the point (t,H)\in M we can vary q=q(t,H) and r=r(t,H) in such a way that the generalised monodromy of the connection ( 78 ) is constant. The following result gives an explicit basis for the resulting two-dimensional space of isomonodromic flows. Proposition 6.1 . The generalised monodromy of ( 78 ) is preserved by the vector fields (79) w_{1}=t\frac{\partial}{\partial t}+\frac{2pq^{2}}{\epsilon}\frac{\partial}{\partial q}+2qr\frac{\partial}{\partial q}-\frac{1}{2\epsilon pq^{2}}(2rq^{2}t-2r+q^{2}t)\frac{\partial}{\partial r}, (80) w_{2}=\frac{\partial}{\partial H}-\frac{1}{2\epsilon pq}\frac{\partial}{\partial r}. Proof. Let us first consider the connection d-A_{\epsilon}(x)dx as being a function of the variables (t,q,p,r) , with H determined by ( 74 ). We can describe isomonodromic deformations of this connection with parameter t as the compatibility conditions of the linear systems (81) \partial_{x}Y(x)=A_{\epsilon}(x)Y(x),\qquad\partial_{t}Y(x)=B_{\epsilon}(x)Y(x). The consistency condition (82) \partial_{t}A_{\epsilon}(x)-\partial_{x}B_{\epsilon}(x)+[A_{\epsilon}(x),B_{\epsilon}(x)]=0 requires that we take (83) B_{\epsilon}(x)=\frac{1}{\epsilon t}\left(\begin{array}[]{cc}pq+\epsilon r&1\\ 0&-pq-\epsilon r\end{array}\right)+\frac{x}{\epsilon}\left(\begin{array}[]{cc}0&0\\ 1&0\end{array}\right), and gives the equations (84) t\frac{dq}{dt}=\frac{2pq^{2}}{\epsilon}+2qr,\qquad t\frac{d}{dt}(pq+\epsilon r)=\frac{1}{\epsilon}\left(qt-q^{-1}\right). Differentiating ( 74 ) then gives (85) \frac{dH}{dt}=\frac{2r-q^{2}t(2r+1)}{tq}-2pq\epsilon\,\frac{dr}{dt}. The equations ( 84 ) do not uniquely determine an isomonodromic flow because everything depends only on the combination pq+\epsilon r , meaning that both \partial_{x}-A_{\epsilon}(x) and \partial_{t}-B_{\epsilon}(x) , and in particular the monodromy of \nabla_{\epsilon} , are constant along the vector field (86) \widetilde{w_{2}}=\frac{\partial}{\partial r}-\frac{\epsilon}{q}\frac{\partial}{\partial p} To fix this ambiguity we impose that \frac{dH}{dt}=0 by adding a multiple of the vector field \tilde{w}_{2} . We now rewrite the flows in the variables (t,H,q,r) , with p determined by ( 74 ). The first flow becomes (87) t\frac{dq}{dt}=\frac{2pq^{2}}{\epsilon}+2qr,\qquad t\frac{dr}{dt}=\frac{2r-q^{2}t(2r+1)}{2pq^{2}\epsilon}, which is generated by the vector field w_{1} . Moreover ( 86 ) becomes (88) \widetilde{w_{2}}=\frac{\partial}{\partial r}-2\epsilon pq\frac{\partial}{\partial H}, which is equivalent to w_{2} by a simple rescaling. ∎ Remark 6.2 . The combination w_{1}-qtw_{2} gives the flow (89) t\frac{dq}{dt}=\frac{2pq^{2}}{\epsilon}+2qr,\qquad t\frac{dp}{dt}=-\frac{2p^{2}q-t+q^{-2}}{\epsilon}+\frac{r\left(-4p^{2}q^{3}+2q^{2}t-2\right)}{2pq^{3}},\qquad t\frac{dH}{dt}=-tq. When r=0 this reproduces the usual Painlevé flow defined by the Hamiltonian H and the symplectic form tdq\wedge dp . In contrast to what happens in the usual treatment of Painlevé equations, however, in the presence of a reference connection the flow in t can be normalised so that H is conserved. However, since q is unaffected by the flow w_{2} , irrespective of how we normalise the flow, the second order isomonodromy equation for q is still the ( \epsilon -deformed) Painlevé III 3 equation (90) \frac{d^{2}q}{dt^{2}}=\frac{1}{q}\left(\frac{dq}{dt}\right)^{2}-\frac{1}{t}\frac{dq}{dt}+\frac{1}{\epsilon^{2}}\left(\frac{2q^{2}}{t}-\frac{2}{t^{2}}\right) This phenomenon was observed in the Painlevé I example in [ 31 , Section 6.1] . 6.3. Spectral curve and its homology Let us fix a point (t,H)\in M . The spectral curve \Sigma is a smooth curve of genus one which is a double cover p\colon\Sigma\to\mathbb{P}^{1} branched over 4 points of \mathbb{P}^{1} . We denote by \sigma\colon\Sigma\to\Sigma the covering involution. The branch points of p include the points 0,\infty\in\mathbb{P}^{1} , and we will also write 0,\infty\in\Sigma for the unique points of \Sigma lying over them. The open subset \Sigma^{0}\subset\Sigma is the complement \Sigma^{0}=\Sigma\setminus\{0,\infty\} . This subset can be identified with the set of points (x,y)\in\mathbb{C}^{*}\times\mathbb{C} satisfying (91) y^{2}=Q_{0}(x)=\frac{t}{x}+\frac{H}{x^{2}}+\frac{1}{x^{3}}. The projection is then p(x,y)=x and the covering involution is \sigma(x,y)=(x,-y) . Lemma 6.3 . The inclusion i\colon\Sigma^{0}\hookrightarrow\Sigma induces an embedding of anti-invariant homology groups (92) i_{*}\colon H_{1}(\Sigma^{0},\mathbb{Z})^{-}\hookrightarrow H_{1}(\Sigma,\mathbb{Z})^{-}=H_{1}(\Sigma,\mathbb{Z}) whose image has index 2. Proof. By uniformisation we can identify \Sigma with the quotient of \mathbb{C} by a lattice generated by \omega_{1},\omega_{2}\in\mathbb{C}^{*} with \operatorname{Im}(\omega_{2}/\omega_{1})>0 . We can assume that 0\in\mathbb{C} corresponds to 0\in\Sigma , and that the involution \sigma is induced by z\mapsto-z on \mathbb{C} . Then \infty\in\Sigma will correspond to some half-period, without loss of generality \tfrac{1}{2}(\omega_{1}+\omega_{2}) . The homology group H_{1}(\Sigma,\mathbb{Z}) has a basis consisting of cycles \alpha_{1},\alpha_{2} which we can represent by the images of the closed intervals [0,\omega_{i}]\subset\mathbb{C} . It is then obvious that \sigma^{*}(\alpha_{i})=-\alpha_{i} and hence that H_{1}(\Sigma,\mathbb{Z})^{-}=H_{1}(\Sigma,\mathbb{Z}) . The inclusion i\colon\Sigma^{0}\hookrightarrow\Sigma induces a surjection i_{*}\colon H_{1}(\Sigma^{0},\mathbb{Z})\to H_{1}(\Sigma,\mathbb{Z}) whose kernel is freely generated by the class \delta defined by a small anti-clockwise loop around the point \tfrac{1}{2}(\omega_{1}+\omega_{2}) . Let us lift the cycles \alpha_{i}\in H_{1}(\Sigma,\mathbb{Z}) to elements \tilde{\alpha}_{i}\in H_{1}(\Sigma^{0},\mathbb{Z}) . Since the \alpha_{i} pass through 0\in\mathbb{C} this requires us to first perturb them in some way. There is no canonical way to do this but we can take for example \tilde{\alpha}_{1}=\tfrac{1}{4}\omega_{2}+[0,\omega_{1}] and \tilde{\alpha}_{2}=\tfrac{1}{4}\omega_{1}+[0,\omega_{2}] . The group H_{1}(\Sigma^{0},\mathbb{Z}) then has a basis consisting of \tilde{\alpha}_{1},\tilde{\alpha}_{2} and \delta . It is easy to see that \sigma^{*}(\tilde{\alpha}_{1})+\tilde{\alpha}_{1}=\delta and \sigma^{*}(\tilde{\alpha}_{2})+\tilde{\alpha}_{2}=-\delta . Also \sigma^{*}(\delta)=\delta . Thus the anti-invariant subgroup H_{1}(\Sigma^{0},\mathbb{Z})^{-}\subset H_{1}(\Sigma^{0},\mathbb{Z}) is spanned by \tilde{\alpha}_{1}+\tilde{\alpha}_{2} and \tilde{\alpha}_{1}-\tilde{\alpha}_{2}-\delta . It follows that the map ( 92 ) is injective, and its image is the index 2 subgroup spanned by \alpha_{1}+\alpha_{2} and \alpha_{1}-\alpha_{2} . ∎ In what follows we will fix a basis (\gamma_{1},\gamma_{2}) for the group H_{1}(\Sigma^{0},\mathbb{Z})^{-} . The intersection form on H_{1}(\Sigma,\mathbb{Z}) pulls back along i_{*} to give a skew-symmetric pairing on H_{1}(\Sigma^{0},\mathbb{Z})^{-} . Since the image of i_{*} has index 2 we can order our basis so that \langle\gamma_{1},\gamma_{2}\rangle=2 . 6.4. Forms and periods By the gauge transformation ( 56 ) we can rewrite ( 78 ) as a scalar equation of the form ( 49 ). In this case we have Q_{0}(x) as in ( 75 ) above, and (93) Q_{1}(x)=-\frac{pq^{2}}{x^{2}(x-q)}+\frac{2pqr}{x^{2}},\qquad Q_{2}(x)=\frac{3}{4(x-q)^{2}}-\frac{x+rq}{x^{2}(x-q)}+\frac{r^{2}}{x^{2}}. As in Section 4 we introduce meromorphic differentials on \Sigma by the expressions (94) \lambda=y\,dx,\qquad\theta=-\frac{Q_{1}(x)\,dx}{2\sqrt{Q_{0}(x)}}. The Seiberg-Witten differential \lambda has double poles at the points 0,\infty\in\Sigma , and no other poles. The differential \theta has simple poles at the points (q,\pm p) with residues \pm\tfrac{1}{2} respectively, and no other poles. We introduce the periods (95) z_{i}=\oint_{\gamma_{i}}\lambda,\qquad\theta_{i}=\oint_{\gamma_{i}}\theta. Note that the expressions \theta_{i} are only well-defined up to the addition of integer multiples of 2\pi i . To specify them we must lift the cycles \gamma_{i} to the complement \Sigma^{*}=\Sigma^{0}\setminus\{(q,\pm p)\} . We can always do this so that the resulting elements \gamma^{*}_{i}\in H_{1}(\Sigma^{*},\mathbb{Z}) are anti-invariant. Since \theta has residues \pm\tfrac{1}{2} at the points (q,\pm p) , taking different lifts changes the result by a multiple of 2\pi i . Let us set s=\log(t) and take (s,H) as local co-ordinates on the base M . There are corresponding linear coordinates (\theta_{s},\,\theta_{H}) on the fibres of the projection \pi\colon X=T_{M}\to M defined by the relation (96) \theta_{s}\,\frac{\partial}{\partial s}+\theta_{H}\,\frac{\partial}{\partial H}=\theta_{1}\,\frac{\partial}{\partial z_{1}}+\theta_{2}\,\frac{\partial}{\partial z_{2}}. Introduce the differentials (97) \omega=\frac{\partial\lambda}{\partial H}=\frac{dx}{2x^{2}y},\qquad\beta=\frac{\partial\lambda}{\partial s}=\frac{t\,dx}{2xy}. Then \omega is a holomorphic differential on \Sigma , and \beta has a pole of order 2 with vanishing residue at the branch-point x=\infty and no other poles. We denote the corresponding periods by \omega_{i} and \beta_{i} respectively. There is an obvious relation (98) dz_{i}=\frac{\partial z_{i}}{\partial s}\,ds+\frac{\partial z_{i}}{\partial H}\,dH=\beta_{i}\,ds+\omega_{i}\,dH, and using ( 96 ) we get (99) \theta_{i}=\beta_{i}\theta_{s}+\omega_{i}\theta_{H}. 6.5. Computation of periods In this section we use the Riemann bilinear relations to give explicit expressions for \theta_{s} and \theta_{H} . Lemma 6.4 . There are formulae (100) \theta_{s}=\frac{1}{2}\int_{(q,-p)}^{(q,p)}\frac{dx}{2x^{2}y},\qquad\theta_{H}=-\frac{1}{2}\int_{(q,-p)}^{(q,p)}\frac{t\,dx}{2xy}-2pqr. Proof. Note that y=\sqrt{Q_{0}(x)} is a uniformising parameter at the point \infty\in\Sigma . We denote by x^{1/2} the choice of square-root near this point for which y\simeq t^{1/2}x^{-1/2} . The differentials introduced above have leading order behaviour (101) \omega=\frac{dx}{2t^{1/2}x^{3/2}}+O\left(\frac{dx}{x^{5/2}}\right),\qquad\beta=\frac{t^{1/2}dx}{2x^{1/2}}+O\left(\frac{dx}{x^{3/2}}\right), (102) \qquad\theta=-\frac{pqr\,dx}{t^{1/2}x^{3/2}}+O\left(\frac{dx}{x^{5/2}}\right). The Riemann bilinear relations for meromorphic differentials (see Proposition 3.4.1 in [ 7 ] , a direct consequence e.g. of equations 3.0.1 and 3.0.2 in [ 33 ] ) give (103) \omega_{1}\beta_{2}-\omega_{2}\beta_{1}=2\pi i\cdot\langle\gamma_{1},\gamma_{2}\rangle\cdot\operatorname{Res}_{x=\infty}\left(\beta\int^{x}\omega\right). Note that although this formula is usually given in the case that the cycles \gamma_{1},\gamma_{2}\in H_{1}(\Sigma,\mathbb{Z}) satisfy \langle\gamma_{1},\gamma_{2}\rangle=1 , the case of an arbitrary pair of linearly independent cycles follows immediately from this. Note also that the form dx/x has residue -2 at the point \infty\in\Sigma . Using \langle\gamma_{1},\gamma_{2}\rangle=2 and the expressions ( 101 ) we then get (104) \langle\omega,\beta\rangle:=\omega_{1}\beta_{2}-\omega_{2}\beta_{1}=4\pi i. We can write similar expressions (105) \langle\omega,\theta\rangle:=\omega_{1}\theta_{2}-\omega_{2}\theta_{1}=4\pi i\sum_{x_{i}\in\{(q,\pm p)\}}\operatorname{Res}_{x=x_{i}}\left(\theta\int^{x}\omega\right)=2\pi i\int_{(q,-p)}^{(q,p)}\omega, (106) \langle\beta,\theta\rangle:=\beta_{1}\theta_{2}-\beta_{2}\theta_{1}=4\pi i\sum_{x_{i}\in\{(q,\pm p),\infty\}}\operatorname{Res}_{x=x_{i}}\left(\theta\int^{x}\beta\right)=2\pi i\int_{(q,-p)}^{(q,p)}\beta+8\pi ipqr. Using ( 99 ) we then have (107) 2\pi i\int_{(q,-p)}^{(q,p)}\omega=\langle\omega,\theta\rangle=\theta_{s}\langle\omega,\beta\rangle=4\pi i\theta_{s}, (108) 2\pi i\int_{(q,-p)}^{(q,p)}\beta+8\pi ipqr=\langle\beta,\theta\rangle=\theta_{H}\langle\beta,\omega\rangle=-4\pi i\theta_{H}, and comparing with ( 97 ) gives the result. ∎ Remark 6.5 . Since the \theta_{i} are only well-defined up to the addition of integer multiples of 2\pi i , it follows from ( 99 ) and ( 104 ) that the pair (\theta_{s},\theta_{H}) is only well-defined up to the addition of integer combinations of the vectors (\omega_{i},-\beta_{i}) . This matches the indeterminacy in the choice of path in the formulae ( 100 ) which should be taken to be anti-invariant under the covering involution \sigma . Recall from ( 45 ) that the Poisson structure on M is defined by the condition (109) \{z_{1},z_{2}\}=2\pi i\,\langle\gamma_{1},\gamma_{2}\rangle=4\pi i. Inverting this gives the symplectic form (110) \Omega_{0}=-\frac{1}{4\pi i}\cdot dz_{1}\wedge dz_{2}=\frac{1}{4\pi i}(\omega_{1}\beta_{2}-\omega_{2}\beta_{1})\cdot ds\wedge dH=ds\wedge dH, where we used ( 98 ) and ( 104 ). 6.6. Abelian holonomy map Denote by \Xi the change of coordinates (s,H,q,r)\mapsto(s,H,\theta_{s},\theta_{H}) . Applying the chain rule to Lemma 6.4 gives (111) \Xi_{*}\left(\frac{\partial}{\partial s}\right)=\frac{\partial}{\partial s}-t\kappa_{3}\frac{\partial}{\partial\theta_{s}}+\left(-\frac{t}{4}\int_{(q,-p)}^{(q,p)}\frac{dx}{xy}+t^{2}\kappa_{2}-\frac{rt}{p}\right)\frac{\partial}{\partial\theta_{H}}, (112) \Xi_{*}\Big(\frac{\partial}{\partial H}\Big)=\frac{\partial}{\partial H}-\kappa_{4}\frac{\partial}{\partial\theta_{s}}+\Big(t\kappa_{3}-\frac{r}{qp}\Big)\frac{\partial}{\partial\theta_{H}}, (113) \Xi_{*}\Big(\frac{\partial}{\partial q}\Big)=\frac{1}{2q^{2}p}\frac{\partial}{\partial\theta_{s}}+\frac{2r-2trq^{2}-tq^{2}}{2pq^{3}}\frac{\partial}{\partial\theta_{H}},\qquad\Xi_{*}\Big(\frac{\partial}{\partial r}\Big)=-2qp\frac{\partial}{\partial\theta_{H}}, where we introduced (114) \kappa_{i}:=\frac{1}{8}\int_{(q,-p)}^{(q,p)}\frac{dx}{x^{i}y^{3}},\qquad i=2,3,4. Inverting the relations ( 112 ) and ( 113 ) gives (115) \Xi_{*}^{-1}\Big(\frac{\partial}{\partial\theta_{s}}\Big)={2q^{2}p}\frac{\partial}{\partial q}+\frac{2r-2trq^{2}-tq^{2}}{2pq^{2}}\frac{\partial}{\partial r},\qquad\Xi_{*}^{-1}\Big(\frac{\partial}{\partial\theta_{H}}\Big)=-\frac{1}{2qp}\frac{\partial}{\partial r}. Fix a point (t,H)\in M and a basis (\gamma_{1},\gamma_{2})\in H^{1}(\Sigma^{0},\mathbb{Z})^{-} as above. Lemma 6.6 . The map (116) \big\{(q,p)\in(\mathbb{C}^{*})^{2}:p^{2}=Q_{0}(q)\big\}\times\big\{r\in\mathbb{C}\big\}\to\big\{(e^{\theta_{1}},e^{\theta_{2}})\big\}\in(\mathbb{C}^{*})^{2} defined by the equations ( 93 ), ( 94 ) and ( 95 ) is an unramified double cover. Proof. The degree 0 divisor (q,p)-\infty on \Sigma defines a line bundle whose local sections are meromorphic functions on \Sigma with a zero at (q,p) and at worst a simple pole at \infty . Consider the form (117) \theta^{\prime}=\theta+\frac{dx}{2(x-q)} on \Sigma . It has a simple pole at (q,p) with residue +1 , a simple pole at \infty with residue -1 , and no other poles. It follows that \partial=d-\theta^{\prime} defines a holomorphic connection on L . Since \theta^{\prime}-\theta is pulled back from \mathbb{P}^{1} , the form \theta^{\prime} has the same periods as \theta . Thus the monodromy of the connection (L,\partial) around the cycle \gamma_{i}\in H_{1}(\Sigma^{0},\mathbb{Z})^{-} is given by multiplication by \exp(\theta_{i})\in\mathbb{C}^{*} . Suppose there are three points (q_{i},p_{i},r_{i}) with i=1,2,3 in the source of ( 116 ) which are mapped to the same point. Since the cycles \gamma_{1},\gamma_{2} span an index 2 subgroup of H_{1}(\Sigma,\mathbb{Z}) , at least two of the points (without loss of generality corresponding to i=1,2 ) must correspond to line bundles with connection (L_{i},\partial_{i}) which have identical monodromy around all cycles in H_{1}(\Sigma,\mathbb{Z}) . The abelian Riemann-Hilbert correspondence tells us that such line bundles with connection (L_{i},\nabla_{i}) are isomorphic. But it is a well-known fact (easily proved using the Riemann-Roch theorem) that the line bundles L_{i} defined by different points (q_{i},p_{i})\in\Sigma are all non-isomorphic. So we conclude that (q_{1},p_{1})=(q_{2},p_{2}) . But the formulae ( 99 ) - ( 100 ) then imply that also r_{1}=r_{2} . Indeed \omega_{1},\omega_{2}\in\mathbb{C}^{*} do not lie on the same ray, so changing r cannot move both \theta_{i} by an imaginary number. The derivative of the map ( 116 ) is computed by ( 111 ) and ( 112 ) together with ( 99 ) and is everywhere invertible. Thus ( 116 ) is a finite unramified cover of degree at most 2. Now it is easy to check that our map is invariant under the involution (118) (q,p,r)\mapsto\left((qt)^{-1},-tpq^{2},-(r+\tfrac{1}{2})\right), and this involution is moreover fixed-point free. Therefore the map is a double cover.∎ 6.7. Isomonodromic flows in new coordinates We now write the isomonodromic flows in coordinates (s,H,\theta_{s},\theta_{H}) . Proposition 6.7 . The push-forward of the isomonodromic flows along \Xi can be written in the form (119) \Xi_{*}(w_{1})=\frac{\partial}{\partial s}+\frac{1}{\epsilon}\frac{\partial}{\partial\theta_{s}}+\frac{\partial^{2}K}{\partial\theta_{s}\partial\theta_{H}}\frac{\partial}{\partial\theta_{s}}-\frac{\partial^{2}K}{\partial\theta_{s}^{2}}\frac{\partial}{\partial\theta_{H}}, (120) \Xi_{*}(w_{2})=\frac{\partial}{\partial H}+\frac{1}{\epsilon}\frac{\partial}{\partial\theta_{H}}+\frac{\partial^{2}K}{\partial\theta_{H}^{2}}\frac{\partial}{\partial\theta_{s}}-\frac{\partial^{2}K}{\partial\theta_{s}\partial\theta_{H}}\frac{\partial}{\partial\theta_{H}}, where K\colon X^{\#}\to\mathbb{C} is a single locally-defined function. Proof. The formulae ( 79 ) - ( 80 ) for the isomonodromic flows and the relations ( 111 ) - ( 113 ) give (121) \displaystyle\Xi_{*}(w_{1})=\frac{\partial}{\partial s}+\frac{1}{\epsilon}\frac{\partial}{\partial\theta_{s}}+b\frac{\partial}{\partial\theta_{s}}-a\frac{\partial}{\partial\theta_{H}}, (122) \displaystyle\Xi_{*}(w_{2})=\frac{\partial}{\partial H}+\frac{1}{\epsilon}\frac{\partial}{\partial\theta_{H}}+c\frac{\partial}{\partial\theta_{s}}-b\frac{\partial}{\partial\theta_{H}}, where we introduced (123) a=\frac{t}{4}\int_{(q,-p)}^{(q,p)}\frac{dx}{xy}-t^{2}\kappa_{2}+\frac{2rt}{p}+\frac{2r^{2}(tq^{2}-1)}{pq^{2}},\qquad b=\frac{r}{qp}-t\kappa_{3},\qquad c=-\kappa_{4}. Using ( 115 ) we find that (124) \frac{\partial b}{\partial\theta_{s}}=\frac{\partial a}{\partial\theta_{H}},\qquad\frac{\partial c}{\partial\theta_{s}}=\frac{\partial b}{\partial\theta_{H}}. This implies the existence of a single locally-defined function K such that (125) \frac{\partial^{2}K}{\partial\theta_{s}^{2}}=a,\qquad\frac{\partial^{2}K}{\partial\theta_{s}\partial\theta_{H}}=b,\qquad\frac{\partial^{2}K}{\partial\theta_{H}^{2}}=c, and the result follows. ∎ Applying the operators ( 115 ) to the expressions ( 123 ) gives (126) \frac{\partial^{3}K}{\partial\theta_{s}^{3}}=-\frac{3t^{2}}{2p^{2}}+qt+\frac{2rt}{p^{2}q^{2}}\left(3-3tq^{2}+2p^{2}q^{3}\right)+\frac{2r^{2}}{p^{2}q^{4}}\left(-1+2Hq+10tq^{2}+2Htq^{3}-t^{2}q^{4}\right), (127) \frac{\partial^{3}K}{\partial\theta_{s}^{2}\partial\theta_{H}}=-\frac{t}{p^{2}q}+\frac{2r}{p^{2}q^{3}}\left(1-tq^{2}\right),\qquad\frac{\partial^{3}K}{\partial\theta_{s}\partial\theta_{H}^{2}}=-\frac{1}{2q^{2}p^{2}},\qquad\frac{\partial^{3}K}{\partial\theta_{H}^{3}}=0. 6.8. Plebański function While K is the generating function for the flows \Xi_{*}(w_{i}) , it is not a simple function of our original variables (p,q,t,r) . In fact, integrating the above equations it is easy to see that K will be expressed in terms of complicated combinations of elliptic functions. Theorem 6.8 . In the co-ordinates (z_{1},z_{2},\theta_{1},\theta_{2}) the isomonodromy flows take the form (128) \frac{\partial}{\partial z_{i}}+\frac{1}{\epsilon}\cdot\frac{\partial}{\partial\theta_{i}}+4\pi i\cdot\frac{\partial^{2}W}{\partial\theta_{i}\partial\theta_{1}}\cdot\frac{\partial}{\partial\theta_{2}}-4\pi i\cdot\frac{\partial^{2}W}{\partial\theta_{i}\partial\theta_{2}}\cdot\frac{\partial}{\partial\theta_{1}}, where the Plebański function W is given by (129) W=\frac{pq}{6(H^{2}-4t)}\big(tq+(H+6tq)r+(6H+12tq)r^{2}+8p^{2}q^{2}r^{3}\big). Proof. Let us temporarily introduce variables u_{1}=H\cdot\sqrt{4\pi i} and u_{2}=s\cdot\sqrt{4\pi i} . We also set \phi_{1}=\theta_{H}\cdot\sqrt{4\pi i} and \phi_{2}=\theta_{s}\cdot\sqrt{4\pi i} . Then by ( 110 ), the change of variables (z_{1},z_{2})\mapsto(u_{1},u_{2}) is symplectic. Dividing ( 119 ) - ( 120 ) by \sqrt{4\pi i} and making the trivial change from (s,H)\mapsto(u_{1},u_{2}) shows that the isomonodromy flows are spanned by the vector fields (130) \frac{\partial}{\partial u_{i}}+\frac{1}{\epsilon}\cdot\frac{\partial}{\partial\phi_{i}}+4\pi i\cdot\frac{\partial^{2}K}{\partial\phi_{i}\partial\phi_{1}}\cdot\frac{\partial}{\partial\phi_{2}}-4\pi i\cdot\frac{\partial^{2}K}{\partial\phi_{i}\partial\phi_{2}}\cdot\frac{\partial}{\partial\phi_{1}}. Applying [ 17 , Prop. 4.2] to the variable change (z_{1},z_{2})\mapsto(u_{1},u_{2}) then gives the flows in the form ( 128 ). Note that the resulting function W is only well-defined up to the addition of linear functions in the \theta variables. According to [ 17 , Prop. 4.2] the functions K and W differ by a cubic function of the \theta variables. In particular, the fourth derivatives of K and W in the \theta variables necessarily coincide. Now, the fourth derivatives of K can be computed by applying the operators ( 115 ) to ( 126 ) - ( 127 ), and it is then possible to check that these coincide with the fourth derivatives of the expression \tilde{W} on the right-hand side of ( 129 ). Thus \tilde{W} can differ from W by at most quartic functions of the \theta variables. But the second derivatives of W in the \theta variables are necessarily periodic in \theta . Since \tilde{W} is also periodic in \theta it must coincide with W up to the addition of linear functions in the \theta variables, which is the required statement, since W was only well-defined up to this indeterminacy. ∎ We can directly check the properties ( 18 ) - ( 20 ) of the Plebański function. From the change of variables between the co-ordinates (z_{1},z_{2},\theta_{1},\theta_{2}) and (t,H,q,r) , it is easy to see that there is an equality of vector fields on X^{\#} (131) E:=z_{1}\frac{\partial}{\partial z_{1}}+z_{2}\frac{\partial}{\partial z_{1}}=4\frac{\partial}{\partial s}+2H\frac{\partial}{\partial H}-2q\frac{\partial}{\partial q}. Thus ( 19 ) is the statement that W is homogeneous of weight -1 under rescaling (t,H,q,r) with weights (4,2,-2,0) . Note that by ( 74 ) this also involves rescaling the implicit variable p with weight 3 . Secondly, ( 100 ) shows that the map (q,p)\mapsto(q,-p) changes the sign of (\theta_{1},\theta_{2}) . Thus ( 18 ) corresponds to the fact that W is an odd function of the variable p . Finally W has the periodicity property ( 20 ) because by Lemma 6.6 it is a function of (z_{1},z_{2},e^{\theta_{1}},e^{\theta_{2}}) . 6.9. Plebański function near \theta=0 We would like to understand the behaviour of the potentials W and K near the zero section M\subset T_{M} defined by \theta_{t}=\theta_{H}=0 . This is not completely straightforward, because the potentials are expressed in the variables (t,H,q,r) rather than (t,H,\theta_{t},\theta_{H}) . To study this limit, we will first uniformise the spectral curve \Sigma defined by ( 91 ). Observe that if we introduce (132) X=tx+\tfrac{1}{3}H,\qquad Y=2tx^{2}y, then \Sigma is brought into the standard Weierstrass form (133) Y^{2}=4X^{3}-g_{2}X-g_{3},\qquad g_{2}=\frac{1}{3}\left(4H^{2}-12t\right),\qquad g_{3}=\frac{4H}{27}\left(9t-2H^{2}\right). It can then be uniformised by writing (134) X=\wp(u),\qquad Y=\wp^{\prime}(u), with \wp(u) the Weierstrass \wp -function. The differentials \omega,\,\beta are given by (135) \omega=\frac{dx}{2x^{2}y}=\frac{dX}{Y}=du,\qquad\beta=\frac{tdx}{2xy}=xt\omega=\frac{1}{3}\left(3\wp(u)-H\right)du. Denote by v\in\mathbb{C} a point corresponding to the point (q,p)\in\Sigma , so that (136) q=\frac{1}{3t}\left(3\wp(v)-H\right),\qquad p=\frac{9t\wp^{\prime}(v)}{2\left(3\wp(v)-H\right)^{2}}. Then we have (137) \theta_{s}=\frac{1}{2}\int_{(q,-p)}^{(q,p)}\omega=v,\qquad\theta_{H}=-\frac{1}{2}\int_{(q,-p)}^{(q,p)}\beta-2pqr=\zeta(v)+\frac{Hv}{3}-\frac{3r\wp^{\prime}(v)}{3\wp(v)-H}, where \zeta(v) denotes the Weierstrass \zeta -function. We recall from Section 3.2 that, assuming the Plebański function W is regular along the locus \theta_{s}=\theta_{H}=0 , there is a locally-defined function S=S(t,H) such that (138) W=\left(\frac{\partial S}{\partial t}\right)\theta_{t}+\left(\frac{\partial S}{\partial H}\right)\theta_{H}+O(\theta^{3}) for small \theta_{t} and \theta_{H} . Recall also the definition ( 23 ) of the linear Joyce connection \nabla^{J} . Theorem 6.9 . (i) The Plebański function W is regular on the locus \theta_{s}=\theta_{H}=0 . (ii) There is an identity (139) S=\log(H^{2}-4t)^{-\frac{1}{24}}. (iii) The co-ordinates (s,H) on M are flat for the linear Joyce connection. Proof. Let us introduce the function w=(1+2r)/v and use (v,w) as co-ordinates in place of (q,r) . For small v and w the equations ( 137 ) together with the Laurent expansions of the Weierstrass functions give (140) \theta_{s}=v,\qquad\theta_{H}=w+\frac{Hwv^{2}}{3}+O((v,w)^{3}). In particular, the locus v=w=0 coincides with \theta_{s}=\theta_{H}=0 . The equations ( 136 ) give (141) q=\frac{1}{tv^{2}}-\frac{H}{3t}+\frac{(H^{2}-3t)v^{2}}{15t}+O(v^{4}),\qquad pq=-\frac{1}{v}-\frac{Hv}{3}+O(v^{3}),\qquad r=-\frac{1}{2}+\frac{wv}{2}. We can now substitute these formulae into the explicit expression ( 129 ) to compute the leading behaviour of the Plebański function W . We find that (142) W=\frac{1}{12(H^{2}-4t)}\left(2tv-Hw\right)+O((v,w)^{3}) which implies (i) and (ii). For (iii) we substitute the formulae ( 141 ) into ( 126 ) - ( 127 ) and find that the third derivatives of K in the \theta directions vanish along \theta=0 . As explained in the proof of [ 17 , Theorem 4.5] this then implies that (s,H) are flat for the linear Joyce connection. ∎ 6.10. An alternative approach: poles of Painlevé III Our computation of the limit \theta\rightarrow 0 relied heavily on the explicit uniformisation of the spectral curve by elliptic functions. It amounted to approaching the \theta=0 locus along purely vertical directions with fixed t,H . We can instead approach this locus along the two isomonodromic directions spanned by w_{1} and w_{2} . Noting that v\rightarrow 0 amounts to a double pole of q , we can then identify the locus v=0 with a pole of the Painlevé equation ( 73 ). Let t_{0} be a position of such a pole. The isomonodromic system ( 87 ) implies the following behaviour: (143) q(t)=\frac{t_{0}\epsilon^{2}}{(t-t_{0})^{2}}+q_{0}+O(t-t_{0}),\qquad p(t)=-\frac{(t-t_{0})}{\epsilon}-\frac{(t-t_{0})^{2}}{2t_{0}\epsilon}+O((t-t_{0})^{2}), (144) r(t)=-\frac{1}{2}+\rho(t-t_{0})+O(t-t_{0})^{2},\qquad H(t)=p^{2}q^{2}-tq-q^{-1}=H_{0}+2t_{0}r_{0}+O(t-t_{0})^{3} where (145) H_{0}=-3q_{0}t_{0}+\frac{\epsilon^{2}}{4}, and the remaining parameters (\rho,q_{0}) are left undetermined by the system. We can then view (t_{0},H_{0}) as specifying a point of M which is the projection of the relevant point of the \theta=0 locus. Note that only the leading order behaviour coincides with the one obtained by uniformization, as the isomonodromic flows do not preserve the spectral curve. Nonetheless, one obtains the identifications, valid in the leading order in the expansion (146) v\simeq\frac{t-t_{0}}{\epsilon t_{0}},\qquad w\simeq 2\epsilon t_{0}\rho. As could be expected, the isomonodromic formula provides an \epsilon -deformation of the one ( 136 ) coming from uniformisation of the spectral curve. However we are simply approaching the same locus from a different direction, so unsurprisingly the end result is the same, and this leads to an alternative derivation of Theorem 6.9 . 7. Second example: Painlevé II Our second example will be the Joyce structure of class S[A_{1}] corresponding to genus g=0 and pole order m=(8) . This Joyce structure is related to the DT theory of the A 3 quiver and to the Painlevé II equation. The corresponding field theory of class S is known as Argyres-Douglas theory H_{0} , or the (A_{1},A_{3}) theory [ 10 ] . The relevant quadratic differentials take the form (147) Q_{0}(x)dx^{\otimes 2}=(x^{4}+tx^{2}-2\alpha x+2H)dx^{\otimes 2} and the associated flat connections feature both nontrivial Stokes data and local monodromy determined by the parameter \alpha\in\mathbb{C} . To obtain a Joyce structure, we must impose that the quadratic differential Q_{0} has zero residue at the pole x=\infty , which corresponds to the condition \alpha=0 . Consequently, the base M of the Joyce structure has natural coordinates (t,H) . However, since most of our computations are valid for arbitrary values of \alpha , we will retain it as a variable for most of the section. 7.1. Connections The relevant Higgs field is the Jimbo-Miwa Lax matrix for Painlevé II (148) \Phi(x)=x^{2}\left(\begin{array}[]{cc}1&0\\ 0&-1\end{array}\right)+x\left(\begin{array}[]{cc}0&1\\ t-2p+2q^{2}&0\end{array}\right)+\left(\begin{array}[]{cc}p-q^{2}&-q\\ -2\alpha+q(t-2p+2q^{2})&-p+q^{2}\end{array}\right). It is a classical result [ 44 ] that isomonodromic deformations of the flat connection d-\Phi(x)dx are described by the second Painlevé equation (149) \frac{d^{2}q}{dt^{2}}=2q^{3}+qt-\alpha+\frac{1}{2}. Remark 7.1 . The matrix (150) \Phi(x)=\left(\begin{array}[]{cc}1&0\\ 0&-1\end{array}\right)x^{2}+\left(\begin{array}[]{cc}0&u\\ -\frac{2z}{u}&0\end{array}\right)x+\left(\begin{array}[]{cc}z+\frac{t}{2}&-uy\\ -\frac{2}{u}(\theta+yz)&-z-\frac{t}{2}\end{array}\right) of [ 44 ] is parameterised in terms of y,z,u,\alpha,t . To obtain ( 148 ), we set u=1 by a diagonal gauge transformation, and write our Higgs field in terms of spectral Darboux coordinates \alpha=\theta , q=y and p=z+q^{2}+\tfrac{1}{2}t . As before, we introduce a parameter \epsilon\in\mathbb{C}^{*} and consider connections d-A_{\epsilon}(x)dx , where (151) A_{\epsilon}(x)=A_{\infty}+\frac{1}{\epsilon}\Phi(x),\qquad A_{\infty}=\left(\begin{array}[]{cc}r&0\\ -2s-1-2r(x+q)&-r\end{array}\right). This is obtained from ( 148 ) by shifting (152) p\mapsto p+\epsilon r,\qquad\alpha\mapsto\alpha+\epsilon\left(s+\frac{1}{2}\right). We then define the Hamiltonian (153) H=\frac{1}{2}\left(p^{2}-q^{4}-tq^{2}+2\alpha q\right), and view the connection ( 77 ) as being parameterised by \epsilon\in\mathbb{C}^{*} together with the variables (t,H,\alpha,q,r,s) , with p defined implicitly by ( 153 ). 7.2. Extended isomonodromic flows We consider isomonodromic flows obtained by varying (t,H,\alpha) and insisting that the generalised monodromy of d-A_{\epsilon}(x)dx is constant. Proposition 7.2 . The isomonodromy flows are generated by the vector fields (154) w_{1}=\frac{\partial}{\partial t}+\left(r+\frac{p}{\epsilon}\right)\frac{\partial}{\partial q}-\frac{1}{\epsilon}\left[s+\frac{q^{2}}{2p}+\frac{r}{p}(2q^{3}+tq-\alpha)\right]\frac{\partial}{\partial r}, (155) w_{2}=\frac{\partial}{\partial H}-\frac{1}{\epsilon p}\frac{\partial}{\partial r},\qquad w_{3}=\frac{\partial}{\partial\alpha}-\frac{1}{\epsilon}\frac{\partial}{\partial s}+\frac{q}{\epsilon p}\frac{\partial}{\partial r}. Proof. We first consider the connection as a function of the variables (t,\alpha,q,p,r,s) , with H defined by ( 153 ). As before, we can describe isomonodromic deformations of d-A_{\epsilon}(x)\,dx with parameter t as the compatibility conditions ( 82 ) of the linear systems ( 81 ). This forces (156) B_{\epsilon}(x)=\left(\begin{array}[]{cc}0&0\\ -r&0\end{array}\right)+\frac{1}{2\epsilon}\left(\begin{array}[]{cc}q+x&1\\ -2p+2q^{2}+t&-q-x\\ \end{array}\right), and gives the conditions (157) \frac{dq}{dt}=\left(\frac{p}{\epsilon}+r\right),\qquad\frac{d}{dt}(p+\epsilon r)=\frac{2q^{3}+tq-\alpha}{\epsilon}-s,\qquad\frac{d}{dt}(\alpha+\epsilon s)=0. The isomonodromic flow is still undetermined, due to the additional flows (158) \frac{\partial}{\partial p}-\frac{1}{\epsilon}\frac{\partial}{\partial r},\qquad\frac{\partial}{\partial\alpha}-\frac{1}{\epsilon}\frac{\partial}{\partial s}, reflecting the fact that A_{\epsilon}(x) and B_{\epsilon}(x) depend only on the combinations p+\epsilon r and \alpha+\epsilon s . We now rewrite our flows in the co-ordinates (t,H,\alpha,q,r,s) with p defined by ( 153 ). Taking linear combinations of ( 158 ) gives the flows (159) {w}_{2}=\frac{\partial}{\partial H}-\frac{1}{\epsilon p}\frac{\partial}{\partial r},\qquad w_{3}=\frac{\partial}{\partial\alpha}-\frac{1}{\epsilon}\frac{\partial}{\partial s}+\frac{q}{\epsilon p}\frac{\partial}{\partial r}. We can add copies of these flows to normalise ( 157 ) in such a way that \frac{dH}{dt}=\frac{d\alpha}{dt}=0 . This gives the system of equations (160) \displaystyle\frac{dq}{dt}=\left(r+\frac{p}{\epsilon}\right),\qquad\frac{dp}{dt}=\frac{q^{2}}{2p}+\left(\frac{1}{\epsilon}+\frac{r}{p}\right)(2q^{3}+tq-\alpha), (161) \displaystyle\frac{dr}{dt}=-\frac{1}{\epsilon}\left[s+\frac{q^{2}}{2p}+\frac{r}{p}\left(2q^{3}+tq-\alpha\right)\right], generated by the flow w_{1} . ∎ Remark 7.3 . As in the example from the previous section, irrespectively of how we normalise the flow in t , the resulting nonlinear second order nonlinear ODE for q is the appropriate Painlevé equation, in this case the \epsilon -deformed Painlevé II equation with shifted monodromy parameter (162) \epsilon^{2}\frac{d^{2}q}{dt^{2}}=2q^{3}+qt-(\alpha+\epsilon s). This reduces to ( 149 ) when \epsilon=1 and s=-\tfrac{1}{2} . 7.3. Spectral curve By the gauge transformation ( 56 ) we can rewrite ( 77 ) as a scalar equation of the form ( 49 ). In this case Q_{0}(x) is given by ( 147 ), and (163) Q_{1}(x)=-\frac{p}{x-q}+2pr-2s(x-q),\qquad Q_{2}(x)=\frac{3}{4(x-q)^{2}}-\frac{r}{x-q}+r^{2}. Let us fix the parameters (t,H,\alpha) . The corresponding spectral curve \Sigma is a smooth curve of genus 1 with a double cover p\colon\Sigma\to\mathbb{P}^{1} branched over 4 points x_{i}\in\mathbb{C}^{*} . We denote by \infty_{\pm} the two inverse images of the point x=\infty . The open subset \Sigma^{0}\subset\Sigma is then the complement \Sigma^{0}=\Sigma\setminus\{\infty_{\pm}\} , and is the affine quartic curve (164) y^{2}=x^{4}+tx^{2}-2x\alpha+2H. Similar reasoning to the proof of Lemma 6.3 shows that the inclusion i\colon\Sigma^{0}\hookrightarrow\Sigma induces a short exact sequence (165) 0\longrightarrow\mathbb{Z}\longrightarrow H^{1}(\Sigma^{0},\mathbb{Z})^{-}\stackrel{{\scriptstyle i_{*}}}{{\longrightarrow}}H^{1}(\Sigma,\mathbb{Z})^{-}\longrightarrow 0, where as before H_{1}(\Sigma,\mathbb{Z})^{-}=H_{1}(\Sigma,\mathbb{Z}) . The kernel of i_{*} is generated by a small anti-clockwise loop \gamma_{3} around the point \infty_{+} . Note that this class is anti-invariant because \sigma^{*}(\gamma_{3}) is represented by a small anti-clockwise loop around \infty_{-} and thus is homologous to -\gamma_{3} . We take generators \gamma_{1},\gamma_{2},\gamma_{3} for H_{1}(\Sigma^{0},\mathbb{Z})^{-} such that \gamma_{1},\gamma_{2} project to generators of H_{1}(\Sigma,\mathbb{Z})\cong\mathbb{Z}^{\oplus 2} . With appropriate ordering of \gamma_{1},\gamma_{2} we then have (166) \langle\gamma_{1},\gamma_{2}\rangle=1,\qquad\langle\gamma_{1},\gamma_{3}\rangle=0=\langle\gamma_{2},\gamma_{3}\rangle. Let us introduce the meromorphic differentials (167) \lambda=ydx,\qquad\theta=-\frac{Q_{1}(x)\,dx}{2\sqrt{Q_{0}(x)}}, and the associated periods (168) z_{i}=\oint_{\gamma_{i}}\lambda,\qquad\theta_{i}=\oint_{\gamma_{i}}\theta. The differential \lambda has a pole of order 4 at the points \infty_{\pm} , and we can order them so that near \infty_{\pm} we have (169) \lambda=\pm\left[x^{2}+\frac{t}{2}-\frac{\alpha}{x}+\frac{1}{x^{2}}\left(H-\frac{t^{2}}{8}\right)+O(x^{-3})\right]dx. In particular \lambda has residue \alpha at \infty_{+} , so that (170) z_{3}=\oint_{\gamma_{3}}\lambda=2\pi i\alpha. The differential \theta has a simple pole at \infty_{\pm} with residue \mp s , where the leading behaviour is (171) \theta=\mp\left[-\frac{s}{x}+\frac{pr+qs}{x^{2}}+\frac{st-p}{2x^{3}}+O(x^{-4})\right]dx. It also has simple poles at the points x=(q,\pm p) with residue \pm\tfrac{1}{2} . As before, defining the periods \theta_{i} requires choosing lifts of the cycles \gamma_{i}\in H_{1}(\Sigma^{0},\mathbb{Z})^{-} to elements \gamma_{i}^{*}\in H_{1}(\Sigma^{*},\mathbb{Z})^{-} , where \Sigma^{*}=\Sigma^{0}\setminus\{(q,\pm p)\} . Different choices affect the values of \theta_{i} by the addition of integer multiples of 2\pi i . Note that lifting \gamma_{3}\in H_{1}(\Sigma,\mathbb{Z})^{-} in the most obvious way does not define an anti-invariant cycle on \Sigma^{*} . Instead, we take \gamma_{3}^{*}\in H_{1}(\Sigma^{*},\mathbb{Z})^{-} to be the sum of small anti-clockwise loops around the points \infty_{+} and (q,p) . 7.4. Computation of periods Introduce the differentials (172) \omega=\frac{\partial\lambda}{\partial H}=\frac{dx}{y},\qquad\beta_{t}=\frac{\partial\lambda}{\partial t}=\frac{x^{2}\,dx}{2y},\qquad\beta_{\alpha}=\frac{\partial\lambda}{\partial\alpha}=-\frac{x\,dx}{y}. Then \omega is holomorphic on \Sigma , with leading order behaviour at \infty_{\pm} given by (173) \omega=\pm\left[\frac{1}{x^{2}}+O(x^{-3})\right]dx. The differential \beta_{t} has poles of order 2 at \infty_{\pm} with zero residue, whereas \beta_{\alpha} has simple poles at \infty_{\pm} with residue \pm 1 . Differentiating ( 169 ), the expansions at \infty_{\pm} are (174) \beta_{t}=\pm\left[\frac{1}{2}-\frac{t}{4x^{2}}+O(x^{-3})\right]dx,\qquad\beta_{\alpha}=\pm\left[-\frac{1}{x}+O(x^{-3})\right]dx. Since these differentials are regular on \Sigma^{0} the corresponding periods \beta_{t,i} , \omega_{i} , \beta_{\alpha,i} are well-defined. Define \theta_{t},\,\theta_{H},\,\theta_{\alpha} through the relation (175) \theta_{1}\,\frac{\partial}{\partial z_{1}}+\theta_{2}\,\frac{\partial}{\partial z_{2}}+\theta_{3}\,\frac{\partial}{\partial z_{3}}=\theta_{t}\,\frac{\partial}{\partial t}+\theta_{H}\,\frac{\partial}{\partial H}+\theta_{\alpha}\,\frac{\partial}{\partial\alpha}. Using the obvious relation (176) dz_{i}=\frac{\partial z_{i}}{\partial t}dt+\frac{\partial z_{i}}{\partial H}dH+\frac{\partial z_{i}}{\partial\alpha}d\alpha=\beta_{t,i}\,dt+\omega_{i}\,dH+\beta_{\alpha,i}\,d\alpha, it follows that (177) \theta_{i}=\theta_{t}\beta_{t,i}+\theta_{H}\omega_{i}+\theta_{\alpha}\beta_{\alpha,i}. Lemma 7.4 . There are identities (178) \theta_{t}=\frac{1}{2}\int_{(q,-p)}^{(q,p)}\omega-\frac{1}{2}\int_{\infty_{-}}^{\infty_{+}}\omega,\qquad\theta_{\alpha}=\tfrac{1}{2}-s, (179) \theta_{H}=-\frac{1}{2}\int_{(q,-p)}^{(q,p)}\beta_{t}-(pr+qs)-\operatorname{Res}_{x=\infty_{+}}\left(\frac{dx}{x}\int^{x}\beta_{t}\right). Proof. Recall that we can lift the cycles \gamma_{i}\in H_{1}(\Sigma^{0},\mathbb{Z})^{-} to elements \gamma_{i}^{*}\in H_{1}(\Sigma^{*},\mathbb{Z})^{-} . The periods \theta_{i} are then well-defined. As above, we take \gamma_{3}^{*} to be the sum of anti-clockwise cycles round the points \infty_{+} and (q,p) . To apply the Riemann bilinear relations we first cut the surface \Sigma^{*} along the cycles \gamma_{1}^{*},\gamma_{2}^{*} to obtain a simply-connected fundamental domain. We take all integrals along paths in this region. Using notation as in the proof of Lemma 6.4 , we have (180) \langle\omega,\beta_{t}\rangle=2\pi i\sum_{x_{i}\in\{\infty_{\pm}\}}\operatorname{Res}_{x=x_{i}}\left(\beta_{t}\int^{x}\omega\right)=2\pi i, (181) \langle\omega,\,\beta_{\alpha}\rangle=2\pi i\sum_{x_{i}\in\{\infty_{\pm}\}}\operatorname{Res}_{x=x_{i}}\left(\beta_{\alpha}\int^{x}\omega\right)=2\pi i\int_{\infty_{-}}^{\infty_{+}}\omega, (182) \langle\beta_{t},\,\beta_{\alpha}\rangle=2\pi i\sum_{x_{i}\in\{\infty_{\pm}\}}\operatorname{Res}_{x=x_{i}}\left(\beta_{\alpha}\int^{x}\beta_{t}\right)=-4\pi i\,\operatorname{Res}_{x=\infty_{+}}\left(\frac{dx}{x}\int^{x}\beta_{t}\right), (183) \langle\omega,\,\theta\rangle=2\pi i\sum_{x_{i}\in\{(q,\pm p),\infty_{\pm}\}}\operatorname{Res}_{x=x_{i}}\left(\theta\int^{x}\omega\right)=\pi i\int_{(q,-p)}^{(q,p)}\omega-s\langle\omega,\beta_{\alpha}\rangle, (184) \langle\beta_{t},\,\theta\rangle=2\pi i\sum_{x_{i}\in\{(q,\pm p),\infty_{\pm}\}}\operatorname{Res}_{x=x_{i}}\left(\theta\int^{x}\beta_{t}\right)=\pi i\int_{(q,-p)}^{(q,p)}\beta_{t}+2\pi i(pr+qs)-s\langle\beta_{t},\beta_{\alpha}\rangle. By our choice of the lift \gamma_{3}^{*} we have \theta_{3}=2\pi i(\tfrac{1}{2}-s) . Moreover \omega_{3}=\beta_{t,3}=0 and \beta_{\alpha,3}=2\pi i so from ( 177 ) we get \theta_{\alpha}=\tfrac{1}{2}-s . Then (185) \pi i\int_{(q,-p)}^{(q,p)}\omega-2\pi is\int_{\infty_{-}}^{\infty_{+}}\omega=\langle\omega,\,\theta\rangle=\theta_{t}\langle\omega,\,\beta_{t}\rangle+\theta_{\alpha}\langle\omega,\,\beta_{\alpha}\rangle=2\pi i\theta_{t}+2\pi i\theta_{\alpha}\int_{\infty_{-}}^{\infty_{+}}\omega, which gives ( 178 ). Equation ( 179 ) follows in the same way. ∎ Remark 7.5 . Note that (186) \theta_{t}=\frac{1}{2}\int_{(q,-p)}^{(q,p)}\omega-\frac{1}{2}\int_{\infty_{-}}^{\infty_{+}}\omega=\frac{1}{2}\int_{(q,-p)}^{\infty_{-}}\omega+\frac{1}{2}\int_{\infty_{+}}^{(q,p)}\omega=\int_{\infty_{+}}^{(q,p)}\omega using anti-invariance of \omega . Taking a base-point (x_{0},y_{0})\in\Sigma we have (187) \begin{split}\operatorname{Res}_{x=\infty_{+}}\left(\frac{dx}{x}\int^{(x,y)}_{(x_{0},y_{0})}\beta_{t}\right)&=\operatorname{Res}_{x=\infty_{+}}\left(\frac{dx}{x}\int^{(x,y)}_{(x_{0},y_{0})}(\beta_{t}-\tfrac{1}{2}dx)\right)+\operatorname{Res}_{x=\infty_{+}}\left(\frac{dx}{x}\int_{x_{0}}^{x}\tfrac{1}{2}dx\right)\\ &=-\int_{(x_{0},y_{0})}^{\infty_{+}}(\beta_{t}-\tfrac{1}{2}dx)+\tfrac{1}{2}x_{0}.\end{split} Choosing (x_{0},0)\in\Sigma to be a branch-point we can then use anti-invariance of \beta_{t} to write (188) \begin{split}\theta_{H}&=-\int_{(x_{0},0)}^{(q,p)}(\beta_{t}-\tfrac{1}{2}dx)-\tfrac{1}{2}(q-x_{0})-(pr+qs)+\int_{(x_{0},0)}^{\infty_{+}}(\beta_{t}-\tfrac{1}{2}dx)-\tfrac{1}{2}x_{0}\\ &=-\int_{\infty_{+}}^{(q,p)}(\beta_{t}-\tfrac{1}{2}dx)-(pr+qs)-\frac{q}{2}.\end{split} 7.5. Isomonodromic flows in new coordinates Let \Xi:\,(t,H,\alpha,q,r,s)\rightarrow(t,H,\alpha,\theta_{t},\theta_{H},\theta_{\alpha}) be the change of coordinates given by the formulae of Lemma 7.4 . Proposition 7.6 . The push-forward of the isomonodromic flows along \Xi can be written in the form (189) \Xi_{*}(w_{1})=\frac{\partial}{\partial t}+\frac{1}{\epsilon}\frac{\partial}{\partial\theta_{t}}+\frac{\partial^{2}K}{\partial\theta_{t}\partial\theta_{H}}\frac{\partial}{\partial\theta_{t}}-\frac{\partial^{2}K}{\partial\theta_{t}^{2}}\frac{\partial}{\partial\theta_{H}}, (190) \Xi_{*}(w_{2})=\frac{\partial}{\partial H}+\frac{1}{\epsilon}\frac{\partial}{\partial\theta_{H}}+\frac{\partial^{2}K}{\partial\theta_{H}^{2}}\frac{\partial}{\partial\theta_{t}}-\frac{\partial^{2}K}{\partial\theta_{H}\partial\theta_{t}}\frac{\partial}{\partial\theta_{H}}, (191) \Xi_{*}(w_{3})=\frac{\partial}{\partial\alpha}+\frac{1}{\epsilon}\frac{\partial}{\partial\theta_{\alpha}}+\frac{\partial^{2}K}{\partial\theta_{\alpha}\partial\theta_{H}}\frac{\partial}{\partial\theta_{t}}-\frac{\partial^{2}K}{\partial\theta_{\alpha}\partial\theta_{t}}\frac{\partial}{\partial\theta_{H}}. Proof. For i=0,\ldots,4 we define (192) \kappa_{i}:=\frac{1}{4}\int_{(q,-p)}^{(q,p)}\frac{x^{i}dx}{y^{3}}+\frac{1}{2}\operatorname{Res}_{\zeta=\infty_{+}}\left(\frac{d\zeta}{\zeta}\int^{\zeta}\frac{x^{i}dx}{y^{3}}\right). Differentiating the change of coordinates gives (193) \Xi_{*}\left(\frac{\partial}{\partial t}\right)=\frac{\partial}{\partial t}-\kappa_{2}\frac{\partial}{\partial\theta_{t}}+\frac{1}{2}\left(\kappa_{4}-\frac{rq^{2}}{p}\right)\frac{\partial}{\partial\theta_{H}}, (194) \Xi_{*}\left(\frac{\partial}{\partial H}\right)=\frac{\partial}{\partial H}-2\kappa_{0}\frac{\partial}{\partial\theta_{t}}+\left(\kappa_{2}-\frac{r}{p}\right)\frac{\partial}{\partial\theta_{H}}, (195) \Xi_{*}\left(\frac{\partial}{\partial\alpha}\right)=\frac{\partial}{\partial\alpha}+2\kappa_{1}\frac{\partial}{\partial\theta_{t}}-\left(\kappa_{3}-\frac{rq}{p}\right)\frac{\partial}{\partial\theta_{H}}, (196) \Xi_{*}\left(\frac{\partial}{\partial r}\right)=-p\frac{\partial}{\partial\theta_{H}},\qquad\Xi_{*}\left(\frac{\partial}{\partial s}\right)=-\frac{\partial}{\partial\theta_{\alpha}}-q\frac{\partial}{\partial\theta_{H}}, (197) \Xi_{*}\left(\frac{\partial}{\partial q}\right)=\frac{1}{p}\frac{\partial}{\partial\theta_{t}}-\left(\frac{r}{p}(2q^{3}+tq-\alpha)+s+\frac{q^{2}}{2p}\right)\frac{\partial}{\partial\theta_{H}}. We can invert this to find (198) \Xi_{*}^{-1}\left(\frac{\partial}{\partial\theta_{t}}\right)=p\frac{\partial}{\partial q}-\left(\frac{r}{p}(2q^{3}+tq-\alpha)+s+\frac{q^{2}}{2p}\right)\frac{\partial}{\partial r}, (199) \Xi_{*}^{-1}\left(\frac{\partial}{\partial\theta_{H}}\right)=-\frac{1}{p}\frac{\partial}{\partial r},\qquad\Xi_{*}^{-1}\left(\frac{\partial}{\partial\theta_{\alpha}}\right)=-\frac{\partial}{\partial s}+\frac{q}{p}\frac{\partial}{\partial r}. The isomonodromy flows become (200) \Xi_{*}(w_{1})=\frac{\partial}{\partial t}+\frac{1}{\epsilon}\frac{\partial}{\partial\theta_{t}}-\left(\kappa_{2}-\frac{r}{p}\right)\frac{\partial}{\partial\theta_{t}}+\left(\frac{\kappa_{4}}{2}-\frac{q^{2}r}{p}-rs-\frac{r^{2}}{p}(2q^{3}+tq-\alpha)\right)\frac{\partial}{\partial\theta_{H}}, (201) \Xi_{*}(w_{2})=\frac{\partial}{\partial H}+\frac{1}{\epsilon}\frac{\partial}{\partial\theta_{H}}-2\kappa_{0}\frac{\partial}{\partial\theta_{t}}+\left(\kappa_{2}-\frac{r}{p}\right)\frac{\partial}{\partial\theta_{H}}, (202) \Xi_{*}(w_{3})=\frac{\partial}{\partial\alpha}+\frac{1}{\epsilon}\frac{\partial}{\partial\theta_{\alpha}}+2\kappa_{1}\frac{\partial}{\partial\theta_{t}}-\left(\kappa_{3}-\frac{rq}{p}\right)\frac{\partial}{\partial\theta_{H}}, and arguing as in the proof of Proposition 6.7 gives the existence of the required function K . ∎ The function K satisfies (203) \frac{\partial^{3}K}{\partial\theta_{H}^{3}}=0,\qquad\frac{\partial^{3}K}{\partial\theta_{H}^{2}\partial\theta_{t}}=-\frac{1}{p^{2}},\qquad\frac{\partial^{3}K}{\partial\theta_{H}\partial\theta_{t}^{2}}=-\frac{2r\left(2q^{3}+tq-\alpha\right)}{p^{2}}-\frac{q^{2}}{p^{2}}-\frac{s}{p}, (204) \frac{\partial^{3}K}{\partial\theta_{t}^{3}}=-\frac{3q^{4}}{4p^{2}}+r\left(2q-\frac{3q^{2}\left(2q^{3}+tq-\alpha\right)}{p^{2}}\right)\\ +r^{2}\left(6q^{2}+t-\frac{3\left(2q^{3}+tq-\alpha\right)^{2}}{p^{2}}\right)-\frac{3sq^{2}}{2p}-\frac{3sr\left(2q^{3}+tq-\alpha\right)}{p}-s^{2}, (205) \frac{\partial^{3}K}{\partial\theta_{\alpha}\partial\theta_{H}^{2}}=0,\qquad\frac{\partial^{3}K}{\partial\theta_{\alpha}\partial\theta_{H}\partial\theta_{t}}=\frac{q}{p^{2}},\qquad\frac{\partial^{3}K}{\partial\theta_{\alpha}\partial\theta_{t}^{2}}=\frac{q^{3}}{p^{2}}-r+\frac{sq}{p}+\frac{2rq}{p^{2}}(2q^{3}+tq-\alpha), (206) \frac{\partial^{3}K}{\partial\theta_{\alpha}^{2}\partial\theta_{H}}=0,\qquad\frac{\partial^{3}K}{\partial\theta_{\alpha}^{2}\partial\theta_{t}}=-\frac{q^{2}}{p^{2}}. 7.6. Plebański function We explained in Section 4 that to obtain a Joyce structure we must restrict to the symplectic leaf ( 48 ) obtained by setting the residue \alpha=0 . Equivalently, by ( 170 ), this is the locus z_{3}=0 . Recall from ( 45 ) that the Poisson structure is given by (207) \{z_{1},z_{2}\}=2\pi i\,\langle\gamma_{1},\gamma_{2}\rangle=2\pi i. Inverting this gives the symplectic form (208) \Omega_{0}=-\frac{1}{2\pi i}\cdot dz_{1}\wedge dz_{2}=\frac{1}{2\pi i}(\omega_{1}\beta_{t,2}-\omega_{2}\beta_{t,1})\cdot dt\wedge dH=dt\wedge dH, on M , where we used ( 176 ) and ( 180 ). We must also restrict the value of \theta_{3}=2\pi i\theta_{\alpha} . As discussed in Remark 4.1 this is a slightly subtle point. To get a Joyce structure it is necessary to take \theta_{3}\in\pi i\mathbb{Z} . In what follows we shall make the choice \theta_{3}=\pi i , which by Lemma 7.4 corresponds to setting s=0 . Theorem 7.7 . Take \alpha=0=s . Then in terms of the co-ordinates (z_{1},z_{2},\theta_{1},\theta_{2}) the isomonodromic flows take the form (209) \frac{\partial}{\partial z_{i}}+\frac{1}{\epsilon}\cdot\frac{\partial}{\partial\theta_{i}}+2\pi i\cdot\frac{\partial^{2}W}{\partial\theta_{i}\partial\theta_{1}}\cdot\frac{\partial}{\partial\theta_{2}}-2\pi i\cdot\frac{\partial^{2}W}{\partial\theta_{i}\partial\theta_{2}}\cdot\frac{\partial}{\partial\theta_{1}}, where the Plebański function W is given by (210) W=\frac{p}{48H(t^{2}-8H)}\left(-tq-2r(2t^{2}+3q^{2}t-12H)+12r^{2}q(-t^{2}-q^{2}t+4H)-8r^{3}p^{2}t\right). Proof. For a fixed point (t,H)\in M we can adapt the argument of Lemma 6.6 to show that the map (211) \big\{(q,p)\in(\mathbb{C}^{*})^{2}:p^{2}=Q_{0}(q)\big\}\times\big\{r\in\mathbb{C}\big\}\to\big\{(e^{\theta_{1}},e^{\theta_{2}})\big\}\in(\mathbb{C}^{*})^{2} defined by the equations ( 177 ), ( 178 ) and ( 179 ) is an open embedding. We can therefore view K as a local function of (z_{1},z_{2},\theta_{1},\theta_{2}) . Applying the operators ( 198 ) - ( 199 ) to ( 203 ) - ( 204 ) and to ( 210 ) shows that the fourth derivatives of K and W with respect to the theta variables coincide. We can then argue as in the proof of Theorem 6.8 . ∎ Remark 7.8 . We can also integrate the fourth derivatives of K for arbitrary values of the variables \alpha,s . It takes the form (212) W=\frac{1}{\Delta}\cdot\sum_{k=0}^{3}\sum_{m=0}^{3-k}W_{k,m}(q)r^{k}s^{m}. The functions W_{k,m}(q) are as follows: (213) W_{0,0}=p\left[\frac{2}{3}c_{1}q+2c_{2}\right],\quad W_{0,1}=q\left[4c_{1}q^{2}+4c_{2}q+\frac{4}{3}\left(96H^{2}+4Ht^{2}-2t^{4}-27\alpha^{2}t\right)\right], (214) W_{0,2}=8p\left[c_{1}q-c_{2}\right],\quad W_{0,3}=16q\left[\frac{c_{1}}{3}q^{2}-c_{2}q+4Ht^{2}-3\alpha^{2}t-32H^{2}\right], (215) W_{1,0}=4p\left[c_{1}q^{2}+2c_{2}q+\frac{1}{3}\left(-96H^{2}+28Ht^{2}-2t^{4}-45\alpha^{2}t\right)\right],\quad W_{1,1}=16c_{1}p^{2}, (216) W_{1,2}=16p\left[c_{1}q^{2}-2c_{2}q+4Ht^{2}-3\alpha^{2}t-32H^{2}\right], (217) W_{2,0}=8p\left(c_{1}q^{3}+c_{2}q^{2}+q\left(-32H^{2}+12Ht^{2}-21t\alpha^{2}-t^{4}\right)+\alpha\left(27\alpha^{2}-24Ht+t^{3}\right)\right), (218) W_{2,1}=16p^{2}\left(c_{1}q-c_{2}\right),\qquad W_{3,0}=\frac{16p^{3}}{3}c_{1}, where (219) c_{1}:=-t^{3}+8Ht-18\alpha^{2},\quad c_{2}:=-\alpha(t^{2}+24H), (220) \Delta:=16\left(-27\alpha^{4}-\alpha^{2}t\left(t^{2}-72H\right)+2H\left(t^{2}-8H\right)^{2}\right). 7.7. Behaviour on the zero section via uniformisation Recall that we have set \alpha=0=s . Introducing the variables (221) X=\frac{t}{12}+\frac{1}{2}(y+x^{2}),\qquad Y=\frac{tx}{2}+xy+x^{3}, the spectral curve ( 164 ) takes the standard Weierstrass form (222) Y^{2}=4X^{3}-g_{2}X-g_{3},\qquad g_{2}=\frac{1}{12}(24H+t^{2}),\qquad g_{3}=\frac{t}{216}(72H-t^{2}). The inverse transformation to ( 221 ) is (223) x=\frac{3Y}{6X+t},\qquad y=\frac{144X^{2}+48Xt+72H-5t^{2}}{24(6X+t)}. We can uniformise \Sigma by writing X=\wp(u) and Y=\wp^{\prime}(u) , with \wp(u) the Weierstrass \wp -function for the lattice spanned by the periods \omega_{i} . Beware that the involution u\mapsto-u does not correspond to \sigma\colon(x,y)\mapsto(x,-y) but rather to \sigma^{\prime}\colon(x,y)\mapsto(-x,y) . A calculation shows that (224) \omega=\frac{dx}{y}=\frac{dX}{Y}=du,\qquad\beta_{t}=\frac{x^{2}\omega}{2}=\frac{X\,dX}{Y}-\frac{t\,dX}{12Y}-\frac{dx}{2}. Recall from Section 3.2 the definition of the function S=S(t,H) and the linear Joyce connection. Theorem 7.9 . (i) The Plebański function W is regular on the locus \theta_{t}=\theta_{H}=0 . (ii) There is an identity (225) S=\log\left(H^{2}(8H-t^{2})\right)^{-\frac{1}{48}}. (iii) The co-ordinates (t,H-\tfrac{1}{8}t^{2}) on M are flat for the linear Joyce connection. Proof. Recall that we have set \alpha=0=s . We denote by v\in\mathbb{C} a point corresponding to the point (q,p)\in\Sigma . Using the involution \sigma^{\prime} the formula ( 188 ) becomes (226) \theta_{H}=-\frac{1}{2}\int_{(-q,p)}^{(q,p)}(\beta_{t}-\tfrac{1}{2}dx)-pr-\frac{q}{2}=\zeta(v)+\frac{tv}{12}+\frac{q}{2}-pr. Using the expansion (227) \zeta(v)=\frac{1}{v}-\left(\frac{H}{30}+\frac{t^{2}}{720}\right)v^{3}+O(v^{5}), and introducing a new parameter w by writing (228) r=\frac{v}{2}-wv^{2}+\frac{tv^{3}}{12} we then have (229) \theta_{t}=v,\qquad\theta_{H}=w+\frac{twv^{2}}{6}+O((v,w)^{3}). The formulae ( 223 ) and the expansion of \wp(v)=-\zeta^{\prime}(v) gives (230) q=-\frac{1}{v}+\frac{tv}{6}+\left(\frac{H}{5}-\frac{7t^{2}}{360}\right)v^{3}+O(v^{5}),\qquad p=\frac{1}{v^{2}}+\frac{t}{6}+\left(\frac{3H}{5}-\frac{7t^{2}}{120}\right)v^{2}+O(v^{4}). Substituting these expressions and ( 228 ) into ( 210 ) we find that W is regular along the locus \theta_{t}=\theta_{H}=0 with leading order behaviour (231) W=\frac{tv}{24(8H-t^{2})}\ -\frac{(12H-t^{2})w}{24H(8H-t^{2})}+O((v,w)^{3}). This gives (i) and (ii). For (iii) we substitute ( 229 ) into ( 203 ) - ( 204 ) to get (232) \frac{\partial^{3}K}{\partial\theta_{t}^{3}}\bigg|_{\theta_{t}=\theta_{H}=0}=-\frac{1}{4},\qquad\frac{\partial^{3}K}{\partial\theta_{t}^{2}\theta_{H}}\bigg|_{\theta_{t}=\theta_{H}=0}=\frac{\partial^{3}K}{\partial\theta_{H}^{3}}\bigg|_{\theta_{t}=\theta_{H}=0}=\frac{\partial^{3}K}{\partial\theta_{t}\partial\theta_{H}^{2}}\bigg|_{\theta_{t}=\theta_{H}=0}=0. It follows that the linear Joyce connection \nabla^{J} satisfies (233) \nabla^{J}_{\frac{\partial}{\partial t}}\left(\frac{\partial}{\partial t}\right)=-\frac{1}{4}\frac{\partial}{\partial H},\qquad\nabla^{J}_{\frac{\partial}{\partial H}}\left(\frac{\partial}{\partial t}\right)=0,\qquad\nabla^{J}_{\frac{\partial}{\partial t}}\left(\frac{\partial}{\partial H}\right)=\nabla^{J}_{\frac{\partial}{\partial H}}\left(\frac{\partial}{\partial H}\right)=0, and a basis of flat vector fields is therefore given by (\partial_{t}+\tfrac{1}{4}t\partial_{H},\partial_{H}) . The corresponding flat co-ordinates are (t,H-\tfrac{1}{8}t^{2}) as claimed. ∎ 7.8. Alternative approach: poles of Painlevé II In the same way as for the case of Painlevé III, we can alternatively study the limit \theta_{t}=\theta_{H}=0 by studying the behaviour of the Plebański function at a pole t=t_{0} of the Painlevé II equation (234) \epsilon^{2}\frac{d^{2}q}{dt^{2}}=2q^{3}+qt-\alpha. We set s=0 but keep \alpha as a parameter for now. Choosing one of the two branches at infinity we find the following behaviour (235) q=-\frac{\epsilon}{t-t_{0}}+\frac{t_{0}(t-t_{0})}{6\epsilon}+\alpha\frac{(t-t_{0})^{2}}{4\epsilon^{2}}+q_{0}(t-t_{0})^{3} (236) p=\frac{\epsilon^{2}}{(t-t_{0})^{2}}+\frac{t_{0}}{6}+O(t-t_{0}),\qquad r=c(t-t_{0})^{2}+\frac{(t-t_{0})}{2\hbar}, with the parameters c,q_{0} left undetermined by the equations. We have (237) \theta_{t}=\frac{t-t_{0}}{\epsilon}+\frac{(t-t_{0})^{4}}{12\epsilon^{3}}+O(t-t_{0})^{5},\qquad\theta_{H}=-\epsilon^{2}c+\frac{(t-t_{0})^{2}}{8\epsilon}+O(t-t_{0})^{3}, so that t-t_{0} and c parametrise, at leading order, the deviations from the zero section, which is parametrised by t_{0} and H_{0}:=H\left(q(t_{0}),p(t_{0}),t_{0}\right) . For \alpha\neq 0 , the function W does not vanish for \theta=0 . It is given by (238) W_{0}(H_{0},t_{0},\alpha)=\frac{\alpha\,t_{0}}{24H_{0}(8H_{0}-t_{0}^{2})} In particular it is regular along \theta=0 . When \alpha=0 , W is associated to a Joyce structure, and (239) W\big|_{\alpha=s=0}\simeq\frac{t_{0}^{2}-12H_{0}}{24H_{0}\left(8H_{0}-t_{0}^{2}\right)}\theta_{H}+\frac{t_{0}}{24H_{0}\left(8H_{0}-t_{0}^{2}\right)}\theta_{t}, so that, analogously to what happened in the Painlevé III and I cases, the function vanishes linearly. The generating function is S=\log\left(H^{2}(8H-t^{2})\right)^{-\frac{1}{48}} , matching with the result from uniformization. We could do the same compuation by expanding instead arouns s=1/2 , i.e. \theta_{\alpha}=0 . The resulting expression would have been (240) W\big|_{\alpha=0,\,\theta_{\alpha}=0}\simeq\frac{t_{0}^{2}-12H_{0}}{24H_{0}\left(8H_{0}-t_{0}^{2}\right)}\theta_{H}+\frac{t_{0}}{24H_{0}(8H_{0}-t_{0}^{2})}\theta_{t}, which has generating function S=-\frac{1}{24}\log\left(H(8H-t^{2})^{2}\right)=\log\Delta^{-\frac{1}{24}} . 8. Tau functions In this section we recall from [ 15 ] the definition of the tau function associated to a Joyce structure. This definition has a rather experimental flavour and depends on the choice of certain extra data. In our two examples there are natural choices for this extra data, and we show that the resulting Joyce structure tau function produces a particular normalisation of the corresponding Painlevé tau function. In the final part we discuss relations with topological string partition functions. 8.1. Joyce structure tau function We begin with a brief summary of the Joyce structure tau function, referring the reader to [ 15 ] for further details. Given a Joyce structure on a complex manifold M , there is a complex hyperkähler structure on X=T_{M} , and associated closed holomorphic 2-forms (241) \Omega_{0}=\Omega_{J}+i\Omega_{K}=\tfrac{1}{2}\sum_{p,q}\omega_{pq}\cdot dz_{p}\wedge dz_{q},\qquad 2i\Omega_{I}=-\sum_{p,q}\omega_{pq}\cdot d\theta_{p}\wedge dz_{q}, (242) \Omega_{\infty}=\Omega_{J}-i\Omega_{K}=\tfrac{1}{2}\sum_{p,q}\omega_{pq}\cdot d\theta_{p}\wedge d\theta_{q}+\sum_{p,q}\frac{\partial^{2}W}{\partial\theta_{p}\partial\theta_{q}}\cdot d\theta_{p}\wedge dz_{q}+\sum_{p,q}\frac{\partial^{2}W}{\partial z_{p}\partial\theta_{q}}\cdot dz_{p}\wedge dz_{q}, where (\omega_{pq})_{p,q=1}^{n} is the inverse matrix to (\eta_{pq})_{p,q=1}^{n} . For each \epsilon\in\mathbb{C}^{*} the combination (243) \Omega_{\epsilon}=\epsilon^{-2}\Omega_{0}+2i\epsilon^{-1}\Omega_{I}+\Omega_{\infty} descends to the twistor fibre Z_{\epsilon} , which is the space of leaves of the flows ( 15 ). If we define the Euler vector field on X^{\#} by (244) E=\sum_{i}z_{i}\cdot\frac{\partial}{\partial z_{i}} then the homogeneity property ( 18 ) gives rise to relations (245) di_{E}(\Omega_{0})=2\Omega_{0},\qquad di_{E}(\Omega_{I})=\Omega_{I},\qquad di_{E}(\Omega_{\infty})=0. Let us choose symplectic potentials (246) d\Theta_{0}=\Omega_{0},\qquad d\Theta_{1}=\Omega_{1},\qquad d\Theta_{\infty}=\Omega_{\infty}, and define \Theta_{I}=i_{E}(\Omega_{I}) , so that by ( 245 ) we also have d\Theta_{I}=\Omega_{I} . Then locally on X we can define a function \tau , unique up to multiplication by a constant scalar, by writing (247) d\log(\tau)=\Theta_{0}+2i\Theta_{I}+\Theta_{\infty}-\Theta_{1}, This definition is of course vacuous without some procedure for defining the symplectic potentials ( 246 ) on the various twistor fibres. Although a complete solution to this problem is not yet known, a rough recipe is discussed in [ 15 ] , and it is then interesting to see how this works out in the two examples of Joyce structures constructed in this paper. 8.2. Computation of \tau in the examples In the examples of Joyce structures considered in this paper there are some natural choices for the symplectic potentials ( 246 ) above. Once these are made we can make the defining relation ( 247 ) explicit, and compare the resulting Joyce structure tau function with the corresponding Painlevé tau function. The relevant choices are as follows: (i) The base M can be identified with an open subset of the cotangent bundle of the one-dimensional manifold of isomonodromic times. There is then a canonical Liouville form \lambda on M satisfying d\lambda=-\Omega_{0} . Using ( 245 ) we can then take (248) \Theta_{0}=i_{E}(\Omega_{0})+\lambda. (ii) The twistor fibre Z_{\epsilon} with \epsilon\in\mathbb{C}^{*} admits canonical systems of logarithmic Fock-Goncharov co-ordinates (x_{1},x_{2}) satisfying (249) \Omega_{\epsilon}=\omega_{12}\cdot dx_{1}\wedge dx_{2}. Having chosen one of these co-ordinate systems we can then set (250) \Theta_{\epsilon}=\omega_{12}\cdot x_{1}dx_{2}. (iii) When \epsilon=\infty the function r\colon X^{\#}\to\mathbb{C} is constant along the flows ( 15 ) and hence descends to a function r\colon Z_{\infty}\to\mathbb{C} . The locus \{r=0\}\subset Z_{\infty} is then Lagrangian for the symplectic form \Omega_{\infty} . It follows that if we restrict \tau to the subset \{r=0\}\subset X^{\#} then we can simply take \Theta_{\infty}=0 . Note that setting r=0 in ( 78 ) trivialises the \epsilon -independent part of the connection \nabla and thus reduces the isomonodromy flows to those normally considered in the Painlevé literature. 8.3. Painlevé III 3 case In this case we have \eta_{12}=4\pi i and \omega_{12}=-1/4\pi i . From ( 110 ) we have (251) \Omega_{0}=-\frac{1}{4\pi i}\,dz_{1}\wedge dz_{2}=ds\wedge dH, Similarly, using ( 99 ) we find (252) 2i\Omega_{I}=\frac{1}{4\pi i}(dz_{1}\wedge d\theta_{2}-dz_{2}\wedge d\theta_{1})=dH\wedge d\theta_{s}-ds\wedge d\theta_{H}, where we used the relations (253) \beta_{1}\frac{\partial\beta_{2}}{\partial H}-\beta_{2}\frac{\partial\beta_{1}}{\partial H}=\omega_{1}\frac{\partial\beta_{2}}{\partial s}-\omega_{2}\frac{\partial\beta_{1}}{\partial s},\qquad\beta_{1}\frac{\partial\omega_{2}}{\partial H}-\beta_{2}\frac{\partial\omega_{1}}{\partial H}=\omega_{1}\frac{\partial\omega_{2}}{\partial s}-\omega_{2}\frac{\partial\omega_{1}}{\partial s} to cancel the additional terms. These relations in turn follow by differentiating ( 104 ) and noting that the definition of the forms \omega and \beta implies (254) \frac{\partial\omega_{i}}{\partial s}=\frac{\partial\beta_{i}}{\partial H}. Using the formulae ( 100 ) we now find (255) \begin{split}2i\Omega_{I}&=-\frac{r(tq^{2}-1)}{q^{3}p}\,dH\wedge ds+2qp\,ds\wedge dr+\frac{1}{2q^{2}p}\,dH\wedge dq+\frac{2r(tq^{2}-1)+tq^{2}}{2pq^{3}}\,ds\wedge dq\\ &=-dq\wedge dp+2qp\,ds\wedge dr+\varpi,\end{split} where the 2-form \varpi vanishes when r=0 . There is a natural cotangent bundle structure on M for which \rho\colon M\to B is the projection to the Painlevé time t . The associated Liouville form is \lambda=Hds . Following the recipe from Section 8.2 we get (256) \begin{split}\Theta_{0}&=i_{E}(\Omega_{0})+\lambda=4dH-Hds,\\ 2i\Theta_{I}&=i_{E}(2i\Omega_{I})=2q\,dp+3p\,dq+8qp\,dr+i_{E}(\varpi),\end{split} where we used the formula ( 131 ) for the Euler vector field. The Lagrangian in the twistor fibre Z_{\infty} is obtained by setting r=0 . Denoting this locus by Y^{\#}\subset X^{\#} we get (257) \begin{split}d\log(\tau|_{Y^{\#}})&=\left(4\,dH-H\,ds\right)+\left(2q\,dp+3p\,dq\right)+\frac{1}{4\pi i}\,x_{1}dx_{2}\\ &=-H\,ds+p\,dq+d\left(4H+2qp\right)+\frac{1}{4\pi i}\,x_{1}dx_{2}.\end{split} It follows that the restriction of the Joyce structure tau function to the locus r=0 can be identified with the Painlevé III 3 tau function, since its logarithmic derivative, up to an exact form and a monodromy-dependent normalization, is the classical action differential [ 43 ] . The Joyce structure tau function can be then thought as an extension of the Pailevé tau function to an \epsilon -deformed isomonodromic problem with a reference connection. As can be expected, when we restrict to the isomonodromic flows, so that everything depends on t only, we have (258) \partial_{t}\log(\tau|_{Y^{\#}})=H. 8.4. Painlevé II case Recall that to define the Joyce structure we have set \alpha=0=s . In this case we have \eta_{12}=2\pi i and \omega_{12}=-1/2\pi i . From ( 208 ) (259) \Omega_{0}=-\frac{1}{2\pi i}\,dz_{1}\wedge dz_{2}=dt\wedge dH, Similarly, we find (260) 2i\Omega_{I}=\frac{1}{2\pi i}(dz_{1}\wedge d\theta_{2}-dz_{2}\wedge d\theta_{1})=dH\wedge d\theta_{t}-dt\wedge d\theta_{H}, where we cancelled the additional terms in the same way as in the previous section. Using Lemma 7.4 we now find (261) \begin{split}2i\Omega_{I}&=\frac{r}{p}\,dt\wedge dH+p\,dt\wedge dr+\frac{1}{p}\,dH\wedge dq+\left(\frac{r}{p}(2q^{3}+tq)+\frac{q^{2}}{2p}\right)dt\wedge dq\\ &=r\,dt\wedge dp-dq\wedge dp+p\,dt\wedge dr.\end{split} The Euler vector field is (262) E=\frac{4H}{3}\frac{\partial}{\partial H}+\frac{2t}{3}\frac{\partial}{\partial t}+\frac{q}{3}\frac{\partial}{\partial q}-\frac{r}{3}\frac{\partial}{\partial r} and p scales with weight \tfrac{2}{3} . There is a natural cotangent bundle structure on M for which \rho\colon M\to B is the projection to the Painlevé time t . The associated Liouville form is \lambda=Hdt . Then (263) \displaystyle\Theta_{0}=i_{E}(\Omega_{0})+\lambda=\frac{1}{3}\left(2t\,dH-Hdt\right), (264) \displaystyle 2i\Theta_{I}=i_{E}(2i\Omega_{I})=\frac{1}{3}\left(-pr\,dt+2p\,dq+(2rt-q)dp+2pt\,dr\right). The Lagrangian in the twistor fibre Z_{\infty} is obtained by setting r=0 . Denoting this locus by Y^{\#}\subset X^{\#} we get (265) \begin{split}d\log(\tau|_{Y^{\#}})&=\frac{1}{3}\left(2t\,dH-Hdt\right)+\frac{1}{3}\left(2p\,dq-q\,dp\right)+\frac{1}{2\pi i}\,x_{1}dx_{2}\\ &=-Hdt+pdq+\frac{1}{3}\,d\left(2tH-qp\right)+\frac{1}{2\pi i}\,x_{1}dx_{2}.\end{split} Again, for r=0 this is the classical action differential up to an exact form and a monodromy-dependent normalization [ 42 , 43 ] . In particular, we obtain the same expression as [ 42 ] up to a factor of 2 due to a rescaling of the symplectic form between our conventions and theirs. When we restrict to the isomonodromic flows we have (266) \partial_{t}\log(\tau|_{Y^{\#}})=H. 8.5. Topological string partition functions In this section we briefly discuss how our work relates to the literature on isomonodromic deformations, class S theories, and topological string theory. Readers interested only in the mathematical aspects of Joyce structures and Painlevé equations may safely skip it. Following [ 35 ] , it was soon realised [ 10 ] that expansions of Painlevé tau functions around critical points reproduce Nekrasov partition functions of corresponding four-dimensional class S theories on the self-dual Omega-background [ 51 ] . This correspondence has been rigorously proven for Fuchsian systems on the Riemann sphere and on the torus [ 37 , 24 ] , as well as for many non-Fuchsian cases, including our Painlevé III 3 example, via Fredholm determinant representations [ 38 , 20 , 36 ] . In the case of Painlevé I and II, the class S partition function can only be computed recursively, but its asymptotic expansion agrees with that of the Painlevé tau function to all known orders [ 10 ] . For the homogeoneous Painlevé II equation relevant to the Joyce structure of Section 7 a Fredholm determinant expression is available [ 26 ] , but no explicit combinatorial expansion is known. It was shown by explicit computation in several examples [ 32 , 56 ] that four-dimensional Nekrasov partition functions are degenerations of partial resummations of topological string partition functions on toric Calabi-Yau threefolds. This naturally leads to the identification of isomonodromic tau functions with nonperturbative completions of topological string partition functions. This view is supported by [ 9 ] , which argues that a nonperturbative topological string partition function for local \mathbb{P}^{1}\times\mathbb{P}^{1} , defined through the TS/ST correspondence [ 39 ] , coincides with the Painlevé III 3 tau function in an appropriate scaling limit. This correspondence was related to moduli spaces of quadratic differentials in [ 23 , 22 ] , where isomonodromic tau functions were proposed to be identified with B-model partition functions of non-compact Calabi-Yau threefolds given locally by equations of the form (267) uv+y^{2}=Q_{0}(x)\subset\mathbb{C}^{4}. Although previous computations were based either on direct matching with Nekrasov partition functions, topological vertex, or conjectural string dualities, a direct relation between the B-model topological string partition functions on ( 267 ) and Painlevé tau functions was recently established in [ 8 ] . There it was shown that suitably normalised Painlevé tau functions are holomorphic and modular solutions to the holomorphic anomaly equations [ 4 ] characterising B-model topological string free energies. In our examples, we verify that an appropriate specialisation of the tau functions associated with Joyce structures (as introduced in [ 15 ] ) coincides with the Painlevé II and III 3 tau functions. This supports the view that the tau function of a Joyce structure extends the conventional isomonodromic tau functions to cases with a nontrivial reference connection, and is naturally related to a nonperturbative topological string partition function. This adds evidence to the two known cases up to now, which are the Joyce structures associated to Painlevé I and to the derived category of coherent sheaves on the resolved conifold. Remark 8.1 . The expression ( 22 ) also appears in the context of topological string theory on non-compact Calabi-Yau threefolds given locally by an equation of the form y^{2}+uv=Q_{0}(x) . More precisely one has S\propto F_{1} , where F_{1} is the first correction to the refined B-model topological string free energy in the so-called Nekrasov-Shatashvili (NS) limit (see [ 41 , equation (3.23)] ). The appearance of the NS free energy in the locus \theta=0 is particularly suggestive: as we show in the text, this locus corresponds to the poles of the Painlevé equation, or equivalently to the zeros of the tau function. Approaching such points corresponds precisely to the NS limit in the string theory description [ 5 ] . It would be interesting to see if retaining higherorder terms in the \epsilon -expansion of W along the isomonodromic flows near \theta=0 reconstructs further contributions to the NS free energy.