How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Binary trees, defined recursively, and their size
Definition
Let be the set of all finite words over (Finite words, contiguous factors, avoidance and proper-prefix states, The natural numbers (von Neumann)), written for the empty word and for the word followed by the letter . A word is a prefix of when for some .
Definition. A binary tree is a finite set (The cardinality of a finite set) such that
- ;
- is closed under prefixes: if with then ;
- for every : if and only if .
Its elements are nodes; a node is internal when , and a leaf otherwise. The size of is the number of internal nodes, a natural number because is finite (A subset of a finite set is finite, with , and equality holds if and only if ). Write for the set of binary trees, a subset of (The power set ), and .
The trees of size . If then no node of is internal, so no node has a child; a nonempty word in would put in by clause 2 with a child of it, so . Conversely is a binary tree of size . Hence , a one-element set: the tree with no internal node at all.
The recursion, proved here because everything below uses it. Let with ; then is internal, so and, by clause 3, . Put
Both are binary trees: each contains , each is prefix-closed because is, each satisfies clause 3 because does, and each is finite because and inject them into . The internal nodes of are together with the words for internal in and for internal in , and these three families are pairwise disjoint, so The sum rule: a finite disjoint union is finite with and , and a sum over a finite index set splits along a partition gives
Conversely, for binary trees and the set is a binary tree with those two sets recovered as above, and with size . The two constructions undo one another, so for every the map is a bijection
Small cases. has the single member , and has exactly two members, obtained by attaching the size-one tree on the left or on the right.
Remarks
-
No graph theory is used, and none is available at this point in the reading order. A binary tree here is a set of node addresses: a finite prefix-closed set of binary words in which a node has two children or none. The usual picture, with a root drawn at the top and two subtrees hanging from it, is an illustration of the recursion clause above and is not a hypothesis anywhere.
-
Size counts internal nodes, not nodes. A tree of size has internal nodes and, by the recursion clause and induction, leaves; the count that matches the Catalan numbers is the one above. A statement about trees with nodes would be a different statement.
-
Why the addresses and not ordered pairs. Defining a tree as or an ordered pair of trees would need a recursion whose values are sets and whose ambient collection is not a set at this point in the development. The address encoding puts every tree inside the fixed set , so the definition is a condition rather than a construction, and the recursion clause above is then a theorem about it.
Depends on
- Finite words, contiguous factors, avoidance and proper-prefix states
- The cardinality $\lvert A\rvert$ of a finite set
- The natural numbers $\mathbb{N}$ (von Neumann)
- The power set $\mathcal{P}(x) = \{\, z : z \subseteq x \,\}$
- The sum rule: a finite disjoint union is finite with $\lvert A \cup B\rvert = \lvert A\rvert + \lvert B\rvert$ and $\lvert\bigcup_{i \in I} A_i\rvert = \sum_{i \in I}\lvert A_i\rvert$, and a sum over a finite index set splits along a partition
- The product rule: $\lvert A \times B\rvert = \lvert A\rvert\,\lvert B\rvert$, and $\big\lvert\prod_{i<m} A_i\big\rvert = \prod_{i<m}\lvert A_i\rvert$
- A subset of a finite set is finite, with $\lvert B\rvert \le \lvert A\rvert$, and equality holds if and only if $B = A$
Used by
- A map from hexagon triangulations to size-four binary trees that is not injective Counterexample
- The five Dyck paths, balanced bracket words, binary trees and pentagon triangulations at semilength 3 Example
- Each Tₙ is finite Lemma
- The trees and polygons of this page are defined by recursion and by inequalities on labels Remark
- There is a bijection Tₙ toDₙ for every n Theorem
- There is a bijection Tₙ toPₙ₊₂ for every n∈ℕ Theorem
Dependency tree · two levels
35 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- D. Guichard, An Introduction to Combinatorics and Graph Theory, §3.5 (standard reference, not scraped)