1. Sets, Relations and Functions
Definition 1 Countable Set: A set is countable if it can be placed in one-to-one correspondence with the set of natural numbers
.
Definition 2 n-place Relation: An n-place relation on a collection of sets
is a set
of tuples
. We say that elements
through
are related by
if
.
Definition 3 Predicates: A one place relation is also called a predicate. One-place relation on a set
is a subset
of
. It is written as
instead of
.
Definition 4 Binary Relation: A two place relation on sets
and
is also called a binary relation on the two sets. It is written as
![]()
![]()
instead of
.
Three or more place relations are written using the mixfix syntax. The elements are separated by symbols. For example, stands for the triple
.
Definition 5 Domain: The domain of a relation is the set of elements from the first set which are present in the tuples in the relation set.
Definition 6 Range: The domain of a relation is the set of elements from the first set which are present in the tuples in the relation set.
Definition 7 Partial Function: A binary relation
is a partial function if, whenever
and
, then, we have
.
Definition 8 Total Function: A partial function
is also a total function if the domain of R is the whole set.
Definition 9 A partial function
is said to be defined for an element
if
for some
. Otherwise, we write
or
to mean “
is undefined on
”.
2. Ordered Sets
Definition 10 Reflexive Relation: A binary relation
on
is said to be reflexive if
for all
.
Reflexiveness only makes sense for binary relations defined on a single set.
Definition 11 Symmetric Relation: A binary relation
on
is said to be symmetric if
for all
.
Definition 12 Transitive Relation: A binary relation
on
is said to be transitive if
for all
.
Definition 13 Anti-Symmetric Relation: A binary relation
on
is said to be anti-symmetric if
for all
.
Definition 14 Preorder: A reflexive and transitive relation on a set is called a preorder on that set. Preorders are usually written using symbols such as
or
.
Definition 15 Partial Order: A preorder which is also anti-symmetric is called a partial order.
Definition 16 Total Order: A partial order with the property that for every two elements
we have either
or
.
Definition 17 Join of two elements: It is the lowest upper bound for the set of elements which are greater than given two elements with respect to the partial order.
Definition 18 Meet of two elements: It is the greatest lower bound for the set of elements which are smaller than given two elements with respect to the partial order.
Definition 19 Equivalence Relation: A binary relation on a set is called an equivalence relation if it is reflexive, symmetric and transitive.
Definition 20 Reflexive Closure: A reflexive closure of a binary relation
on a set
is the smallest reflexive relation
which contains
. (Smallest in the sense that if some other reflexive relation
also contains
then
).
Definition 21 Transitive Closure: A transitive closure of a binary relation
on a set
is the smallest transitive relation
which contains
. (Smallest in the sense that if some other transitive relation
also contains
then
). It is written as
.
Definition 22 Sequence: A transitive closure of a binary relation
on a set
is the smallest transitive relation
which contains
. (Smallest in the sense that if some other transitive relation
also contains
then
). It is written as
.
Definition 23 Permutation: A transitive closure of a binary relation
on a set
is the smallest transitive relation
which contains
. (Smallest in the sense that if some other transitive relation
also contains
then
). It is written as
.
Definition 24 Decreasing Chain: A transitive closure of a binary relation
on a set
is the smallest transitive relation
which contains
. (Smallest in the sense that if some other transitive relation
also contains
then
). It is written as
.
Definition 25 Well Founded Preorder: A transitive closure of a binary relation
on a set
is the smallest transitive relation
which contains
. (Smallest in the sense that if some other transitive relation
also contains
then
). It is written as
.
3. Induction
Axiom (Principle of Ordinary Induction) Suppose that
is a predicate defined on natural numbers. Then:
If
and, for all
,
implies
,
then,
holds for all
.