Diagonal Relation is Left Identity

Theorem
Let $\RR \subseteq S \times T$ be a relation on $S \times T$.

Then:
 * $\Delta_T \circ \RR = \RR$

where $\Delta_T$ is the diagonal relation on $T$, and $\circ$ signifies composition of relations.

Proof
We use the definition of relation equality, as follows:

Equality of Domains
The domains of $\RR$ and $\Delta_T \circ \RR$ are equal from Domain of Composite Relation:


 * $\Dom {\Delta_T \circ \RR} = \Dom \RR$

Equality of Codomains
From Codomain of Composite Relation, the codomains of $\Delta_T \circ \RR$ and $\Delta_T$ are both equal to $T$.

But from the definition of the diagonal relation, the codomain of $\Delta_T$ is $\Dom {\Delta_T} = T$.

Equality of Relations
The composite of $\RR$ and $\Delta_T$ is defined as:


 * $\Delta_T \circ \RR = \set {\tuple {x, z} \in S \times T: \exists y \in T: \tuple {x, y} \in \RR \land \tuple {y, z} \in \Delta_T}$

But by definition of the diagonal relation on $T$, we have that:
 * $\tuple {y, z} \in \Delta_T \implies y = z$

Hence:
 * $\Delta_T \circ \RR = \set {\tuple {x, y} \in S \times T: \exists y \in T: \tuple {x, y} \in \RR \land \tuple {y, y} \in \Delta_T}$

But as $\forall y \in T: \tuple {y, y} \in \Delta_T$, this means:
 * $\Delta_T \circ \RR = \set {\tuple {x, y} \in S \times T: \tuple {x, y} \in \RR}$

That is:
 * $\Delta_T \circ \RR = \RR$

Hence the result.

Also see

 * Diagonal Relation is Right Identity


 * Identity Mapping is Left Identity
 * Identity Mapping is Right Identity