In mathematics, the **ELSV formula**, named after its four authors Torsten Ekedahl , Sergei Lando , Michael Shapiro, Alek Vainshtein, is an equality between a Hurwitz number (counting ramified coverings of the sphere) and an integral over the moduli space of stable curves.

Several fundamental results in the intersection theory of moduli spaces of curves can be deduced from the ELSV formula, including the Witten conjecture, the Virasoro constraints, and the -conjecture.

It is generalized by the Gopakumar–Mariño–Vafa formula.

Define the *Hurwitz number*

as the number of ramified coverings of the complex projective line (Riemann sphere, that are connected curves of genus *g*, with *n* numbered preimages of the point at infinity having multiplicities and *m* more simple branch points. Here if a covering has a nontrivial automorphism group *G* it should be counted with weight .

The ELSV formula then reads

Here the notation is as follows:

- is a nonnegative integer;
- is a positive integer;
- are positive integers;
- is the number of automorphisms of the
*n*-tuple - is the moduli space of stable curves of genus
*g*with*n*marked points; *E*is the Hodge vector bundle and*c(E*)*the total Chern class of its dual vector bundle;*ψ*_{i}is the first Chern class of the cotangent line bundle to the*i*-th marked point.

The numbers

in the left-hand side have a combinatorial definition and satisfy properties that can be proved combinatorially. Each of these properties translates into a statement on the integrals on the right-hand side of the ELSV formula (Kazarian 2009).

The Hurwitz numbers

also have a definition in purely algebraic terms. With *K* = *k*_{1} + ... + *k*_{n} and *m* = *K* + *n* + 2*g* − 2, let τ_{1}, ..., τ_{m} be transpositions in the symmetric group *S*_{K} and σ a permutation with *n* numbered cycles of lengths *k*_{1}, ..., *k*_{n}. Then

is a transitive factorization of identity of type (*k*_{1}, ..., *k*_{n}) if the product

equals the identity permutation and the group generated by

is transitive.

**Definition.** is the number of transitive factorizations of identity of type (*k*_{1}, ..., *k*_{n}) divided by *K*!.

**Example A.** The number is 1/*k*! times the number of lists of transpositions whose product is a *k*-cycle. In other words, is 1/*k* times the number of factorizations of a given *k*-cycle into a product of *k* + 2*g* − 1 transpositions.

The equivalence between the two definitions of Hurwitz numbers (counting ramified coverings of the sphere, or counting transitive factorizations) is established by describing a ramified covering by its monodromy. More precisely: choose a base point on the sphere, number its preimages from 1 to *K* (this introduces a factor of *K*!, which explains the division by it), and consider the monodromies of the covering about the branch point. This leads to a transitive factorization.

**The moduli space** is a smooth Deligne–Mumford stack of (complex) dimension 3*g* − 3 + *n*. (Heuristically this behaves much like complex manifold, except that integrals of characteristic classes that are integers for manifolds are rational numbers for Deligne–Mumford stacks.)

**The Hodge bundle** *E* is the rank *g* vector bundle over the moduli space whose fiber over a curve (*C*, *x*_{1}, ..., *x*_{n}) with *n* marked points is the space of abelian differentials on *C*. Its Chern classes are denoted by

We have

**The ψ-classes.** Introduce line bundles over . The fiber of over a curve (*C*, *x*_{1}, ..., *x*_{n}) is the cotangent line to *C* at *x*_{i}. The first Chern class of is denoted by

**The integrand.** The fraction is interpreted as , where the sum can be cut at degree 3*g* − 3 + *n* (the dimension of the moduli space). Thus the integrand is a product of *n* + 1 factors. We expand this product, extract from it the part of degree 3*g* − 3 + *n* and integrate it over the moduli space.

**The integral as a polynomial.** It follows that the integral

is a symmetric polynomial in variables *k*_{1}, ..., *k*_{n}, whose monomials have degrees between 3*g* − 3 + *n* and 2*g* − 3 + *n*. The coefficient of the monomial equals

where

**Remark.** The polynomiality of the numbers

was first conjectured by I. P. Goulden and D. M. Jackson. No proof independent from the ELSV formula is known.

**Example B.** Let *g* = *n* = 1. Then

Let *n* = *g* = 1. To simplify the notation, denote *k*_{1} by *k*. We have *m* = *K* + *n* + 2*g* − 2 = *k* + 1.

According to Example B, the ELSV formula in this case reads

On the other hand, according to Example A, the Hurwitz number *h*_{1, k} equals 1/*k* times the number of ways to decompose a *k*-cycle in the symmetric group *S*_{k} into a product of *k* + 1 transpositions. In particular, *h*_{1, 1} = 0 (since there are no transpositions in *S*_{1}), while *h*_{1, 2} = 1/2 (since there is a unique factorization of the transposition (1 2) in *S*_{2} into a product of three transpositions).

Plugging these two values into the ELSV formula we find

From which we deduce

The ELSV formula was announced by Ekedahl et al. (1999), but with an erroneous sign. Fantechi & Pandharipande (2002) proved it for *k*_{1} = ... = *k*_{n} = 1 (with the corrected sign). Graber & Vakil (2003) proved the formula in full generality using the localization techniques. The proof announced by the four initial authors followed (Ekedahl et al. 2001). Now that the space of stable maps to the projective line relative to a point has been constructed by Li (2001), a proof can be obtained immediately by applying the virtual localization to this space.

Kazarian (2009), building on preceding work of several people, gave a unified way to deduce most known results in the intersection theory of from the ELSV formula.

Let be the space of stable maps *f* from a genus *g* curve to **P**^{1}(**C**) such that *f* has exactly *n* poles of orders .

The *branching morphism* *br* or the *Lyashko–Looijenga map* assigns to the unordered set of its *m* branch points in **C** with multiplicities taken into account. Actually, this definition only works if *f* is a smooth map. But it has a natural extension to the space of stable maps. For instance, the value of *f* on a node is considered a double branch point, as can be seen by looking at the family of curves *C _{t}* given by the equation

The branching morphism is of finite degree, but has infinite fibers. Our aim is now to compute its degree in two different ways.

The first way is to count the preimages of a generic point in the image. In other words, we count the ramified coverings of **P**^{1}(**C**) with a branch point of type (*k*_{1}, ..., *k*_{n}) at ∞ and *m* more fixed simple branch points. This is precisely the Hurwitz number .

The second way to find the degree of *br* is to look at the preimage of the most degenerate point, namely, to put all *m* branch points together at 0 in **C**.

The preimage of this point in is an infinite fiber of *br* isomorphic to the moduli space . Indeed, given a stable curve with *n* marked points we send this curve to 0 in **P**^{1}(**C**) and attach to its marked points *n* rational components on which the stable map has the form . Thus we obtain all stable maps in unramified outside 0 and ∞. Standard methods of algebraic geometry allow one to find the degree of a map by looking at an infinite fiber and its normal bundle. The result is expressed as an integral of certain characteristic classes over the infinite fiber. In our case this integral happens to be equal to the right-hand side of the ELSV formula.

Thus the ELSV formula expresses the equality between two ways to compute the degree of the branching morphism.