Demonic composition

In mathematics, demonic composition is an operation on binary relations that is similar to the ordinary composition of relations but is robust to refinement of the relations into (partial) functions or injective relations.

Unlike ordinary composition of relations, demonic composition is not associative.

Definition
Suppose $$R$$ is a binary relation between $$X$$ and $$Y$$ and $$S$$ is a relation between $$Y$$ and $$Z.$$ Their  $$R \textbf{;}^{\to} S$$ is a relation between $$X$$ and $$Z.$$  Its graph is defined as $$\{(x, z) \ : \ x \mathrel{(S \circ R)} z \text{ and for all } y \in Y \ (x \mathrel{R} y \text{ implies } y \mathrel{S} z)\}.$$

Conversely, their  $$R \textbf{;}^{\leftarrow} S$$ is defined by $$\{(x, z) \ : \ x \mathrel{(S \circ R)} z \text{ and for all } y \in Y \ (y \mathrel{S} z \text{ implies } x \mathrel{R} y)\}.$$