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.
AdaBoost and gradient boosting — Examples
1 · Prerequisites
- AdaBoost and gradient boosting
- Binary Operations, Monoids, Groups and Subgroups
- CART trees and pruning
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Polynomial Rings, the Division Algorithm and Roots
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Simple Field Extensions and the Construction of the Complex Numbers
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Riemann Integral: Definition and Integrability
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Logical flowchart
3 · Definitions, theorems and proofs
None yet.
4 · Examples, counterexamples and false statements
AdaBoost stops at a perfect round
Example
On the two-observation sample and , let the first base classifier return and . Its weighted error is , so AdaBoost stops and returns with zero training error; no coefficient is formed.
Facts & Assumptions
Given: The stated sample, labels, and classifier outputs.
Finite-sample AdaBoost.M1 with half-log coefficients: When , the algorithm halts and returns itself as a perfect classifier without forming a coefficient.
Verification
Both predictions equal their labels, so the number of training mistakes is and for the initial uniform weights.
By [F1], the algorithm stops at this round and returns ; since both predictions match, its training error is and no logarithmic coefficient is evaluated.
Two AdaBoost rounds with normalized weights
Example
Take four observations with labels , first classifier predictions , and second classifier predictions . The two weighted errors are and ; the normalized weights after the first and second rounds are and . The final margins are , so one of four examples has nonpositive margin. The normalizer product is , which bounds the empirical nonpositive-margin fraction.
Facts & Assumptions
Given: The four labels and two classifier prediction vectors stated in the Example.
Finite-sample AdaBoost.M1 with half-log coefficients: For , the algorithm uses , , the normalized update , and .
AdaBoost's exponential training-loss and nonpositive-margin bound: For completed weak rounds, the fraction with nonpositive margin is at most .
Verification
Initially each weight is . The first classifier misclassifies only observation , so , , and .
The first update gives weight to observation and weight to each other observation, hence .
Under , the second classifier misclassifies only observation , so , , and .
The second update gives weight to observation , to observations and , and to observation , so .
The margins are respectively , , , and . Thus the nonpositive-margin fraction is , while and . By [F2] this is within the theorem's empirical bound.
A one-leaf fit can project a nonzero gradient to zero
Example
Take , , labels , , squared loss , initial scores , and maximum tree depth . The pseudo-residual vector is , but its one-leaf least-squares tree fit predicts on both observations. Let . A vector is a strict descent direction at when the derivative of at is negative. The fitted vector has derivative , although the unrestricted score gradient is . The exact leaf loss minimizer is also , so the empirical loss stays at .
Facts & Assumptions
Given: The two-observation sample, squared loss, zero initial scores, and depth cap stated in the Example.
Negative-gradient pseudo-residuals for a finite empirical loss: The pseudo-residual at observation is the negative second-argument derivative of its loss at the current score.
Pseudo-residuals are the negative gradient in sample-score space: The pseudo-residual vector is the negative Euclidean gradient of the empirical score loss.
Empirical axis-aligned binary decision trees: The root sample set contains the training indices, and a regression tree's terminal leaf sets partition those indices.
Greedy axis-aligned CART growth on a finite sample: At a node whose depth equals the maximum depth, the procedure leaves the node unsplit; regression leaf predictions are sample means.
Exact-line-search gradient tree boosting on a finite sample: Each leaf update uses an attained exact minimizer of the empirical loss over its real offset.
Directional derivatives and partial derivatives of a map : The directional derivative in direction is the derivative of the line map at .
Verification
For any constant , the initial empirical loss is , so is an attained minimizer. At these scores, [F1] gives residuals and , and [F2] gives .
With depth cap , [F4] leaves the root as a single terminal leaf; by [F3] it contains both observations. Its regression prediction is their residual mean , so the fitted direction on the sample is .
Since for every real , the line map in [F6] is constant and its derivative is . Thus is not a strict descent direction, even though the unrestricted gradient in step 1.1 is nonzero.
The sole leaf's loss at offset is , whose attained minimum is at . By [F5], the algorithm updates neither training score, so the loss remains .