1 Sets, Relations, and Arguments Flashcards
Define ‘Binary Relation’
A set is a binary relation iff it contains only ordered pairs
What makes binary relation R reflexive on a set S
R is reflexive on S iff for all elements d of S the pair <d,d> is an element of R
What makes binary relation R symmetric on a set S
R is symmetric on S iff for all elements d, e of S: if <d,e> is in R then <e,d> is in R
What makes binary relation R asymmetric on a set S
R is asymmetric on S iff for no elements d, e of S: if <d,e> is in R then <e,d> is in R
What makes binary relation R antisymmetric on a set S
R is antisymmetric on a set S iff for no two distinct elements d, e of S: if <d,e> is in R then <e, d> is in R
What makes binary relation R transitive on a set S
R is transitive on S iff for all elements d, e, f of S: if <d,e> and <e,f> are in R, then <d,f> is in R
Define an equivalence relation
A binary relation R is an equivalence relation on S iff R is reflexive on S, symmetric on S, and transitive on S
Give an example of an equivalence relation
Being born on the same day
Define a function (for binary relations)
A binary relation R is a function iff for all d, e, f: if <d,e> is in R and <d,f> is in R then e=f.
(for every d, there is at most one e)
Define the domain of a function R (R is a binary relation)
The domain of a function R is the set {d : there is an e such that <d,e> is in R}
Define the range of a function R (R is a binary relation)
The range of a function R is the set {e : there is a d such that <d,e> is in R}
What makes R a function INTO a set
R is a function into the set M iff all elements of the range of the function are in M
If d is in the domain of a function R, what would one write for the unique object e such that <d,e> is in R
R(d)
Define an n-ary relation
An n-place relation is a set containing only n-tuples.
What is arity
An n-place relation is called a relation of arity n