|
|
|
|
ordered tree
|
(Definition)
|
|
|
A tree is, by definition, a partially ordered set. An ordered tree is a tree equipped with a linear extension. In other words, its a linear order on the nodes of the tree that obeys the parent-child relationship of the tree. By Zorn's lemma, every tree can be ordered. When a tree is finite, the linear extension of the tree can be constructed inductively:
- First, label the nodes of
: each label is an -tuple of positive integers, for some ,
- the root of
is labeled ,
- if a node
of has been labeled
, and if the children of are
, then label each by
.
From this labeling process, we see that the (direct) children of the root have labels
. In general, if a node is of level , its label is a -tuple starting with . It is easy to see that each label corresponds to a unique node of : for if two distinct nodes are of different level, their labels are clearly different. However, if they are of the same
level, then the last components of their labels are distinct.
- Next, order the labels of the nodes lexicographically. In other words, given an
-tuple
and an -tuple
, compare them componentwise, starting from the first. There are two cases:
- either all
components match, where
, or
-
, but for all , where
.
Then iff in the first case, or in the second. This ordering on the labels induces an ordering on the nodes: for nodes and with labels
and ,
 iff 
This ordering on the nodes is linear, and extends the partial ordering on .
For example, below are two diagrams of the same tree. The one on the right is labeled by the method above:
By ordering the labels, we get the corresponding ordering of the nodes:
|
"ordered tree" is owned by CWoo.
|
|
(view preamble | get metadata)
Cross-references: right, diagrams, induces, ordering, iff, order, components, easy to see, level, labeling, children, root, integers, positive, label, finite, Zorn's lemma, nodes, linear order, linear extension, partially ordered set, tree
There are 2 references to this entry.
This is version 2 of ordered tree, born on 2009-08-22, modified 2009-08-22.
Object id is 11871, canonical name is OrderedTree.
Accessed 306 times total.
Classification:
| AMS MSC: | 03E05 (Mathematical logic and foundations :: Set theory :: Other combinatorial set theory) |
|
|
|
|
|
|
Pending Errata and Addenda
|
|
|
|
|
|
|
|
|
|
|