<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Extended set theory, aka “What is a tuple anyway?”</title>
	<atom:link href="http://www.dbms2.com/2010/06/05/extended-set-theory/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dbms2.com/2010/06/05/extended-set-theory/</link>
	<description>Choices in data management and analysis</description>
	<lastBuildDate>Wed, 08 Feb 2012 22:51:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
	<item>
		<title>By: Curt Monash</title>
		<link>http://www.dbms2.com/2010/06/05/extended-set-theory/#comment-171547</link>
		<dc:creator>Curt Monash</dc:creator>
		<pubDate>Fri, 11 Jun 2010 23:50:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbms2.com/?p=2208#comment-171547</guid>
		<description>@Ken,

What examples do you have in mind? I see your point as being more obvious for full-text (enhanced by XML) than for pure XML use cases.</description>
		<content:encoded><![CDATA[<p>@Ken,</p>
<p>What examples do you have in mind? I see your point as being more obvious for full-text (enhanced by XML) than for pure XML use cases.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken North</title>
		<link>http://www.dbms2.com/2010/06/05/extended-set-theory/#comment-171532</link>
		<dc:creator>Ken North</dc:creator>
		<pubDate>Fri, 11 Jun 2010 18:16:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbms2.com/?p=2208#comment-171532</guid>
		<description>&gt; I’m dropping the notion of order because it’s inessential for database work.

Preserving order is essential when a database is used to store XML documents.</description>
		<content:encoded><![CDATA[<p>&gt; I’m dropping the notion of order because it’s inessential for database work.</p>
<p>Preserving order is essential when a database is used to store XML documents.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Curt Monash</title>
		<link>http://www.dbms2.com/2010/06/05/extended-set-theory/#comment-171417</link>
		<dc:creator>Curt Monash</dc:creator>
		<pubDate>Wed, 09 Jun 2010 21:20:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbms2.com/?p=2208#comment-171417</guid>
		<description>You&#039;re right, David. I&#039;m dropping the notion of order because it&#039;s inessential for database work.

Interestingly, columnar database architectures laugh at the notion of order. And just about every row-based analytic DBMS vendor has a columnar option coming. Greenplum&#039;s is here; Oracle&#039;s is known to me and not under NDA; others are surely coming too.</description>
		<content:encoded><![CDATA[<p>You&#8217;re right, David. I&#8217;m dropping the notion of order because it&#8217;s inessential for database work.</p>
<p>Interestingly, columnar database architectures laugh at the notion of order. And just about every row-based analytic DBMS vendor has a columnar option coming. Greenplum&#8217;s is here; Oracle&#8217;s is known to me and not under NDA; others are surely coming too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: D L Childs</title>
		<link>http://www.dbms2.com/2010/06/05/extended-set-theory/#comment-171389</link>
		<dc:creator>D L Childs</dc:creator>
		<pubDate>Wed, 09 Jun 2010 15:31:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbms2.com/?p=2208#comment-171389</guid>
		<description>Curt:

We seem to have different requirements for properties of n-tuples.

Tuples were introduced in set theory to support the concept of a function, f(a)=b. This required a notation (with a proper underlying membership condition) that distinguished (a,b) from (b,a) when a was not equal to b. This was expanded to a general definition of n-tuple where (a(1),..,a(n)) = (b(1),..,b(n)) iff a(i)=b(i) for all i. A requisite property for n-tuples is &quot;order&quot;. Your definition does not seem to support this property.

For your database interests your definition may be more than adequate. For my set theoretic interest in support of functional behavior, it does not work.

For a better understanding of my set theoretic needs for tuples please read the first and last pages of Axioms, and as much of others as you have time for.

Axioms: http://xsp.xegesis.org/X_axioms.pdf
Tuples: http://xsp.xegesis.org/xst_etc5a.pdf
Klasses: http://xsp.xegesis.org/N_isntk.pdf
Records(p. 6): http://xsp.xegesis.org/Spio.pdf
Tables(p. 5): http://xsp.xegesis.org/SSDAA.pdf</description>
		<content:encoded><![CDATA[<p>Curt:</p>
<p>We seem to have different requirements for properties of n-tuples.</p>
<p>Tuples were introduced in set theory to support the concept of a function, f(a)=b. This required a notation (with a proper underlying membership condition) that distinguished (a,b) from (b,a) when a was not equal to b. This was expanded to a general definition of n-tuple where (a(1),..,a(n)) = (b(1),..,b(n)) iff a(i)=b(i) for all i. A requisite property for n-tuples is &#8220;order&#8221;. Your definition does not seem to support this property.</p>
<p>For your database interests your definition may be more than adequate. For my set theoretic interest in support of functional behavior, it does not work.</p>
<p>For a better understanding of my set theoretic needs for tuples please read the first and last pages of Axioms, and as much of others as you have time for.</p>
<p>Axioms: <a href="http://xsp.xegesis.org/X_axioms.pdf" rel="nofollow">http://xsp.xegesis.org/X_axioms.pdf</a><br />
Tuples: <a href="http://xsp.xegesis.org/xst_etc5a.pdf" rel="nofollow">http://xsp.xegesis.org/xst_etc5a.pdf</a><br />
Klasses: <a href="http://xsp.xegesis.org/N_isntk.pdf" rel="nofollow">http://xsp.xegesis.org/N_isntk.pdf</a><br />
Records(p. 6): <a href="http://xsp.xegesis.org/Spio.pdf" rel="nofollow">http://xsp.xegesis.org/Spio.pdf</a><br />
Tables(p. 5): <a href="http://xsp.xegesis.org/SSDAA.pdf" rel="nofollow">http://xsp.xegesis.org/SSDAA.pdf</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Curt Monash</title>
		<link>http://www.dbms2.com/2010/06/05/extended-set-theory/#comment-171288</link>
		<dc:creator>Curt Monash</dc:creator>
		<pubDate>Tue, 08 Jun 2010 21:08:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbms2.com/?p=2208#comment-171288</guid>
		<description>

&lt;blockquote&gt;
1) What base collection of axioms are you using: ZFC, Quine, NBG, other?&lt;/blockquote&gt;

Anything compatible with elementary-school textbooks.



&lt;blockquote&gt;2) What is the set-membership of your &quot;set of ordered pairs&quot;: Kuratowski, Wiener, Quine, other?&lt;/blockquote&gt;

Ditto


&lt;blockquote&gt;
3) How do your &quot;pairs&quot; and &quot;tuples&quot; behave under intersection? 

4) Using (a,b) and (x,y,z) for pairs and tuples what is the cardinality of the set { (a,b,c), ((a,b),c), (a,(b,c)), ((a,1), (b,2), (c,3)} }? In ZFC the answer is 3. In XST the answer is 4.&lt;/blockquote&gt;

That&#039;s four different sets.



&lt;blockquote&gt;5) How do you define the McCarthy rho operator that plucks the i-th element from a n-tuple? Ex. rho(4) of (a,b,c,d,e) equals d.&lt;/blockquote&gt;

As per the above, I don&#039;t define tuples to be ordered. There&#039;s might be an &quot;AddressLineOne&quot; element, but there isn&#039;t a &quot;third&quot; element.

By the way, my definitions may not work as well unless we say all the sets discussed are &lt;strong&gt;finite.&lt;/strong&gt; I was taking that as implicit.

&lt;blockquote&gt;6) How do you define &quot;tables&quot; as sets? Tables (Codd uses &quot;arrays&quot;) are not a formal constituent of the RDM (see http://xsp.xegesis.org/Relations_70.pdf ). Tables are &quot;expository&quot; representations to conveniently represent &quot;relationships&quot;, which in turn are equivalence classes of relations. The RDM uses set theory in spirit but not in fact. Tables are not sets!&lt;/blockquote&gt;

Again as per the above, a table is a set of tuples, subject to a constraint about the set of first-values of the ordered pairs that make up each tuple.

Perhaps I should define that set explicitly as the &quot;implied-table-schema&quot; of the tuple of something.

&lt;blockquote&gt;The foundations of the RDM suffer all the failings imbued by the Kuratowski definition of ordered pair. Thus any definition of tuple that shares the same formal support as the RDM will not work for my purposes.
&lt;/blockquote&gt;

I don&#039;t see why, so long as you don&#039;t go down the path that, for example, an ordered triple is an ordered pair of a singleton and an ordered pair.
</description>
		<content:encoded><![CDATA[<blockquote><p>
1) What base collection of axioms are you using: ZFC, Quine, NBG, other?</p></blockquote>
<p>Anything compatible with elementary-school textbooks.</p>
<blockquote><p>2) What is the set-membership of your &#8220;set of ordered pairs&#8221;: Kuratowski, Wiener, Quine, other?</p></blockquote>
<p>Ditto</p>
<blockquote><p>
3) How do your &#8220;pairs&#8221; and &#8220;tuples&#8221; behave under intersection? </p>
<p>4) Using (a,b) and (x,y,z) for pairs and tuples what is the cardinality of the set { (a,b,c), ((a,b),c), (a,(b,c)), ((a,1), (b,2), (c,3)} }? In ZFC the answer is 3. In XST the answer is 4.</p></blockquote>
<p>That&#8217;s four different sets.</p>
<blockquote><p>5) How do you define the McCarthy rho operator that plucks the i-th element from a n-tuple? Ex. rho(4) of (a,b,c,d,e) equals d.</p></blockquote>
<p>As per the above, I don&#8217;t define tuples to be ordered. There&#8217;s might be an &#8220;AddressLineOne&#8221; element, but there isn&#8217;t a &#8220;third&#8221; element.</p>
<p>By the way, my definitions may not work as well unless we say all the sets discussed are <strong>finite.</strong> I was taking that as implicit.</p>
<blockquote><p>6) How do you define &#8220;tables&#8221; as sets? Tables (Codd uses &#8220;arrays&#8221;) are not a formal constituent of the RDM (see <a href="http://xsp.xegesis.org/Relations_70.pdf" rel="nofollow">http://xsp.xegesis.org/Relations_70.pdf</a> ). Tables are &#8220;expository&#8221; representations to conveniently represent &#8220;relationships&#8221;, which in turn are equivalence classes of relations. The RDM uses set theory in spirit but not in fact. Tables are not sets!</p></blockquote>
<p>Again as per the above, a table is a set of tuples, subject to a constraint about the set of first-values of the ordered pairs that make up each tuple.</p>
<p>Perhaps I should define that set explicitly as the &#8220;implied-table-schema&#8221; of the tuple of something.</p>
<blockquote><p>The foundations of the RDM suffer all the failings imbued by the Kuratowski definition of ordered pair. Thus any definition of tuple that shares the same formal support as the RDM will not work for my purposes.
</p></blockquote>
<p>I don&#8217;t see why, so long as you don&#8217;t go down the path that, for example, an ordered triple is an ordered pair of a singleton and an ordered pair.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: D L Childs</title>
		<link>http://www.dbms2.com/2010/06/05/extended-set-theory/#comment-171207</link>
		<dc:creator>D L Childs</dc:creator>
		<pubDate>Tue, 08 Jun 2010 16:32:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbms2.com/?p=2208#comment-171207</guid>
		<description>Curt:

If your definitions work for your purposes, then that is all that matters. In order to answer if they will work for my purposes, I will need answers to the following questions:

1) What base collection of axioms are you using: ZFC, Quine, NBG, other?

2) What is the set-membership of your &quot;set of ordered pairs&quot;: Kuratowski, Wiener, Quine, other?

3) How do your &quot;pairs&quot; and &quot;tuples&quot; behave under intersection? 

4) Using (a,b) and (x,y,z) for pairs and tuples what is the cardinality of the set { (a,b,c), ((a,b),c), (a,(b,c)), ((a,1), (b,2), (c,3)} }? In ZFC the answer is 3. In XST the answer is 4.

5) How do you define the McCarthy rho operator that plucks the i-th element from a n-tuple? Ex. rho(4) of (a,b,c,d,e) equals d.

6) How do you define &quot;tables&quot; as sets? Tables (Codd uses &quot;arrays&quot;) are not a formal constituent of the RDM (see http://xsp.xegesis.org/Relations_70.pdf ). Tables are &quot;expository&quot; representations to conveniently represent &quot;relationships&quot;, which in turn are equivalence classes of relations. The RDM uses set theory in spirit but not in fact. Tables are not sets!

The foundations of the RDM suffer all the failings imbued by the Kuratowski definition of ordered pair. Thus any definition of tuple that shares the same formal support as the RDM will not work for my purposes.

A more comprehensive analysis of tuples, tables, records  and sets is presented in the following:
Tuples: http://xsp.xegesis.org/xst_etc5a.pdf
Klasses: http://xsp.xegesis.org/N_isntk.pdf
Records(p. 6): http://xsp.xegesis.org/Spio.pdf
Tables(p. 5): http://xsp.xegesis.org/SSDAA.pdf</description>
		<content:encoded><![CDATA[<p>Curt:</p>
<p>If your definitions work for your purposes, then that is all that matters. In order to answer if they will work for my purposes, I will need answers to the following questions:</p>
<p>1) What base collection of axioms are you using: ZFC, Quine, NBG, other?</p>
<p>2) What is the set-membership of your &#8220;set of ordered pairs&#8221;: Kuratowski, Wiener, Quine, other?</p>
<p>3) How do your &#8220;pairs&#8221; and &#8220;tuples&#8221; behave under intersection? </p>
<p>4) Using (a,b) and (x,y,z) for pairs and tuples what is the cardinality of the set { (a,b,c), ((a,b),c), (a,(b,c)), ((a,1), (b,2), (c,3)} }? In ZFC the answer is 3. In XST the answer is 4.</p>
<p>5) How do you define the McCarthy rho operator that plucks the i-th element from a n-tuple? Ex. rho(4) of (a,b,c,d,e) equals d.</p>
<p>6) How do you define &#8220;tables&#8221; as sets? Tables (Codd uses &#8220;arrays&#8221;) are not a formal constituent of the RDM (see <a href="http://xsp.xegesis.org/Relations_70.pdf" rel="nofollow">http://xsp.xegesis.org/Relations_70.pdf</a> ). Tables are &#8220;expository&#8221; representations to conveniently represent &#8220;relationships&#8221;, which in turn are equivalence classes of relations. The RDM uses set theory in spirit but not in fact. Tables are not sets!</p>
<p>The foundations of the RDM suffer all the failings imbued by the Kuratowski definition of ordered pair. Thus any definition of tuple that shares the same formal support as the RDM will not work for my purposes.</p>
<p>A more comprehensive analysis of tuples, tables, records  and sets is presented in the following:<br />
Tuples: <a href="http://xsp.xegesis.org/xst_etc5a.pdf" rel="nofollow">http://xsp.xegesis.org/xst_etc5a.pdf</a><br />
Klasses: <a href="http://xsp.xegesis.org/N_isntk.pdf" rel="nofollow">http://xsp.xegesis.org/N_isntk.pdf</a><br />
Records(p. 6): <a href="http://xsp.xegesis.org/Spio.pdf" rel="nofollow">http://xsp.xegesis.org/Spio.pdf</a><br />
Tables(p. 5): <a href="http://xsp.xegesis.org/SSDAA.pdf" rel="nofollow">http://xsp.xegesis.org/SSDAA.pdf</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Curt Monash</title>
		<link>http://www.dbms2.com/2010/06/05/extended-set-theory/#comment-171144</link>
		<dc:creator>Curt Monash</dc:creator>
		<pubDate>Tue, 08 Jun 2010 11:43:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbms2.com/?p=2208#comment-171144</guid>
		<description>David,

And now back to my original post.

If we define a tuple as a set of ordered pairs, a relational tuple as a set of ordered pairs in which each of the first elements is unique, and a relational table as set of relational tuples that each have the same set of first-elements -- doesn&#039;t that get the job done?

I did keep things simple by only defining an equi-join, but in another line or two I could have covered the general case of joins just as well.

The tap dance to go from the true Cartesian product (ordered pair of sets) to the pseudo-Cartesian product (union of the two sets in the ordered pair) wasn&#039;t bad at all.

-----------------------------------

Hmm. I&#039;m seeing one little thing I didn&#039;t say, which is that two different tables have to have disjoint sets of field-names. But that can be assumed true as a tautology.</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>And now back to my original post.</p>
<p>If we define a tuple as a set of ordered pairs, a relational tuple as a set of ordered pairs in which each of the first elements is unique, and a relational table as set of relational tuples that each have the same set of first-elements &#8212; doesn&#8217;t that get the job done?</p>
<p>I did keep things simple by only defining an equi-join, but in another line or two I could have covered the general case of joins just as well.</p>
<p>The tap dance to go from the true Cartesian product (ordered pair of sets) to the pseudo-Cartesian product (union of the two sets in the ordered pair) wasn&#8217;t bad at all.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Hmm. I&#8217;m seeing one little thing I didn&#8217;t say, which is that two different tables have to have disjoint sets of field-names. But that can be assumed true as a tautology.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: D L Childs</title>
		<link>http://www.dbms2.com/2010/06/05/extended-set-theory/#comment-171094</link>
		<dc:creator>D L Childs</dc:creator>
		<pubDate>Tue, 08 Jun 2010 08:15:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbms2.com/?p=2208#comment-171094</guid>
		<description>Curt:

I don&#039;t understand your last posting, but on rereading you questions and applying them to the middle level component of a three tiered architecture (APP-PRO-STO  each component separated by a data independence that allows communication only by set-membership exchange), then the answers to your questions are:

1. Which primitives?
No predetermine universal collection, but any collection with XST definitions will work. The only architectural concern is what allowable operations will support the best data representations and access performance given a chosen hardware configuration.

2. How agnostic?
Since all data is stored and accessed as a set, the only belief required is in the consistency of XST axioms.</description>
		<content:encoded><![CDATA[<p>Curt:</p>
<p>I don&#8217;t understand your last posting, but on rereading you questions and applying them to the middle level component of a three tiered architecture (APP-PRO-STO  each component separated by a data independence that allows communication only by set-membership exchange), then the answers to your questions are:</p>
<p>1. Which primitives?<br />
No predetermine universal collection, but any collection with XST definitions will work. The only architectural concern is what allowable operations will support the best data representations and access performance given a chosen hardware configuration.</p>
<p>2. How agnostic?<br />
Since all data is stored and accessed as a set, the only belief required is in the consistency of XST axioms.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Curt Monash</title>
		<link>http://www.dbms2.com/2010/06/05/extended-set-theory/#comment-171089</link>
		<dc:creator>Curt Monash</dc:creator>
		<pubDate>Tue, 08 Jun 2010 07:44:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbms2.com/?p=2208#comment-171089</guid>
		<description>David,

In an ideal world, computer systems would be designed to give great performance for any or all of the applications they are logically capable of running, with no user optimization needed, whether at purchase time, installation time, or later.

Reality, as you know, is rather far from that ideal.

CAM</description>
		<content:encoded><![CDATA[<p>David,</p>
<p>In an ideal world, computer systems would be designed to give great performance for any or all of the applications they are logically capable of running, with no user optimization needed, whether at purchase time, installation time, or later.</p>
<p>Reality, as you know, is rather far from that ideal.</p>
<p>CAM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: D L Childs</title>
		<link>http://www.dbms2.com/2010/06/05/extended-set-theory/#comment-171087</link>
		<dc:creator>D L Childs</dc:creator>
		<pubDate>Tue, 08 Jun 2010 06:48:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbms2.com/?p=2208#comment-171087</guid>
		<description>Curt:

I&#039;m not sure I understand your questions which seem to imply that an application has the ability to dictate performance directives to the underlying system data provider. This only makes sense if the system architecture subverts data independence between user environment and processing environment. As is the case when allowing index structures to be defined at the application level.

In a truly data independent architecture an application can only express desired results and a minimum data covering that supports derivation of these resells - a set specification of the desired result. The capability is latent in SQL and can be easily achieved if execution plans are eliminated at the application level.

The real value of set processing, as I see it, is at the architectural level, not at the programming level. Using set theory to program seems akin to using Dedekind cuts to balance a checkbook.

If by &quot;agnostic as to physical primitives&quot; you mean a belief in a Maxwell Demon that will only let informational dense data pass through the I/O interface, then, yes, any precise expression of a desired result (like an SQL statement or a SQUARE expression) can be executed as optimally as the underlying set processing engine and hardware performance potential allow.

This &quot;answer&quot; may produce more questions then it answers. A current paper in progress (SET-PROCESSING I/O ARCHITECTURES For Application Independent Data Access) expands on the architectural requirements for using set processing to tap the I/O performance potential of any given hardware configuration. Hopefully it will do a better job of reducing questions than in creating them.</description>
		<content:encoded><![CDATA[<p>Curt:</p>
<p>I&#8217;m not sure I understand your questions which seem to imply that an application has the ability to dictate performance directives to the underlying system data provider. This only makes sense if the system architecture subverts data independence between user environment and processing environment. As is the case when allowing index structures to be defined at the application level.</p>
<p>In a truly data independent architecture an application can only express desired results and a minimum data covering that supports derivation of these resells &#8211; a set specification of the desired result. The capability is latent in SQL and can be easily achieved if execution plans are eliminated at the application level.</p>
<p>The real value of set processing, as I see it, is at the architectural level, not at the programming level. Using set theory to program seems akin to using Dedekind cuts to balance a checkbook.</p>
<p>If by &#8220;agnostic as to physical primitives&#8221; you mean a belief in a Maxwell Demon that will only let informational dense data pass through the I/O interface, then, yes, any precise expression of a desired result (like an SQL statement or a SQUARE expression) can be executed as optimally as the underlying set processing engine and hardware performance potential allow.</p>
<p>This &#8220;answer&#8221; may produce more questions then it answers. A current paper in progress (SET-PROCESSING I/O ARCHITECTURES For Application Independent Data Access) expands on the architectural requirements for using set processing to tap the I/O performance potential of any given hardware configuration. Hopefully it will do a better job of reducing questions than in creating them.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

