Re: Notions of Type
Date: Fri, 18 Aug 2006 11:33:35 GMT
Message-ID: <jAhFg.3862$v_1.100_at_trndny01>
"J M Davitt" <jdavitt_at_aeneas.net> wrote in message
news:iS6Fg.55213$vl5.37756_at_tornado.ohiordc.rr.com...
>
> PROJECT <relation> <set of attributes> -> <relation>
>
> right? And the question is, "Does this definition of
> PROJECT demonstrate lack of algebraic closure?" I think
>
> PROJECT <relation> <relation> -> <relation>
>
> is a step in the wrong direction and don't think such a
> thing is necessary for closure. I think that the fact
> that one of the operands and the result are relations is
> what provides closure.
> PROJECT <relation> <set of attributes> -> <relation>
this way.
PROJECT spaceof (<relation>) spaceof(<set of attributes>) -> PROJECTION
PROJECTION <relation> -> <relation>
The "spaceof" operator I've introduced above takes either a relation or a
set of attributes and yields a space that the operand is contained in. I'm
not happy with this definition, but that's as far as I got. Where have I