|
| 1 | +% Part: sets-functions-relations |
| 2 | +% Chapter: relations |
| 3 | +% Section: trees |
| 4 | + |
| 5 | +\documentclass[../../../include/open-logic-section]{subfiles} |
| 6 | + |
| 7 | +\begin{document} |
| 8 | + |
| 9 | +\olfileid{sfr}{rel}{tre} |
| 10 | +\olsection{Trees} |
| 11 | + |
| 12 | +A particular kind of partial order which plays an important role in |
| 13 | +all parts of logic is a \emph{tree}. Finite trees occur in elementary |
| 14 | +parts of logic: for example, !!{formula}s can be understood in terms |
| 15 | +of their decomposition into a syntax tree, while !!{derivation}s in |
| 16 | +natural deduction also take the form of a finite tree. |
| 17 | +% |
| 18 | +Infinite trees appear already in the proof of the completeness |
| 19 | +theorems for propositional and first-order logic, and are used |
| 20 | +throughout mathematical logic. For example, in descriptive set theory, |
| 21 | +many pointclasses of real numbers (such as Borel sets or analytic sets) |
| 22 | +have representations in terms of trees. |
| 23 | + |
| 24 | +\begin{defn}[Tree] |
| 25 | +A \emph{tree} is a pair $T = \tuple{X,\le}$ such that $X$ is a set |
| 26 | +and $\le$ is a partial order on $X$ with a unique minimal element |
| 27 | +$r \in X$ (called a \emph{root}) such that for all $t \in X$, |
| 28 | +the set $\Setabs{s}{s \le t}$ is well-ordered by $\le$. |
| 29 | +\end{defn} |
| 30 | + |
| 31 | +\begin{defn}[Successors] |
| 32 | +Suppose $T = \tuple{X,\le}$ is a tree. |
| 33 | +% |
| 34 | +If $t,s \in X$, $t < s$, and there is no $s' \in X$ such that |
| 35 | +$t < s' < s$, then we say that $s$ is a \emph{successor} of $t$. |
| 36 | +\end{defn} |
| 37 | + |
| 38 | +\begin{defn}[Infinite and finitely branching trees] |
| 39 | +Suppose that $T = \tuple{X,\le}$ is a tree. |
| 40 | +% |
| 41 | +$T$ is said to be \emph{infinite} if $X$ is an infinite set, |
| 42 | +\emph{finite} otherwise. |
| 43 | +% |
| 44 | +If $T$ is such that every $t \in X$ has only finitely many |
| 45 | +successors, then we say that $T$ is \emph{finitely branching}. |
| 46 | +\end{defn} |
| 47 | + |
| 48 | +\begin{defn}[Branches] |
| 49 | +Given a tree $T = \tuple{X,\le}$, a \emph{branch} of $T$ is a |
| 50 | +maximal chain in $T$, i.e.\ a set $B \subseteq X$ such that |
| 51 | +for any $a,b \in B$ either $a \le b$ or $b \le a$, and for any |
| 52 | +$c \in X \setminus B$ there exists $d \in B$ such that neither |
| 53 | +$c \le d$ nor $d \le c$. |
| 54 | +% |
| 55 | +We use $[T]$ to denote the set of all branches of $T$. |
| 56 | +\end{defn} |
| 57 | + |
| 58 | +\begin{ex} |
| 59 | +A classic example of a finitely branching tree is the |
| 60 | +\emph{binary tree} of finite sequences of $0$s and $1$s, |
| 61 | +sometimes denoted $\{0,1\}^*$, ordered by the extension |
| 62 | +relation $\sqsubseteq$ (e.g., $101 \sqsubseteq 101101$). |
| 63 | +Since any binary string can always be extended by adding |
| 64 | +a $0$ or a $1$ on the end, this tree contains infinitely |
| 65 | +many elements. Its root is the empty sequence $\emptyseq$. |
| 66 | +\end{ex} |
| 67 | + |
| 68 | +\begin{prop}[K\H{o}nig's lemma] |
| 69 | +If $T = \tuple{X,\le}$ is a finitely branching infinite tree, |
| 70 | +then $T$ has an infinite branch. |
| 71 | +\end{prop} |
| 72 | + |
| 73 | +A special case of K\H{o}nig's lemma widely used in |
| 74 | +computability theory, known as \emph{weak K\H{o}nig's lemma}, |
| 75 | +is the following: |
| 76 | +any infinite subtree of $\{0,1\}^*$ has an infinite branch. |
| 77 | + |
| 78 | +\end{document} |
0 commit comments