203 Injectivity as Kernel-Diagonal: \(\ker (f)=\Delta _A \iff A=A\)
Thesis. Injectivity of a map \(f:A\to B\) is exactly the condition that its kernel pair coincides with the
diagonal \(\Delta _A\). The diagonal \(\Delta _A=\{(a,a)\}\) is the set-theoretic form of the identity \(A=A\): a map is injective precisely
when it identifies no more than the identity already does.
Step 1: Reflexivity from \(A=A\)
The identity law gives reflexivity of equality on both \(A\) and \(B\):
which is precisely the set-theoretic content of \(A=A\): the pairs an element makes with
itself.
Step 4: Injective \(\iff \) kernel is the diagonal
Always \(\Delta _A\subseteq \ker (f)\), since \(a=b\) gives \(f(a)=f(b)\) (reflexivity, Step 1). Injectivity is the reverse inclusion \(\ker (f)\subseteq \Delta _A\): any pair with \(f(a)=f(b)\)
must be a diagonal pair \(a=b\). Therefore
The diagonal \(\Delta _A\) is \(A=A\) written as a subset of \(A\times A\) — the pairs that the identity law already equates. A
map’s kernel pair \(\ker (f)\) records which elements \(f\) merges. Injectivity is the statement that \(f\) merges
nothing beyond what \(A=A\) already merges: \(\ker (f)=\Delta _A\). When \(f\) is non-injective, \(\ker (f)\supsetneq \Delta _A\) contains off-diagonal pairs \((a,b)\)
with \(a\neq b\) but \(f(a)=f(b)\) — exactly the many-to-one collapses that lose information (Subsection 203.2). Thus
reversibility, injectivity, and the equality \(\ker (f)=\Delta _A\) are one condition: a map preserves information
exactly when its kernel is the identity \(A=A\).
203.1 Hash Functions as Computational Identity
A cryptographic hash function is the computational realisation of \(A=A\). The map \(H:x\mapsto h\) is deterministic
(equal inputs give equal outputs — the identity law), verification is an identity check (\(H(x)\stackrel {?}{=}h\) returns
True iff the two sides coincide), and collision resistance is the injectivity that keeps the input
partition \(x_1\neq x_2\Rightarrow H(x_1)\neq H(x_2)\) well-defined.
Step 1: The hash map
A hash function is a deterministic map from inputs to fixed-length digests:
Distinct inputs
map to distinct digests: the map \(H:x\to h\) separates the input set into disjoint fibres, one per digest, so
that no two inputs collide onto the same output.
A hash function is \(A=A\) made computational. The forward map \(H(x)=h\) is deterministic identity: equal
inputs are equal outputs. Verification \(H(x)\stackrel {?}{=}h\) is the identity law evaluated — True when the two sides
coincide, False when they differ, exactly the \(A=A\) / \(\neg (A=B)\) dichotomy. Collision resistance \(x_1\neq x_2\Rightarrow h_1\neq h_2\) is the
injectivity that keeps the partition of the input space into digest-labelled fibres well-defined, the
same \(O\sqcup U\) disjointness that makes the projector \(\Pi ^2=\Pi \) separate its two eigenspaces. The one-wayness of \(H\)
— easy forward, hard backward — is the computational shadow of the partition asymmetry \(dO=-dU\):
the map from \(x\) to \(h\) collapses information the way projection collapses the interior to the
boundary.
203.2 Injectivity of the Transition Function and Landauer’s Principle
Thesis. A Turing machine’s transition function \(\delta \) is deterministic (a well-defined function in the
forward direction) but generally not injective. Non-injectivity means two distinct configurations
map to the same output, so the input cannot be recovered — this is exactly one bit of
information loss, carrying the Landauer cost \(\Delta S=k_B\ln 2\).
Step 1: The transition function
Let \(Q=\{q_0,\dots ,q_n\}\) be the states and \(\Sigma =\{s_0,\dots ,s_m\}\) the tape alphabet. The transition function is
Applied to \(\delta \): an injective transition is
reversible (\(\exists \,\delta ^{-1}\)); a many-to-one transition collapses \(x_1,x_2\to y\), and from \(y\) alone the original configuration
cannot be recovered.
The distinction is injectivity. Determinism makes \(\delta \) a function in the forward direction;
injectivity is the additional condition that makes it a function in the backward direction too.
An injective (reversible, one-to-one) transition preserves information and costs no entropy; a
many-to-one transition merges configurations, loses the bit distinguishing them, and pays
the Landauer cost \(k_B\ln 2\). Only reversible, injective computation is thermodynamically
free [234, 236].
Remark 203.1 (Injectivity across quantum and classical: unitarity, non-injective maps, and purity change).
The injective/non-injective dichotomy of the transition function (Subsection 203.2)
is the same reversible/irreversible split that separates unitary quantum evolution from
measurement and decoherence. A caution is needed first: reversibility is a property of the
map, not of the state. Purity (\(\rho ^2=\rho \)versus \(\rho ^2\neq \rho \)) classifies states; injectivity/unitarity classifies
maps. The two must not be conflated.
so \(\rho ^2=\rho \)stays pure and \(\rho ^2\neq \rho \)stays mixed.
A reversible map moves states around without changing whether they are pure or
mixed.
The fibre over \(y\)has more than one element, so the
inverse does not exist and the input is unrecoverable.
Irreversible maps change purity — in either direction.Unlike unitary evolution, an irreversible (non-injective) quantum operation changes purity,
and it can go either way:
Both are non-injective (many-to-one) and both lose information —
measurement discards which branch of the superposition, decoherence discards the phase
coherence. The direction of the purity change is opposite, but the irreversibility is the same:
The correct statement.Unitarity and injectivity are the same reversibility condition in two languages: \(U^\dagger U=I\)(operators)
and \(x_1\neq x_2\Rightarrow y_1\neq y_2\)(maps). What they share is purity preservation — a reversible map never converts pure to
mixed or mixed to pure. Their failure is irreversibility: a non-injective map merges inputs and
changes purity, either collapsing mixed to pure (measurement) or dispersing pure to mixed
(decoherence). Both directions lose information and pay the Landauer cost \(k_B\ln 2\)per erased bit. The
state property (\(\rho ^2=\rho \)or not) is not what marks reversibility; the map property (injective or
not) is. The dagger \(f\mapsto f^\dagger \)supplies the inverse exactly when the map is injective, and it is
that inverse — not the purity of any particular state — that makes the evolution
reversible.
203.3 State versus process: why \(\rho ^2=\rho \) is reversible but collapse to it is not
An apparent contradiction: the finance collapse (Section 468.2) reaches \(\rho ^2=\rho \) by an irreversible
process, while the injectivity discussion (Section 203.2) associates \(\rho ^2=\rho \) (pure) with reversibility.
Both are correct: they describe different things — the property of a state versus the process
reaching it.
I. The state \(\rho ^2=\rho \) is a pure state
A pure state carries maximal information (completely known). It is characterised by
Many distinct mixed states collapse to the same pure outcome: the pre-measurement
possibilities are discarded, so the map is many-to-one and non-injective. The lost
alternatives are exactly the information that cannot be recovered — the process is
irreversible, and by Landauer carries \(\Delta S>0\). The finance collapse
is this measurement direction:
market uncertainty (mixed) resolving to event certainty (pure) is many-to-one, hence
irreversible.
IV. Both collapse directions are irreversible
Map
Start
End
Reversible?
Unitary \(U\)
pure
pure
\(\checkmark\) (one-to-one)
Measurement
mixed
pure
\(\times \) (many-to-one)
Decoherence
pure
mixed
\(\times \) (phase lost)
Measurement (mixed\(\to \)pure) discards alternatives; decoherence (pure\(\to \)mixed) leaks phase to the
environment. Both are irreversible. Only the unitary map between pure states is
reversible.
Resolution
The two statements live at different levels:
\begin{equation} \boxed { \begin {aligned} &\rho ^2=\rho \ (\text {pure}) = \text {a property of the state} \;\Rightarrow \;\text {reversible among pure states (unitary)},\\[4pt] &\text {mixed}\to \text {pure}\ (\text {collapse}) = \text {a process} \;\Rightarrow \;\text {irreversible (many-to-one)}. \end {aligned} } \tag{11884}\end{equation}
A pure state is a “citizen of the reversible world” —
unitaries move it bijectively to other pure states. But the collapse that arrives at a pure state
(mixed\(\to \)pure) is many-to-one and irreversible. The destination \(\rho ^2=\rho \) is the same; only the
mode of arrival distinguishes reversible (unitary) from irreversible (collapse). Finance
describes the collapse process, so it is irreversible; the injectivity subsection describes
unitary evolution of pure states, so it is reversible — state versus process, not a
contradiction.