Template:Cross-Relation Context Definition

Template
This template is to be used to insert onto a page the full specification of the scope of the cross-relation on the subsemigroups of a given commutative semigroup with cancellable elements.

This specification is required in order for $\boxtimes$ to be an equivalence relation.

The following is what is transcluded:

Let $\struct {S, \circ}$ be a commutative semigroup with cancellable elements.

Let $\struct {C, \circ {\restriction_C} } \subseteq \struct {S, \circ}$ be the subsemigroup of cancellable elements of $\struct {S, \circ}$, where $\circ {\restriction_C}$ denotes the restriction of $\circ$ to $C$.

Let $\struct {S_1, \circ {\restriction_1} } \subseteq \struct {S, \circ}$ be a subsemigroup of $S$.

Let $\struct {S_2, \circ {\restriction_2} } \subseteq \struct {C, \circ {\restriction_C} }$ be a subsemigroup of $C$.

Let $\left({S_1 \times S_2, \oplus}\right)$ be the (external) direct product of $\struct {S_1, \circ {\restriction_1} }$ and $\struct {S_2, \circ {\restriction_2} }$, where $\oplus$ is the operation on $S_1 \times S_2$ induced by $\circ {\restriction_1}$ on $S_1$ and $\circ {\restriction_2}$ on $S_2$.

Let $\boxtimes$ be the cross-relation on $S_1 \times S_2$, defined as:
 * $\tuple {x_1, y_1} \boxtimes \tuple {x_2, y_2} \iff x_1 \circ y_2 = x_2 \circ y_1$