Path: news.f.de.plusline.net!news-fra1.dfn.de!newsfeed.hanau.net!newsfeed2.scan-plus.net!news.germany.com!postnews.google.com!e65g2000hsc.googlegroups.com!not-for-mail
From: David BL <davidbl@iinet.net.au>
Newsgroups: comp.databases.theory
Subject: Re: more closed-world chatter
Date: 5 May 2007 08:00:25 -0700
Organization: http://groups.google.com
Lines: 25
Message-ID: <1178377225.112732.324630@e65g2000hsc.googlegroups.com>
References: <Bh6_h.155482$aG1.143414@pd7urf3no>
   <Wl6_h.155487$aG1.62925@pd7urf3no>
   <4639315f$0$4019$9a566e8b@news.aliant.net>
   <lCl_h.156056$DE1.84607@pd7urf2no>
   <1178306219.576215.151340@c35g2000hsg.googlegroups.com>
NNTP-Posting-Host: 124.168.99.25
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1178377225 5270 127.0.0.1 (5 May 2007 15:00:25 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sat, 5 May 2007 15:00:25 +0000 (UTC)
In-Reply-To: <1178306219.576215.151340@c35g2000hsg.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: e65g2000hsc.googlegroups.com; posting-host=124.168.99.25;
   posting-account=wVZVUg0AAABk2ta6Whxl_RM-hXNmJTQr
Xref: news.f.de.plusline.net comp.databases.theory:43786

On May 5, 3:16 am, Marshall <marshall.spi...@gmail.com> wrote:

[snip]

> def pricedomain = set {1, 2};
> def anotherdomain = set {3};
>
> def R1 = set(price) [price : pricedomain]  {(1)};
> def R2 = set(price) [price : anotherdomain]  {(3)};
>
> def R = R1 & R2;
> ---
>
> At this point, what is the value of R?
>
>   R = set(price) [price:pricedomain; price:anotherdomain] {};
>
> Since the union of pricedomain and anotherdomain is empty:

IMO it's confusing to talk about taking a "union of the constraints".
In a sense you are aggregating them.  I would call it an ANDing of
constraints as boolean valued expressions, which leads to set
intersections not unions.


