Re: RM and definition of relations/tuples
Date: 23 Nov 2005 12:39:27 -0800
Message-ID: <1132778367.457089.311300_at_o13g2000cwo.googlegroups.com>
Martin Zapf wrote:
> 2. definition
>
> A relation r for schem R is a set of tuples.
> A tuple t is a function
> t: R -> Union (dom(A_1),dom(A_2),...,dom(A_1))
> t maps each Attribute of R to an value of its domain.
> So a relation is a set of functions, which are called tuples.
I suspect there is (more than one) typo here as well. Let's take care of the obvious one, first
t: R -> Union (dom(A_1),dom(A_2),...,dom(A_n))
Then, what is the "Union" operator in front? Union is a binary operator. Is it the iterative version that applies to more than 2 arguments. (Similar to binary "+" generalized to iterative sigma notation). Then, it has to have a variable to iterate to, but the expression
(dom(A_1),dom(A_2),...,dom(A_n))
doesn't have any free variable.