1 Introduction

Let G be a finite graph which may have multiple edges and loops and let k be a field. Pick an orientation for every edge of G. The chain group C 1(G;k) is the vector space over k generated by the edges of G. Within this space is the cycle space Z 1(G;k), the vector space generated by cycles in G. Whitney’s 2-isomorphism theorem ([8], [5, Sect. 5.3]) states that Z 1(G;k)⊂C 1(G;k) determines G up to two moves: vertex cleaving and Whitney twists. Specifically, it states that if G′ is another finite graph and \(\phi:\overrightarrow{E}(G)\rightarrow \overrightarrow{E}(G')\) is bijective map of oriented edges (that is, if e −1 denotes e with the opposite orientation then ϕ(e −1)=(ϕ(e))−1), and the induced map on chain groups satisfies ϕ (Z 1(G;k))=Z 1(G′;k), then after performing some combination of these moves on G′, one has that ϕ is a graph isomorphism. Two graphs related after these moves are said to be 2-isomorphic. Because these moves cannot be applied non-trivially to a 3-connected graph, it implies that 3-connected graphs G,G′ satisfying the hypotheses are isomorphic.

It is natural to ask if there is a modification of this theorem that in certain situations allows one to conclude that more general G and G′ are isomorphic without performing any moves. Our approach is to consider invariants of graphs that are finer than the cycle space. Our invariants interpolate between the cycle space which is Abelian and homological in nature and the fundamental group which is non-Abelian and homotopy-theoretic. The invariants are labelled by a positive integer k. In an intuitive sense, our invariants are refinements of the cycle space. The cycle space contains information about which edges are in a cycle but nothing about their order. Our kth invariant contains information about which edges are in a cycle but also for a cycle and a list of k edges, \(e_{i_{1}},e_{i_{2}},\ldots,e_{i_{k}}\), it contains information about how many times \(e_{i_{1}},e_{i_{2}},\ldots,e_{i_{k}}\) occur in that order in the cycle (counted with signs and multiplicities). It turns out that for k≥2, our invariant is a complete invariant for 2-edge connected graphs.

We now give the definition of our invariant deferring some notation and background about group algebras to the next section. Let v 0 be a vertex of G which we will call the base-point. Let π 1(G,v 0) be the fundamental group of G with base-point v 0. Pick arbitrary orientations on the edges of the graph. Each closed path G based at v 0 can be expressed as a word in the edges \(e_{i_{1}}^{\pm 1}e_{i_{2}}^{\pm 1}\cdots e_{i_{n}}^{\pm 1}\) where the path consists of the edges \(e_{i_{1}},e_{i_{2}},\ldots,e_{i_{n}}\) traversed in order and the sign of the exponent is determined by whether or not the edge occurs with its given orientation in G. This association of words with closed paths gives a homomorphism

$$w:\pi_1(G,v_0)\rightarrow F_{E(G)}, $$

where F E(G) is the free group on the edges.

One may take truncated group algebras of the groups involved to obtain finite dimensional k-algebras. Consider the induced maps of group algebras,

$$w_*:\mathbf {k}\bigl[\pi_1(G,v_0)\bigr]\rightarrow \mathbf {k}[F_{E(G)}]. $$

The group algebras are equipped with augmentation homomorphisms (see Sect. 2),

$$\varepsilon_\pi:\mathbf {k}\bigl[\pi_1(G,v_0)\bigr] \rightarrow \mathbf {k},\ \varepsilon_F:\mathbf {k}[F_{E(G)}]\rightarrow \mathbf {k}$$

with kernels \(J_{\pi_{1}(G,v_{0})}, J_{F_{E(G)}}\), respectively. For any non-negative integer k, \(\mathbf {k}[\pi_{1}(G,v_{0})]/ J_{\pi_{1}(G,v_{0})}^{k+1}\), \(\mathbf {k}[F_{E(G)}]/J_{F_{E(G)}}^{k+1}\) are finite dimensional k-algebras, called the k-truncations. The map w descends to a map of truncated group algebras:

$$w_*:\mathbf {k}\bigl[\pi_1(G,v_0)\bigr]/J_{\pi_1(G,v_0)}^{k+1} \rightarrow \mathbf {k}[F_{E(G)}]/J_{F_{E(G)}}^{k+1}. $$

The 2-truncation is sufficient to give a complete invariant of 2-edge connected finite graphs according to our main theorem:

Theorem 1.1

Let G,Gbe 2-edge connected finite graphs. Let \(\phi:\overrightarrow{E}(G)\rightarrow \overrightarrow{E}(G')\) be a bijective map of oriented edges. If we have the following equality of subalgebras in \(\mathbf {k}[F_{E(G')}]/J_{F_{E(G')}}^{3}\):

$$\phi_*\bigl(w_*\bigl(\mathbf {k}\bigl[\pi_1(G,v_0) \bigr]/J_{\pi_1(G,v_0)}^3\bigr)\bigr)=w'_*\bigl(\mathbf {k}\bigl[ \pi_1\bigl(G',v'_0\bigr) \bigr]/J_{\pi_1(G',v'_0)}^3\bigr), $$

then ϕ is a graph isomorphism satisfying \(\phi(v_{0})=v'_{0}\).

We note that this theorem is similar to Whitney’s theorem. The hypotheses of the theorem imply the analogous fact about a lower order truncation of group algebras:

$$\phi_*\bigl(w_*\bigl(\mathbf {k}\bigl[\pi_1(G,v_0) \bigr]/J_{\pi_1(G,v_0)}^2\bigr)\bigr)=w'_*\bigl(\mathbf {k}\bigl[ \pi_1\bigl(G',v'_0\bigr) \bigr]/J_{\pi_1(G',v'_0)}^2\bigr). $$

As we will discuss below, \(\mathbf {k}[\pi_{1}(G,v_{0})]/J_{\pi_{1}(G,v_{0})}^{2}\cong \mathbf {k}\oplus Z_{1}(G;\mathbf {k})\). On the other hand, we have \(\mathbf {k}[F_{E(G)}]/J_{F_{E(G)}}^{2}\cong \mathbf {k}\oplus C_{1}(G;\mathbf {k})\). Consequently, the hypotheses for the 1-truncation imply that G and G′ have the same cycle space, and Whitney’s theorem states that they are 2-isomorphic.

The non-Abelian structure that is used in this paper is only very mildly noncommutative. In fact, the fundamental group acts unipotently on its truncated group algebra. We could perhaps also call this result the unipotent analogue of Whitney’s theorem. One may ask if there are more places in combinatorics where one can incorporate noncommutativity to prove rigidity theorems. The author hopes, perhaps overly speculatively, that there are similar results that make up a combinatorial theory analogous to Grothendieck’s anabelian program in algebraic geometry [2].

This work, we hope, hints at an extension of the notion of matroids. Can one axiomatize the map

$$w_*:\mathbf {k}\bigl[\pi_1(G,v_0)\bigr]/J_{\pi_1(G,v_0)}^{3} \rightarrow \mathbf {k}[F_{E(G)}]/J_{F_{E(G)}}^{3} $$

the way one axiomatizes the cycle space of a graph into a matroid? This suggests a sort of unipotent matroid. Which ordinary matroids lift to unipotent matroids? If not all, is there a combinatorial characterization of the obstruction to a unipotent structure?

This paper was inspired by Hain’s theory of the mixed Hodge structure on the fundamental group of complex manifolds ([3], [7, Ch. 9]) which follows Morgan’s work on the mixed Hodge structure on the truncation of the group ring of the fundamental group [4]. Hain is able to put a Hodge structure on a unipotent completion of the fundamental group. As an application, Hain [3] and Pulte [6] give a pointed Torelli theorem for Riemann surfaces, that is, they show that the mixed Hodge structure on the truncated group ring is a complete invariant of a pointed Riemann surface (up to some finite ambiguity for the base-point). The recent work of Caporaso and Viviani [1] proves a Torelli theorem for graphs and tropical curves by making use of Whitney’s 2-isomorphism theorem, so it seemed natural to ask if there is an extension of Whitney’s theorem that could be used to prove a pointed Torelli theorem for graphs and tropical curves.

We would like to thank Jim Geelen, Richard Hain, David Jackson, Farbod Shokrieh, David Wagner, Thomas Zaslavsky, and David Zureick-Brown for valuable discussions. We would also like to acknowledge the anonymous referee for helpful comments and corrections.

2 Truncated group algebras of fundamental groups

With a group Γ and a field k, one can associate the group algebra k[Γ]. The reader loses nothing by taking k to be \(\mathbb {R}\). This is the algebra over k whose elements are formal linear combinations of the form ∑a g g where a g k is 0 for all but finitely many elements. Multiplication in the group algebra is the linear extension of gg′=gg′. Therefore, when Γ=F n , the free group on n generators, k[F n ], is the free noncommutative polynomial algebra on n indeterminates. Let the augmentation map ε:k[Γ]→k be the linear extension of ε:g↦1 for all gG. Let J=ker(ε) be the augmentation ideal. It is the set of all elements of the form ∑a g g where ∑a g =0. The k-truncation of the group algebra is k[π]/J k+1.

The assignment of group algebras to a group is functorial, so the homomorphism w (described above) induces a homomorphism of k-algebras,

$$w_*:\mathbf {k}\bigl[\pi_1(G,v_0)\bigr]\rightarrow \mathbf {k}[F_{E(G)}]. $$

Moreover, one has an induced map of truncations:

$$w_*:\mathbf {k}\bigl[\pi_1(G,v_0)\bigr]/J_{\pi_1(G,v_0)}^{k+1} \rightarrow \mathbf {k}[F_{E(G)}]/J_{F_E(G)}^{k+1}. $$

Now we can consider functoriality under graph morphisms. Let ϕ:GG′ be a morphism of graphs, that is a map ϕ:V(G)∪E(G)→V(G′)∪E(G′) such that ϕ(V(G))⊆V(G′) and for every vV(G), eE(G) with ve either ϕ(v)=ϕ(e) or ϕ(e)∈E(G′) and ϕ(v)∈ϕ(e). Note that graph morphisms are allowed to collapse edges. Given two directed graphs G,G′ with base-points \(v_{0},v'_{0}\) and a morphism ϕ:GG′ satisfying \(\phi(v_{0})=v'_{0}\), we have an induced map of fundamental groups \(\phi_{*}:\pi_{1}(G,v_{0})\rightarrow\pi_{1}(G',v'_{0})\). Moreover, if ϕ is a graph morphism (not necessarily satisfying \(\phi(v_{0})=v_{0}'\)), there is an induced map ϕ :F E(G)F E(G′) defined as follows: if ϕ(e)∈V(G′) then ϕ (e)=∅, the empty word; if ϕ (e)∈E(G) then ϕ (e)=ϕ(e)±1 where the sign of the exponent depends on whether ϕ is orientation preserving or reversing on the edge e. Consequently, we have the following commutative diagram of truncated group algebras:

In this paper, we will work with the 1- and 2-truncations. In our situation, every group will be a free group. In these cases, the description of the truncated group algebra is rather straightforward. Let F n be the free group on generators x 1,…,x n . We note that the there is a short exact sequence of vector spaces

Since \(\mathbf {k}[F_{n}]/J_{F_{n}}^{k}\) is a vector space, the above exact sequence splits. Therefore, we have the vector space isomorphism,

$$\mathbf {k}[F_n]/J_{F_n}^{k+1}\cong \mathbf {k}\oplus J_{F_n}^1/J_{F_n}^{2}\oplus\cdots\oplus J_{F_n}^k/J_{F_n}^{k+1}. $$

Now, \(J_{F_{n}}^{k}/J_{F_{n}}^{k+1}\) is generated as a vector space by polynomials of the form

$$(x_{i_1}-1) (x_{i_2}-1)\cdots(x_{i_k}-1), $$

where 1 is the element corresponding to the empty word ∅. This vector space can be identified with \(J_{F_{n}}^{\otimes k}\). Consequently, the vector space \(\mathbf {k}[F_{n}]/J_{F_{n}}^{2}\) is generated by 1 together with the following basis of \(J_{F_{n}}/J_{F_{n}}^{2}\):

$$(x_1-1),\quad (x_2-1),\quad \ldots,\quad (x_n-1). $$

The element 1 acts as the identity, and the multiplication of two elements of \(J_{F_{n}}\) is always 0. The natural map \(F_{n} \rightarrow \mathbf {k}[F_{n}]/J_{F_{n}}^{2}\) takes x i to 1+(x i −1) and \(x_{i}^{-1}\) to 1−(x i −1). Consequently, the word \(x_{i_{1}}^{b_{1}}\cdots x_{i_{l}}^{b_{l}}\) is mapped to \(1+b_{1}(x_{i_{1}}-1)+\cdots+b_{i_{l}}(x_{i_{l}}-1)\). It follows that \(\mathbf {k}[F_{n}]/J_{F_{n}}^{2}\cong \mathbf {k}\oplus (F_{n}^{\operatorname{ab}}\otimes \mathbf {k})\) where \(F_{n}^{\operatorname{ab}}\) is the Abelianization of F n . Consequently, we have that the truncation of w ,

$$w_*:\mathbf {k}\bigl[\pi_1(G,v_0)\bigr]/J_{\pi_1(G,v_0)}^2 \rightarrow \mathbf {k}[F_{E(G)}]/J_{F_{E(G)}}^2, $$

is isomorphic to

$$w_*:\mathbf {k}\oplus H_1(G;\mathbf {k})=\mathbf {k}\oplus Z_1(G;\mathbf {k})\rightarrow \mathbf {k}\oplus C_1(G;\mathbf {k}) $$

and therefore contains the description of the cycle space.

The 2-truncation is richer. It has a vector space basis given by

$$1,\quad (x_i-1),\quad (x_{i}-1) (x_{j}-1) $$

as i and j range from 1 to n. The natural map from F n takes x i to 1+(x i −1) and \(x_{i}^{-1}\) to 1−(x i −1)+(x i −1)2. Consequently, we may write for b i =±1,

$$x_i^{b_i}\mapsto 1+b_i(x_i-1)+ \delta_{b_i,-1}(x_i-1)^2, $$

where δ i,j is the Kronecker delta, and we may conclude that a word of the form \(x_{i_{1}}^{b_{1}}\cdots x_{i_{l}}^{b_{l}}\) where b i =±1 is mapped as follows:

$$x_{i_1}^{b_1}\cdots x_{i_l}^{b_l}\mapsto 1+ \sum_j b_j (x_{i_j}-1)+\sum _{j<k} b_jb_k(x_{i_j}-1) (x_{i_k}-1)+\sum_{j|b_j=-1} (x_{i_j}-1)^2. $$

Note that this counts with signs the number of times x j comes before x k in a word. In what follows, we will sometimes identify \(\mathbf {k}[F_{E(G)}]/J_{F_{E(G)}}^{3}\) with kC 1(G;k)⊕(C 1(G;k)⊗C 1(G;k)).

If \(\phi:\overrightarrow{E}(G)\rightarrow \overrightarrow{E}(G')\) is a bijective map of oriented edges (with no requirement on the incidence of the edges), then it induces a homomorphism ϕ:F E(G)F E(G′). In the case where ϕ gives a graph isomorphism of a subgraph HG onto its image, we will denote the restriction of ϕ to H by ϕ| H . In this case, it makes sense to speak of the value of ϕ| H on vertices of H.

3 Proof of the main theorem

The proof of the main theorem will take as input a bijective map of orientated edges \(\phi:\overrightarrow{E}(G)\rightarrow \overrightarrow{E}(G')\) and show that it is a base-point preserving isomorphism by induction on the size of subgraphs on which it is known to be an isomorphism. Our main tool is the following lemma:

Lemma 3.1

Let \((G,v_{0}),(G',v'_{0})\) be 2-edge connected finite rooted graphs and let \(\phi:\overrightarrow{E}(G)\rightarrow \overrightarrow{E}(G')\) be a bijective map of oriented edges such that we have the following equality of subalgebras in \(\mathbf {k}[F_{E(G')}]/J_{F_{E(G')}}^{3}\):

$$\phi_*\bigl(w_*\bigl(\mathbf {k}\bigl[\pi_1(G,v_0) \bigr]/J_{\pi_1(G,v_0)}^3\bigr)\bigr)=w'_*\bigl(\mathbf {k}\bigl[ \pi_1\bigl(G',v'_0\bigr) \bigr]/J_{\pi_1(G',v'_0)}^3\bigr). $$

Let γ be a closed path in G based at v 0. Let e be an edge that occurs exactly once in γ so that γ=γ + for paths γ ,γ +. Suppose ϕ is a graph isomorphism of the path γ onto its image. Then

  1. (1)

    if γ is the empty path then the initial vertex of ϕ(e) is \(v'_{0}\), and

  2. (2)

    if γ is a non-empty path and \(\phi|_{\gamma_{-}}(v_{0})=v'_{0}\) then the terminal vertex of the path \(\phi|_{\gamma_{-}}(\gamma_{-})\) is the initial vertex of ϕ(e).

Proof

Write e=xy where we may have x=y. We may suppose that e occurs with its given orientation in γ. Express \(w_{*}(\gamma)\in \mathbf {k}[F_{E(G)}]/J_{F_{E(G)}}^{3}\) in terms of the basis 1, (e i −1), (e i −1)(e j −1) for an enumeration {e i } of the edges in G. The coefficient of (e−1) is 1 because e occurs once in γ. Group together the terms in w (γ) of the form c j (e j −1)(e−1) for varying j as η(e−1). Therefore, η corresponds to the edges coming before e in γ and hence is the 1-chain representing γ in C 1(G;k). Consequently, if :C 1(G;k)→C 0(G;k) is the differential in simplicial homology, then ∂η=∂γ =xv 0.

Let e′=ϕ(e). Write e′=xy′. We must show that \(\phi|_{\gamma_{-}}(x)=x'\). By hypothesis, we can find an equality in \(\mathbf {k}[F_{E(G')}]/J_{F_{E(G')}}^{3}\) of the form

$$\phi_*\bigl(w_*(\gamma)\bigr)=\sum_i a_iw'_*\bigl(\delta'_i\bigr) $$

for closed paths \(\delta'_{i}\) based at \(v'_{0}\) and a i k. Now, we decompose the path \(\delta'_{i}\) into paths according to each occurrence of e′ as follows:

$$\delta'_i=(\alpha_{i,1}) \bigl(e'\bigr)^{b_{i,1}}(\alpha_{i,2}) \bigl(e'\bigr)^{b_{i,2}}\cdots(\alpha_{i,l}) \bigl(e'\bigr)^{b_{i,l_i}}(\alpha_{i,l_i+1}), $$

where b i,j =±1 and the α i,j ’s do not involve e′. Since the coefficient of (e−1) in w (γ) is 1, the coefficient of (e′−1) in ϕ (w (γ)) is also equal to 1. This implies that we have

$$\sum_i\sum_{j=1}^{l_i} a_ib_{i,j}=1. $$

We group together terms of the form \(c'_{j}(e'_{j}-1)(e'-1)\) for varying j in \(w'_{*}(\delta_{i})\) to get \(\eta_{i}'(e'-1)\) where we view \(\eta'_{i}\) as a chain in C 1(G′;k). As a chain, \(\eta'_{i}\) has the following expression:

$$\begin{aligned} \eta'_i =&\sum_{\substack{j\in\{1,\ldots,l_i\}\\b_{i,j}=1}} \bigl(\alpha_{i,1}+b_{i,1}e'+\alpha_{i,2}+b_{i,2}e'+ \cdots+ \alpha_{i,j} \bigr) \\ &{}-\sum_{\substack{j\in\{1,\ldots,l_i\}\\b_{i,j}=-1}} \bigl(\alpha_{i,1}+b_{i,1}e'+ \alpha_{i,2}+b_{i,2}e'+\cdots+ \alpha_{i,j}-e' \bigr). \end{aligned}$$

Each term in parentheses is the chain of a path from \(v'_{0}\) to x′. Consequently, we have the following value for the differential :C 1(G′;k)→C 0(G′;k):

$$\partial \eta'_i=\sum_{j=1}^{l_i} b_{i,j}\bigl(x'-v'_0\bigr). $$

Then \(\eta'=\sum_{i} a_{i}\eta'_{i}\) satisfies

$$\partial \eta'=\sum_i \sum _{j=1}^{l_i} a_ib_{i,j} \bigl(x'-v'_0\bigr)=x'-v'_0. $$

Now, by the description of the homomorphism ϕ on \(\mathbf {k}[F_{E(G)}]/J_{F_{E(G)}}^{3}\), we have that

$$\phi_*(\eta)=\eta'. $$

If γ is non-empty, by taking the differential of both sides of the above equality, we get

$$\phi|_{\gamma_-}(x)-\phi|_{\gamma_-}(v_0)=x'-v'_0. $$

From \(\phi|_{\gamma_{-}}(v_{0})=v'_{0}\), we find \(\phi|_{\gamma_{-}}(x)=x'\). If γ is the empty path, we have η=0 and \(x'=v'_{0}\). □

We now give the proof of the main theorem:

Proof

We induct on the size of connected subgraphs HG for which ϕ| H is an isomorphism onto its image. We begin the induction with H={v 0}. If H≠{v 0}, we will require the additional assumption that \(\phi|_{H}(v_{0})=v'_{0}\).

For the inductive step, if H is not all of G, let e be an edge of E(G)∖E(H) that is incident to a vertex x of H. This is possible because G is connected. Write e=xy. Let γ be a path in H from v 0 to x. Note that γ may be the empty path.

Since e is not a cut edge, there is a path γ + in G from y to v 0 that avoids e. Now, one can apply Lemma 3.1 to γ=γ + and conclude that the terminal point of ϕ| H (γ ) is equal to the initial point of ϕ(e). In particular, if γ =∅, we may suppose \(\phi|_{e}(v_{0})=v'_{0}\),

We must show that ϕ extends to an isomorphism of H∪{e} onto its image. First, consider the case that y is a vertex of H. Let δ be a path in H from v 0 to y avoiding e. By applying Lemma 3.1 to δ e −1(γ )−1, we get the terminal point of ϕ(e) is ϕ| H (y). Consequently, ϕ extends to an isomorphism of H∪{e} onto its image. Now, consider the case where y is not a vertex of H. We must show that the terminal point of ϕ(e) is not a vertex of ϕ| H (H). If it was, one could apply the above argument to the map ϕ −1 on ϕ(H) and conclude that the terminal point of e is a vertex of H. This contradiction completes the proof. Note that we can now suppose \(\phi|_{H}(v_{0})=v'_{0}\).

Since ϕ is a bijection on edges, once we have H=G, we can conclude that ϕ induces an isomorphism between G and G′. □