User:IssaRice/Stringing together relations and binary operations

From Machinelearning

If is a relation on a set , and are elements of , we sometimes write as an abbreviation of " and . This makes sense especially when is a transitive relation, because in that case we also have , which is suggested by the notation "".

For instance, if we have three real numbers and the relation , then means that and . Since the relation is transitive, we also have .

Another example is given sets we can write or .

In fact, the relation that is used does not have to be the same in both places. We might write to mean " and ".

On the other hand, if is some binary operation on a set , and , then means if associates to the left and means if associates to the right. If is associative, then these two are the same, so means either/both.

A relation has type , and a binary operation has type . Things can get confusing when we take , because now there are two possible interpretations (depending on whether we take the relation one or the binary operation one).

One interesting exception to this is when we use between propositions. Let be three propositions. What does mean? Some possibilities are:

  • and

other examples to look at:

means , not or . The interpretation " and " does not even parse since is not a statement.