relation algebra (original) (raw)

Before defining formally what a relation algebra is, let us recall the following facts about binary relations on some given set A:

In addition, there is also a rule that is true for all binary relations on A:

(R∘S)∩T=∅ iff (R-1∘T)∩S=∅ (1)

The verification of this rule is as follows: first note that sufficiency implies necessity, for if (R-1∘T)∩S=∅, then (R∘S)∩T=((R-1)-1∘S)∩T=∅. To show sufficiency, suppose (a,b)∈S is also an element of R-1∘T. Then there is c∈A such that (a,c)∈R-1 and (c,b)∈T. Therefore, (c,a)∈R and (c,b)=(c,a)∘(a,b)∈R∘S as well. This shows that (R∘S)∩T≠∅.

Definition. A relation algebra is a Boolean algebra B with the usual Boolean operators ∨,∧,′, and additionally a binary operator ;, a unary operator -, and a constant i such that

    1. a;i=a
    1. a;(b;c)=(a;b);c
    1. a--=a
    1. (a;b)-=b-;a-
    1. (a∨b);c=(a;c)∨(b;c)
    1. (a∨b)-=a-∨b-
    1. a-;(a;b)′≤b′

where ≤ is the induced partial orderMathworldPlanetmath in the underlying Boolean algebra.

Clearly, the set of all binary relations R⁢(A) on a set A is a relation algebra, as we have just demonstrated. Specifically, in R⁢(A), ; is the composition operator ∘, - is the inverse (or converseMathworldPlanetmath) operator -1, and i is IA.

A relation algebra is an algebraic system. As an algebraic system, we can define the usual algebraic notions, such as subalgebrasPlanetmathPlanetmathPlanetmath of an algebraMathworldPlanetmath, homomorphismsPlanetmathPlanetmathPlanetmathPlanetmathPlanetmathPlanetmathPlanetmathPlanetmathPlanetmath between two algebras, etc… A relation algebra B that is a subalgebra of R⁢(A), the set of all binary relations on a set A, is called a set relation algebra.

References