Re: Proposal: 6NF
Date: 20 Oct 2006 07:34:41 -0700
Message-ID: <1161354881.049499.279320_at_m73g2000cwd.googlegroups.com>
JOG wrote:
> On Oct 20, 11:12 am, "vc" <boston..._at_hotmail.com> wrote:
> > Marshall wrote:
> > > On Oct 19, 8:40 pm, "vc" <boston..._at_hotmail.com> wrote:
> > > > Marshall wrote:
> >
> > > > > > "return new ModFour((val+a.val)%4)" is called a bug or cheating
> > > > > > because you used a function defined on the entire domain NxN (where N
> > > > > > is a subset of the natural numbers implemented by the computer) to
> > > > > > generate a result which is undefined for the (2,3) pair.
> >
> > > > > It's not a bug, since the program produces the correct result, which is
> > > > > 1. It's not "cheating" because WTF does cheating even mean in
> > > > > this context. What it is, is the absence of closure over the subclass.
> > > > > Which is no big deal.
> >
> > > > So producing an absurd result is no big deal ? You seem to have agreed
> > > > that in the {2,3} subset there is no '1', how come your java
> > > > implementation manages to extract '1' out of nowhere ?
> >
> > > Consider the below function:
> >
> > > Let S4 = {0, 1, 2, 3}
> > > Let S23 = {2, 3}
> > > f : S23, S23 -> S4
> > The binary operation over S23 is g:S23:S23 -> S23, your f does not
> > qualify. aAcommon example is '+'.
>
> Ok. So if "f : S23, S23 -> S4" does not qualify as a binary operation
> from your point of view, you are saying there is a clear distinction
> between a binary operation, and a binary function, the fomer being the
> subset of the latter which exhibiti closure.
>
> In term's of the pure definition of 'operation' as opposed to
> 'function' i think you may be correct.
Whoever put in the wikipedia entry at
http://en.wikipedia.org/wiki/Binary_operation might have helped us out.
In any case, a subclass is a subset. If it is a Duck, then it is also an Animal. If it is an Integer, then it is also a Real. If there is any function defined on Real, it is also a function defined on Integer. --dawn Received on Fri Oct 20 2006 - 16:34:41 CEST