MerLean-example

5 Rem 5: Exactness of Sequences

For a graph \(G = (V, E)\) with a collection of cycles \(C\) (where each cycle \(c \in C\) is specified by its edge set, and each vertex of \(G\) that appears in \(c\) is incident to exactly two edges of \(c\)), the maps \(\partial _2\) and \(\partial \) satisfy the chain complex property \(\partial \circ \partial _2 = 0\). Similarly, \(\delta _2 \circ \delta = 0\) holds by transposition. For a connected graph, \(\ker (\delta ) = \{ 0, \mathbf{1}\} \) (constant functions), so the sequences are not short exact since \(\ker (\delta ) \neq 0\). If \(C\) generates the cycle space (\(\operatorname {im}(\partial _2) = \ker (\partial )\)), then \(\ker (\partial ) = \operatorname {im}(\partial _2)\).

Theorem 91 Boundary of a Cycle is Zero

Let \(G = (V, E)\) be a graph and let \(C\) be a collection of cycles specified by their edge sets. Suppose that for every cycle \(c \in C\) and every vertex \(v \in V\), the number of edges of \(c\) incident to \(v\) is even. Then for any cycle \(c \in C\) and any vertex \(v \in V\),

\[ \partial \! \left(\mathbf{1}_c\right)(v) = 0, \]

where \(\mathbf{1}_c\) is the indicator function of the edges of \(c\).

Proof

By the definition of the boundary map, \(\partial (\mathbf{1}_c)(v) = \sum _{e \in E} [\! [v \in e]\! ] \cdot \mathbf{1}_c(e)\). We rewrite each summand: the term \([\! [v \in e]\! ] \cdot \mathbf{1}_c(e)\) equals \([\! [e \in c \land v \in e]\! ]\), by splitting on cases (if \(v \in e\), then the value is \(\mathbf{1}_c(e)\); otherwise \(0\), and if \(e \notin c\), both expressions are \(0\)). After this rewriting, we apply the identity \(\sum _{e} [\! [P(e)]\! ] = |\{ e : P(e)\} |\) (sum of boolean indicators equals the cardinality of the filtered set). This gives \(\partial (\mathbf{1}_c)(v) = |\{ e \in E : e \in c \land v \in e\} | \pmod{2}\). Since by hypothesis this cardinality is even, the natural number cast to \(\mathbb {Z}/2\mathbb {Z}\) is zero, as required.

Theorem 92 Boundary of Second Boundary on a Single Cycle

Under the same cycle evenness hypothesis, for any cycle \(c \in C\) and vertex \(v \in V\),

\[ \partial \! \left(\partial _2(\mathbf{e}_c)\right)(v) = 0, \]

where \(\mathbf{e}_c = \pi _c(1)\) is the standard basis vector corresponding to \(c\).

Proof

We expand both maps using their definitions. By the definition of \(\partial _2\), for each edge \(e\), \((\partial _2(\mathbf{e}_c))(e) = \sum _{c'} [\! [e \in c']\! ] \cdot \mathbf{e}_c(c')\). We establish the key identity: for each edge \(e\), \(\sum _{c'} [\! [e \in c']\! ] \cdot \mathbf{e}_c(c') = \mathbf{1}_c(e)\). To see this, we rewrite the sum by cases: if \(c' = c\) the summand is \([\! [e \in c]\! ]\), and if \(c' \neq c\) the summand is \(0\) (since \(\mathbf{e}_c(c') = 0\)). Thus the sum telescopes via \(\sum _{c'} [\! [c' = c]\! ] \cdot [\! [e \in c']\! ] = [\! [e \in c]\! ]\) by evaluating at the unique term \(c' = c\).

Substituting this into the boundary map expression, for each edge \(e\) we replace the inner sum by \(\mathbf{1}_c(e)\) (splitting on whether \(v \in e\) to handle the outer indicator). The resulting expression is exactly \(\partial (\mathbf{1}_c)(v)\), which equals \(0\) by the theorem boundary_of_cycle_eq_zero.

Theorem 93 Chain Complex Property: \(\partial \circ \partial _2 = 0\)

Under the cycle evenness hypothesis (every vertex is incident to an even number of edges of each cycle), the composition of the boundary map with the second boundary map is zero:

\[ \partial \circ \partial _2 = 0. \]
Proof

By extensionality of linear maps, it suffices to show that for every \(\sigma : C \to \mathbb {Z}/2\mathbb {Z}\) and every \(v \in V\), \(\partial (\partial _2(\sigma ))(v) = 0\).

Expanding the definitions, the left-hand side is

\[ \sum _{e \in E} [\! [v \in e]\! ] \cdot \left(\sum _{c \in C} [\! [e \in c]\! ] \cdot \sigma (c)\right). \]

We rewrite each summand: when \(v \in e\), the inner expression is \(\sum _c [\! [e \in c]\! ] \cdot \sigma (c)\); when \(v \notin e\), the summand is \(0\). Combining the conditions, each summand becomes \(\sum _c [\! [e \in c \land v \in e]\! ] \cdot \sigma (c)\).

Swapping the order of summation, we obtain \(\sum _{c \in C} \sum _{e \in E} [\! [e \in c \land v \in e]\! ] \cdot \sigma (c)\). For each fixed \(c\), we factor out \(\sigma (c)\) to get \(\sigma (c) \cdot \sum _{e \in E} [\! [e \in c \land v \in e]\! ]\). The inner sum \(\sum _{e} [\! [e \in c \land v \in e]\! ] = |\{ e \in E : e \in c \land v \in e\} |\) counts edges of \(c\) incident to \(v\), which is even by hypothesis. Therefore in \(\mathbb {Z}/2\mathbb {Z}\) this count is \(0\), and each term \(\sigma (c) \cdot 0 = 0\). Summing over all \(c\) gives \(0\).

Theorem 94 \(\operatorname {im}(\partial _2) \leq \ker (\partial )\)

Under the cycle evenness hypothesis, the image of \(\partial _2\) is contained in the kernel of \(\partial \):

\[ \operatorname {im}(\partial _2) \subseteq \ker (\partial ). \]
Proof

By the characterization of range contained in kernel via composition, it suffices to show \(\partial \circ \partial _2 = 0\), which is exactly the chain complex property established in the previous theorem.

Theorem 95 Coboundary Chain Complex Property: \(\delta _2 \circ \delta = 0\)

Under the cycle evenness hypothesis, the composition of the second coboundary map with the coboundary map is zero:

\[ \delta _2 \circ \delta = 0. \]
Proof

By extensionality, it suffices to show that for every \(f : V \to \mathbb {Z}/2\mathbb {Z}\) and every \(c \in C\), \(\delta _2(\delta (f))(c) = 0\). Expanding the definitions, the left-hand side equals \(\sum _{e \in E} [\! [e \in c]\! ] \cdot (\delta f)(e)\).

Let \(\mathbf{1}_c : E \to \mathbb {Z}/2\mathbb {Z}\) be the indicator function of cycle \(c\). We rewrite the sum as \(\sum _e (\delta f)(e) \cdot \mathbf{1}_c(e)\). By the transpose identity \(\sum _e (\delta f)(e) \cdot g(e) = \sum _v f(v) \cdot (\partial g)(v)\), this equals \(\sum _v f(v) \cdot (\partial \mathbf{1}_c)(v)\).

Since each vertex is incident to an even number of edges of each cycle, by the theorem boundary_of_cycle_eq_zero, \((\partial \mathbf{1}_c)(v) = 0\) for all \(v\). Therefore the right-hand side becomes \(\sum _v f(v) \cdot 0 = 0\).

It remains to verify that the original goal (which after simplification involves \(\operatorname {Sym2.lift}\) applied to edge terms) agrees with the coboundary map formulation. This is checked by a straightforward computation showing both expressions agree on each summand. Combining these equalities completes the proof.

Theorem 96 \(\operatorname {im}(\delta ) \leq \ker (\delta _2)\)

Under the cycle evenness hypothesis, the image of \(\delta \) is contained in the kernel of \(\delta _2\):

\[ \operatorname {im}(\delta ) \subseteq \ker (\delta _2). \]
Proof

By the characterization of range contained in kernel, it suffices to show \(\delta _2 \circ \delta = 0\), which is the coboundary chain complex property established above.

Definition 97 All-Ones Function
#

The all-ones function \(\mathbf{1} : V \to \mathbb {Z}/2\mathbb {Z}\) is defined by \(\mathbf{1}(v) = 1\) for all \(v \in V\).

Theorem 98 All-Ones Vector in \(\ker (\delta )\)

The all-ones vector \(\mathbf{1}\) lies in the kernel of the coboundary map:

\[ \mathbf{1} \in \ker (\delta ). \]
Proof

We must show \(\delta (\mathbf{1}) = 0\), i.e., for every edge \(e \in E\), \((\delta \mathbf{1})(e) = 0\). By the membership criterion for the kernel and extensionality, it suffices to check each edge. For an edge \(e = \{ a, b\} \), we use induction on \(\operatorname {Sym2}\) to reduce to the case \(e = s(a,b)\). Then \((\delta \mathbf{1})(e) = \mathbf{1}(a) + \mathbf{1}(b) = 1 + 1 = 0\) in \(\mathbb {Z}/2\mathbb {Z}\), since in characteristic \(2\), any element added to itself is zero.

Theorem 99 Constant Functions in \(\ker (\delta )\)

For any \(a \in \mathbb {Z}/2\mathbb {Z}\), the constant function \(f(v) = a\) for all \(v \in V\) lies in \(\ker (\delta )\).

Proof

We verify \(\delta (f) = 0\) by extensionality over edges. For each edge \(e = \{ x, y\} \), using induction on \(\operatorname {Sym2}\), we have \((\delta f)(e) = f(x) + f(y) = a + a = 0\) in \(\mathbb {Z}/2\mathbb {Z}\), since \(a + a = 0\) in characteristic \(2\).

Theorem 100 \(\ker (\delta )\): Constant on Adjacent Vertices

If \(f \in \ker (\delta )\) and \(a, b \in V\) are adjacent in \(G\), then \(f(a) = f(b)\).

Proof

Since \(f \in \ker (\delta )\), we have \(\delta (f) = 0\). Because \(a\) and \(b\) are adjacent, \(e = s(a,b) \in E\). Evaluating \(\delta (f)\) at \(e\) gives \((\delta f)(e) = f(a) + f(b) = 0\) in \(\mathbb {Z}/2\mathbb {Z}\). By the characterization of addition in \(\mathbb {Z}/2\mathbb {Z}\), \(f(a) + f(b) = 0\) implies \(f(a) = f(b)\).

Theorem 101 \(\ker (\delta )\): Constant Along Walks

If \(f \in \ker (\delta )\) and \(p\) is a walk from \(u\) to \(w\) in \(G\), then \(f(u) = f(w)\).

Proof

We proceed by induction on the walk \(p\).

Base case (\(p\) is the nil walk, \(u = w\)): The equality \(f(u) = f(w)\) holds by reflexivity.

Inductive step (\(p\) is a cons walk \(u \to v \to \cdots \to w\) where \(u\) is adjacent to \(v\)): By the previous theorem, \(f(u) = f(v)\) since \(u\) and \(v\) are adjacent. By the induction hypothesis applied to the sub-walk from \(v\) to \(w\), \(f(v) = f(w)\). Combining by transitivity gives \(f(u) = f(w)\).

Theorem 102 \(\ker (\delta )\): Constant on Reachable Vertices

If \(f \in \ker (\delta )\) and \(u, w \in V\) are reachable from each other in \(G\), then \(f(u) = f(w)\).

Proof

From the reachability hypothesis, we obtain a walk \(p\) from \(u\) to \(w\). The result follows directly from the theorem that \(f\) is constant along walks.

Theorem 103 \(\ker (\delta )\) for Connected Graphs: Constant Functions

If \(G\) is connected and \(f \in \ker (\delta )\), then \(f\) is a constant function, i.e., there exists \(a \in \mathbb {Z}/2\mathbb {Z}\) such that \(f = (v \mapsto a)\).

Proof

Since \(G\) is connected, the vertex set is nonempty; let \(v_0 \in V\). We claim \(a = f(v_0)\) works. By extensionality, for any \(w \in V\), since \(G\) is connected, \(v_0\) and \(w\) are reachable. By the theorem that \(f\) is constant on reachable vertices, \(f(v_0) = f(w)\). Taking the symmetric equality gives \(f(w) = f(v_0) = a\) for all \(w\).

Theorem 104 \(\ker (\delta )\) for Connected Graphs is \(\{ 0, \mathbf{1}\} \)

For a connected graph \(G\), a function \(f : V \to \mathbb {Z}/2\mathbb {Z}\) lies in \(\ker (\delta )\) if and only if \(f = 0\) or \(f = \mathbf{1}\):

\[ f \in \ker (\delta ) \iff f = 0 \text{ or } f = \mathbf{1}. \]
Proof

We prove both directions.

\((\Rightarrow )\): Suppose \(f \in \ker (\delta )\). By the theorem that kernel elements of connected graphs are constant, there exists \(a \in \mathbb {Z}/2\mathbb {Z}\) such that \(f(v) = a\) for all \(v\). Since \(\mathbb {Z}/2\mathbb {Z} = \{ 0, 1\} \), we have \(a = 0\) or \(a = 1\) (verified by case analysis on the finite type). If \(a = 0\), then \(f = 0\) by extensionality. If \(a = 1\), then \(f = \mathbf{1}\) by extensionality and the definition of \(\mathbf{1}\).

\((\Leftarrow )\): If \(f = 0\), then \(f \in \ker (\delta )\) since the kernel is a submodule (containing \(0\)). If \(f = \mathbf{1}\), then \(f \in \ker (\delta )\) by the theorem that \(\mathbf{1} \in \ker (\delta )\).

Theorem 105 \(\ker (\delta ) \neq 0\): Sequences Are Not Short Exact

Assuming \(V\) is nonempty, the kernel of the coboundary map is nontrivial:

\[ \ker (\delta ) \neq \{ 0\} . \]

In particular, the chain complex sequences involving \(\delta \) are not short exact.

Proof

Suppose for contradiction that \(\ker (\delta ) = \{ 0\} \) (i.e., the kernel is the bottom submodule). The all-ones vector \(\mathbf{1}\) lies in \(\ker (\delta )\) by the previously established theorem. By our assumption, \(\mathbf{1} = 0\) as functions \(V \to \mathbb {Z}/2\mathbb {Z}\). Since \(V\) is nonempty, let \(v \in V\). Evaluating at \(v\) gives \(\mathbf{1}(v) = 0(v)\), i.e., \(1 = 0\) in \(\mathbb {Z}/2\mathbb {Z}\). By the definition of \(\mathbf{1}\), this simplifies to a contradiction.

Theorem 106 \(\partial (\partial _2(\sigma )) = 0\) Pointwise

Under the cycle evenness hypothesis, for any \(\sigma : C \to \mathbb {Z}/2\mathbb {Z}\),

\[ \partial (\partial _2(\sigma )) = 0. \]
Proof

By the chain complex property \(\partial \circ \partial _2 = 0\), we have \((\partial \circ \partial _2)(\sigma ) = 0(\sigma ) = 0\), which is exactly \(\partial (\partial _2(\sigma )) = 0\). The proof rewrites the goal as the application of the composition and then applies the chain complex theorem.

Theorem 107 \(\delta _2(\delta (f)) = 0\) Pointwise

Under the cycle evenness hypothesis, for any \(f : V \to \mathbb {Z}/2\mathbb {Z}\),

\[ \delta _2(\delta (f)) = 0. \]
Proof

By the coboundary chain complex property \(\delta _2 \circ \delta = 0\), we have \((\delta _2 \circ \delta )(f) = 0(f) = 0\), which is exactly \(\delta _2(\delta (f)) = 0\). The proof rewrites the goal as the application of the composition and then applies the coboundary chain complex theorem.