The NL-flow polynomial
Barbara Altenbokum, Winfried Hochst\"attler, Johanna Wiehe

TL;DR
This paper introduces the NL-flow polynomial as an algebraic flow theory for digraphs, extending Tutte's nowhere-zero flow concepts to the dichromatic number and regular oriented matroids, with computational insights.
Contribution
It defines NL-flows, derives their polynomial formula, and generalizes the flow equivalence theorem to oriented matroids, advancing algebraic flow theory for digraphs.
Findings
Derived a closed formula for NL-flow polynomial.
Extended flow theory to regular oriented matroids.
Provided computational methods for complete digraph orientations.
Abstract
In 1982 V\'{i}ctor Neumann-Lara introduced the dichromatic number of a digraph as the smallest integer such that the vertices of can be colored with colors and each color class induces an acyclic digraph. Later a flow theory for the dichromatic number transferring Tutte's theory of nowhere-zero flows (NZ-flows) from classic graph colorings has been developed by Hochst\"attler. The purpose of this paper is to pursue this analogy by introducing a new definition of algebraic Neumann-Lara-flows (NL-flows) and a closed formula for their polynomial. Furthermore we generalize the Equivalence Theorem for nowhere-zero flows to NL-flows in the setting of regular oriented matroids. Finally we discuss computational aspects of computing the NL-flow polynomial for orientations of complete digraphs and obtain a closed formula in the acyclic case.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
The NL-flow polynomial
Barbara Altenbokum, Winfried Hochstättler, Johanna Wiehe
FernUniversität in Hagen, Germany
Abstract
In 1982 Víctor Neumann-Lara [13] introduced the dichromatic number of a digraph as the smallest integer such that the vertices of can be colored with colors and each color class induces an acyclic digraph. In [10] a flow theory for the dichromatic number transferring Tutte’s theory of nowhere-zero flows (NZ-flows) from classic graph colorings has been developed. The purpose of this paper is to pursue this analogy by introducing a new definition of algebraic Neumann-Lara-flows (NL-flows) and a closed formula for their polynomial.
Furthermore we generalize the Equivalence Theorem for nowhere-zero flows to NL-flows in the setting of regular oriented matroids. Finally we discuss computational aspects of computing the NL-flow polynomial for orientations of complete digraphs and obtain a closed formula in the acyclic case.
1 Introduction
Large parts of graph theory have been driven by the Four Color Problem. In particular it inspired William T. Tutte to develop his theory of nowhere-zero flows [15].
In 1982 Víctor Neumann-Lara [13] introduced the dichromatic number of a digraph as the smallest integer such that the vertices of can be colored with colors and each color class induces an acyclic digraph. Moreover, in 1985 he conjectured, that every orientation of a simple planar graph can be acyclically colored with two colors. This intrigueing problem led us to trying to look for an analogy following Tutte’s road map and develop a corresponding flow theory, which we named Neumann-Lara-flows (see [10], [2]).
First, we renew some definitions in order to simplify the notation in the forthcoming proofs. In Section we define the NL-flow polynomial. A short excursion to regular matroids yields the Equivalence Theorem for NL-flows in a general setting in Section . Afterwards we discuss some computational aspects of the NL-flow polynomial for orientations of complete digraphs.
Our notation is fairly standard and, if not explicitely defined, should follow the books of Diestel [8] for graphs and Björner et. al. [5] for oriented matroids. Note that all our digraphs may have parallel and antiparallel arcs.
2 NL-flows and NL-coflows
Let be a digraph and a finite Abelian group. A map is a (-) flow in if it satisfies Kirchhoff’s law of flow conservation
[TABLE]
in every vertex . Let be the number of vertices, the number of arcs and the -incidence matrix of . We may identify with the -vector and with this notation, the conservation condition (1) is equivalent to the matrix equation
[TABLE]
where [math] denotes the -zero vector.
Definition 1**.**
*Let be a digraph and a finite Abelian group. An NL--flow in is a flow in such that is totally cyclic.
For and , a flow is an NL--flow, if for all *
[TABLE]
satisfying (1) such that contracting its support yields a totally cyclic digraph.
In the following we show that this definition is consistent with the one given in [10], where a Neumann-Lara flow (NL-flow) is defined as a pair of flows related by the condition
[TABLE]
Definition 2**.**
Let denote a digraph. A set of arcs is a dijoin, if intersects every directed cut.
Lemma 1**.**
* is a dijoin if and only if is totally cyclic, i.e. every component is strongly connected.*
Proof.
If is totally cyclic, then it does not contain a directed cut. Hence must have intersected every directed cut. If is not totally cyclic it contains a directed cut, which is a directed cut in as well. Hence is not a dijoin. ∎
Proposition 1**.**
Let be a digraph. A pair of flows is an NL-flow in if and only if supp is a dijoin.
Proof.
Consider an NL-flow in . By (3), the second component is strictly positive outside supp. Thus, if we contract supp, the restriction is a strictly positive flow in the resulting digraph supp. That is, every component of supp is strongly connected.
Conversely, let be a flow in . If every component of supp is strongly connected, we certainly find a strictly positive flow supp in supp, which in turn must be the restriction of some flow in using Linear Algebra. Combining and , we have built an NL-flow .
Lemma 1 completes the proof. ∎
With this definition we get an equivalence theorem in full analogy to the case of nowhere-zero flows ([14],[15]).
Theorem 1**.**
Let be a digraph. Let and be an Abelian group of order . Then the following conditions are equivalent:
- (i)
There exists an NL--flow in .
- (ii)
There exists an NL--flow in .
- (iii)
There exists an NL--flow in .
We postpone the proof to Section 4, where it will be stated in the more general setting of regular matroids.
Now, recall that a map is a coflow in if it satisfies Kirchhoff’s law for (weak) cycles
[TABLE]
Condition (4) is equivalent to the condition that the vector is an element of the row space of M, that is , for some -vector .
Definition 3**.**
A feedback arc set of a digraph is a set such that is acyclic.
Definition 4**.**
Let be a digraph and a finite Abelian group. An NL-coflow in is a coflow in whose support contains a feedback arc set. For , a coflow is an NL--coflow if, in addition,
[TABLE]
satisfying (4) such that its support contains a feedback arc set.
Again, we will show that this definition is consistent with the one given in [10], where a Neumann-Lara coflow (NL-coflow) is defined as a pair of coflows related by the condition
[TABLE]
Proposition 2**.**
Let be a digraph. A pair of coflows is an NL-coflow in if and only if supp contains a feedback arc set.
Proof.
Consider an NL-coflow . Condition (5) and (4) immediately yield that supp is acyclic.
On the other hand, let be a coflow in . If the subdigraph supp is acyclic, we can find a strictly positive coflow in supp: We use a topological ordering of the vertices, define and obtain a strictly positive vector , as pointed out in [10]. Combining and , we have built an NL-coflow . ∎
Recall (see e.g. [6]) that a digraph admits a proper vertex coloring with colors if and only if there is a nowhere-zero--coflow in .
Concerning acyclic vertex colorings and NL-coflows, a similar result is already obtained in [10]:
Theorem 2** (Hochstättler).**
A loopless digraph admits an acyclic vertex coloring with colors if and only if there is an NL--coflow in .
Now, let us take a look at the planar case. Let be a plane digraph with plane dual . For a map , define a map by
[TABLE]
Recall [8] that is a coflow in if and only if is a flow in .
We also transfer this relation to NL-flows and NL-coflows.
Theorem 3**.**
Let be a plane digraph. A map is an NL-coflow in if and only if the map is an NL-flow in .
Proof.
Deleting an arc corresponds to contracting . Deleting a set of arcs until is acyclic corresponds to contracting a set until all connected components of are strong.
Hence, a feedback arc set corresponds to a dijoin . Thus a coflow in whose support contains a feedback arc set corresponds to a flow in whose support contains a dijoin. ∎
Finally, we are able to state Neumann-Lara’s conjecture as
Conjecture 1**.**
Any loopless planar digraph admits an NL--coflow.
3 The NL-flow polynomial
In contrast to the definition given in [11] we will present a definition here, where the flow polynomial of the underlying graph is not involved anymore. Both definitions fulfill the same purpose, that is counting NL--flows.
We have already seen that a flow is an NL-flow if and only if its support is a dijoin of the digraph. This will be the basic observation throughout this section.
In order to develop a closed formula we use a kind of generalization of the well-known inclusion-exclusion formula, the Möbius inversion (see e.g. [1]).
Definition 5**.**
Let be a finite poset, then the Möbius function is defined as follows
[TABLE]
Proposition 3** (see [1]).**
Let be a finite poset, functions and the Möbius function. Then the following equivalence holds
[TABLE]
With this so called Möbius inversion from above it will suffice to count all -flows in some given subdigraphs. The next Lemma will be crucial not only for this purpose.
Lemma 2**.**
Let be an Abelian group, a totally unimodular matrix of full row rank and . Then the number of solutions of is .
Proof.
Choose a basis of . Then
[TABLE]
where is a totally unimodular -matrix. Thus, for every choice of values for the columns of we get exactly one solution of the equation. ∎
The basic observation that a flow is an NL-flow iff its support is a dijoin encourages to consider the following poset
[TABLE]
Definition 6**.**
Let be a digraph and the Möbius function. Then the NL-flow polynomial of is defined as
[TABLE]
Theorem 4**.**
The number of NL--flows of a digraph depends only on the order of and is given by .
Proof.
Using Proposition 3 with , such that indicates all -flows and all NL--flows in the subgraph of induced by , it suffices to show that
[TABLE]
holds for all . Then we obtain
[TABLE]
since the number of -flows on is given by due to Lemma 2.
Concerning (6) let and be a -flow on . With we denote the number of dicuts in and set
[TABLE]
Then clearly and is an NL--flow on . So, .
The other direction is obvious since every NL--flow on with can be extended to a -flow on , setting for all . ∎
Considering duality, our NL-flow polynomial becomes the NL-coflow polynomial of which equals the chromatic polynomial in [9], [2], counting all acyclic colorings in devided by .
4 Regular Oriented Matroids and the Equivalence Theorem
The equivalence theorem for nowhere-zero flows has been generalized to regular oriented matroids by Crapo [7] and Arrowsmith and Jaeger [3]. Like them, we can generalize our results of the previous sections to oriented regular matroids, obtain an analogue Equivalence Theorem and present a polynomial counting all integer NL--flows which differs from the one in Definition 6.
One of our main tools will be the following variant of Farkas’ Lemma (see 3.4.4 (4P) in [5]):
Theorem 5**.**
Let denote an oriented matroid on a finite set given by its set of covectors and its dual. Let be a partition of and . Either there exists such that , supp and or there exists such that , supp and supp, but not both.
Definition 7**.**
Let denote the set of covectors of an oriented matroid on a finite set . We say that is totally cyclic, if the all -vector is in , i.e. it is a vector. is a dijoin, if and implies , i.e. meets every positive cocircuit.
Proposition 4**.**
* is a dijoin if and only if is totally cyclic.*
Proof.
Set , and . Since is a dijoin, there is no non-zero vector such that supp and supp. Thus, by Theorem 5 for every there exists such that supp and supp. The composition of these vectors is the all -vector in , which proves that is totally cyclic. The other implication is an immediate consequence from Theorem 5. ∎
Now we can define NL-flows in the setting of oriented regular matroids:
Definition 8**.**
*Let be a totally unimodular matrix and let be the corresponding regular matroid. An NL-flow in is a vector such that supp is totally cyclic.
For an NL--flow is an NL-flow in with*
[TABLE]
If is an Abelian group of order , then an NL--flow is an NL-flow with
[TABLE]
It is clear that with this definition we can define the NL-flow polynomial as before and immediately obtain the equivalence of the first two statements in Theorem 1 by Theorem 4. The crucial Lemma 2 for the proof of Theorem 4 dealt with totally unimodular matrices anyway.
The only implication we are left to verify for an equivalence theorem for NL-flows in regular oriented matroids is (i) implies (iii), since (iii) implies (i) is trivial by taking the integer flow mod . The following Lemma suffices for that purpose. It could be deduced from Proposition 5 in [3]. We give a short proof for completeness.
Lemma 3**.**
Let be a totally unimodular matrix and let denote a -flow in the corresponding regular matroid , i.e. . Then there exists a -flow in such that .
Proof.
Choose satisfying that minimizes . We claim that must be as required. Assume not and set , , and . By assumption . Without loss of generality we only consider the case , switching signs yields the other case. Hence let . There cannot exist such that and for the first three inequalities imply and the last two . Hence by Theorem 5, applied to the pair of oriented matroids defined by the kernel and the row space of the totally unimodular matrix , there exists with , , , , , such that Since is totally unimodular we may assume that and have entries in only. Thus, and . But since is divisible by we have
[TABLE]
contradicting the choice of . ∎
By the discussion preceding the last Lemma this implies the Equivalence Theorem for NL-flows:
Theorem 6**.**
Let be an oriented matroid given by a totally unimodular matrix . Let and be an Abelian group of order . Then the following conditions are equivalent:
- (i)
There exists an NL--flow in .
- (ii)
There exists an NL--flow in .
- (iii)
There exists an NL--flow in .
In [3] it is shown that the number of integer NZ--flows is also given by a polynomial in which differs from the flow polynomial defined by algebraic NZ-flows. In the following we will show that this theorem generalizes to NL-flows as well. The next Proposition provides the main tool concerning this intent.
Proposition 5** (Ehrhart, see [12]).**
Given a convex polytope , whose vertices belong to , and for a positive integer , let denote the number of integer points in the dilated polytope . Then is a polynomial in .
Theorem 7**.**
Let be a totally unimodular matrix with full row rank, the corresponding regular matroid on the finite ground set and let . Then the number of NL--flows in is a polynomial in .
Proof.
We pursue the same strategy as in the proof of Theorem 4 and set such that counts all -flows in and all NL--flows respectively. As proven in Theorem 4 holds for all . With Proposition 3 in mind it now suffices to prove that is a polynomial in for all .
For let denote the totally unimodular submatrix of with full row rank corresponding to . Due to (2) we are looking for the number of solutions of , where and
[TABLE]
holds for all . Without loss of generality let the first columns of build a basis of , denoted by and denote the other columns with . Analoguesly denote the first entries of with , the others with . Then
[TABLE]
where is totally unimodular.
Thus we are looking for the number of solutions with
[TABLE]
i.e. the number of the vertices of the following convex polytope
[TABLE]
where
[TABLE]
Since is totally unimodular, is totally unimodular, as well. This implies that all vertices of are integer and Proposition 5 yields that the number of integer points in is given by a polynomial in , namely . Thus, the number of NL--flows
[TABLE]
is a polynomial in , too. ∎
5 Applications on orientations of tournaments
5.1 Complete acyclic digraphs
As an application we examine complete acyclic digraphs . Recall that all acyclic digraphs with vertices are isomorphic, thus the NL-flow polynomial does not depend on the orientation of the given digraph.
Moreover acyclic digraphs allow a topological ordering (see [4]), which is an ordering of the vertices of such that for every arc we have .
In the complete case this ordering is even unique since complete acyclic digraphs contain a hamiltonian path:
Lemma 4** (see e.g. [4]).**
*Every complete acyclic digraph allows a unique topological ordering.
[TABLE]
Now, recall that a complete acyclic digraph with vertices has exactly dicuts, in the following denoted by . As a result the in Section 3 defined poset admits a simple structure.
Proposition 6**.**
Let be a complete acyclic digraph with and as above. Then is isomorphic to .
Proof.
Denote for some set of indices . Thus the elements of are , for and the following map
[TABLE]
is well-defined since there are exactly dicuts. Moreover each set of indices induces exactly one element in , hence is bijective.
Now, let for some , thus and let .
Assume . Then clearly , for all , but for each . Thus there are all different from with . Hence
[TABLE]
where comp counts the connected components. As a result of this contradiction we have and is an order isomorphism. ∎
As a result we get
[TABLE]
since , for all . This immediately leads to the following theorem.
Theorem 8**.**
Let be a complete acyclic digraph with . For denote by the composition of into parts, i.e. , with , . Then the NL-flow polynomial is given by
[TABLE]
Proof.
Let , otherwise we have , the empty flow. For let denote the subgraph of induced by and the number of connected components in . We only have to count the number of arcs in , since the rank is given by .
Deleting dicuts of the given complete digraph yields a subgraph with strongly connected components, each containing , , vertices and thus arcs, satisfying .
Since the digraph is complete and acyclic, every combination is presumed, hence, with (5.1), the number of NL--flows is given by
[TABLE]
The claim follows, using , for all . ∎
Now we can compute several NL-flow polynomials of complete acyclic digraphs with vertices in comparably short time:
[TABLE]
Obviously there are a lot of regularities and we can explicitely give the exponent of the two leading terms and their coefficients.
Proposition 7**.**
Let be a complete acyclic digraph with vertices.
- (i)
The leading term of equals . 2. (ii)
Assume . Then the second term with highest exponent equals .
Proof.
We only need to consider the case where , since the exponent of is maximum for . The next lower exponent occurs when , having , and vice versa. ∎
Let us now look at the constant term of the polynomial.
Lemma 5**.**
Let be a complete acyclic digraph with vertices and denote the constant term of . Then the following recursion holds
[TABLE]
Proof.
Since we are interested in the constant term of we only need to consider the cases where for all and get the following distinction.
[TABLE]
∎
This observation yields the following proposition.
Proposition 8**.**
Let be a complete acyclic digraph with vertices, then the constant term of is given by
[TABLE]
Proof.
Lemma 5 immediately yields
[TABLE]
and the base cases from above prove the claim. ∎
Observing the linear term we get:
Proposition 9**.**
Let be a complete acyclic digraph with vertices, then the linear term of is given by
[TABLE]
Proof.
In this case exactly one part of the composition, call it , equals , while the other parts have to be either or . Let be the constant term of , then we have
[TABLE]
Now we can proceed per induction, using Proposition 8.
[TABLE]
∎
5.2 Complete digraphs
Considering an arbitrary complete digraph the NL-flow polynomial depends on its orientation. Let denote the number of maximal strongly connected components and denote their vertex sets with . Since we cannot cut through cycles there are exactly dicuts and the poset is isomorphic to . Similarly as in (5.1) we conclude
[TABLE]
where denote the dicuts in .
Recall that the maximal strongly connected components form a partition of the given digraph. Consequently we consider the following map, called condensation
[TABLE]
which induces the complete acyclic digraph on vertices.
[TABLE]
As a result of Lemma 4 the vertices of can be ordered topologically, thus the strongly connected components of allow a similar ordering.
Theorem 9**.**
Let be a complete digraph with strongly connected components, each containing vertices, such that the subgraph of induced by is topologically ordered. For consider the composition of into parts, i.e. , with , for all . Then the NL-flow polynomial is given by
[TABLE]
Proof.
Denote the strongly connected components of with , such that the topologically ordering of is preserved. Analoguesly to the proof of Theorem 8 we only have to count the number of vertices in each partition of induced by some composition , where each vertex corresponds to a strongly connected component , each containing vertices in .
So, let be an arbitrary composition of with parts, hence there are , , vertices in each part of . Let denote the set of vertices in the corresponding strongly connected components in . Then
[TABLE]
Thus there are
[TABLE]
vertices in the -th corresponding part of . ∎
6 Open Problems
Whereas the computation of the flow polynomial of complete graphs seems to be quite hard in contrast to the computation of the chromatic polynomial of complete graphs, it turns out that we find the contrary in the directed case. We have no idea how the dichromatic polynomial of complete digraphs looks like while the computation of the NL-flow polynomial was not that challenging.
Considering the cographic oriented matroid our flow polynomial becomes the NL-coflow polynomial of which equals the chromatic polynomial [2] for the dichromatic number divided by . The natural question arises whether, as in the classical case, there exists a meaningful two variable polynomial combining both? Moreover, does such a polynomial or the two single variable polynomials have any meaning in the case of general oriented matroids?
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] M. Aigner , Kombinatorik , Grundlagen und Zähltheorie, Springer, Berlin, 1975.
- 2[2] B. Altenbokum , Algebraische NL-Flüsse und Polynome , Master’s thesis, Fern Universität in Hagen, 2018.
- 3[3] D. Arrowsmith and F. Jaeger , On the enumeration of chains in regular chain-groups , J. Combin. Theory, Series B, 32 (1982), pp. 75–89.
- 4[4] J. Bang-Jensen and G. Z. Gutin , Digraphs , Theory, Algorithms and Applications, Springer, 2nd ed., 2010.
- 5[5] A. Björner, M. L. Vergnas, B. Sturmfels, N. White, and G. M. Ziegler , Oriented Matroids , Cambridge University Press, Mar. 1993.
- 6[6] J. A. Bondy and U. S. R. Murty , Graph Theory , Springer London, 2008.
- 7[7] H. H. Crapo , The tutte polynomial , Aequationes Mathematicae, 3 (1969), pp. 211–229.
- 8[8] R. Diestel , Graph Theory , Springer, 3rd ed., Feb. 2006.
