Regularising Transformations for Complex Differential Equations with Movable Algebraic Singularities

In a 1979 paper, K. Okamoto introduced the space of initial values for the six Painlev\'e equations and their associated Hamiltonian systems, showing that these define regular initial value problems at every point of an augmented phase space, a rational surface with certain exceptional divisors removed. We show that the construction of the space of initial values remains meaningful for certain classes of second-order complex differential equations, and more generally, Hamiltonian systems, where all movable singularities of all their solutions are algebraic poles (by some authors denoted the quasi-Painlev\'e property), which is a generalisation of the Painlev\'e property. The difference here is that the initial value problems obtained in the extended phase space become regular only after an additional change of dependent and independent variables. Constructing the analogue of space of initial values for these equations in this way also serves as an algorithm to single out, from a given class of equations or system of equations, those equations which are free from movable logarithmic branch points.


Introduction
Differential equations and their solutions in the complex plane have been studied extensively since the 19th century. A main motivation then was that new transcendental functions could be defined and studied as the solutions of certain differential equations. For example, Airy's equation, Bessel's equation, Weber-Hermite equation etc., all of which are important in mathematical physics, have solutions which cannot be expressed in terms of elementary functions. Rather, their solutions can be given e.g. in terms of power series expansions around a point, convergent in certain domains, defining analytic functions there, or by asymptotic series. Briot and Bouquet [1] noted that cases where a differential equation can be integrated directly are extremely rare, and one should therefore study the properties of the solutions of a differential equation through the equation itself, as they have demonstrated for elliptic functions. All the equations mentioned above are linear differential equations, with non-constant coefficients. The singularities of their solution are fixed, i.e. they can occur only at those points where either one of the coefficients of the equation becomes singular or where the coefficient multiplying the highest derivative term vanishes. The fixed singularities essentially can be read off from the equation itself, and the nature of these singularities can be determined. The case is more involved for non-linear differential equations, for which singularities can develop somewhat spontaneously, depending on the initial data, and a priori the nature of the singularities cannot be determined by inspecting the differential equation. In particular, the positions of these singularities depend on the initial data prescribed for the equation. Roughly speaking, going from one solution of the equation to a different solution under a small variation in the initial data, the position of the singularities changes in a continuous fashion. Such singularities are thus called movable. For a detailed discussion and a more exact definition of movable singularities we refer to the article [21] by Murata. A main motivation for complex analysts studying differential equations is to find new mathematical functions with properties of interest to solve problems in physics and other areas of mathematics. 'Interesting' or 'good' mathematical functions for function theorists were considered to have no movable critical points. In other words, apart from a finite number of fixed singularities, all other (movable) singularities of any solution are poles. An equation of this kind is said to have the Painlevé property. For example, S. Kovalevskaya [20] identified all the integrable cases of the equations of motion of a heavy top, by demanding that their complex solutions can be expressed by Laurent series expansions, i.e. solutions with singularities no worse than poles. Apart from the already known cases, namely the Lagrange and Euler top, she identified one further integrable case, given by certain ratios of the principle moments of inertia of the top, which is now known as the Kovalevskaya top. P. Painlevé [24] and his pupil B. Gambier [8] took on the challenge of classifying second-order ordinary differential equations of the form (1) y ′′ = R(z, y, y ′ ), R a function rational in y, y ′ with analytic coefficients, with the property now named after Painlevé. The result of this classification was a list of 50 canonical types of equations, in the sense that any equation in the class can be obtained from an equation in the list of 50 by applying a Möbius type transformation where a, b, c, d and φ are analytic functions. Most of the equations in the list were found to be integrable in terms of formerly (at the time of Painlevé) known, classical functions, such as Airy functions, Hermite functions, Bessel functions, or other special functions (solutions of certain linear second-order differential equations with non-constant coefficients), elliptic functions, or by quadrature. Only six equations in the list turned out to produce essentially new analytic functions. These nonlinear equations are now known as the six Painlevé equations and their non-classical solutions are commonly called Painlevé transcendents. (For particular values of the parameters in the Painlevé equations these also have classical solutions, but not for generic parameters.) One way to detect equations with the Painlevé property, within a given class, is to first check whether they satisfy certain necessary criteria. Of such criteria, although not the one originally persued by Painlevé himself (who used the so-called α-method), a very common one is to perform the Painlevé test, which checks whether the equation admits, at every point in the complex plane, certain formal Laurent series expansions. It is then still a much more difficult task to prove whether an equation, which passes the Painlevé test, actually possesses the Painlevé property. Proofs for the Painlevé property of all six Painlevé equations were given in [26], although earlier proofs exist in the literature, e.g. [12], [23], [30] or [32], see also the book [9]. There also exists a completely different approach of proving the Painlevé property making use of the so-called isomonodromy method [7].
In [3,4,5], Filipuk and Halburd apply a similar test to certain classes of second-order differential equations, but with algebraic series expansions in a fractional power of z − z 0 , (2) y(z) = ∞ j=0 c j (z − z 0 ) (j−j 0 )/n , j 0 , n ∈ N, instead of Laurent series. The test, which again relies on recursively computing the coefficients of the series expansion, gives rise to certain resonance conditions, which need to be satisfied in order for there to be no obstruction in the recurrence. Furthermore, in the papers cited above, Filipuk and Halburd prove that the conditions, within the given classes of equations, are sufficient for all movable singularities to be algebraic poles of the form (2), with the proviso that these are reachable by analytic continuation along a path of finite length. The study of this property was continued by one of the authors for other classes of second-order equations [16] and certain Hamiltonian systems [18]. Thus, just by inspecting a non-linear differential equation, it is far from obvious to see whether it has the Painlevé property, or, more generally, what types of movable singularities its solutions can develop. In this article we are concerned with a method of determining, from a given equation or system of equations, what types of singularities the equation can develop. Although our point of departure are the Painlevé equations, we are studying classes of differential equations and Hamiltonian systems which admit different types of movable singularities other than poles, such as algebraic poles and logarithmic singularities. Employing a method originating in algebraic geometry, called a blow-up, we will resolve certain points of indeterminacy, or base points, which an equivalent system of equations acquires in an augmented (compact) phase space which includes the points at infinity in the space of dependent variables. We will see that this method essentially gives an algorithmic procedure of determining the possible types of singularities an equation can develop and to give conditions for which certain types of singularities, in particular logarithmic singularities, cannot occur. This can therefore be seen as an alternative to the Painlevé test and its generalisation to algebraic series expansions.
In a 1979 paper [22], K. Okamoto introduced the space of initial values for each of the Painlevé equations. These are extended phase spaces, every point of which defines a regular intial value problem in some coordinate chart of the space for one of the Painlevé equations. The space of initial values is obtained by first compactifying the phase space C 2 of (y, y ′ ) to some rational surface, such as e.g. P 2 or P 1 × P 1 (Okamoto himself started from so-called Hirzebruch surfaces), and then applying a number of blow-ups to resolve certain points of indeterminacy the equivalent system acquires in this augmented space. A blow-up is one of the most fundamental type of bi-rational transformation. In this way, we obtain bi-rational coordinate transformations between the original dependent variable y and its derivative and coordinates covering the points at infinity in which the equation is regular. The space of initial values for a Painlevé equation is uniformly foliated by its solutions.
Through the space of initial values, every Painlevé equation is thus assigned a geometric meaning. Sakai [25] classified rational elliptic surfaces by 9-point configurations in P 2 , which correspond to the geometries of the spaces of initial values of all known discrete and differential Painlevé equations. In this picture, it is more appropriate to divide the Painlevé differential equations into 8 different types, as the geometry of some of the Painlevé equations is different for certain choices of parameters. This work has been elaborated on also in the extensive article [15].
In the present article, we are mainly concerned with equations and systems of equations that are not of Painlevé type, but for which it can be shown that all movable singularities of their solutions are algebraic poles, such as studied by Shimomura [27,28], Filipuk and Halburd [3,4,5], and one of the authors [16,18]. Although such equations are in general not integrable, the condition on the singularities to be algebraic, rather than containing e.g. logarithmic branch points, guarantees some degree of regularity. After reviewing the construction of the space of initial values for the second Painlevé equation in the next section, we will mainly be concerned with equations of the form y ′′ = P (z, y), P a polynomial in y with analytic coefficients and, more generally, Hamiltonian systems, where H(z, x, y) is polynomial in the last two arguments, with analytic coefficients in z. Extending the phase space to complex projective space P 2 , certain points at infinity, where the flow of the Hamiltonian vector field becomes indeterminate, are resolved using the method of blowing up these so-called base points. This process has to be repeated a number of times, until the indeterminacy disappears, leading to an analogue of the space of initial values in which each point defines a regular initial value problem, but possibly only after a change in the dependent and independent variables. For the equations considered in this article, the described method is a finite procedure resulting in differential systems which allows us to determine directly the local singularity structure of an equation, i.e. what types of movable singularities its solutions can exhibit, without having to explicitly construct the solutions. In particular, it is possible to determine when an equation has logarithmic branch points and to give conditions under which these logarithmic singularities are absent. These are the same conditions as the resonances found by applying a Painlevé test, testing the system for the existence of formal Laurent series solutions in z − z 0 , or its generalisation to multi-valued singularities, testing for formal series solutions in fractional powers of z − z 0 . Moreover, in the case where logarithmic singularities are absent, the procedure allows us to conclude that the algebraic series obtained are the only possible type movable singularities. Namely, employing certain approximate first integrals, we can show that the exceptional lines arising from all except the last blow-up are inaccessible for the flow of the vector field and the solution, at a singularity, must pass through the exceptional curve from the last blow-up where its behaviour is completely determined.

Okamoto's space of initial values for the Painlevé equations
The space of initial values was originally constructed by Okamoto [22] for each of the six Painlevé equations. The idea in that paper is to consider the respective Hamiltonian systems in an extended phase space that includes all points at infinity, in order to study the behaviour at their singularities. In the case of the Painlevé equations, the extended phase space (with a certain exceptional divisor removed) covers all possible points, including points at infinity, at which the system defines a regular initial value problem. One of the main aims of this paper is to show that this construction is also meaningful for a wider class of ordinary differential equations with singularities other than poles, in particular for equations with algebraic poles. The other main point we wish to make is that the process of constructing the space of initial values also serves as an algorithm to single out, from a given class of equations, those equations for which the solutions are free from logarithmic singularities. We will first review the process of constructing the space of initial values here for the case of the second Painlevé equation, (3) P II : y ′′ (z) = 2y 3 + zy + α, α ∈ C.
Note that this is a non-autonomous (z-dependent) Hamiltonian system, letting x = y ′ and defining the Hamiltonian, Okamoto [22] also considered a different Hamiltonian, H Ok = 1 2 x 2 − y 2 + z 2 x − α + 1 2 y, which, by eliminating x, leads to the same equation.
Here, instead of equation (3), we start in fact from the more general class of equations where α and β are analytic functions. One can easily find necessary conditions for equation (5) to have the Painlevé property. This is the so-called Painlevé test, which is performed by inserting formal Laurent series solution of the form into the equation, with c −1 = ±1 being the two possible types of leading-order behaviour in this case.
Computing the coefficients c 0 , c 1 , c 2 , . . . recursively leads to certain obstructions for the formal Laurent series to exist. The case when these obstructions are absent is equivalent to the resonance conditions β ′′ (z) ≡ α ′ (z) ≡ 0. Thus, β is at most a linear function in z whereas α is a constant. The case when β ′ (z) = 0 essentially reduces equation (5) to equation (3), up to a rescaling of z. When β ′ (z) ≡ 0, this is an equation with constant coefficients which can be integrated directly in terms of elliptic functions.
We will see below how we can re-discover the resonance conditions using the method of blowing up the base points. At a singularity z * of a solution of equation (5), where α(z) and β(z) are analytic, we have This is a consequence of the following lemma by Painlevé, which in turn follows from Cauchy's local existence and uniqueness theorem for analytic solutions of differential equation, see e.g. [11].
Therefore, to analyse the behaviour of the solution at a singularity, it suggests itself to include the points at infinity of the phase space, i.e. the line at infinity in our case, as we will start constructing the space of initial values for equation (5) by extending the phase space of the differential equation to the compact surface P 2 . We introduce coordinates on the three standard charts of P 2 , where y and x = y ′ denote the original phase space variables, and the other two coordinate charts covering P 2 are given by u = 1 x , v = y x and U = x y , V = 1 y , respectively. In these coordinates, equation (5) is expressed as follows: The line at infinity of P 2 is given by the set I = {u = 0} ∪ {V = 0} in these coordinates. On this line, the vector field defined by (7) is infinite, apart from the point P 1 : (u, v) = (0, 0), where it is of the indeterminate form 0 0 . In the vicinity of any point of I \{P 1 }, the vector field is also 'tangential' (having zero vertical component) to the line I, and intuitively can never reach I \ {P 1 }. Below, we will give a formal argument to show that the line at infinity, and subsequently the exceptional lines introduced by various blow-ups, are inaccessible for the flow of the vector field away from the base points. Therefore, approaching a singularity z * along a curve γ, there exists at least a sequence (z n ) n∈N ⊂ γ, z n → z * , such that the corresponding sequence of points in P 2 , with coordinates (u(z n ), v(z n )), (U (z n ), V (z n )) in the respective charts, tends to the point P 1 . A point P ∈ P 2 \ I = C 2 cannot be a limit point of the sequence since by Lemma 1 the solution would be analytic at z * after all.

Resolution of base points.
A dynamical systems can be interpreted as the flow of a vector field, an arrow at each point of possible initial values for the system. A solution of the system is visualised by drawing a curve which follows the direction of the arrows in a smooth way. However, there may exist points in the phase space from which vectors emerge or sink into from all possible directions, such as the point P 1 in the preceding paragraph, at which the vector field is a priori ill-defined. In general, we start from a rational system of equations, defined in some coordinates (u i , v i ), where we assume that the polynomials p i,1 , q i,1 and p i,2 , q i,2 are in reduced terms, respectively. (We will let the index i start counting from 0, 1, 2, . . . in the following.) The points of indeterminacy of the vector field are the common zeros (s, t) of either pair of polynomials, p i,1 (z, s, t) = 0 = q i,1 (z, s, t), or p i,2 (z, s, t) = 0 = q i,2 (z, s, t). These base points (which may also depend on z), at which the behaviour of the system is a priori unknown, can be resolved using the method of blowing up, a process familiar from algebraic geometry to resolve singularities of algebraic varieties, see e.g. [10] and the work by Hironaka [13]. By a blow-up of a point P i+1 : (u i , v i ) = (s, t) ∈ C 2 , the phase space is extended by introducing a new projective line L i+1 , the points of which are in one-to-one correspondence to the various directions emanating from the base point. The extended space after blowing up P i+1 , the centre of the blow-up, is given by To express the differential system in the space obtained after the blow-up, two new coordinate charts are introduced, covering the portions of the space (8) where w 0 = 0 and w 1 = 0, respectively. We denote these coordinates by After each blow-up, we therefore obtain two new rational systems where we assume again that the polynomials p i+1 , q i+1 and P i+1 , Q i+1 are already in reduced terms.
Here, the relation U i+1 = v −1 i+1 holds where either coordinate is non-zero, since [v i+1 : 1] = [1 : U i+1 ] = [w 0 : w 1 ] are homogeneous coordinates on the complex projective line, equivalent to P 1 , introduced by the blow-up. This line, L i+1 , is also called the exceptional line of the blown-up space Bl P i+1 . The points on L i+1 are said to be infinitely near to the point P i+1 . The canonical projection to the first component that is, away from the centre P i+1 and its pre-image L i+1 = π −1 i+1 (P i+1 ), points in C 2 are in one-to-one correspondence with points in Bl P i+1 .
In the coordinates (u i+1 , v i+1 ), resp. (U i+1 , V i+1 ), the exceptional line L i+1 is parametrised by with C = c −1 for c = 0. After each blow-up, we denote the space S i+1 = Bl P i+1 (S i ), obtained by blowing up S i at P i+1 , where S 0 = P 2 . Later, the location of the points P i becomes z-dependent, and we therefore denote the blown up spaces by S i (z). Furthermore, we define the infinity set as the union of the set I i−1 (z) under the blow-up with L i , that is I i (z) = I ′ i−1 (z)∪L i , where I ′ denotes the proper transform of the set I under the blow-up. We define L 0 = I \ {P 1 } ⊂ P 2 as the line at infinity with the initial base point removed.

2.2.
Sequence of blow-ups. For system (7) we found the initial base point P 1 : (u 0 , v 0 ) := (u, v) = (0, 0). This base point can be resolved by a sequence of blow-ups as described in the following. After each blow-up, we have to examine the two resulting systems of equations (9) for new base points arising on the exceptional line. The indeterminacies of the system after the blow-up of P i+1 arise as common zeros of either pair of equations, for the first system, and for the second system. However, any indeterminacy at (u i+1 , v i+1 ) = (0, c), c = 0, of the first system is a base point if and only if this indeterminacy also presents itself at (U i+1 , V i+1 ) = (c −1 , 0) in the other system, and vice versa, as otherwise the behaviour of the solution is determined. In addition, we can have base points at (u i+1 , v i+1 ) = (0, 0) or (U i+1 , V i+1 ) = (0, 0), which are only visible in one of the charts. We now give the sequence of blow-ups for equation (5) which resolves the base point, thus leading to the space of initial values. We do not write out the system of equations after each blow-up, as these expressions soon become very lengthy, and one is advised to use an appropriate computer algebra system to identify the base points in these systems and perform the blow-ups. Here, after the second blow-up, two new base points arise, thus the sequence branches into two cascades, after which we denote the subsequent coordinates with superscripts ±. , After the blow-up of P ± 6 , the differential system is of the form where p 6,2 and P 6,i , i = 1, 2, are polynomials in their second and third arguments. Incidentally, the , the proper transform of the exceptional curves arising from the cascades of blow-ups P 1 ← P 2 ← · · · ← P + 5 resp. P 1 ← P 2 ← · · · ← P − 5 , as well as the line L 0 , After each blow-up we have performed one can check that, for the resulting vector field In a Real picture this would be understood as the vector field becoming tangent to the exceptional curve. Here, we will show through a more formal argument that the flow of the vector field cannot pass through the exceptional curve except at the base points. Namely, there exists an auxiliary function, or approximate first integral, which remains bounded at any movable singularity. For the second Painlevé equation, this function is known to be where H is the Hamiltonian (4). In certain proofs of the Painlevé property for the equation this function is needed to show that actually y → ∞ at a movable singularity. In the context of the space of initial values, we can use W to show that the line at infinity of P 2 , and subsequently the exceptional curves introduced by the blow-ups are inaccessible for the flow of the vector field, apart from at the base points. Namely, one can check, that the logarithmic derivative W ′ W remains finite on the line at infinity and the subsequent exceptional lines introduced by the cascade of blow-ups, except at the base points, whereas W itself is infinite on these lines away from the base points. We do not write out the expressions for the function W in all the coordinate charts as these become rather lengthy, but we note that this can be done routinely using computer algebra. In section 6.1, we demonstrate this process for the Hamiltonian system given there by explicitly writing out the respective functions W where this is feasible. The following lemma, using a standard integral estimate, then shows that a solution cannot pass through any of the exceptional lines on which W is infinite, i.e. they cannot be reached by analytic continuation of a solution along a finite-length curve.
Lemma 2. Suppose a function W (z) is defined in the neighbourhood U of a point z * such that the logarithmic derivative d dz log W = W ′ W is bounded, say by K, on U . Let γ ⊂ U be a finite-length curve from some point z 0 where W (z 0 ) is finite and non-zero, ending in z * . By the estimate, log W (z * ), and hence W (z * ), is bounded.
In other words, a solution continued along a curve γ ⊂ C, ending in a movable singularity z * , has to approach a base point, i.e. there exists at least a sequence (z n ) n∈N ⊂ γ, z n → z * , such that the sequence of points (u i (z n ), v i (z n )) or (U i (z n ), V i (z n )) tends towards one of the base points. Otherwise we would be in the situation where the solution remains entirely in the region of the phase space where the equations define a regular initial value problem, i.e. no singularity can develop.
The base point P ± 7 : (U ± 6 , V ± 6 ) = (0, 0) in the second chart of system (10) is only present if the condition (12) 2α is not satisfied. This point can be blown up once further, resulting in a system with no further base points. However, the solutions of the resulting system give rise to logarithmic singularities. This behaviour is already visible in the systems (u ± 6 , v ± 6 ): integrating the first equation of system (10) with initial data on the exceptional curve after the last blow-up, u ± 6 = 0, and inserting this into the second equations, one obtains . In case of the conditions (12) being satisfied, an additional cancellation of a factor of u ± 6 and V ± 6 occurs in the second, respectively third, equation of system (10), rendering this system a regular initial value problem on the exceptional curves L ± 6 . Also, in this case the vector field is transversal to these lines. With initial data (u ± 6 (z 0 ), v ± 6 (z 0 )) = (0, h), one obtains an analytic solution translating into a simple pole for the original variable y. The conditions (12) are exactly the resonance conditions obtained by the Painlevé test, combined giving β ′′ (z) = α ′ (z) = 0. This is the case in which equation (5) essentially reduces to the second Painlevé equation, up to a re-scaling of z. We denote by I 5 (z) = I + 5 (z) ∪ I − 5 (z) ⊂ S 5 (z) the infinity set, that is the proper transforms of the line L 0 ⊂ P 2 and the exceptional curves L 1 , L 2 , L + 3 , L − 3 , L + 4 , L − 4 , L + 5 and L − 5 from the first 5 blow-ups of both cascades of base points. Then, at any point of the set S 6 (z) \ I ′ 5 (z), the system (10) defines a regular initial value problem, which justifies the name 'space of initial values' for this set.
Suppose now that a solution y(z) of the dynamical system, defined in z∈C S 6 (z), has a movable singularity at some point z * and consider a finite-length path γ ⊂ Ω with endpoint z * , where Ω ⊂ C is a closed neighbourhood of z * . We denote the lifted path, i.e. the path that the solution along this path traces out in the (extended) phase space, by Γ ⊂ z∈Ω S 6 (z). A priori Γ can be of finite or infinite length. Let (z n ) n∈N ⊂ γ be a sequence of points with z n → z * . Since the phase space (including all the exceptional curves) is compact, there exists a subsequence (z n k ) such that Γ(z n k ) tends to a point P * ∈ S 6 (z * ). By Remark 1 and Lemma 2, we actually have P * ∈ S 6 (z * ) \ I ′ 5 (z * ). Then, by Lemma 1 we can conclude that the solution, expressed in coordinates of some chart containing P * , is analytic at the point z * , and therefore in a neighbourhood of z * . Thus, the solution converges to the point P * in this chart as z → z * , which corresponds to either an analytic point or a simple pole in the original variable y. This also excludes the possibility that Γ has infinite length, as the curve Γ is the analytic image of the finite-length curve γ in this chart.
In summary, the procedure of blowing up the base points allows us to single out, from the class of equations (5) with general coefficients, those equations for which the solutions are free from movable logarithmic singularities. Furthermore, in the absence of logarithmic singularities, the argument in the preceding paragraph essentially establishes an alternative method of proof for the Painlevé property of equation (3).
We mention that for the alternative (Okamoto) Hamiltonian H Ok for equation (3), a different sequence of base points leads to a related space of initial values. Here, there are originally two base points in P 2 , one at (u, v) = (0, 0), the other at (U, V ) = (0, 0). One of them can be resolved by 3 successive blow-ups, the other by blowing up 6 times, the resulting resonance conditions being equivalent to the ones obtained above. The procedure also works for the other Painlevé equations. For the equation y ′′ = 6y 2 + α(z), α analytic in z, one finds, after compactifying the equation on P 2 and blowing up a sequence of 9 base points, the condition α ′′ (z) ≡ 0. If this condition is satisfied, the system defines a regular initial value problem on the exceptional curve from the 9th blow-up, and the equation essentially reduces to the first Painlevé equation P I . Moreover, in this case there is an analytic solution around each point of the space of initial values, which, in the original variable y(z) corresponds to a point where the solution is either analytic or has a double pole. For detailed blow-up calculations see also the work by Duistermaat and Joshi [2] for the first Painlevé equation and Howes and Joshi [14] for the second Painlevé equation, both performed in so-called Boutroux coordinates.

Differential equations with movable algebraic singularities
In the papers [27,28], Shimomura studied certain classes of differential equations with what he called the quasi-Painlevé property. This is a generalisation of the Painlevé property in the sense that the solutions of the equations considered may have at worst algebraic poles as movable singularities. Definition 1. By an algebraic pole we denote a singularity z * of y(z), which, in a cut neighbourhood of z * , can be represented by a convergent Puiseux series, For n = 1 this includes the notion of an ordinary pole. If the number n is chosen minimal and n > 1, we say that y has an nth-root type algebraic pole at z * .
Shimomura proved that, for the families of equations, , the only types of movable singularities that can occur, by analytic continuation of a local solution along finite-length paths, are of the algebraic form (13). For P (k) where h ∈ C is an integration constant, and for P where again h is an integration constant and ω k ∈ {1, e iπ/k }, i.e. in this case there are two essentially different types of leading-order behaviour at the singularities. The proofs in [27,28] for the quasi-Painlevé property of these equations rely on similar methods as the proofs of the Painlevé property for the Painlevé equations in [26]. In fact, for k = 1, the equations P where f and g are polynomials in y. He showed that, under the condition deg(g) < deg(f ), the only types of movable singularities that can occur by analytic continuation along finite-length paths are algebraic poles of the form Here, as in the cases of equations P (k) I and P (k) II , it is easy to verify the existence of formal series solutions of the form (18), (15) or (16), respectively. Namely, inserting a formal series into the respective equation, one can determine the coefficients recursively without obstruction. A harder problem is to show that all movable singularities are of this form. As mentioned above, this is similar to the difference in difficulty of showing that an equation passes the Painlevé test and showing that the equation has the Painlevé property (if it has). The problem we pose is, for a given differential equation, to determine a list of possible types of movable singularities that can occur in solutions of the equation and show that these are the only ones. In the cases of the equations by Smith (17) and Shimomura (14), this was shown under the proviso that paths along which we obtain a singularity through analytically continuation, are of finite length. In [29], Smith gave an example of a solution with a singularity not of the form (18), which can be obtained only by analytic continuation of a certain solution along a path of infinite length. This singularity, at which the solution behaves very differently, is an accumulation point of algebraic singularities of the form (18).
Departing from the works by Smith and Shimomura, Filipuk and Halburd [3,4,5] studied more general classes of differential equations with movable algebraic poles. In [3], the following class of second-order equations is studied, (19) y ′′ (z) = N n=0 a n (z)y n , where the right-hand side is a polynomial in y with analytic coefficients in some domain Ω ⊂ C. After a simple transformation, this equation can be brought into the normalised form (20) y ′′ (z) =ã N y N + N −2 n=0ã n (z)y n , with a conveniently chosen constantã N ∈ C, and where the y N −1 term is now absent. By inserting into equation (20) a formal series expansion of the form and recursively computing the coefficients c j , one finds a necessary condition for the singularities of the solution to be algebraic. Namely, the recurrence relation is of the form where each P j , j = 1, 2, . . . is a polynomial in all the previous coefficients c 0 , . . . , c j−1 . The coefficient c 2N +2 cannot be determined in this way and the recurrence relation (22) is satisfied if and only if P 2N +2 is identically zero, in which case c 2N +2 is a free parameter. This resonance condition, P 2N +2 ≡ 0, is necessary for the existence of the formal algebraic series solutions (21). Note that each formal series solution (21), with distinct leading-order behaviour, gives rise to one resonance condition. By expanding the coefficientsã n (z), n = 0, . . . , N − 2 in Taylor series, one can show that the resonance conditions are equivalent toã ′′ N −2 (z) = 0 for even N , plus an additional differential relation between the coefficient functions in the case when N is odd. The main result in [3] is that all resonance conditions being satisfied is also sufficient for all movable singularities of any solution of the equation, reachable by analytic continuation along finite length curves, to be algebraic poles of the form (21). This is essentially achieved in two steps. First, by constructing a certain auxiliary function, or approximate first integral for the equation, similar to the function W in (11), which remains bounded in the vicinity of any movable singularity. Secondly, by formally constructing regular initial value problems from these bounded quantities in certain transformed variables. Regarding the second step, we show in this article how these regular initial value problems can be obtained directly by constructing the space of initial values for the equation. Although resulting in lengthy expressions, best dealt with using computer algebra, this process yields explicit equations, thus almost automating the process of finding the regular initial value problems. Although the auxiliary functions from the first step above are not required to compute the space of initial values, we will still need them to show that certain lines in this space cannot be reached by any solution.
In the following sections, we will construct the analogue of the space of initial values for some of the equations in the class (20), namely the cases N = 4 and N = 5, explicitly computing the regular initial value problem at each point of this compact space, away from the exceptional divisors introduced by the blow-ups. We will need the auxiliary functions mentioned above to show that the exceptional divisors are inaccessible for the solution, using Lemma 2. To obtain a regular initial value problem, an additional change of the dependent and independent variables is necessary after the ultimate blow-up. Furthermore, with the approach in this article we can show that, for these equations and also for the Hamiltonian systems considered in Section 6, all finitely reachable movable singularities are algebraic poles, i.e. these equations indeed have the quasi-Painlevé property. This is due to the fact that for these equations, blowing up the base points is a finite procedure, i.e. the sequence of base points terminates and the indeterminacies can be resolved completely. We will see that, in the resulting compact space, a solution approaching the singularity has a limit point somewhere on the exceptional curve after the last blow-up, where the system defines a regular initial value problem, after a change in dependent and independent variable. By Lemma 1 we can conclude that there exists an analytic solution near this point, which, transformed back into the original variables, results in an algebraic pole.
The class of second-order equations (19) is contained in a wider class of polynomial Hamiltonian systems studied by one of the authors [18], where the coefficient functions α i,j (z) are analytic in some common domain Ω ⊂ C. Also here, under a number of resonance conditions, which can be obtained either through a Painlevé test involving algebraic series, or through constructing the analogue of the space of initial values, the solutions of a system in this class can be shown to have only certain algebraic poles as movable singularities.
In the case where some of the resonance conditions are not satisfied, a formal algebraic series expansion with the corresponding leading-order behaviour does not exist. This can be remedied only by the introduction of logarithmic terms log(z − z 0 ) in the series expansions of the solutions. In this case, performing the sequence of blow-ups leads to a space in which, although the indeterminacies of the vector field defined by the equation have been resolved, the system in general does not define regular initial value problems at any point of the infinity set. With the procedure described in this article we can recover the conditions under which the respective classes of equations are free from logarithmic branch points.
4. Second-order equation with polynomial right-hand side of degree 4 We will now apply the procedure outlined in Section 2 to the class of equations (23) y ′′ (z) = 5 2 extending the phase space of (y, y ′ ) = (y, x) from C 2 to P 2 and resolving the base points by successive blow-ups. The factor of 5 2 is chosen for convenience here to avoid large numerical constants in the calculations, and any y 3 term has been transformed away. As shown in [3], a necessary and sufficient condition for all singularities of this equation to be algebraic poles is α ′′ (z) ≡ 0, i.e. α is either a linear function in z or constant. This result was obtained by introducing an auxiliary function, which in our normalisation of the equation is given by which is essentially the Hamiltonian of the equation plus corrections given in terms the functions ξ 1 , ξ 2 , ξ 3 . By the process described in [3], these can be computed as in which case W is shown to remain bounded at any movable singularity, which is established by showing that W satisfies a first-order differential equation of the form W ′ = P (z, 1/y)W + Q(z, 1/y)y ′ + R(z, 1/y), where P , Q and R are polynomials in their last argument. We will now recover the condition α ′′ (z) = 0 for the existence of algebraic singularities using an appropriate cascade of blow-ups. After that, we will use the function W defined in (24), in conjunction with Lemma 2, to show that certain exceptional curves arising from the blow-ups cannot be reached by the solution. This will allow us to conclude that the algebraic singularities are the only ones that can occur in the solutions of the equation.
After blowing up P 14 , the differential system is of the form The zero set of the denominators d(z, u 14 , v 14 ) and D(z, U 14 , V 14 ) of (25) is also called the exceptional divisor, representing the set I ′ 13 (z) in these coordinates, that is the union of the proper transforms of the exceptional curves L 1 , . . . , L 13 introduced by the first 13 blow-ups together with the line at infinity L 0 = I \ P 1 ⊂ P 2 , d = 9 + 9u 10 14 v 14 − 6u 4 14 α + 12u 8  .
Integrating the system (25) when α ′′ (z) = 0 would result in logarithmic behaviour for v 14 , since, to leading order,

and inserting this into the second equation of would result in
from which the logarithmic behaviour v 14 = 8 27 α ′′ (z 0 ) log(z − z 0 ) + O(z − z 0 ) follows. As discussed above, α ′′ (z) ≡ 0 is the resonance condition, where the system admits algebraic series expansions. In this case, a cancellation of one factor of u 14 resp. V 14 occurs in the second and third equation of system (25), which becomes where h is the second integration constant (besides z 0 ). In this way, every point on the line L 14 introduced by the last blow-up, parametrised by (u 14 , v 14 ) = (0, h), gives rise to an algebraic series solution. Denoting by S 14 (z) the space obtained by blowing up the sequence of 14 base points, which are themselves z-dependent, and the set I 13 (z) as above, the analogue of the space of initial values can be defined as S 14 (z) \ I ′ 13 (z). Thus, away from the set I ′ 13 (z), every point in the space we have constructed gives rise to an initial value problem with either analytic solutions or power series solutions in (z − z 0 ) 1/3 . The latter solutions are transversal to the exceptional curve L 14 from the last blow-up.

Remark 2.
In addition to the blow-up calculations for the vector field, it is important to show that, in each step, the solution cannot pass through the exceptional curve L i at any point other than the base point P i+1 . This is achieved by re-expressing the auxiliary function W from (24) in the blown-up coordinates and verifying that the logarithmic derivative W ′ W is bounded in the neighbourhood of any point on the exceptional curve L i \{P i+1 }, whereas W itself is infinite there. Lemma 2 then shows that the exceptional curve is inaccessible for the flow of the vector field other than at the base point. This is ascertainment for the intuitive notion that after each blow-up, the resulting vector field is infinite on the exceptional curve L i and becomes tangent to this curve L i when approached away from the base point P i+1 . Although we do not give the detailed (and lengthy) expressions for d dz log(W ) here, we note that the above mentioned properties can be checked routinely using computer algebra.
We can now conclude with the statement that, in the case of the condition α ′′ (z) = 0 being satisfied, the only singularities are algebraic.
where β and γ are analytic functions and a, b ∈ C, has the quasi-Painlevé property, with cubic-root type algebraic poles.
Proof. Making a change in dependent and independent variables, the system (27) becomes 1 (z, u 14 , v 14 ) , , which, for initial data (z, u 14 , v 14 ) = (z 0 , 0, h) resp. (z, U 14 , V 14 ) = (z 0 , H, 0) on the exceptional curve L 14 , defines a regular initial value problem of (z, v 14 ) in u 14 and of (z, U 14 ) in V 14 , respectively. Let γ ⊂ C be a finite-length curve ending in a movable singularity z * . The lifted curve in the phase space is denoted by Γ(z). Let (z n ) ⊂ γ, z n → z * be a sequence along the curve γ. Due to the extended phase space (with all the exceptional curves) being compact, there exists a subsequence (z n k ) such that the lifted sequence Γ(z n k ) converges to a point P * ∈ S 14 (z * ). By Remark 2, we actually have P * ∈ S 14 \I ′ 13 (z * ). If P * / ∈ L 14 , we would be in the situation where the original system defines a regular initial value problem, and thus would be analytic, contradicting the assumption of a singularity at z * . Hence, we must have P * ∈ L 14 . But here system (28) has an analytic solution (z, v 14 ) of the form or similar for (z, U 14 ). Inverting these power series one obtains an algebraic series expansion for (u 14 , v 14 ) in terms of (z − z * ) 1/3 , which by (26) corresponds to a cubic-root type algebraic pole in the original variable y(z).

5.
Second-order equation with polynomial right-hand side of degree 5 As the lowest degree example of the equation y ′′ = a N y N + N −1 n=0 a n (z)y n with odd N > 3 we consider the case N = 5, (29) y ′′ (z) = 3y 5 + α(z)y 3 + β(z)y 2 + γ(z)y + δ(z), where the coefficient a 5 = 3 is chosen for computational convenience. As was shown in [3], in the odd N case, two resonance conditions are necessary and sufficient for the solutions of the equation to have algebraic poles as movable singularities. These can be found by inserting the formal series expansion into equation (29) and computing, for each possible leading coefficient c 0 , the obstruction in the recurrence relation (22) to determine the coefficients c j , j = 1, 2, . . . . In the odd N case, there are two essentially different leading-order behaviours corresponding to the initial coefficients c 0 ∈ {1, −1}, yielding two distinct resonances. In this case, these conditions are equivalent to α ′′ (z) ≡ 0 and (γ(z) 2 + 4α(z)) ′ ≡ 0. We will now show that we can recover these conditions through the construction of the analogue of the space of initial values for equation (29), and moreover, that the singularities of the form (30) are the only type of movable singularity for equation (29).
Extending the phase space of the equation in the variables (y, x) = (y, y ′ ) to P 2 via the relations [1 : y : x] = [u : v : 1] = [V : 1 : U ], one finds the following systems of equations: There is a single base point in the chart u, v at (u, v) = (0, 0). Here we describe the sequence of blowups needed to completely resolve this base point. Similar to the case of the second Painlevé equation in Section 2, the sequence of base points branches into two cascades after the third blow-up, so that a total of 15 blow-ups is required. We denote coordinates and points of the subsequent blow-ups with superscripts ±, the complete cascade being as follows: Due to the bi-rational nature of the blow-ups, the collected coordinate transformations in each cascade of blow-ups can be inverted, resulting in In the coordinates after blowing up P ± 9 , the system is of the following form: , where p 9,2 and P 9,i , i = 1, 2 are polynomials that are zero on the exceptional curve from the last blow-up, that is, p ± 9,2 (z, 0, c) = 0 and P ± 9,i (z, C, 0) = 0. The zero set of d ± , resp. D ± is the exceptional divisor, i.e. the proper transform of the line at infinity L 0 = I \ {P 1 } ∈ P 2 and the exceptional curves L 1 , . . . , L ± 8 from the blow-ups of the two cascades P 1 ← · · · ← P + 8 and P 1 ← · · · ← P − 8 , respectively: unless the condition ±2α ′′ (z) + α(z)α ′ (z) − 8γ(z) = 0, is satisfied. This condition, for both signs, amounts to the relations In this case, a cancellation of one factor of u ± 9 resp. V ± 9 occurs in the second and third equation of system (32). Then, by changing the role of dependent and independent variables, the system is of the following form: , dU ± 9 dV ± 9 =P ± 9,1 (z, U ± 9 , V ± 9 ) −96 + P ± 9,2 (z, U ± 9 , V ± 9 ) , wherep ± 9,2 = 1 u ± 9 p ± 9,2 andP ± 9,1 = 1 V ± 9 P 9,1 are polynomials in u ± 9 , v ± 9 and U ± 9 , V ± 0 , respectively. For initial values (z, u ± 9 , v ± 9 ) = (z 0 , 0, h), respectively (z, U ± 9 , V ± 9 ) = (z 0 , H, 0), on the exceptional curve L ± 9 : {u ± 9 = 0} ∪ {V ± 9 = 0}, this defines a regular initial value problem with analytic solutions, e.g.
. Inverting these expansions we find the algebraic series solutions , which by (31) correspond to square-root type algebraic poles in the variable y.
To show that these are the only types of behaviour that can occur, we have to show that any solution actually traverses either the line L + 9 or L − 9 . This is achieved by considering the following auxiliary function, where we impose the conditions (33) and the functions ξ k can be determined to be Here, ξ 3 turns out to be arbitrary and has been set to 0.
After each blow-up one can check that, away from the base point, the logarithmic derivative W ′ W is bounded, whereas W itself is infinite. Although the expressions for the logarithmic derivative become lengthy and are omitted here, this can be checked easily using a computer algebra system. Lemma 2 then shows that the lines L 0 , L i \ P i+1 , i = 1, 2, 3 and L ± i \ P ± i+1 , i ∈ {4, 5, 6, 7, 8} are inaccessible for the flow of the vector field.
Denoting by S 9 (z) the space obtained by blowing up P 2 along the two cascades P 1 ← · · · ← P + 9 and P 1 ← · · · ← P − 9 , and I ′ 8 (z) the proper transform of the set , we obtain S 9 (z) \ I ′ 8 (z) as the analogue of the space of initial values for equation (37). We can now prove, by similar arguments as in Proposition 1, that the algebraic series (36) are the only possible types of movable singularities that can occur by analytic continuation of a solution along finite-length curves.

Proposition 2. The class of equations
where β(z) and δ(z) are analytic in z and a, b, c ∈ C constants, has the quasi-Painlevé property, with square-root type algebraic poles.
Proof. The proof proceeds similar to the proof of Proposition 1. Suppose that a solution, analytically continued along a finite-length curve γ ⊂ C, ends in a movable singularity z * ∈ C. The lifted curve in the extended phase space is denoted Γ(z). Let (z n ) ⊂ γ, z n → z * be a sequence along γ. Due to the compactness of the phase space (with all exceptional curves), there exists a subsequence (z n k ) such that the lifted sequence Γ(z n k ) converges to a point P * ∈ S 9 (z * ). By Lemma 2, and the existence of a function W (z) that is infinite on the set I ′ 8 (z), with bounded logarithmic derivative W ′ W , we actually have P * ∈ S 9 (z * ) \ I ′ 8 (z * ). Since the solution has a singularity at z * , we must have P * ∈ L + 9 ∪ L − 9 . For, if this was not the case, the sequence of points in the phase space would have an accumulation point away from the exceptional curves, where the original equation has a regular initial value problem, and, by Lemma 1 has an analytic solution, which is contrary to the assumption of a singularity at z * . Now suppose that P * ∈ L + 9 (the case for P * ∈ L − 9 is similar). The sequence (z n k , u + 9 (z n k ), v + 9 (z n k )) converges to the point P * ∈ L + 9 , on which the system (34) defines a regular initial value problem for (z, v + 9 ) in the variable u ± 9 , resp. (z, U + 9 ) in the variable V + 9 . Therefore, by Lemma 1, system (34) has an analytic solution of the form (35), with z 0 = z * , which translates into a square-root type branch point for (u + 9 (z), v + 9 (z)) and therefore by (31) into a square-root type algebraic pole for y(z).

Hamiltonian systems with algebraic singularities
In the previous section we have seen how to resolve the base points of the second-order equations of the form y ′′ = P (z, y), extending the phase space of (y, y ′ ). These equations are themselves Hamiltonian systems by letting where x = y ′ and we let N = deg y P . In the previous sections we considered the cases N = 4 and N = 5, whereas the case N = 3 was discussed in section 2, leading to the second Painlevé equation. Furthermore, the case N = 2 leads to the first Painleve equation. In fact, all six Painlevé equations can be written as polynomial Hamiltonian systems H(z, x, y) with rational coefficients in z. The blow-ups leading to the space of initial values for all Painlevé Hamiltonian systems where performed by Okamoto [22]. In [18], one of the authors studied the class of polynomial Hamiltonian systems, with i, j constrained by iN + jM ≤ M N , so that x M and y N are the dominant terms in the equations which, similar to the equations y ′′ = P (z, y), under certain resonance conditions, have the property that all their movable singularities are algebraic poles. We consider here the case where the coefficients of the dominant terms are constant, which amounts to saying the system (39) has no fixed singularities. By a suitable scaling, these constants can take any (non-zero) numerical value. Furthermore, the terms x M −1 and y N −1 can be transformed away, leaving us with the Hamiltonian Under these assumptions, leading order behaviour for series solutions (x(z), y(z) is of the form Using the method of compactifying the phase space and blowing up the base points, we will see how to obtain the conditions by which the expansions (41) yield algebraic poles, i.e. when they are free from logarithmic singularities. The case min{M, N } = 2 can be reduced essentially to the case (38), representing second-order equations. We will thus look at some examples with M, N ≥ 3. The case M = N = 3, discussed in the next paragraph, is interesting as it leads to a system of equations related to the fourth Painlevé equation, i.e. in this case the singularities are simple (ordinary) poles. The space of initial values for this system was already computed in [19] and is reproduced here for completeness. In the following two sections we then consider the cases M = N = 4 and M = 3, N = 4, which have square-root and 5th-root type algebraic poles, respectively. Constructing the analogue of the space of initial values for these systems and using an appropriate auxiliary function in conjunction with Lemma 2 to show that the exceptional curves from the intermediate blow-ups are inaccessible for the flow of the vector field, allows us to conclude that these are the only possible types of movable singularities under analytic continuation along finite-length curves, i.e. these systems have the quasi-Painlevé property. The forms of the auxiliary functions are taken from the article [18], where they are derived as a quantity that is bounded at all movable singularities.
6.1. Case M = N = 3: a system with the Painlevé property.
We consider the cubic Hamiltonian system (42) H(z, x(z), y(z)) = 1 3 which was introduced in [17]. If α and β are constants and γ(z) a function at most linear in z, it was shown that the system of equations derived from (42) has the Painlevé property. Below we will see that, by applying the procedure of compactifying the system (42) with general analytic functions α(z), β(z), γ(z), after blowing up and resolving the base points of the system, these conditions can be recovered by requiring that the system has no logarithmic singularities.
Extending the system to projective space we obtain, in the three standard coordinate charts of P 2 , [1 : We can see that initially there are three base points on the line at infinity of P 2 , given by is a third root of unity andω its complex conjugate. Keeping ρ as a symbol representing either of the three roots of unity, each base point is resolved by a cascade of three blow-ups. We denote the coordinates of the three respective sequences of blow-ups with superscripts ρ ∈ {1, ω,ω}: x , x (y − ρx +ργ(z)) = 0, γ ′ (z) − ρβ(z) −ρα(z) .
After blowing up P ρ 3 , the system of equations takes the following form: We see that there is an additional base point at P ρ 4 : U ρ 3 = V ρ 3 = 0. This point can be blown up once more, rendering a system free from base points (but not regular). However, the point P ρ 4 is only present if the condition is not satisfied, in which case the system (43) exhibits solutions with logarithmic singularities. If, however, condition (44) is satisfied, factors of u ρ 3 and V ρ 3 cancel in the second resp. third equation of system (43), which then defines a regular initial value problem at every point on the exceptional curves Together, the three conditions (44), for ρ ∈ {1, ω,ω}, are required for the absence of logarithms in the solutions, which result in γ ′′ = β ′ = α ′ ≡ 0, that is, α and β are constant and γ(z) = az + b is at most linear in z. In case a = 0, the Hamiltonian system is autonomous and can be integrated directly using the Hamiltonian as first integral. When a = 0, by a re-scaling of z, x and y the system can be normalised to the form This system is in fact closely related to the Hamiltonian system defining the fourth Painlevé equation, and was introduced in [17] and investigated further in [31]. By similar arguments as in section 2, constructing the space of initial values gives an alternative method of proof for the Painlevé property of system (45). The proof makes use of the following auxiliary function, The correction term y 2 x is chosen to compensate for the divergence of H ′ = ∂H ∂z = xy at any singularity (one could alternatively have chosen x 2 y due to the symmetry in x and y). In [17] it is shown that W satisfies a first-order differential equation of the form W ′ = P W + Q, where P and Q are bounded functions, and hence that W itself is bounded. In the context of the space of initial values, we need to check that the logarithmic derivative W ′ W is bounded on the exceptional curve, whereas W itself is infinite there, to apply Lemma 2. We demonstrate the process for this example, re-writing the function W in terms of the other coordinate charts of P 2 .
In the chart [u : v : 1], we have The logarithmic derivative is which is bounded in a neighbourhood of any point on the line u = 0, apart from the base points where v 3 = 1. Therefore, by Lemma 2, the line at infinity is inaccessible for the solution away from the points (u, v) = (0, ρ), ρ ∈ {1, ω,ω}. After the first blow-up, in the coordinates (u 1 , v 1 ) = (u ρ 1 , v ρ 1 ), where for simplicity we let ρ = 1, we have where the calculations for ρ = ω,ω being similar. where W 2 is bounded in a neighbourhood of any point on the exceptional curve u 2 = 0, other than (u 2 , v 2 ) = (0, 1 − α − β), whereas W 2 itself is infinite on this line. By Lemma 2 we can conclude that, if a solution approaches a singularity z * along some finite-length path γ ending in z * , it must pass through one of the exceptional lines L ρ 3 introduced by the third blow-ups in each cascade. On the lines L ρ 3 the function W , re-written in the appropriate coordinates, is in fact finite. Furthermore, any solution approaching the lines L ρ 3 can be analytically continued across these lines where the system defines a regular initial value problem. The solutions on the lines L ρ 3 , when transformed back into the original coordinates, result in simple poles for x(z), y(z) with residues −ρ andρ, respectively. This provides an alternative proof that the Hamiltonian system defined by (45) has the Painlevé property.
6.2. Case M = N = 4. The differential system studied in this section arises from the Hamiltonian where the α i,j (z) are analytic functions in some common domain Ω ⊂ C. Similar as in the case M = N = 3, the geometry of the analogue of the space of initial values of this system is much more symmetric than in the case of the second-order equations discussed in sections 4 and 5. Although 16 blow-ups are required to regularise the system, these decompose into 4 separate cascades of 4 blow-ups.
After blowing up P ρ 4 , the system of equations takes the following form: Thus, unless the condition is more similar to the second-order equation in section 4. Extending the Hamiltonian system derived from (53) to P 2 yields the three systems of equations x ′ (z) = 4y 3 + a 21 x 2 + 2a 12 xy + a 11 x + 2a 02 y + a 01 , y ′ (z) = 3x 2 − 2a 21 xy − a 12 y 2 − 2a 20 x − a 11 y − a 10 , u ′ (z) = − 2u 2 vα 02 + u 3 α 01 + u 2 α 11 + 2uvα 12 + uα 21 + 4v 3 u , v ′ (z) = − 2u 2 v 2 α 02 + u 3 vα 01 + 2u 2 vα 11 + u 3 α 10 + 2u 2 α 20 + 3uv 2 α 12 + 3uvα 21 − 3u + 4v 4 u 2 , which have a single base point at (u, v) = (0, 0). This indeterminacy of the vector field can be removed by a cascade of 16 blow-ups, obtained using computer algebra, which we give in the following. Since the expressions for the coordinate transformation become very long in this case, we only give the locations of base points to be blown up: 2α ′ 21 (z) 2 + 2α 21 (z)α ′′ 21 (z) + 3α ′′ 12 (z) = (α 2 21 + 3α 12 ) ′′ ≡ 0 is satisfied, we can see that the solutions of system (54) admit logarithmic singularities. Indeed, integrating the fourth equation in system (54) gives the leading order behaviour V 16 ∼ (z − z 0 ) 1/5 . Inserting this into the third equation, U 16 has a logarithmic branch point. Thus, for the absence of logarithmic singularities we require condition (55) to be satisfied, which amounts to the function α 21 (z) 2 + 3α 12 (z) being at most linear in z. In this case, one factor of u 16 and V 16 cancel in the second resp. third equation of system (54), and by interchanging the role of dependent and independent variables, we can write the system of equations in the form which, for initial data (z, U 16 , V 16 ) = (z 0 , h, 0) on the exceptional curve L 16 from the last blow-up, becomes a regular initial value problem with analytic solutions Inverting the power series for z − z 0 leads to series expansions for U 16 and V 16 in (z − z 0 ) 1/5 , which translate to 5th-root type algebraic poles in the original variables x, y.

Discussion
For the examples of second-order equations in Sections 4 and 5, as well as the Hamiltonian systems in Section 6 we have constructed, under the conditions by which these systems do not admit logarithmic singularities, the analogue of the space of initial values in the sense of Okamoto's space for the Painlevé equations. In this case, the solutions are transversal to the exceptional curve introduced by the last blow-up for any cascade of base points. The difference to the Painlevé case is that, in order to obtain regular initial value problems in the coordinates of the extended phase space, an additional change of dependent and independent variable is needed. The existence of these regular systems allows us to conclude, using Lemma 2 with an appropriate auxiliary function and together with Painlevé's lemma (Lemma 1), that the only movable singularities that can occur in these equations, by analytic continuation along finite-length paths, are algebraic poles.
This procedure thus firstly serves as an algorithm to determine, for a given second-order equation or system of two equations, what types of singularities their solutions can develop and give conditions under which there are no logarithmic singularities. In the latter case, the construction of the space of initial values allows us to show that these equations have the quasi-Painlevé property.
In the examples considered in this article, it is crucial that the cascades of blow-ups required to resolve the base points terminate. By a powerful theorem by Hironaka [13] for singular algebraic varieties, the singularities of an arbitrary algebraic variety can always be resolved by a finite number of blow-ups. This is not the case, however, for flows of vector fields. An example where the sequence of blow-ups does not terminate is given by Smith's equation y ′′ + 4y 3 y ′ + y = 0, which is not of Hamiltonian form. This was noted by the authors in [6] and is a hint that for this equation more complicated movable singularities exist than considered in this article. In fact, as noted earlier, Smith himself showed that there do exist singularities besides the algebraic poles (18), which are are known to be accumulation points of such algebraic poles. It would be an important step to find (necessary and / or sufficient) conditions for a differential equation to decide whether such behaviour is possible or not. We believe that, at least for the second-order equations in [3] and the Hamiltonian systems in [18] such behaviour is not possible, although we cannot show this in general.
In the Hamiltonian setting, the level sets H(z, x, y) = c define, for generic z and analytic functions α i,j (z) in the Hamiltonian H(z, x, y; α ij ), algebraic curves in P 2 . For the Painlevé Hamiltonians, and also the system with cubic Hamiltonian in section 6.1, these level sets have genus g = 1, i.e. represent elliptic curves. This is also expressed in the fact that the Painlevé transcendents, in general, are asymptotic to elliptic functions in certain sectors of the complex plane. For the Hamiltonians of the second-order equations in sections 4 and 5, the level sets H(z, x, y) = c are algebraic curves of hyperelliptic type, with genus g = 2, as is the case for the other examples of Hamiltonians considered in this article. The number of blow-ups required, ranging from 14 to 16, is substantially larger than 9 in the Painlevé case. We would like to propose several questions which will require further investigation.
Can one predict, from the form of the Hamiltonian H(z, x, y), how many blow-ups will be required to completely resolve all base points? In particular, can one give conditions under which the cascades of blow-ups terminate?
Can a classification, similar to Sakai's classification [25] for the Painlevé equations in terms of point configurations on rational surfaces, be given for Hamiltonians defining algebraic curve of genus g ≥ 2, and, do there exist difference equations with a similar meaning as the discrete Painlevé equations? Data availability. Data sharing is not applicable to this article as no datasets were generated or analysed during the current study.
Conflict of interest. The authors declare that there are no conflicts of interest.