- A binary relation defined as a subset of a Cartesian Product
- A Homogeneous Relation over a set is a binary relation over and itself, i.e. it is a subset of the cartesian product
- It is also simply called a (binary) relation over
- A heterogeneous relation is a subset of a cartesian product , where and are possibly distinct sets
- When an operation or proposition concerns a relation of either form, we sometimes give a hint ‘possibly heterogeneous’
- A Homogeneous Relation over a set is a binary relation over and itself, i.e. it is a subset of the cartesian product
Operations
Composition
- Let and be relations from to and from to , respectively.
- The composition relation of and , denoted by , is the relation from to defined as .
- is also denoted by and
- Composition of relations is associative:
- Let be a relation on the set .
- The powers , , are defined recursively by and
- Relation Squared - Let relation on . then
- is transitive if and only if for
Converse
- The converse relation (or inverse relation) of a relation is the relation (also denote by )
- If a relation is reflexive, irreflexive, symmetric, antisymmetric, asymmetric, transitive, connected, trichotomous, a partial order, total order, strict weak order, total preorder (weak order), or an equivalence relation, its converse is too.
- Let relation from to , and relation from to , then
Complement
- The complementary relation of a relation in is the relation
- The complement of the converse relation is the converse of the complement:
Homogeneous Relation
Reflexive | |
Irreflexive | not |
Symmetric | |
Antisymmetric | |
Asymmetric | not |
Connected (total) | |
Strongly Connected | |
Transitive | |
Trichotomy | exactly one of , and holds |
Theorems
- (d2.10) - asymmetry implies antisymmetric
- (q29) - asymmetry implies irreflexivity
- (q54a) - Irreflexivity and transitivity together imply asymmetry
- is connected if and only if is antisymmetric
- A relation is strongly connected if, and only if, it is connected and reflexive
- If a strongly connected relation is symmetric, it is the universal relation.
- A relation is trichotomous if, and only if, it is asymmetric and connected.
Reflexivity
- (q18) - if reflexive, then
- (q20a) - if reflexive, then also reflexive
- (q20b) - if reflexive, then also reflexive
- (q20c) - reflexive, if and only if, also reflexive
- (q20d) - if are reflexive, then are reflexive
- (q22) - if is irreflexive, then is also irreflexive
Symmetry
-
(q23) - is symmetric if and only if
-
(q24) - composite of symmetric relations is symmetric
-
(q26) - if are symmetric, then are symmetric
-
(q27) - let relation, then and are symmetric
-
(q30a) - if is asymmetric, then is also asymmetric
-
(q30b) - if is antisymmetric, then is also antisymmetric
-
(q31a) - if is asymmetric, then is also asymmetric.
-
(q31b) - if is antisymmetric, then is also antisymmetric.
-
(q32b) - if are asymmetric, then is asymmetric
-
(q33b) - if are antisymmetric, then is antisymmetric
Transitivity
- (theorem 2.12) is transitive if and only if
- is transitive if and only if (for )
- (q36a) - if are transitive, then is transitive
Transitive Relations
in general, strict means irreflexive, total means connected, partial means not (necessarily) total.
- partial order (or partial ordering, or order)
- transitive, reflexive, antisymmetric
- total order (or linear order)
- transitive, reflexive, antisymmetric, connected
- strict partial order
- transitive, irreflexive
- transitive, asymmetric
- strict total order
- transitive, connected, irreflexive
- transitive, connected, asymmetric
Ordered Sets
- A partially ordered set (or poset) is a set on which a partial order is defined
- A totally ordered set (or linearly ordered set, chain, toset) is a set on which a total order is defined
Equivalence relation
- An equivalence relation is a binary relation on that is reflexive, symmetric and transitive
Equivalence Class
- The equivalence class of under equivalence relation is the set ^[20476 notation: ]
- The Bell number counts the number of different ways to partition a set that has exactly elements, or equivalently, the number of equivalence relations on it.
Quotient Set
- The quotient set of induced by is the set of all equivalence classes of A under R, and denote by
Theorems
- (q43) if are equivalence relations on a set , then is also equivalence relation on .
Partition of a set
- A partition of a set (quotient set) is a grouping of its elements into non-empty subsets that called cells (equivalence classes), in such a way that every element is included in exactly one subset.
- Every equivalence relation on a set defines a partition of this set, and every partition defines an equivalence relation. (theorem 2.16)
- A partition is called a refinement (עידון) of the partition if every set in is a subset of one of the sets in .