Quantum Information and Channels: A formalization blueprint

53 Elementary finite constructions

This chapter collects elementary facts about finite index sets, ordered products, finite tensor products of matrices, representations of finite products of matrix algebras, coalgebras, directed walks, and matrix-valued functions of one real variable. They are used throughout the later chapters as bookkeeping steps; each is stated here with the hypotheses it actually needs.

53.1 Ordered products, cyclic indices and path sums

Throughout this section, ordered products are noncommutative and their factors are indexed by \(\{ 0,\ldots ,L{-}1\} \) in increasing order.

Lemma 53.1.1 Ordered products of sums and of scalar multiples
✓

Let \(R\) be a semiring, \(J\) a finite set and \(f_n(j)\in R\) for \(0\le n{\lt}N\) and \(j\in J\). Then

\begin{align} \prod _{n=0}^{N-1}\sum _{j\in J}f_n(j) & =\sum _{c\colon \{ 0,\ldots ,N{-}1\} \to J}\prod _{n=0}^{N-1}f_n(c(n)), \notag \end{align}

the products being ordered. If \(R\) is an algebra over a commutative semiring \(K\), then \(\prod _n(c_nA_n)=\bigl(\prod _nc_n\bigr)\prod _nA_n\) for scalars \(c_n\in K\). Moreover \(x_0\cdots x_m=(x_0\cdots x_{m-1})x_m\) in every monoid, and for matrices \(E\) and \(F_0,\ldots ,F_{m-1}\) of compatible sizes, \((EF_0)\cdots (EF_{m-1})E=E(F_0E)\cdots (F_{m-1}E)\). Finally, a sum over tuples \(\tau \colon \{ 0,\ldots ,m+1{-}1\} \to \alpha \) of a function of \(\tau (0)\) and of the remaining tuple splits into a sum over the first value and a sum over the remaining tuple.

Proof ▶

The first two identities follow by induction on \(N\), splitting off the first factor and identifying a choice function on \(\{ 0,\ldots ,N+1{-}1\} \) with its first value and the remaining choice function. The third is the last-factor form of the ordered product. The fourth is an induction on \(m\) using associativity. The last is the reindexing of tuples of length \(m+1\) by their first entry and their tail.

Lemma 53.1.2 Nonempty products in a generated subsemigroup
✓

Let \(M\) be a monoid and let \(S\subseteq M\). Every element \(x\) of the subsemigroup generated by \(S\) admits a factorization \(x=a_1\cdots a_n\) with \(n\geq 1\) and \(a_j\in S\) for \(1\leq j\leq n\).

Proof ▶

A generator has the required one-factor expression. The product of two such expressions is represented by their concatenation, which is again nonempty and has every factor in \(S\).

Lemma 53.1.3 Appending to a finite tuple
✓
#

The list of values of a tuple \((f_0,\ldots ,f_{n-1},x)\) is the list of values of \((f_0,\ldots ,f_{n-1})\) followed by \(x\). Every finite list is the list of values of a tuple indexed by \(\{ 0,\ldots ,n{-}1\} \), where \(n\) is its length.

Proof ▶

Split the tuple of length \(n+1\) at its last entry. A list is the list of values of its own entry function.

Lemma 53.1.4 Induction on a finite cyclic index
✓

Let \(m\geq 1\) and let \(P\) be a property of residues modulo \(m\). If \(P(0)\) holds and \(P(i)\) implies \(P(i+1)\) for every \(i\), then \(P\) holds for every residue. A statement about every pair \((j,j-1)\) is the same as the statement about every pair \((j+1,j)\). One-step rotation of \(\{ 0,\ldots ,N+1{-}1\} \) sends \(i{\lt}N\) to \(i+1\), and on \(\{ 0,\ldots ,N{-}1\} \) it sends \(i\) to \((i+1)\bmod N\).

Proof ▶

Induct on the value of the residue: a nonzero residue is the successor of the residue one smaller. The second statement substitutes \(j+1\) for \(j\), and conversely. The rotation identities are computations of values.

Lemma 53.1.5 Constancy on a finite interval
✓
#

Let \(a,n\in \mathbb N\), and let \(f\) be defined on the integer interval \([0,n]\). If \(f(m)=f(m+1)\) for every \(a\le m{\lt}n\), then \(f(i)=f(j)\) for all \(i,j\in [a,n]\).

Proof ▶

Composing the successive equalities from the smaller index to the larger gives \(f(i)=f(j)\).

Lemma 53.1.6 Cyclic path expansion of a trace
✓

Let \(M_0,\ldots ,M_{L-1}\) be square matrices of the same finite size over a commutative semiring. Applying the ordered product \(M_0\cdots M_{L-1}\) to a vector \(v\) and reading the entry at \(a\) sums, over all paths \((t_0,\ldots ,t_L)\) with \(t_0=a\), the product of the entries \((M_n)_{t_n t_{n+1}}\) along the path times \(v_{t_L}\). In particular the entry of the product at \((a,b)\) is the sum over the paths from \(a\) to \(b\). If \(L\ge 1\), then

\begin{align} \operatorname {tr}(M_0\cdots M_{L-1}) & =\sum _{t_0,\ldots ,t_{L-1}}\prod _{n=0}^{L-1}(M_n)_{t_n t_{n+1}}, \notag \end{align}

with the cyclic convention \(t_L=t_0\).

Proof ▶

The open expansion is an induction on \(L\): splitting a path into its first step and the remaining path gives \((M_0(M_1\cdots M_{L-1})v)_a=\sum _c(M_0)_{ac}((M_1\cdots M_{L-1})v)_c\). The entry formula applies the open expansion to a standard basis vector. For the trace, separating the last factor \(M_{L-1}\) and applying the open expansion to the vector \(c\mapsto (M_{L-1})_{ca}\), then splitting each cyclic assignment into its first entry \(a\) and the remaining entries, identifies the two sides term by term as the last factor closes the cycle back to \(a\).

Lemma 53.1.7 Cyclic trace of matrix units
✓
#

For \(N\geq 1\), scalars \(c_v\), and matrix-unit indices \(a_v,b_v\),

\begin{align} \operatorname {tr}\! \left(\prod _{v=0}^{N-1}c_vE_{a_vb_v}\right) & =\left(\prod _{v=0}^{N-1}c_v\right) \prod _{v=0}^{N-1}\delta _{b_v,a_{v+1}}, \label{eq:asymex_ising_unit_loop} \end{align}

where \(a_N=a_0\).

Proof ▶

In the cyclic path expansion only the path \(t_v=a_v\) can contribute, and it contributes \(\prod _vc_v\) exactly when \(b_v=a_{v+1}\) for every \(v\).

Lemma 53.1.8 Three consecutive positive power sums
✓

Let \(x_0,\ldots ,x_{r-1}\) be real numbers and \(p_n=\sum _k x_k^n\). For every integer \(n\geq 0\),

\begin{align} p_{n+2}-2p_{n+1}+p_n & =\sum _k x_k^n(x_k-1)^2. \label{eq:elementary_positive_second_difference} \end{align}

If every \(x_k\) is positive, the second difference vanishes if and only if every \(x_k\) equals one. The same holds for complex numbers that are positive real numbers.

Proof ▶

Expanding the squares gives (2). Every summand is nonnegative, and every factor \(x_k^n\) is strictly positive. Thus the sum vanishes exactly when all \(x_k-1\) vanish.

53.2 Coordinates of finite tuples

Write \(\pi _{m,n}\colon \{ 0,\ldots ,m{-}1\} \times \{ 0,\ldots ,n{-}1\} \to \{ 0,\ldots ,mn{-}1\} \) for the standard product coordinate bijection.

Definition 53.2.1 Three-coordinate identification
✓
#

For every type \(\alpha \), evaluation at the three coordinates gives the canonical equivalence

\begin{align} (\{ 0,\ldots ,3{-}1\} \to \alpha ) & \simeq \alpha \times (\alpha \times \alpha ). \label{eq:ph_three_coordinate_equiv} \end{align}

Its forward map is

\begin{align} x & \longmapsto \bigl(x(0),(x(1),x(2))\bigr). \label{eq:ph_three_coordinate_forward} \end{align}
Definition 53.2.2 Four-coordinate identification
✓
#

For every type \(\alpha \), the canonical right-associated regrouping \(R_4\colon (\{ 0,\ldots ,4{-}1\} \to \alpha )\simeq \alpha \times (\alpha \times (\alpha \times \alpha ))\) separates the first coordinate and regroups the remaining three as in Definition 53.2.1.

Lemma 53.2.3 Coordinates of the four-site regrouping
✓

The canonical four-coordinate regrouping and its inverse satisfy

\begin{align} R_4(\sigma ) & =(\sigma _0,(\sigma _1,(\sigma _2,\sigma _3))), \notag \\ R_4^{-1}(i_0,(i_1,(i_2,i_3))) & =(i_0,i_1,i_2,i_3), \notag \end{align}

and the three-coordinate identification satisfies the analogous formulas.

Proof ▶

Both identities follow from the definition of the canonical right-associated regrouping.

Definition 53.2.4 Initial-coordinate regroupings
✓
#

Let \(R_1\) identify an \((N+1)\)-tuple with its first coordinate and the remaining \(N\)-tuple. Let \(R_2\) identify an \((N+2)\)-tuple with its first two coordinates and the remaining \(N\)-tuple.

Lemma 53.2.5 Regrouping the first coordinates
✓

For a tuple \(\sigma \) of length \(N+1\),

\begin{align} R_1(\sigma ) & =(\sigma _0,(\sigma _1,\ldots ,\sigma _N)), \notag \\ R_1^{-1}(i,(a_1,\ldots ,a_N)) & =(i,a_1,\ldots ,a_N). \notag \end{align}

For a tuple \(\sigma \) of length \(N+2\),

\begin{align} R_2(\sigma ) & =\bigl((\sigma _0,\sigma _1), (\sigma _2,\ldots ,\sigma _{N+1})\bigr), \notag \\ R_2^{-1}((i,j),(a_1,\ldots ,a_N)) & =(i,j,a_1,\ldots ,a_N). \notag \end{align}
Proof ▶

All four identities hold by definition of the regroupings.

Definition 53.2.6 Splitting tuples of product coordinates
✓
#

For every \(N\), the product coordinates give the pointwise splitting

\begin{align} (\{ 0,\ldots ,N{-}1\} \to \{ 0,\ldots ,de{-}1\} ) & \simeq (\{ 0,\ldots ,N{-}1\} \to \{ 0,\ldots ,d{-}1\} )\times (\{ 0,\ldots ,N{-}1\} \to \{ 0,\ldots ,e{-}1\} ), \notag \\ \sigma & \longmapsto (\sigma _d,\sigma _e), & \sigma (n) & =\pi _{d,e}(\sigma _d(n),\sigma _e(n)). \label{eq:elementary_tuple_product_split} \end{align}
Definition 53.2.7 Doubled product-coordinate equivalence
✓

For natural numbers \(d,e\), the canonical doubled product-coordinate equivalence \(s_{d,e}\colon \{ 0,\ldots ,(de)^2{-}1\} \to \{ 0,\ldots ,d^2e^2{-}1\} \) and its inverse satisfy

\begin{align} s_{d,e}\! \left(\pi _{de,de} \bigl(\pi _{d,e}(i,k),\pi _{d,e}(j,\ell )\bigr)\right) & =\pi _{d^2,e^2} \bigl(\pi _{d,d}(i,j),\pi _{e,e}(k,\ell )\bigr), \notag \\ s_{d,e}^{-1}\! \left(\pi _{d^2,e^2} \bigl(\pi _{d,d}(i,j),\pi _{e,e}(k,\ell )\bigr)\right) & =\pi _{de,de} \bigl(\pi _{d,e}(i,k),\pi _{d,e}(j,\ell )\bigr). \label{eq:mpu_tensor_flattening_shuffle} \end{align}
Definition 53.2.8 Pointwise dependent pairs
✓

For families of types \(\alpha _i\) and \(\beta _i(a)\) with \(a\in \alpha _i\), a function assigning to each \(i\) a pair \((a_i,b_i)\) with \(b_i\in \beta _i(a_i)\) is the same as a function \(a\) with \(a(i)\in \alpha _i\) together with a function \(b\) with \(b(i)\in \beta _i(a(i))\).

A function on two, three or four indices equals the vector of its values, and precomposing \((a,b,c)\) with a transposition of two indices exchanges the corresponding entries.

Proof ▶

Compare the two sides at each index.

53.3 Finite tensor products and tensor powers of matrices

All matrices in this section are complex and indexed by finite sets.

Definition 53.3.1 Finite tensor product of matrices
✓
#

For a finite set of sites \(\nu \) and matrices \(K_k\) with rows indexed by \(I_k\) and columns by \(J_k\), the tensor product \(\bigotimes _kK_k\) is the matrix with rows indexed by \(\prod _kI_k\), columns by \(\prod _kJ_k\), and entries

\begin{align} \Bigl(\bigotimes _kK_k\Bigr)_{x,y} & =\prod _k(K_k)_{x_k,y_k}. \notag \end{align}

For a matrix \(V\) with rows indexed by \(I\) and columns by \(J\), the \(N\)-fold tensor power \(V^{\otimes N}\) is the tensor product of the constant family \(V\) over \(N\) sites, indexed by \(I^N\) and \(J^N\). For a system of sites with on-site matrices \(m_v\), the product operator \(\bigotimes _vm_v\) is the tensor product over the sites.

Finite tensor products of rectangular matrices are multiplicative, \(\bigl(\bigotimes _kK_k\bigr)\bigl(\bigotimes _kL_k\bigr) =\bigotimes _kK_kL_k\), and the tensor product of identities is the identity. Multiplying every factor by \(c\) multiplies the product by \(c^{\lvert \nu \rvert }\), so \((cX)^{\otimes N}=c^NX^{\otimes N}\). Transposes and adjoints are taken factorwise, and the trace of a tensor product of square matrices is the product of the traces. Summing tensor products over all choice functions gives the tensor product of the sums, and the tensor product of diagonal matrices \(\operatorname {diag}(f_k)\) is diagonal with entries \(\prod _kf_k(\sigma _k)\). A tensor product vanishes exactly when one of its factors does.

Proof ▶

Distributing finite products over sums gives

\begin{align} \sum _{r}\prod _k(K_k)_{x_k,r_k}(L_k)_{r_k,y_k} & =\prod _k\sum _{j}(K_k)_{x_k,j}(L_k)_{j,y_k}. \notag \end{align}

The remaining identities are entrywise computations with \(\prod _k\delta _{x_k,y_k}=\delta _{x,y}\). If every factor is nonzero, the entry at a choice of nonzero entries of the factors is a product of nonzero numbers.

Lemma 53.3.3 A scalar at one site
✓

Multiplying the factor at one site by \(c\) multiplies the tensor product by \(c\). In particular, a finite tensor product of identities in which the factor at one site is replaced by \(c\mathbb {1}\) equals \(c\mathbb {1}\).

Proof ▶

The scalar factors out of the product of the entries.

A tensor product applied to a product vector \(\bigotimes _kw_k\) gives the product vector \(\bigotimes _kK_kw_k\). The tensor product of the permutation matrices of permutations \(e_k\) of the labels acts on vectors by \(w\mapsto w\circ e\), where \(e\) applies \(e_k\) at every site, and the tensor product of the inclusions of basis vectors along injections \(e_k\) is the inclusion along the product injection. If \(u_{ij}=\delta _{j,f(i)}\) for a map \(f\) on labels, then left multiplication by \(u^{\otimes N}\) sends the row configuration \(\sigma \) of a matrix to \(f\circ \sigma \). If \(u_{ij}=\delta _{i,g(j)}\), right multiplication by \(u^{\otimes N}\) sends the column configuration \(\tau \) to \(g\circ \tau \).

Proof ▶

The entries of these tensor products are products of Kronecker deltas, so only one intermediate configuration contributes.

Lemma 53.3.5 Trace of an ordered product of linear combinations
✓
#

For scalars \(f_l(j)\) and square matrices \(B_l(j)\),

\begin{align} \operatorname {tr}\prod _{l=0}^{L-1}\sum _jf_l(j)B_l(j) & =\sum _{c}\Bigl(\prod _lf_l(c(l))\Bigr) \operatorname {tr}\prod _{l=0}^{L-1}B_l(c(l)), \notag \end{align}

the sum running over all choice functions \(c\).

Proof ▶

Distribute the ordered product over the sums, extract the scalars, and use linearity of the trace.

A tensor product of isometries is an isometry, a tensor product of coisometries is a coisometry, and a tensor product of unitary matrices is unitary; in particular, if \(E^\dagger E=\mathbb {1}\), then \(T_L=E^{\otimes L}\) satisfies \(T_L^\dagger T_L=\mathbb {1}\) for every \(L\ge 0\), as for the inclusions in [ 129 , Section II.F.2 ] . For matrices \(W_k,W'_k\) with the same rows and vectors \(\psi ,\varphi \), \(\langle (\bigotimes _kW_k)\psi | (\bigotimes _kW'_k)\varphi \rangle =\langle \psi | (\bigotimes _kW_k^\dagger W'_k)\varphi \rangle \). If every \(W_k^\dagger W_k\) is idempotent, then \(\lVert (\bigotimes _kW_k)\psi \rVert \leq \lVert \psi \rVert \). This is the step used for the isometry \(W^{\otimes M}\) in [ 113 , eq. (19) ] .

Proof ▶

Multiplication and adjoints are taken factorwise, so \((\bigotimes _kE_k)^\dagger \bigotimes _kE_k=\bigotimes _kE_k^\dagger E_k=\mathbb {1}\) for isometries, and the inner product identity is \((\bigotimes _kW_k)^\dagger \bigotimes _kW'_k=\bigotimes _kW_k^\dagger W'_k\). If every \(W_k^\dagger W_k\) is idempotent, then \(\Pi =\bigotimes _kW_k^\dagger W_k\) is a Hermitian idempotent, so \(\mathbb {1}-\Pi \geq 0\) and \(\lVert \psi \rVert ^2-\lVert (\bigotimes _kW_k)\psi \rVert ^2 =\langle \psi | (\mathbb {1}-\Pi )\psi \rangle \geq 0\).

On square matrices, the finite tensor product is a homomorphism of monoids from families to matrices; hence the ordered product of the tensor products of finitely many families is the tensor product of the sitewise ordered products. The tensor product of the scalar matrices \(f_k\mathbb {1}\) is \(\bigl(\prod _kf_k\bigr)\mathbb {1}\), a tensor product of Hermitian matrices is Hermitian, and the transpose of the tensor product of the entrywise conjugates \(\overline{K_k}\) is the adjoint of \(\bigotimes _kK_k\). For one matrix \(V\) and \(N\ge 0\), \(V^\dagger V=\mathbb {1}\) implies \((V^{\otimes N})^\dagger V^{\otimes N}=\mathbb {1}\), and \(V^{\otimes N}(V^{\otimes N})^\dagger =(VV^\dagger )^{\otimes N}\). On two and three sites, \(V^{\otimes 2}\) and \(V^{\otimes 3}\) are \(V\otimes V\) and \(V\otimes (V\otimes V)\) after the configurations are relabelled as pairs and right-associated triples.

Proof ▶

Multiplicativity and the identity are Lemma 53.3.2; induct over the list. The remaining identities follow from the factorwise adjoint and transpose and from the entries \(\prod _k(K_k)_{x_k,y_k}\).

Let \(W_k\) be matrices with columns indexed by a finite set \(\kappa \) and rows by \(n_k\), one for each of \(M\) sites, and let \(\psi ,\varphi \) be vectors indexed by \(\kappa ^M\). Then

\begin{align} \Bigl\langle \Bigl(\bigotimes _kW_k\Bigr)\psi ,\Bigl(\bigotimes _kW_k\Bigr)\varphi \Bigr\rangle & =\sum _{\tau ,\tau '}\Bigl(\prod _k(W_k^\dagger W_k)_{\tau _k\tau '_k}\Bigr) \overline{\psi (\tau )}\varphi (\tau ’). \notag \end{align}

If \(W_k^\dagger W_k\) is the projection onto the coordinates of a set \(S_k\subseteq \kappa \) and \(\overline{\psi (\tau )}\varphi (\tau )=0\) whenever some \(\tau _k\notin S_k\), the inner product is \(\langle \psi ,\varphi \rangle \); in particular isometries \(W_k\), and the power \(W^{\otimes M}\) of one isometry, preserve inner products. These are the isometries and partial isometries on the blocks in  [ 113 , Supplemental Material, proof of Lemma 1 ] .

Proof ▶

Expand both sums, exchange the order of summation, and sum the product \(\prod _k\overline{(W_k)_{s_k\tau _k}}(W_k)_{s_k\tau '_k}\) over the configurations \(s\); it factorizes into the entries of the Gram matrices \(W_k^\dagger W_k\). For a projection onto the coordinates of \(S_k\), only \(\tau =\tau '\) with every \(\tau _k\in S_k\) contributes.

53.4 Representations of matrix algebras and coalgebras

Lemma 53.4.1 Splitting an arbitrary idempotent
✓

Every idempotent \(P\in M_D(K)\) over a field factors as \(P=WV\), \(VW=I_m\), with \(m=\operatorname {rank}P\). This includes \(m=0\) and imposes no self-adjointness condition.

Proof ▶

Choose a basis of \(\operatorname {ran}P\). Let \(W\) include these coordinates in \(K^D\), and let \(V\) take coordinates after applying \(P\). The identity \(P^2=P\) says that \(P\) is the identity on its range, hence \(VW=I_m\) and \(WV=P\).

A multiplicative \(K\)-linear map \(\rho \colon \prod _c M_{D_c}(K)\to M_D(K)\) admits finite multiplicities \(m_c\) and matrices \(W_{c\mu }\colon K^{D_c}\to K^D\), \(V_{c\mu }\colon K^D\to K^{D_c}\) such that

\begin{align} V_{c\mu }W_{d\nu } & =\delta _{cd}\delta _{\mu \nu }I_{D_c}, \label{eq:glm_boundary_matrix_orthogonal} \\ \rho (M) & =\sum _{c,\mu }W_{c\mu }M_cV_{c\mu }, & \rho (1) & =\sum _{c,\mu }W_{c\mu }V_{c\mu }. \label{eq:glm_boundary_matrix_reconstruct} \end{align}

Zero-dimensional factors and zero multiplicities are allowed. This is the decomposition of [ 92 , Appendix A ] .

Proof ▶

For a nonzero factor, put \(E_{ij}=\rho (e_{c,ij})\) and choose \(E_{00}=CH\) with \(HC=I\). The identities \(E_{ij}E_{kl}=\delta _{jk}E_{il}\) give \((HE_{0i})(E_{j0}C)=\delta _{ij}I\) and \((E_{i0}C)(HE_{0j})=E_{ij}\). Separate the common coordinate into multiplicity indices and expand an arbitrary matrix in matrix units. Distinct factors have annihilating support idempotents, so their rectangular factors are mutually biorthogonal. Summing the factor expansions gives (8).

Definition 53.4.3 Pre-bialgebra
✓
#

A pre-bialgebra over a commutative semiring \(R\) is an algebra \(\mathcal A\) over \(R\) with linear maps \(\Delta \colon \mathcal A\to \mathcal A\otimes \mathcal A\) and \(\epsilon \colon \mathcal A\to R\) such that \(\Delta \) is multiplicative and coassociative and \(\epsilon \) is a counit:

\begin{align} \Delta (xy) & =\Delta (x)\Delta (y), & (\Delta \otimes \mathbb {1})\circ \Delta & =(\mathbb {1}\otimes \Delta )\circ \Delta , \label{eq:mpoalg_pre_bialgebra} \\ (\epsilon \otimes \mathbb {1})\circ \Delta & =\mathbb {1}, & (\mathbb {1}\otimes \epsilon )\circ \Delta & =\mathbb {1}, \label{eq:mpoalg_pre_bialgebra_counit} \end{align}

after the standard identifications of the two triple tensor products and of \(R\otimes \mathcal A\) and \(\mathcal A\otimes R\) with \(\mathcal A\). Neither \(\Delta (1)=1\otimes 1\) nor any relation between \(\epsilon \) and the unit or the product is required. Every bialgebra is a pre-bialgebra.

This is [ 116 , Definition 4.1 ] : an algebra that is also a coalgebra [ 116 , Definition 3.1 ] with multiplicative coproduct. The source works with finite-dimensional complex vector spaces.

Lemma 53.4.4 Same-order involution of the convolution dual
✓

Let \(H\) be a coalgebra with an involution such that \(\Delta (x^*)=\Delta (x)^*\). For \(f\in H^*\), define \(\kappa (f)(x)=\overline{f(x^*)}\). Then \(\kappa \) is conjugate-linear, involutive, and satisfies

\begin{align} \kappa (fg) & =\kappa (f)\kappa (g), \notag \\ \kappa (1) & =1. \label{eq:glm_dual_star_product} \end{align}

Here multiplication is convolution, and \(1\) is the counit.

Proof ▶

On a pure tensor, complex conjugation sends \(f(x^*)g(y^*)\) to \(\kappa (f)(x)\kappa (g)(y)\). Extend this identity additively to \(\Delta (x)\) and use the coproduct compatibility. Involutivity makes \(\kappa \) a bijective multiplicative map, so it fixes the unit.

Let \(P_1,P_2\) be square complex matrices with \(P_1^2=P_2^2=\mathbb {1}\). If \(P_1P_2=P_2P_1\), then \((g_1,g_2)\mapsto P_1^{g_1}P_2^{g_2}\) is a representation of \(\mathbb Z_2\times \mathbb Z_2\), unitary when \(P_1\) and \(P_2\) are. If instead \(P_2P_1=-P_1P_2\), the same assignment satisfies \(u(g)u(h)=(-1)^{g_2h_1}u(gh)\); if \(P_1^2=-\mathbb {1}\) and \(P_2P_1=-P_1P_2\), it satisfies \(u(g)u(h)=(-1)^{(g_1+g_2)h_1}u(gh)\).

Proof ▶

Check the sixteen pairs of group elements using the involution and commutation relations.

53.5 Directed walks and multiplicative coboundaries

Let \(E\) be a directed relation on a set \(V\). A directed walk from \(a\) to \(b\) is a finite sequence of edges \(a=v_0\to v_1\to \cdots \to v_n=b\), including the walk of length zero. For edge weights \(\kappa _{a,b}\) in a monoid, the weight of a walk is the ordered product of the weights of its edges.

Lemma 53.5.1 Equivalent forms of reachability
✓
#

A vertex \(b\) is reachable from \(a\) by a finite directed walk if and only if \((a,b)\) lies in the reflexive transitive closure of \(E\).

Proof ▶

A walk gives an element of the reflexive transitive closure by induction on its edges. Conversely, appending the final edge at each induction step in the reflexive transitive closure constructs a finite directed walk.

Lemma 53.5.2 Finite cyclic form of a closed directed walk
✓

Every nonempty closed directed walk of length \(N\) determines a cyclic family of vertices \(v_0,\ldots ,v_{N-1}\). Each \(v_n\to v_{n+1}\) is an edge, where \(v_N=v_0\), and for any edge weights in a commutative monoid, \(\operatorname {wt}(w)=\prod _{n=0}^{N-1}\kappa _{v_n,v_{n+1}}\).

Proof ▶

Enumerating the sources of the successive edges gives the vertices, with the last edge ending at the initial vertex because the walk is closed. The product identity follows by induction on the number of edges.

Lemma 53.5.3 Closed-walk criterion for vertex weights
✓

Suppose that every edge \(a\to b\) admits a directed return walk from \(b\) to \(a\). Let \(G\) be a group and assign a weight \(\kappa _{a,b}\in G\) to each ordered pair of vertices. If the product of the edge weights along every closed directed walk is one, then there are vertex weights \(z_a\in G\) such that \(\kappa _{a,b}=z_a^{-1}z_b\) whenever \(a\to b\) is an edge. This is the graph-theoretic coboundary step of [ 16 , Appendix C.2, lines 1446–1450 ] .

Proof ▶

Reachability is an equivalence relation because every edge has a return walk. Choosing one representative vertex in each reachability class and a walk from that representative to every vertex \(a\) in its class defines \(z_a\) as the product of the edge weights along this walk. If two such walks have the same endpoints, appending a common return walk produces two closed walks of weight one, so the original walk weights agree. Comparing the chosen walk to \(b\) with the chosen walk to \(a\) followed by the edge \(a\to b\) gives \(z_b=z_a\kappa _{a,b}\).

53.6 Matrix-valued functions of one real variable

Matrix-valued functions of a real parameter are differentiated entry by entry, without fixing a matrix norm.

Let \(R(\gamma )\), \(L(\gamma )\) and \(P(\gamma )\) be finite complex matrices depending on a real parameter, with \(P\) square. Suppose \(R=LP\) on a neighbourhood of \(\gamma _0\) and \(P(\gamma _0)=1\). Suppose also that the entries of \(R\) and \(P\) are differentiable at \(\gamma _0\) with derivatives \(R'\) and \(P'\). Then the entries of \(L\) are differentiable at \(\gamma _0\), with derivative \(R'-L(\gamma _0)P'\).

Proof ▶

The determinant of \(P\) is a polynomial in its entries. It is therefore differentiable at \(\gamma _0\), and it is nonzero near \(\gamma _0\) because \(\det P(\gamma _0)=1\). By Cramer’s rule the entries of \(P^{-1}\) are differentiable at \(\gamma _0\). Near \(\gamma _0\) we have \(L=RP^{-1}\), so \(L\) is differentiable there. The product rule applied to \(R=LP\) gives \(R'=L'P(\gamma _0)+L(\gamma _0)P'=L'+L(\gamma _0)P'\).

Lemma 53.6.2 A frame whose derivative stays in its span
✓

Let \(U\subseteq \mathbb R\) be open and connected, and let \(V^i(\gamma )\), \(i=1,\ldots ,M\), be complex matrices of a fixed size depending on \(\gamma \in U\). Suppose that at every \(\gamma \in U\) the entries of each \(V^i\) are differentiable, with

\[ \frac{d}{d\gamma }V^i(\gamma )=\sum _{i'}X(\gamma )_{ii'}V^{i'}(\gamma ) \]

for some square matrix \(X(\gamma )\), and that there are matrices \(\widehat V^k(\gamma )\) and a scalar \(c(\gamma )\) with \(c(\gamma )\operatorname {tr}(V^i(\gamma )\widehat V^k(\gamma ))=\delta _{ik}\). Then for \(\gamma _0,\gamma \in U\) there is an invertible matrix \(G\) with \(V^i(\gamma )=\sum _kG_{ik}V^k(\gamma _0)\) for every \(i\). No continuity of \(\gamma \mapsto X(\gamma )\) is assumed.

Proof ▶

Fix \(t\in U\) and put \(Q(\gamma )_{ik}=c(t)\operatorname {tr}(V^i(\gamma )\widehat V^k(t))\). Then \(Q(t)=1\) and \(Q'=XQ\) wherever the derivative hypothesis holds. The determinant of \(Q\) is differentiable at \(t\), so \(Q\) is invertible on a ball around \(t\). On that ball the entries of \(Q^{-1}\) are differentiable by Cramer’s rule, and differentiating \(Q^{-1}Q=1\) gives \((Q^{-1})'=-Q^{-1}Q'Q^{-1}=-Q^{-1}X\). Hence \((Q^{-1}V)'=-Q^{-1}XV+Q^{-1}XV=0\), so \(Q^{-1}V\) is constant on the ball and equals \(V(t)\). Thus \(V(\gamma )=Q(\gamma )V(t)\) near \(t\).

The relation “\(V(\gamma )=GV(\gamma ')\) for an invertible \(G\)” is reflexive, symmetric and transitive, and by the first step it holds for all \(\gamma \) near any \(\gamma '\in U\). Its classes are therefore open, and since \(U\) is connected there is only one class.

Let \(I=[\alpha ,\beta ]\) and \(t_0\in I\). A continuous square matrix coefficient \(X\) has at most one differentiable solution of \(F'=XF\) with prescribed value at \(t_0\). If \(g'=Xg\) and \(g(t_0)=1\), then \(g(t)\) is invertible and \(F(t)=g(t)F(t_0)\), also for rectangular \(F\). For the two-sided rectangular case, let \(X:I\to \mathbb C^{n\times n}\) and \(Y:I\to \mathbb C^{m\times m}\) be continuous, and let \(F:I\to \mathbb C^{n\times m}\), \(G:I\to \mathbb C^{n\times n}\) and \(H:I\to \mathbb C^{m\times m}\) satisfy

\[ F'=XF-FY,\qquad G'=XG,\qquad H'=YH,\qquad G(t_0)=1,\quad H(t_0)=1. \]

Here the functions are defined in real neighborhoods of the interval so that the derivatives, entrywise for \(F\), exist at every point of \(I\), including its endpoints. Then \(G(t)\) and \(H(t)\) are invertible and

\[ F(t)=G(t)F(t_0)H(t)^{-1}\qquad (t\in I). \]

More generally, let \(X_1,X_2,X_3\) be continuous matrix coefficients and let \(g_\nu '=X_\nu g_\nu \), \(g_\nu (t_0)=1\). If \(L'= (X_1\otimes 1+1\otimes X_2)L-LX_3\), then

\begin{align} L(t) & =(g_1(t)\otimes g_2(t))L(t_0)g_3(t)^{-1}. \label{eq:glm_l_path_integrated} \end{align}

All derivatives are assumed to exist at every point of \(I\).

Proof ▶

Continuity bounds \(\| X(t)\| \) on the compact interval. Uniqueness for a uniformly Lipschitz differential equation applies both forwards and backwards from \(t_0\). Comparing \(F\) with \(gF(t_0)\) gives transport. If \(g(t)U=g(t)V\), uniqueness backwards to \(t_0\) gives \(U=V\); finite dimensionality therefore makes \(g(t)\) invertible. Apply transport columnwise to rectangular matrices. For the two-sided equation, the product rule gives

\[ (FH)'=(XF-FY)H+F(YH)=X(FH),\qquad (FH)(t_0)=F(t_0). \]

Rectangular transport yields \(F(t)H(t)=G(t)F(t_0)\); multiplying by the inverse of \(H(t)\) proves the two-sided formula. The product rule gives \((Lg_3)'=(X_1\otimes 1+1\otimes X_2)Lg_3\) and \((g_1\otimes g_2)'=(X_1\otimes 1+1\otimes X_2)(g_1\otimes g_2)\). Transport of \(Lg_3\), followed by multiplication by \(g_3^{-1}\), proves (12).