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.
Weakest-link pruning terminates at the root
Statement
Let be a finite empirical binary tree with terminal nodes and nonempty sample set at every leaf. The weakest-link pruning procedure that repeatedly collapses a current nonterminal node minimizing terminates at the root leaf after at most collapses. This is a termination statement only; it does not assert global cost-complexity optimality.
Statement references
Facts & Assumptions
Given: A finite empirical binary tree whose internal nodes each have two nonempty child sample sets.
Empirical axis-aligned binary decision trees: Every internal node splits its sample set into two nonempty child sets, and the terminal sample sets partition the original sample.
Cost-complexity criteria for subtrees: For a current nonterminal node , , where is its current descendant subtree.
Weakest-link pruning of a finite tree: At each iteration the algorithm chooses a current nonterminal node minimizing , collapses its descendant subtree to a leaf, and stops when the current tree is the root leaf.
Proof
If the current tree has more than one leaf, its root is nonterminal. Every nonterminal node has two finite child subtrees. Starting at either child and following descendants must reach a leaf because the tree is finite, so and every denominator in [F2] is positive. The tree has finitely many nonterminal nodes, and every loss in [F2] is a finite real number because the sample and chosen impurity formulas are finite. Hence the candidate quotients form a finite nonempty set of real numbers, which has a minimum by repeated pairwise comparison.
By [F3], the algorithm selects a minimizing candidate, using its fixed tie rule. If that node has descendant leaves, collapsing it replaces those leaves by one, reducing the current leaf count by . The resulting tree is still a finite subtree of .
Starting from leaves, each collapse strictly decreases the positive integer leaf count, so there are at most collapses. If more than one leaf remains, the root is nonterminal and is among the available candidates by step 1.1; therefore the algorithm cannot stop early. A nonterminal root has at least two descendant leaves by step 1.1, so a tree with one leaf is the root leaf.
Depends on
Used by
Nothing in the library uses this result yet.
Dependency tree · one level
3 results within one dependency step 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
- Trevor Hastie, Robert Tibshirani, and Jerome Friedman, The Elements of Statistical Learning, 2nd ed., §9.2.2 (standard reference, not scraped)