Path: news.cambrium.nl!textnews.cambrium.nl!feeder3.cambriumusenet.nl!feeder2.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.242.MISMATCH!nx01.iad01.newshosting.com!newshosting.com!216.196.98.140.MISMATCH!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 07 Sep 2009 00:23:08 -0500
From: "Mr. Scott" <do_not_reply@noone.com>
Newsgroups: comp.databases.theory
References: <DGbom.42669$Db2.5159@edtnps83> <RYadne73COwOTTzXnZ2dnUVZ_r6dnZ2d@giganews.com> <uskom.43824$PH1.21867@edtnps82> <b6KdnSrWkthYdTzXnZ2dnUVZ_gmdnZ2d@giganews.com> <J%Oom.43977$PH1.40579@edtnps82>
Subject: Re: insert to projection
Date: Mon, 7 Sep 2009 01:23:08 -0400
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.3959
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.3959
Message-ID: <Z92dnd8qAMQhBTnXnZ2dnUVZ_gqdnZ2d@giganews.com>
Lines: 52
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-I0VVG5k9jjnc4s9Ekf0b8TqpPq/mala24hzQqrgaa0l72XcUX+XJwmtYu/olu4t7oG718SY2R7ICImo!yUQULa9QaOEyLdo+OHZ3oQl2W+gLuiio/kyddiSQyc4yZpWUe+MqmwjviYVqL5vpN4GvXGThrQ==
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.39
Xref:  news.cambrium.nl


"paul c" <toledobythesea@oohay.ac> wrote in message 
news:J%Oom.43977$PH1.40579@edtnps82...
> Mr. Scott wrote:
>> "paul c" <toledobythesea@oohay.ac> wrote in message 
>> news:uskom.43824$PH1.21867@edtnps82...
>>> Mr. Scott wrote:
>>>> "paul c" <toledobythesea@oohay.ac> wrote in message 
>>>> news:DGbom.42669$Db2.5159@edtnps83...
>>>>> Why do implementation languages not allow this?  Surely not for 
>>>>> logical reasons?  We can delete from projection because NOT Pa implies 
>>>>> NOT Pab, eg., <NOT> R{a} -> <NOT> R{a,b}.  Logically, we can insert to 
>>>>> projections because Pab implies Pa.  Isn't the problem really a 
>>>>> language deficiency?
>>>> I don't understand.  Is the binary predicate P somehow related to the 
>>>> unary predicate P, and if so, how exactly?
>>>>
>>>>
>>>>
>>> Sure it is, the truth of the tuple <a 1, b 2> implies the truth of the 
>>> tuple <a 1> and the falsity of the tuple <a 1> implies the falsity of <a 
>>> 1, b 2>, as far as a relation R with predicate P is concerned. 
>>> Projection means quantification and vice versa, what's the problem? 
>>> (Could it be that predicates aren't recorded?).
>>
>> Can you express the relationship formally?  Something about your 
>> explanation doesn't seem right.  There can be a row <a 1> in the 
>> projection if and only if there is a row that is a superset of <a 1> in 
>> the table.  That works out to something like,
>>
>> Px iff (exists y exists z Pyz /\ (x = y))
>>
>> But this actually denies insert to projections because it is not enough 
>> to know that there is at least one z, it is necessary to know which z or 
>> set of z's there are for a given x, unless you want to introduce nulls.
>
> What I wrote could be taken wrong.  When I said that "logically" we can 
> insert to a projection it would be have better to say that several 
> projections are inserted when we insert <a 1, b 2, c 3>, eg., R{a} or <a 
> 1> but the converse isn't logical. It's a starting position for figuring 
> out a language definition that would allow insert to projection.  I didn't 
> mention rows and tables because I think they are probably not part of a 
> solution.

In general, a conclusion follows from a set of premises, not the other way 
around.  Sometimes there is only one set of premises from which a conclusion 
follows, and it is only then that the corresponding view update should be 
deemed permissible.  The underlying criteria for permitting an operation on 
a view has to be a one-to-one mapping from the set of conclusions into the 
power set of premises. 


