|
Dedekind 0.0.0
A structuralist C++23 Module Library
|
The \(\dagger\)-category surface built on IsInvolution: IsDagger, the named intermediate IsIsometry, and IsUnitary — where "the converse is the inverse" (bijective relation) and "the
transpose is the inverse" (orthogonal matrix) are one theorem.
More...
The \(\dagger\)-category surface built on IsInvolution: IsDagger, the named intermediate IsIsometry, and IsUnitary — where "the converse is the inverse" (bijective relation) and "the
transpose is the inverse" (orthogonal matrix) are one theorem.
A \(\dagger\)-category equips every arrow with a direction-reversal \(f^\dagger\) (a contravariant, identity-on-objects, involutive functor). An arrow is unitary (a dagger-iso) when its dagger is its inverse, \(f^\dagger = f^{-1}\). That one law instantiates as:
A dagger on the arrows T of one object, composed by Op: an involution, \(f^{\dagger\dagger} = f\), that reverses composition, \((f\,g)^\dagger = g^\dagger f^\dagger\). A refinement of IsInvolution, its certificate inherited, and of IsAntiHomomorphism, a homomorphism into Opposite<Op>: the ring theorist's involution, an involutive anti-automorphism. The unit comes for free, since a bijective anti-homomorphism carries the unit to the unit. The one-object case: in general a dagger's component is an arrow \(\mathrm{Hom}(A, B) \to
\mathrm{Hom}(B, A)\), an isomorphism with the component at \((B, A)\) as its inverse, and the involution is its diagonal (#787).
IsIsomorphism with this involution as its diagonal. A matrix transpose is still a matrix, but off the diagonal not of the same type: an \(N \times M\) matrix transposes to an \(M \times N\) one, and a transposed tensor has its dimension order changed. The tree's daggers are all on square carriers, so the one-object case covers them for now. (T, Op): the transpose reverses matrix multiplication only over a commutative scalar ⊗, \((A B)^{\top}_{ij}=\sum_k A_{jk} B_{ki}\) while \((B^{\top}A^{\top})_{ij}=\sum_k B_{ki} A_{jk}\); over a noncommutative semiring it is still an involution but no dagger, which is the conjugate-transpose against the scalar anti-involution. | Dagger | the dagger. |
| T | the arrows. |
| Op | their composition. |