17 Injection, Surjection and Bijection from One Adjunction

A map is a relation \(f\) with \(f\dashv f^\dagger \):

\begin{equation} \Delta _X\le f^\dagger f\quad \text {(total)}, \qquad ff^\dagger \le \Delta _Y\quad \text {(single-valued)}. \tag{283}\end{equation}
Reversing each inequality gives the other two properties:

Inequality Property of \(f\) Property of \(f^\dagger \) Elementwise
\(\Delta _X\le f^\dagger f\) total surjective every \(x\) has an image
\(ff^\dagger \le \Delta _Y\) single-valued injective one image per \(x\)
\(f^\dagger f\le \Delta _X\) injective single-valued \(f(x)=f(x')\Rightarrow x=x'\)
\(\Delta _Y\le ff^\dagger \) surjective total every \(y\) has a preimage

IS1 (definitions as equalities). For a map \(f\),

\begin{equation} \begin {gathered} f\ \text {injective}\iff f^\dagger f=\Delta _X,\\ f\ \text {surjective}\iff ff^\dagger =\Delta _Y,\\ f\ \text {bijective}\iff \text {both}\iff f^\dagger \ \text {is a map}. \end {gathered} \tag{284}\end{equation}
In the bijective case \(f^{-1}=f^\dagger \) (L24). Injectivity and surjectivity are exchanged by the dagger, that is, by \(\sigma \).

IS2 (cancellation).

IS3 (split maps and idempotents).

An idempotent splits as \(e=sr\) with \(rs=\mathrm {id}\), so \(r\) is split surjective and \(s\) split injective, as for \(e=\delta \pi _1\) in Y6.

IS4 (image factorisation). Every map factors as a surjection followed by an injection,

\begin{equation} X\twoheadrightarrow \operatorname {im}f\hookrightarrow Y, \qquad \Delta _{\operatorname {im}f}=ff^\dagger , \tag{285}\end{equation}
the image cut. By IS1, \(ff^\dagger \) is an idempotent below \(\Delta _Y\).

IS5 (counts).

IS6 (Schröder–Bernstein by a meet). Given injections \(f:X\to Y\) and \(g:Y\to X\), the map

\begin{equation} F(A)=X\setminus g\bigl (Y\setminus f(A)\bigr ) \tag{286}\end{equation}
is monotone on subsets of \(X\). By Tarski (Z4) it has a fixed point \(A\), and
\begin{equation} h=f\ \text {on }A, \qquad h=g^\dagger \ \text {on }X\setminus A \tag{287}\end{equation}
is a bijection. The proof uses one meet, with no back-and-forth iteration.

IS7 (Cantor). No \(f:X\to \mathcal P(X)\) is surjective. The set \(D=\{x:\ x\notin f(x)\}\) differs from every \(f(x)\) at \(x\): the involution \(P\mapsto 1-P\) applied along the diagonal (L16).

IS8 (finite). \(X\) is finite iff every injective \(X\to X\) is surjective (Z2). For finite \(X\), \(Y\) with \(|X|=|Y|\), injective, surjective and bijective coincide.

IS9 (linear maps). For linear \(f:V\to W\):

Notion Form From
map \(\Delta \le f^\dagger f\), \(ff^\dagger \le \Delta \) \(f\dashv f^\dagger \)
injective \(f^\dagger f=\Delta \) reversed total
surjective \(ff^\dagger =\Delta \) reversed single-valued
bijective \(f^\dagger \) a map, \(f^{-1}=f^\dagger \) both
image \(ff^\dagger \), an idempotent IS4
Schröder–Bernstein fixed point of \(F\) Tarski meet
Cantor diagonal \(1-P\) involution
rank–nullity \(V\cong \ker f\oplus \operatorname {im}(1-P)\) splitting of identity

17.1 Meets and the Tarski Fixed Point from the Diagonal

Order is following (S3), and adjunction is defined there (S4). Meets are right adjoint to the diagonal, joins are left adjoint, and either kind yields the other. The least fixed point of a monotone map is the meet of its prefixed points, proved from the unit and counit alone. It is the initial algebra of the map, so induction, \(\mathbb N\) and transitive closure are instances of one theorem.

M1 (meet and join as adjoints of the diagonal). In an order \(L\), with \(\Delta :L\to L^I\) and \(\Delta v=(v)_{i\in I}\),

\begin{equation} \bigvee _ix_i\le v\iff x_i\le v\ \forall i, \qquad v\le \bigwedge _ix_i\iff v\le x_i\ \forall i, \tag{289}\end{equation}
that is, \(\bigvee \dashv \Delta \dashv \bigwedge \).

Adjoint Unit Counit
join \(\bigvee \) \(x_i\le \bigvee x_i\) upper bounds lie above \(\bigvee \)
meet \(\bigwedge \) lower bounds lie below \(\bigwedge \) \(\bigwedge x_i\le x_i\)

M2 (joins give meets). If every subset has a join, then

\begin{equation} \bigwedge S=\bigvee \{v:\ v\le s\ \forall s\in S\}. \tag{290}\end{equation}
Each \(s\in S\) is an upper bound of the lower bounds, so the join is \(\le s\) by the counit of \(\bigvee \). Every lower bound is \(\le \) the join by the unit. A complete lattice is therefore one in which \(\Delta \) has a left adjoint, and the right adjoint follows.

M3 (monotone maps are functors). An order is a category with at most one arrow between objects. A monotone \(F:L\to L\) is a functor. An element with \(F(x)\le x\), a prefixed point, is an \(F\)-algebra.

M4 (Tarski). Let \(L\) be a complete lattice, \(F\) monotone, \(P=\{x:\ F(x)\le x\}\) and \(m=\bigwedge P\).

1.
For \(x\in P\), \(m\le x\) (counit of \(\bigwedge \)), so \(F(m)\le F(x)\le x\).
2.
Hence \(F(m)\) is a lower bound of \(P\), and \(F(m)\le m\) (unit of \(\bigwedge \)). So \(m\in P\).
3.
Monotonicity gives \(F(F(m))\le F(m)\), so \(F(m)\in P\), and \(m\le F(m)\) by the counit.
\begin{equation} \mu F=\bigwedge \{x:\ F(x)\le x\}, \qquad F(\mu F)=\mu F . \tag{291}\end{equation}
Every fixed point lies in \(P\), so \(\mu F\) is the least one. Dually, \(\nu F=\bigvee \{x:\ x\le F(x)\}\) is the greatest fixed point.

M5 (least fixed point is initial algebra). For every algebra \(F(x)\le x\), there is exactly one arrow \(\mu F\le x\), by step 1 of M4. So \(\mu F\) is the initial \(F\)-algebra, and \(F(\mu F)=\mu F\) is Lambek’s lemma in an order. Its use rule is induction:

\begin{equation} F(x)\le x\ \Longrightarrow \ \mu F\le x . \tag{292}\end{equation}
Dually, \(\nu F\) is the final coalgebra, with coinduction \(x\le F(x)\Rightarrow x\le \nu F\). Generated kinds are least fixed points and determined kinds are greatest ones (K4).

M6 (instances).

\(F\) \(\mu F\) Use rule
\(X\mapsto \{0\}\cup S(X)\) on subsets \(\mathbb N\) induction (N8, Z4)
\(X\mapsto \Delta \vee (R\circ X)\) on relations reflexive–transitive closure \(R^*\) \(\Delta \le Q\), \(RQ\le Q\Rightarrow R^*\le Q\)
\(A\mapsto X\setminus g(Y\setminus f(A))\) the set of IS6 Schröder–Bernstein
a closure operator \(c\) \(c(\bot )\); fixed points are the closed sets idempotent: \(c^2=c\) (L25)

M7 (the fixed points form a complete lattice). For \(S\subseteq \mathrm {Fix}(F)\), apply M4 to \(F\) restricted to \(\{x:\ x\ge \bigvee S\}\), which is again a complete lattice. Its least fixed point is the join of \(S\) in \(\mathrm {Fix}(F)\), and meets follow dually.

M8 (the chain).

\begin{equation} \begin {aligned} \text {following}\;&\to \;\bigvee \dashv \Delta \dashv \bigwedge && (\text {M1, M2})\\ &\to \;\text {monotone }F=\text {functor} && (\text {M3})\\ &\to \;\mu F=\bigwedge \{F(x)\le x\} && (\text {M4})\\ &\to \;\text {initial algebra, induction} && (\text {M5}). \end {aligned} \tag{293}\end{equation}

17.2 Composition and Associativity by Splitting the Identity

Composition is the insertion of a splitting of the identity on the middle object. Associativity holds because inserting two splittings, on two middle objects, is inserting their single product splitting. The same argument works for truth values (relations) and for numbers (matrices), because both have a distributive sum over the pieces.

CP1 (the splitting of a middle object). For a set \(Y\), the minimal cuts \(\delta _b\) of the algebra of functions on \(Y\) satisfy

\begin{equation} \delta _b\delta _{b'}=[b=b']\,\delta _b, \qquad \sum _{b\in Y}\delta _b=1_Y . \tag{294}\end{equation}
For two objects, the products \(\delta _b\otimes \delta _c\) split \(1_Y\otimes 1_Z\), indexed by pairs \((b,c)\).

CP2 (relations and matrices). A relation \(R:X\to Y\) is a matrix \(R_{ab}\in \{0,1\}\), a cut of the one-point algebra at each entry. A linear map is a matrix \(R_{ab}\) of numbers. The two settings share one structure:

Setting Sum over pieces Product on pieces
relations \(\bigvee \) (join of cuts) \(\wedge \) (product of cuts)
linear maps \(\sum \) \(\times \)

In both, the product distributes over the sum: \(P(Q\vee Q')=PQ\vee PQ'\) for Boolean cuts (A2), and \(a(b+c)=ab+ac\) (L37).

CP3 (composition is inserting the splitting).

\begin{equation} (S\circ R)_{ac}=\sum _{b\in Y}R_{ab}\,S_{bc}, \qquad \text {that is,}\quad S\circ R=S\Bigl (\sum _b\delta _b\Bigr )R . \tag{295}\end{equation}
Each piece \(\delta _b\) is one passage through the middle. For relations, \(\sum =\bigvee \) gives \(\exists b.\,(R(a,b)\wedge S(b,c))\), which is L19.

CP4 (unit is the splitting itself). The identity is the diagonal matrix of the splitting,

\begin{equation} \Delta _Y=\sum _b\delta _b\otimes \delta _b, \qquad (\Delta _Y)_{bc}=[b=c], \tag{296}\end{equation}
and
\begin{equation} (R\circ \Delta )_{ac}=\sum _bR_{ab}[b=c]=R_{ac}, \tag{297}\end{equation}
since only the piece \(b=c\) survives. This is the one-point rule.

CP5 (associativity is one product splitting). For \(R:W\to X\), \(S:X\to Y\) and \(T:Y\to Z\), by distributivity,

\begin{align} \bigl (T\circ (S\circ R)\bigr )_{ad} &=\sum _c\Bigl (\sum _bR_{ab}S_{bc}\Bigr )T_{cd} =\sum _{(b,c)\in X\times Y}R_{ab}S_{bc}T_{cd}, \tag{298}\\ \bigl ((T\circ S)\circ R\bigr )_{ad} &=\sum _bR_{ab}\Bigl (\sum _cS_{bc}T_{cd}\Bigr ) =\sum _{(b,c)\in X\times Y}R_{ab}S_{bc}T_{cd}. \tag{299}\end{align}

Both are one sum over the product splitting \(\{\delta _b\otimes \delta _c\}\) of CP1. A sum over a product index is the same whether summed in \(b\) first or in \(c\) first, since \(\vee \) and \(+\) are associative and commutative (adjoints are unique). Bracketing only records which factor of the splitting is inserted first.

CP6 (resolutions of the identity). In a Hilbert space, the same splitting is \(1=\sum _b|b\rangle \langle b|\), and composition is its insertion:

\begin{equation} \langle a|ST|d\rangle =\sum _b\langle a|S|b\rangle \langle b|T|d\rangle . \tag{300}\end{equation}
Inserting \(1=\int |x\rangle \langle x|\,dx\) at every time slice gives the path integral:
\begin{equation} \langle x_f|e^{-iHt/\hbar }|x_i\rangle =\int \prod _{k=1}^{N-1}dx_k\ \prod _{k=0}^{N-1}\langle x_{k+1}|e^{-iH\,t/N\hbar }|x_k\rangle . \tag{301}\end{equation}
Associativity of the product of slices is CP5 applied to all middles at once.

CP7 (the chain).

Law Cut form Item
composition insert \(1_Y=\sum _b\delta _b\) CP3
unit \(\Delta =\sum _b\delta _b\otimes \delta _b\); only \(b=c\) survives CP4
associativity one sum over \(\{\delta _b\otimes \delta _c\}\) CP5
matrix product sums of products of entries CP2, CP3
path integral \(1=\int |x\rangle \langle x|dx\) at each slice CP6