Composition of Direct Image Mappings of Relations

Theorem
Let $A, B, C$ be non-empty sets.

Let $\mathcal R_1 \subseteq A \times B, \mathcal R_2 \subseteq B \times C$ be relations.

Let:
 * ${\mathcal R_1}^\to: \powerset A \to \powerset B$

and
 * ${\mathcal R_2}^\to: \powerset B \to \powerset C$

be the direct image mappings of $\mathcal R_1$ and $\mathcal R_2$.

Then:
 * $\paren {\mathcal R_2 \circ \mathcal R_1}^\to = {\mathcal R_2}^\to \circ {\mathcal R_1}^\to$

Proof
Let $S \subseteq A, S \ne \O$.

Then:

Now we treat the case where $S = \O$: