eigenclass frame. Similarly to a superstructure in non-standard analysis, V has urelement-like sets on the ground level. However, the powerset cumulation goes to ω + 1 which is one stage more than in superstructures. The V set is recognized as an essential structure of object membership with following constituents:
In addition to the above structure, the embedding map, .ν, preserves primary objects. Moreover, a partial correspondence between ∈ and ϵ is established. For every x, y from O.ν,
Author
|
Document date
|
For a subset X of ω + 1, we write sup(X) for the supremum of X – the least y from ω + 1 such that x ≤ y for every x from X. Equivalently,
A relation S is the well-founded restriction of R if S is the domain-restricton of R to the set of elements from the domain of R that are well-founded in R, i.e.
Proposition:
classis not used in the set-theoretic sense. Instead, the terminology from [] is applied, i.e.
classmeans
primary non-terminal object.
Inheritance, ≤, is a partial order. | |
The eigenclass map, .ec, is an order-embedding of (O, ≤) into itself. | |
Objects from eigenclass chains of terminals are minimal in inheritance. | |
Every eigenclass is a descendant of the inheritance root, O.ec ⊆ r.↧. | |
The eigenclass chain of r (denoted R – see below) has no lower bound in ≤. In particular, r.ec ≠ r. |
Proposition A:
Proposition B:
Proposition A: For a structure (O, ϵ) the following are equivalent:
Proposition B: For a structure (O, ϵ) the following are equivalent:
For a ranked object x we denote x.d the supremum of lengths n of ϵ-chains ending in x. (So that x.d equals ω if there is no greatest n.)
Proposition:
Observations:
A
class is the only bounded object.
(ⅰ) | (ⅱ) |
|
|
Proposition:
(A) |
If x is non-terminal then
it has non-empty ∊-preimage and
all objects y
with equal or larger ∊-preimage are ancestors of x, i.e.
|
(B) |
If x is a class then
there exist a, b from x.∍ such that
|
Proposition:
(1) |
For a non-terminal object x, the following are equivalent:
|
(2) |
For an S1v structure the following are equivalent:
|
(3) | Every ∊-A-consistent S1v structure is ranked. |
Proof:
(1) |
Every object x is an upper bound of the set
X = { a.ec | a ∊ x }.
By definition, x is the least upper bound of X iff
for every object y the following are equivalent:
Moreover, x ≠ ∨∅
since otherwise x would be a lower bound of R,
violating |
(3) | Let x be an object. Since ∊ is well-founded, there is a finite chain x0 ∊ x1 ∊ ⋯ ∊ xn = x such that x0.∍ is empty. Since x0 is ∊-A-consistent it is necessarily terminal. |
The example (ⅰ) shows that ∊-A-consistency of all classes does not necessarily imply that all objects are ∊-A-consistent. We have
A
.ec.∍ = { a
.ec(i) | i > 0 },
B
.∍ = A
.ec.∍ ⊎
{ b
.ec(i) | i > 0 },
A
.ec.∍ ⊆ B
.∍.
But A
.ec ≰ B
,
therefore A
.ec is not ∊-A-consistent.
(The set of objects that are not ∊-A-consistent equals
{ A
.ec(i) | i > 0 }.)
(ⅰ) | (ⅱ) |
|
|
M
class is not ∊-B-consistent.
Observations:
In the following example, the F
class is a leaf that
is freely attached to the M
class.
Dashed brown arrows indicate the domain-restriction of inheritance
(in the reflexive transitive reduction)
to the eigenclass chain of F
.
This is in order to illustrate proposition (A) below.
| |
F
,
the M
class is not ∊-(A-)consistent
– because
M
.∍ = N
.∍ = {A
, B
}.
After a free attachment of F
to M
,
the M
class becomes ∊-consistent
(but not so the N
class).
Proposition:
(A) |
Given an S1v structure S = (O, ϵ)
and an object p ∈ O,
there exists an
S1v structure S' = (O', ϵ)
and an object x
such that
|
(B) |
In an S1v structure with upper-finite inheritance,
i.e. such that
|
(C) |
In an S1v structure with upper-finite inheritance,
(ⅰ)
and
(ⅱ)
are equivalent:
|
(D) |
For an object x, the following are equivalent:
|
(E) |
For every object p,
each of the following conditions (a) or (b) is sufficient for
p.ec(i) to be ∊-consistent for every i ≥ 0:
|
(F) |
Let
S = (O, ϵ),
S' = (O', ϵ), x, p be like in (A),
i.e.
S' is obtained from S by a free attachment of
x to p.
Then for every object y from O the following holds:
|
Proposition: Every S1v structure is a substructure an ∊-consistent S1v structure.
Proof:
Let S = (O, .ec, ≤, r) be an
S1v structure.
We systematically perform free attachments of new instances as follows.
new primary instances.
(1) | V = ℙ⋆ω+1(U). |
(2) | Elements of U are minimal in (V, ∈). |
(3) | Elements of U are minimal in (V, ⊆). |
Observations:
adaptationof the powerset operator to the eigenclass frame. For every x ∈ V,
(4) | ∅ ∉ V. |
Proposition:
elementsrather than
objects.
ϵ-rankedover
ranked.
x.ec = {x} | if x.pr is an urelement, |
x.ec = ℙ(x) ∖ {∅} | iff x ∈ r, |
x.ec ⊂ x | iff x ϵ x. |
Observations:
The following table shows the correspondence between some expressions for the S1v structure (O, .ec, ⊆, r).
Terminology | Abstract expression | Set expression |
Inheritance | (O, ≤) | (O, ⊆) |
Inheritance root | r | O ∩ ∪O |
Eigenclass of x | x.ec | ℙ(x) ∩ r |
Set of descendants of x | x.↧ | ℙ(x) ∩ O (= x.ec ∩ O) |
Proposition: An embedding sequence (using notation from the previous subsection) satisfies the following embedding properties:
(A) | The .νi map is an isomorphism between (O, ∊, ≤) and (O.νi, ∈, ⊆), for every i ≤ ω. |
(B) | The .ν map is an isomorphism between primorder algebras (O, .ec, .pr) and (O.ν, .ec, .pr). |
(C) |
The inheritance roots correspond, i.e.
r.ν = Vω.
As a consequence, O.ν is an object system whose S1v structure is isomorphic to S via .ν. |
Proof:
(A) |
We first show that for every objects x, y from O,
The opposite implication in (b) is shown by well-founded induction on (O.ν0, ∈). Let x.ν0 ∈ y.ν0. By definition of y.ν0, there exists an object b such that b ∊ y and x.ν0 ∈ b.ν0.ec. We obtain
| ||||||||||||||||
(B) |
We show that for every object x and every natural i,
| ||||||||||||||||
(C) |
We show that for every object x
and every natural i,
|
Model Theory, Studies in Logic and the Foundations of Mathematics (3rd ed.), Elsevier, 1990, | ,|
Introduction to lattices and order, Cambridge University Press 2002 | ,|
Object Membership: The core structure of object-oriented programming, 2012, http://www.atalon.cz/om/object-membership/ | ,|
The Ruby Object Model: Data Structure in Detail, 2012, http://www.atalon.cz/rb-om/ruby-object-model | ,
January | 22 | 2013 | The initial release. |