_finitary-rel
Finitary relation
A finitary relation has a finite number of "places". For example, in set theory, a binary (two "places") relation is a relation on two sets.
In the set theory and logic, a relation is a property that assigns truth values to k-tuples of individuals; as an example, 2-tuple, when , is called an ordered pair. Typically, this property describes a possible connection between the components of a -tuple.
For a given set of k-tuples, a truth value is assigned to each -tuple according to whether the property does or does not hold.
An example of a ternary relation (between three objects) is "X was introduced to Y by Z", where is a 3-tuple of persons.
Relations with a finite number of places are finitary relations.
The variable giving the number of "places" in the relation (2 for binary, 3 for ternary relation) is a non-negative integer, called the relation's arity (adicity, dimension). A relation with places is variously called a -ary.
Arity
There is only one 0-tuple, called the empty tuple, denoted by ()
, so there are two 0-place relations: the one that always holds, and the one that never holds. They are sometimes useful for constructing the base case of an induction argument.
1-place relation is a unary relation or property. For instance, any set can be viewed as a collection of objects that posses some property (e.g. being odd, in case of integers).
2-place relation is a binary relation. Binary relations are the most common. Examples include:
equality,
inequality,
greater than,
a divisor of,
set membership,
A -ary relation is a straightforward generalization of a binary relation.
Definition of relation (definition 1)
A relation over the sets is a subset of their Cartesian product, written .
Relations are classified according to the number of sets in the defining Cartesian product i.e. according to the number of terms:
denotes a unary relation or property;
or denote a homogeneous relation when and a heterogeneous relation when .
denotes a ternary relation;
denotes a quaternary relation.
Relations with more than 4 terms are usually referred to as k-ary or n-ary, for example, "a 5-ary relation". A k-ary relation is simply a set of k-tuples.
Definition of relation (definition 2)
Using recursion, relations can also be defined in the terms of binary relation.
The second definition makes use of an idiom that is common in mathematics, stipulating that "such and such is an n-tuple" in order to ensure that "such and such" a mathematical object is determined by the specification of n component mathematical objects.
In the case of a relation L over k sets, there are k + 1 things to specify, namely, the k sets plus a subset of their Cartesian product. In the idiom, this is expressed by saying that L is a (k + 1)-tuple.
Last updated
Was this helpful?