Re: Is T an ancestor of T?

From: Randy Brukardt (randy_at_rrsoftware.com)
Date: 10/26/04


Date: Mon, 25 Oct 2004 19:37:00 -0500

It's nice to see other people doing language-laywering. :-)
Bjorn's interpretation is exactly right. Note that the meaning of words in
the standard is the same as their conventional English meaning if they are
not otherwise defined, and that certainly applies to "other".

              Randy Brukardt.

"Björn Persson" <spam-away@nowhere.nil> wrote in message
news:g2wed.6882$d5.58654@newsb.telia.net...
Georg Bauhaus wrote:
> Björn Persson <spam-away@nowhere.nil> wrote:
> : Georg Bauhaus wrote:
> :
> :> By the last sentence of (10),
> :> the ultimate ancestor (T) "is not a descendant of any other type".
> :> So if T is the ultimate ancestor, it is not a descendant of T.
> :> Which it is by the first sentence of (10).
> :> I must be missing something. Specific types?
> :
> : Maybe it's the word "other" you're missing?
>
> I don't speak English. Is there a mix of defined (linguistic)
> "ambiguity" (T descends from itself) and assumed clarity of "other"
> in this paragraph? (Is there a well defined mathematical meaning of
> "other" in general, not just in paragraph 3.4.1(10)? What is the set
> of "not any other types"?)

Oh come on! I'm sure German has the same construct. "Other" implies
"other than X", and X has got to be mentioned or otherwise apparent from
the context. The sentence is as follows:

"The ultimate ancestor of a type is the ancestor of the type that is not
a descendant of any other type."

There are two types mentioned that are possible candidates for X. One,
T1, is being defined as "the ultimate ancestor". The other, T2, is
spoken of as "a type" and "the type". It is stated that T1 is an
ancestor of T2, which means that T2 is a descendant of T1. It is also
stated that T1 is not a descendant of any type except X. So which of T1
and T2 is X?

If T1 and T2 are the same type, then they are both X, and the sentence
says that the ultimate ancestor T of a type T is the ancestor T of the
type T that is not a descendant of any type except T. No problem.

If T1 and T2 are not the same, and T1 is X, then it says that in order
to be the ultimate ancestor, T1 must not be a descendant of any type
except T1. That is, "other" means "other than itself".

If T1 and T2 are not the same, and T2 is X, then it says that in order
to be the ultimate ancestor, T1 must not be a descendant of any type
except T2. But T1 is an ancestor of T2 so it can't be a descendant of
T2, and then T1 isn't allowed to be a descendant of any type at all. Not
  only does this cause a contradiction, but it's also terribly
convoluted. Why would anyone write "any other type" if "any type" would
mean the same thing? Obviously they don't mean that T2 is X.

> : By the way, did you notice that class-wide types aren't ancestors or
> : descendants of themselves?
>
> Yes, and class-wide types don't have parents or ancestors at all,
> do they?

Yes they have. T is an ancestor of T'Class. I'd assume it's the parent
too, but I haven't found a proof for that.

--
Björn Persson                              PGP key A88682FD
                    omb jor ers @sv ge.
                    r o.b n.p son eri nu


Relevant Pages

  • Re: Multi Dimensional Array Reallocation ?
    ... > ISTM that it makes sense to put the link data and logic in the ancestor. ... >> The problem is that descendant fields of childs can not be accessed via ... The link fields reference abstract classess, however they are not ment to ... access violations when wrongly using typecasts, much less typecasts needed, ...
    (alt.comp.lang.borland-delphi)
  • Re: Charles I - Regicides
    ... 3.Sir John Bourchier 1595-1660 descendant of King Edward III and ancestor of Dukes of Richmond, ...
    (soc.genealogy.medieval)
  • Re: Is T an ancestor of T?
    ... "The ultimate ancestor of a type is the ancestor of the type that is not ... which means that T2 is a descendant of T1. ... > Yes, and class-wide types don't have parents or ancestors at all, ...
    (comp.lang.ada)
  • Re: Is T an ancestor of T?
    ... descendant of a type T1, then T1 is called an ancestor of T2." ... that is, the one that isn't derived, is the ultimate ancestor. ... descendants of the root types of their classes. ...
    (comp.lang.ada)
  • Re: Charles I - Regicides
    ... descendants, it turned out to be he was a descendant of King Edward III. ... 3.Sir John Bourchier 1595-1660 descendant of King Edward III and ancestor of ... Lord Grey of Groby 1621/23-1657 descendant Edward III ...
    (soc.genealogy.medieval)