Suvarna Garge (Editor)

Lindström–Gessel–Viennot lemma

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Lindström–Gessel–Viennot lemma

In mathematics, the Lindström–Gessel–Viennot lemma provides a way to count the number of tuples of non-intersecting lattice paths.

Contents

Statement

Let G be a locally finite directed acyclic graph. This means that each vertex has finite degree, and that G contains no directed cycles. Consider base vertices A = { a 1 , , a n } and destination vertices B = { b 1 , , b n } , and also assign a weight ω e to each directed edge e. These edge weights are assumed to belong to some commutative ring. For each directed path P between two vertices, let ω ( P ) be the product of the weights of the edges of the path. For any two vertices a and b, write e(a,b) for the sum e ( a , b ) = P : a b ω ( P ) over all paths from a to b. This is well-defined if between any two points there are only finitely many paths; but even in the general case, this can be well-defined under some circumstances (such as all edge weights being pairwise distinct formal indeterminates, and e ( a , b ) being regarded as a formal power series). If one assigns the weight 1 to each edge, then e(a,b) counts the number of paths from a to b.

With this setup, write

M = ( e ( a 1 , b 1 ) e ( a 1 , b 2 ) e ( a 1 , b n ) e ( a 2 , b 1 ) e ( a 2 , b 2 ) e ( a 2 , b n ) e ( a n , b 1 ) e ( a n , b 2 ) e ( a n , b n ) ) .

An n-tuple of non-intersecting paths from A to B means an n-tuple (P1, ..., Pn) of paths in G with the following properties:

  • There exists a permutation σ of { 1 , 2 , . . . , n } such that, for every i, the path Pi is a path from a i to b σ ( i ) .
  • Whenever i j , the paths Pi and Pj have no two vertices in common (not even endpoints).
  • Given such an n-tuple (P1, ..., Pn), we denote by σ ( P ) the permutation of σ from the first condition.

    The Lindström–Gessel–Viennot lemma then states that the determinant of M is the signed sum over all n-tuples P = (P1, ..., Pn) of non-intersecting paths from A to B:

    det ( M ) = ( P 1 , , P n ) : A B s i g n ( σ ( P ) ) i = 1 n ω ( P i ) .

    That is, the determinant of M counts the weights of all n-tuples of non-intersecting paths starting at A and ending at B, each affected with the sign of the corresponding permutation of ( 1 , 2 , , n ) , given by P i taking a i to b σ ( i ) .

    In particular, if the only permutation possible is the identity (i.e., every n-tuple of non-intersecting paths from A to B takes ai to bi for each i) and we take the weights to be 1, then det(M) is exactly the number of non-intersecting n-tuples of paths starting at A and ending at B.

    Proof

    To prove the Lindström–Gessel–Viennot lemma, we first introduce some notation.

    An n-path from an n-tuple ( a 1 , a 2 , . . . , a n ) of vertices of G to an n-tuple ( b 1 , b 2 , . . . , b n ) of vertices of G will mean an n-tuple ( P 1 , P 2 , . . . , P n ) of paths in G, with each P i leading from a i to b i . This n-path will be called nonintersecting if the paths Pi and Pj have no two vertices in common (not even endpoints) whenever i j .

    Given an n-path P = ( P 1 , P 2 , . . . , P n ) , the weight ω ( P ) of this n-path is defined as the product ω ( P 1 ) ω ( P 2 ) ω ( P n ) .

    A twisted n-path from an n-tuple ( a 1 , a 2 , . . . , a n ) of vertices of G to an n-tuple ( b 1 , b 2 , . . . , b n ) of vertices of G will mean an n-path from ( a 1 , a 2 , . . . , a n ) to ( b σ ( 1 ) , b σ ( 2 ) , . . . , b σ ( n ) ) for some permutation σ in the symmetric group S n . This permutation σ will be called the twist of this twisted n-path, and denoted by σ ( P ) (where P is the n-path). This, of course, generalizes the notation σ ( P ) introduced before.

    Recalling the definition of M, we can expand det M as a signed sum of permutations; thus we obtain

    det M = σ S n s i g n ( σ ) e ( a 1 , b σ ( 1 ) ) e ( a 2 , b σ ( 2 ) ) e ( a n , b σ ( n ) ) = σ S n s i g n ( σ ) P  is an  n -path from  ( a 1 , a 2 , . . . , a n )  to  ( b σ ( 1 ) , b σ ( 2 ) , . . . , b σ ( n ) ) ω ( P )

    (since every factor e ( a i , b σ ( i ) ) is a sum over paths a i b σ ( i ) , and thus the product e ( a 1 , b σ ( 1 ) ) e ( a 2 , b σ ( 2 ) ) e ( a n , b σ ( n ) ) is a sum over n-paths from ( a 1 , a 2 , . . . , a n ) to ( b σ ( 1 ) , b σ ( 2 ) , . . . , b σ ( n ) ) , with the summands being precisely the weights of these n-paths). Using the notion of a twisted n-path, we can simplify the right hand side of this to

    P  is a twisted  n -path from  ( a 1 , a 2 , . . . , a n )  to  ( b 1 , b 2 , . . . , b n ) s i g n ( σ ( P ) ) ω ( P ) .

    Now, we have to prove that this is equal to

    ( P 1 , , P n ) : A B s i g n ( σ ( P ) ) i = 1 n ω ( P i ) = P  is a nonintersecting twisted  n -path from  ( a 1 , a 2 , . . . , a n )  to  ( b 1 , b 2 , . . . , b n ) s i g n ( σ ( P ) ) ω ( P ) .

    In other words, we have to prove that the sum of the terms s i g n ( σ ( P ) ) ω ( P ) over all twisted n-paths from ( a 1 , a 2 , . . . , a n ) to ( b 1 , b 2 , . . . , b n ) equals the same sum but only over nonintersecting n-paths. This clearly is equivalent to proving that the sum of s i g n ( σ ( P ) ) ω ( P ) over all twisted n-paths from ( a 1 , a 2 , . . . , a n ) to ( b 1 , b 2 , . . . , b n ) which are not nonintersecting vanishes.

    To establish this vanishing, we will use an involution on the set of all twisted n-paths from ( a 1 , a 2 , . . . , a n ) to ( b 1 , b 2 , . . . , b n ) which are not nonintersecting. This involution will have the property that it flips the sign s i g n ( σ ( P ) ) (as a consequence, it has no fixed points), while leaving ω ( P ) invariant. Hence, the sum of s i g n ( σ ( P ) ) ω ( P ) over all twisted n-paths from ( a 1 , a 2 , . . . , a n ) to ( b 1 , b 2 , . . . , b n ) will have to be 0, because the involution splits it into pairs of mutually cancelling summands.

    It remains to construct the involution, which we call f. Let P = ( P 1 , P 2 , . . . , P n ) be any twisted n-path from ( a 1 , a 2 , . . . , a n ) to ( b 1 , b 2 , . . . , b n ) which is not non-intersecting. The idea behind the definition of f is to take two intersecting paths P i and P j , and switch their tails after their point of intersection. However, there are (in general) several pairs of intersecting paths, which can also intersect several times; hence, a choice needs to be made (and f might fail to be an involution if this choice is done badly). We choose the following precise definition: Let i be the smallest index such that the path Pi (recall that this is the path starting at ai) contains an intersection; let m be the first (along Pi) of the points where Pi intersects other paths; and then let j be the largest index such that m lies on Pj. Then we define f(P) to be the same as P, but with the tails of the two paths Pi and Pj (that is, the parts of these two paths starting at m) switched. Clearly, f(P) is a twisted n-path, whose twist σ ( f ( P ) ) differs from σ ( P ) by a transposition of σ ( i ) and σ ( j ) ; hence, s i g n ( σ ( f ( P ) ) ) = s i g n ( σ ( P ) ) . Moreover, f(P) has the same total multiset of edges as P; thus, ω ( f ( P ) ) = ω ( P ) . Furthermore, it is easy to see that f is, in fact, an involution; this is because in f(P), the smallest index corresponding to an intersecting path will again be i, its first point of intersection will again be m, and the largest index of a path containing m will again be j. So we have found an involution with the desired properties, and thus proven the Lindström-Gessel-Viennot lemma.

    Arguments similar to the one above appear in several sources, with variations regarding the choice of which tails to switch. A version with j smallest (unequal to i) rather than largest appears in the Gessel-Viennot 1989 reference (proof of Theorem 1).

    Schur polynomials

    The Lindström–Gessel–Viennot lemma can be used to prove the equivalence of the following two different definitions of Schur polynomials. Given a partition λ = λ 1 + + λ r of n, the Schur polynomial s λ ( x 1 , , x n ) can be defined as:

  • s λ ( x 1 , , x n ) = T w ( T ) ,
  • where the sum is over all semistandard Young tableaux T of shape λ, and the weight of a tableau T is defined as the monomial obtained by taking the product of the xi indexed by the entries i of T. For instance, the weight of the tableau is x 1 x 3 x 4 3 x 5 x 6 x 7 .

  • s λ ( x 1 , , x n ) = det ( ( h λ i + j i ) i , j r × r ) ,
  • where hi are the complete homogeneous symmetric polynomials (with hi understood to be 0 if i is negative). For instance, for the partition (3,2,2,1), the corresponding determinant is

    s ( 3 , 2 , 2 , 1 ) = | h 3 h 4 h 5 h 6 h 1 h 2 h 3 h 4 1 h 1 h 2 h 3 0 0 1 h 1 | .

    To prove the equivalence, given any partition λ as above, one considers the r starting points a i = ( r + 1 i , 1 ) and the r ending points b i = ( λ i + r + 1 i , n ) , as points in the lattice Z 2 , which acquires the structure of a directed graph by asserting that the only allowed directions are going one to the right or one up; the weight associated to any horizontal edge at height i is xi, and the weight associated to a vertical edge is 1. With this definition, r-tuples of paths from A to B are exactly semistandard Young tableaux of shape λ, and the weight of such an r-tuple is the corresponding summand in the first definition of the Schur polynomials. For instance, with the tableau , one gets the corresponding 4-tuple

    On the other hand, the matrix M is exactly the matrix written above for D. This shows the required equivalence. (See also §4.5 in Sagan's book, or the First Proof of Theorem 7.16.1 in Stanley's EC2, or §3.3 in Fulmek's arXiv preprint, or §9.13 in Martin's lecture notes, for slight variations on this argument.)

    The Cauchy–Binet formula

    One can also use the Lindström–Gessel–Viennot lemma to prove the Cauchy–Binet formula, and in particular the multiplicativity of the determinant.

    Talaska's formula

    The acyclicity of G is an essential assumption in the Lindström–Gessel–Viennot lemma; it guarantees (in reasonable situations) that the sums e ( a , b ) are well-defined, and it advects into the proof (if G is not acyclic, then f might transform a self-intersection of a path into an intersection of two distinct paths, which breaks the argument that f is an involution). Nevertheless, Kelli Talaska's 2012 paper establishes a formula generalizing the lemma to arbitrary digraphs. The sums e ( a , b ) are replaced by formal power series, and the sum over nonintersecting path tuples now becomes a sum over collections of nonintersecting and non-self-intersecting paths and cycles, divided by a sum over collections of nonintersecting cycles. The reader is referred to Talaska's paper for details.

    References

    Lindström–Gessel–Viennot lemma Wikipedia