MerLean-example

16 Def 12: Fiber Bundle Double Complex

Definition 178 Chain Automorphism
#

Let \(n_2, m_2 \in \mathbb {N}\) and let \(\partial ^F : \mathbb {F}_2^{n_2} \to \mathbb {F}_2^{m_2}\) be a linear map (the differential of a 1-complex \(F\) over \(\mathbb {F}_2\)). A chain automorphism of \(F\) is a structure consisting of:

  • an invertible linear map \(\alpha _1 : \mathbb {F}_2^{n_2} \xrightarrow {\sim } \mathbb {F}_2^{n_2}\) (automorphism on \(F_1\)),

  • an invertible linear map \(\alpha _0 : \mathbb {F}_2^{m_2} \xrightarrow {\sim } \mathbb {F}_2^{m_2}\) (automorphism on \(F_0\)),

  • the chain map condition: \(\partial ^F \circ \alpha _1 = \alpha _0 \circ \partial ^F\).

Definition 179 Identity Chain Automorphism

Given a differential \(\partial ^F : \mathbb {F}_2^{n_2} \to \mathbb {F}_2^{m_2}\), the identity chain automorphism \(\operatorname {id}_F\) is the chain automorphism with \(\alpha _1 = \operatorname {id}_{\mathbb {F}_2^{n_2}}\) and \(\alpha _0 = \operatorname {id}_{\mathbb {F}_2^{m_2}}\).

Proof

We set \(\alpha _1 := \operatorname {LinearEquiv.refl}_{\mathbb {F}_2}(\mathbb {F}_2^{n_2})\) and \(\alpha _0 := \operatorname {LinearEquiv.refl}_{\mathbb {F}_2}(\mathbb {F}_2^{m_2})\). The chain map condition \(\partial ^F \circ \alpha _1 = \alpha _0 \circ \partial ^F\) holds by simplification using the fact that the linear map underlying the reflexivity equivalence is the identity (\(\operatorname {LinearEquiv.refl_toLinearMap}\)), so both sides reduce to \(\partial ^F\).

Definition 180 Connection
#

A connection for a fiber bundle with base dimensions \(n_1, m_1\) and fiber differential \(\partial ^F : \mathbb {F}_2^{n_2} \to \mathbb {F}_2^{m_2}\) is a function

\[ \varphi : \operatorname {Fin}(n_1) \to \operatorname {Fin}(m_1) \to \operatorname {ChainAutomorphism}(n_2, m_2, \partial ^F). \]

That is, to each pair \((b^1, b^0) \in \operatorname {Fin}(n_1) \times \operatorname {Fin}(m_1)\), the connection assigns a chain automorphism of \(F\). Values outside the support of \(\partial ^B(e_{b^1})\) are irrelevant.

Definition 181 Trivial Connection

The trivial connection assigns to every pair \((b^1, b^0)\) the identity chain automorphism:

\[ \varphi _{\operatorname {triv}}(b^1, b^0) := \operatorname {id}_F \quad \text{for all } b^1 \in \operatorname {Fin}(n_1),\ b^0 \in \operatorname {Fin}(m_1). \]
Definition 182 Twisted Horizontal Differential
#

Let \(V\) be an \(\mathbb {F}_2\)-module, let \(\partial ^B : \mathbb {F}_2^{n_1} \to \mathbb {F}_2^{m_1}\) be a linear map, and let \(\operatorname {autComp} : \operatorname {Fin}(n_1) \to \operatorname {Fin}(m_1) \to (V \to _{\mathbb {F}_2} V)\) be a family of linear endomorphisms. The twisted horizontal differential

\[ \partial ^h_\varphi : \mathbb {F}_2^{n_1} \otimes _{\mathbb {F}_2} V \; \longrightarrow \; \mathbb {F}_2^{m_1} \otimes _{\mathbb {F}_2} V \]

is the linear map defined via the universal property of the tensor product (via \(\operatorname {TensorProduct.lift}\)): on a pure tensor \(b \otimes f\) (with \(b : \mathbb {F}_2^{n_1}\), \(f : V\)), it acts as

\[ \partial ^h_\varphi (b \otimes f) \; =\; \sum _{b_1 \in \operatorname {Fin}(n_1)} \sum _{b_0 \in \operatorname {Fin}(m_1)} b(b_1) \cdot \bigl(\partial ^B(e_{b_1})\bigr)(b_0) \cdot \bigl(e_{b_0} \otimes _{\mathbb {F}_2} \operatorname {autComp}(b_1, b_0)(f)\bigr), \]

where \(e_{b_1}\) and \(e_{b_0}\) denote the standard basis vectors. This is well-defined as a bilinear map and extends to a linear map on the tensor product.

Lemma 183 Twisted Differential on Pure Tensors

For any \(b : \mathbb {F}_2^{n_1}\) and \(f : V\),

\[ \partial ^h_\varphi (b \otimes _{\mathbb {F}_2} f) \; =\; \sum _{b_1 \in \operatorname {Fin}(n_1)} \sum _{b_0 \in \operatorname {Fin}(m_1)} b(b_1) \cdot \bigl(\partial ^B(e_{b_1})\bigr)(b_0) \cdot \bigl(e_{b_0} \otimes _{\mathbb {F}_2} \operatorname {autComp}(b_1, b_0)(f)\bigr). \]
Proof

This follows by simplification using the definition of \(\operatorname {twistedDhLin}\) and the computation rules for \(\operatorname {TensorProduct.lift}\) applied to a pure tensor.

Lemma 184 Commutativity of Twisted Horizontal and Vertical Differentials

Let \(\partial ^B : \mathbb {F}_2^{n_1} \to \mathbb {F}_2^{m_1}\), \(\partial ^F : \mathbb {F}_2^{n_2} \to \mathbb {F}_2^{m_2}\), and \(\varphi \) a connection. The twisted horizontal differential commutes with the vertical differential \(\operatorname {id} \otimes \partial ^F\):

\[ \partial ^h_{\varphi ,\alpha _0} \circ \bigl(\operatorname {id}_{\mathbb {F}_2^{n_1}} \otimes \partial ^F\bigr) \; =\; \bigl(\operatorname {id}_{\mathbb {F}_2^{m_1}} \otimes \partial ^F\bigr) \circ \partial ^h_{\varphi ,\alpha _1}, \]

where \(\partial ^h_{\varphi ,\alpha _q}\) denotes the twisted horizontal differential using the automorphism component \(\alpha _q\) from the connection.

Proof

By tensor product extensionality (\(\operatorname {TensorProduct.ext’}\)), it suffices to verify equality on all pure tensors \(b \otimes f\) with \(b : \mathbb {F}_2^{n_1}\) and \(f : \mathbb {F}_2^{n_2}\). For such a pure tensor, we simplify both sides using the definition of \(\operatorname {twistedDhLin_tmul}\) and \(\operatorname {LinearMap.lTensor}\). After unfolding the sums and using congruence, the equality at each summand \((b_1, b_0)\) reduces to showing:

\[ \partial ^F\bigl(\alpha _1(b_1,b_0)(f)\bigr) \; =\; \alpha _0(b_1,b_0)\bigl(\partial ^F(f)\bigr). \]

This is exactly the chain map condition \(\varphi (b_1, b_0).\operatorname {comm}\): from \(\partial ^F \circ (\varphi (b_1,b_0).\alpha _1) = (\varphi (b_1,b_0).\alpha _0) \circ \partial ^F\), we extract the value at \(f\) via \(\operatorname {LinearMap.ext_iff}\) and obtain the required equality by symmetry.

Definition 185 Base Size Function
#

The base size function assigns dimensions to degrees:

\[ \operatorname {baseSize}(n_1, m_1, p) := \begin{cases} n_1 & \text{if } p = 1, \\ m_1 & \text{if } p = 0, \\ 0 & \text{otherwise.} \end{cases} \]

This encodes the graded structure of the base 1-complex \(B = (\mathbb {F}_2^{n_1} \xrightarrow {\partial ^B} \mathbb {F}_2^{m_1})\).

Definition 186 Fiber Size Function
#

The fiber size function assigns dimensions to degrees:

\[ \operatorname {fiberSize}(n_2, m_2, q) := \begin{cases} n_2 & \text{if } q = 1, \\ m_2 & \text{if } q = 0, \\ 0 & \text{otherwise.} \end{cases} \]

This encodes the graded structure of the fiber 1-complex \(F = (\mathbb {F}_2^{n_2} \xrightarrow {\partial ^F} \mathbb {F}_2^{m_2})\).

Definition 187 Graded Object of the Fiber Bundle Double Complex

The graded object underlying the fiber bundle double complex is the functor

\[ \operatorname {fbObj}(n_1, m_1, n_2, m_2) : \mathbb {Z} \times \mathbb {Z} \; \longrightarrow \; \operatorname {Mod}_{\mathbb {F}_2}, \quad (p, q) \; \longmapsto \; \mathbb {F}_2^{\operatorname {baseSize}(p)} \otimes _{\mathbb {F}_2} \mathbb {F}_2^{\operatorname {fiberSize}(q)}. \]
Definition 188 Fiber Differential
#

Given \(\partial ^F : \mathbb {F}_2^{n_2} \to \mathbb {F}_2^{m_2}\), the fiber differential at degrees \((q, q')\) is the linear map

\[ \operatorname {fiberDiff}(n_2, m_2, \partial ^F, q, q') : \mathbb {F}_2^{\operatorname {fiberSize}(q)} \; \longrightarrow \; \mathbb {F}_2^{\operatorname {fiberSize}(q')} \; :=\; \begin{cases} \partial ^F & \text{if } q = 1 \text{ and } q’ = 0, \\ 0 & \text{otherwise.} \end{cases} \]
Definition 189 Vertical Differential
#

The vertical differential \(\partial ^v = \operatorname {id}_B \otimes \partial ^F\) is the morphism in \(\operatorname {Mod}_{\mathbb {F}_2}\):

\[ \operatorname {fbDv}(p, q, q') : \operatorname {fbObj}(p, q) \; \longrightarrow \; \operatorname {fbObj}(p, q'), \quad \operatorname {fbDv}(p, q, q') := \operatorname {id}_{\mathbb {F}_2^{\operatorname {baseSize}(p)}} \otimes \operatorname {fiberDiff}(q, q'), \]

defined via \(\operatorname {LinearMap.lTensor}\).

Definition 190 Automorphism at Fiber Degree

Given a connection \(\varphi \) and a fiber degree \(q \in \mathbb {Z}\), the automorphism component at degree \(q\) is the family of linear endomorphisms

\[ \operatorname {autAtDeg}(\partial ^F, \varphi , q, b_1, b_0) : \mathbb {F}_2^{\operatorname {fiberSize}(q)} \; \longrightarrow \; \mathbb {F}_2^{\operatorname {fiberSize}(q)} \; :=\; \begin{cases} \varphi (b_1,b_0).\alpha _1 & \text{if } q = 1, \\ \varphi (b_1,b_0).\alpha _0 & \text{if } q = 0, \\ \operatorname {id} & \text{otherwise.} \end{cases} \]
Definition 191 Twisted Horizontal Differential as Morphism

The twisted horizontal differential is the morphism in \(\operatorname {Mod}_{\mathbb {F}_2}\):

\[ \operatorname {fbDh}(p, p', q) : \operatorname {fbObj}(p, q) \; \longrightarrow \; \operatorname {fbObj}(p', q) \; :=\; \begin{cases} \partial ^h_\varphi & \text{if } p = 1 \text{ and } p’ = 0, \\ 0 & \text{otherwise,} \end{cases} \]

where \(\partial ^h_\varphi = \operatorname {twistedDhLin}(\partial ^B, (b_1, b_0) \mapsto \operatorname {autAtDeg}(\partial ^F, \varphi , q, b_1, b_0))\) is the connection-twisted horizontal differential.

Definition 192 Fiber Bundle Double Complex

Let \(\partial ^B : \mathbb {F}_2^{n_1} \to \mathbb {F}_2^{m_1}\), \(\partial ^F : \mathbb {F}_2^{n_2} \to \mathbb {F}_2^{m_2}\), and \(\varphi \) a connection. The fiber bundle double complex \(B \boxtimes _\varphi F\) is the double complex over \(\mathbb {F}_2\) with:

  • Objects: \((p, q) \mapsto \mathbb {F}_2^{\operatorname {baseSize}(p)} \otimes _{\mathbb {F}_2} \mathbb {F}_2^{\operatorname {fiberSize}(q)}\),

  • Horizontal differential: \(\partial ^h_\varphi = \operatorname {fbDh}(p, p', q)\) (the connection-twisted map),

  • Vertical differential: \(\partial ^v = \operatorname {fbDv}(p, q, q') = \operatorname {id}_B \otimes \partial ^F\).

This is constructed using \(\operatorname {HomologicalComplex}_2.\operatorname {ofGradedObject}\) with the descending complex shape on \(\mathbb {Z}\). The double complex axioms are verified by the following conditions:

  1. \((\partial ^h)^2 = 0\): since \(\operatorname {fbDh}(p, p', q) \circ \operatorname {fbDh}(p', p'', q) = 0\) (at most one factor can be nonzero, as \(p = 1, p' = 0\) and \(p' = 1, p'' = 0\) cannot both hold),

  2. \((\partial ^v)^2 = 0\): since \(\operatorname {fbDv}(p, q', q'') \circ \operatorname {fbDv}(p, q, q') = 0\) (similarly),

  3. Commutativity \(\partial ^h \circ \partial ^v = \partial ^v \circ \partial ^h\): by Lemma 184, since each \(\varphi (b_1, b_0)\) is a chain automorphism.

Definition 193 Fiber Bundle Complex

The fiber bundle complex \(B \otimes _\varphi F = \operatorname {Tot}(B \boxtimes _\varphi F)\) is the total complex of the fiber bundle double complex:

\[ B \otimes _\varphi F \; :=\; (B \boxtimes _\varphi F).\operatorname {totalComplex} \; \in \; \operatorname {ChainComplex}_{\mathbb {F}_2}. \]

It is the chain complex over \(\mathbb {F}_2\) obtained by taking the direct sum totalization of the double complex \(B \boxtimes _\varphi F\), with differential given by \(\partial ^h_\varphi + \partial ^v\) (summing the horizontal and vertical differentials in each total degree). The existence of the total complex is guaranteed because each graded piece is a finitely-generated \(\mathbb {F}_2\)-module, so all necessary coproducts exist and the \(\operatorname {HasTotal}\) instance holds by type class inference.