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.
Two fitted subtrees with different leaf penalties
Example
Take one predictor and the sample in regression. Let split at , and let add a split at inside 's left branch. Thus has leaves with feature values and , with predictions and ; has leaves , , and , with predictions , , and . Both trees have training residual sum of squares , but they have and leaves respectively. With penalty per leaf, their costs (training residual sum of squares plus times the number of leaves) are and . For a nonterminal node , define as its loss after collapse minus its current descendant-leaf loss, divided by the number of descendant leaves removed. In , the left branch has , while the root has , so the first weakest-link collapse is the left branch.
Each internal label in the diagrams is its split predicate. The left edge means the predicate holds and the right edge means it fails. Each leaf gives the feature values reaching it and its constant prediction.
Facts & Assumptions
Given: The three regression observations and the two subtrees described in the example.
Empirical axis-aligned binary decision trees: A nonempty regression leaf predicts its sample mean, and its residual sum of squares is .
Cost-complexity criteria for subtrees: The cost-complexity criterion is .
Cost-complexity criteria for subtrees: For a current nonterminal node, .
Weakest-link pruning of a finite tree: The current nonterminal node with least is collapsed, with the stated fixed tie rule.
Verification
In , the leaf on has mean and the leaf on has mean , so both residual sums are . Splitting the first leaf in gives singleton leaves with responses and , so also has residual sum and has one additional leaf.
By [F2], and . Thus the subtrees have equal fit and different leaf penalties.
Collapsing the left branch of has loss , equal to its descendant-leaf loss, and removes one leaf, so . Collapsing the root predicts the full-sample mean and has loss ; the current three leaves have loss , so . By [F4], the first collapse is therefore the left branch.
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.