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
1 · Prerequisites
- 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
Finite-sample AdaBoost.M1 with half-log coefficients
Definition
Fix a finite training sample with , , and , a finite round limit , and a weak-learning routine which at each requested round returns a classifier for the current observation weights. Initialize and . At round , compute the weighted error . If , halt and return itself as a perfect classifier with zero training error; do not form an infinite coefficient. If , halt and report that the weak-learning condition failed. For , set
update , and set . After completed weak rounds, return the classifier , where for and for . Thus ties are assigned to . The coefficient convention is the half-log convention; multiplying every coefficient by the same positive factor does not change the sign classifier. The definition makes no claim about test error or generalization.
Negative-gradient pseudo-residuals for a finite empirical loss
Definition
Let , let be a finite sample with and , let be a score function, and let be finite-valued. Assume that for each , the one-variable function is differentiable at . For a score vector , define the empirical score loss . The pseudo-residual at observation for is
The sample-score gradient, when its coordinate partial derivatives exist, is the vector . The sample pseudo-residual vector is ; the word “pseudo” distinguishes these score derivatives from derivatives with respect to parameters of a restricted model.
Pseudo-residuals are the negative gradient in sample-score space
Statement
Let , let be a finite sample, let , and let be open with for every . Suppose each scalar loss is defined on and differentiable at . Write and define by . Then is totally differentiable at , its derivative in a score increment is
and its Euclidean gradient is . For these possibly local losses, define the pseudo-residual by ; this agrees with the usual definition when the loss is finite-valued on all of . Then the pseudo-residual vector associated with on this sample is exactly in sample-score space.
Statement references
Facts & Assumptions
Given: Sample scores in an open scalar domain and scalar losses differentiable at those scores.
Negative-gradient pseudo-residuals for a finite empirical loss: For a finite-valued loss on whose sampled sections are differentiable at the scores, the empirical score loss is , and the pseudo-residual is .
The total (Fréchet) derivative as the linear first-order approximation with remainder: Total differentiability at a point means a linear first-order approximation whose remainder divided by the increment norm tends to zero.
The chain rule for total derivatives: : If is totally differentiable at and at , then is totally differentiable and .
Sums and scalar multiples of totally differentiable maps are totally differentiable with the expected derivatives: Finite sums of totally differentiable maps are totally differentiable and their derivatives add.
Directional derivatives and partial derivatives of a map : A coordinate partial derivative is the directional derivative along the corresponding standard basis direction.
A total derivative computes every directional derivative, and its matrix is the Jacobian: When a total derivative exists, its value on each coordinate direction is the corresponding partial derivative.
The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case: For a scalar-valued function, the Euclidean gradient is the vector of coordinate partial derivatives in standard coordinate order.
Proof
For each , let and . The coordinate projection has derivative because its linear approximation has zero remainder. Differentiability of at gives , so .
By the chain rule, is totally differentiable and .
Since , the finite-sum rule gives .
Evaluating step 3.1 on the coordinate direction that changes only gives by [F5] and [F6], so [F7] gives the asserted gradient. Extend the sampled loss sections by zero outside to obtain a finite-valued loss on . Since is open, this extension agrees with each original section near and has the same derivative there. Thus [F1] applied to the extension yields exactly the locally defined , independently of the values outside . Consequently , also agreeing with [F1] whenever the original loss is globally defined.
AdaBoost's exponential training-loss and nonpositive-margin bound
Statement
Let be a finite sequence of completed rounds of finite-sample AdaBoost.M1, with weighted errors , scores , and . Then
and
The empty product for is . Under the algorithm's tie rule, the empirical classification error is also at most this product. This is a finite training-margin bound only and makes no test-generalization claim.
Statement references
Facts & Assumptions
Given: A fixed finite binary-labeled sample and a finite sequence of completed rounds with .
Finite-sample AdaBoost.M1 with half-log coefficients: The initialization is and .
Finite-sample AdaBoost.M1 with half-log coefficients: The weighted error is .
Finite-sample AdaBoost.M1 with half-log coefficients: For , and .
Finite-sample AdaBoost.M1 with half-log coefficients: The update is and .
Finite-sample AdaBoost.M1 with half-log coefficients: The classifier uses for and for , so ties are assigned to .
Proof
The initial weights sum to by [F1]. Inductively assume the weights at round sum to ; by [F2], the total weights on correct and incorrect examples are and . For a temporary coefficient , the exponential reweighting sum is . Its second derivative is positive, and vanishes uniquely at , which equals the algorithm's coefficient by [F3]. Substitution gives . By [F4], the next weights divide the reweighted terms by this exact sum, so they also sum to . Induction proves normalization at every round and the stated minimization formula.
Put . By [F1], and . If , then [F4] gives . Step 1.1 establishes that the weights normalize, so the update denominator is the sum of the reweighted terms and . Induction yields .
If , then ; if the margin is positive, its indicator is zero. Hence each nonpositive-margin indicator is at most its exponential term, and summing and applying step 2.1 proves the stated bound. By [F5], a misclassified positive-label example has negative margin and a misclassified negative-label example has nonpositive margin, so training error is no larger than the bounded nonpositive-margin fraction.
Exact-line-search gradient tree boosting on a finite sample
Definition
Fix a finite regression sample with , for a finite , and . Let be a finite-valued per-observation loss, differentiable in its second argument at every score used. Choose a finite round count and finite integer tree-depth cap . The algorithm is admissible only when the following required minima are attained: an initial constant minimizer and, at every round, a line minimizer in each terminal leaf. For any admitted run, choose any one such minimizer at each finite stage.
Initialize with For each round , perform the following steps.
-
For each observation compute the negative score derivative
-
Run finite-depth CART regression-tree growth, using squared error and depth cap , on the responses at features . Let its nonempty terminal feature regions be ; their training-index sets partition . This tree fit approximates the unrestricted negative score gradient. Its fitted leaf means are used to determine the regression-tree fit and regions, but are not the boosting update offsets.
-
For each leaf region choose an attained exact line minimizer In particular, zero is an admissible comparison offset.
-
Update
The output is . Because the run has finitely many rounds and finitely many leaves, choosing one attained minimizer at each stage requires no axiom of choice. The defined variant uses the full training sample and exact leafwise line minimization; shrinkage and subsampling are separate variants. This definition asserts no convergence or generalization result.
Definition references
Finite-sample pseudo-residual and score-loss conventions
The pseudo-residual vector is the negative score-space gradient
Finite regression-tree regions and nonempty leaf sample sets
The finite-depth CART regression-tree fit
Finite output and nonempty leaves
Alexey Natekin and Alois Knoll, “Gradient boosting machines, a tutorial,” §§2.3–2.4
Gradient tree boosting does not increase empirical loss
Statement
For any finite run of the defined gradient tree boosting algorithm for which the initial constant and every leaf line minimizer are attained, let . At every completed round , , and hence . This is a finite-step empirical-loss statement only; it asserts no convergence or generalization result.
Statement references
Facts & Assumptions
Given: One completed finite boosting round, the finite training sample, and the attained leafwise minimizers.
Exact-line-search gradient tree boosting on a finite sample: The tree's terminal regions determine the update, and each attains the minimum of the corresponding leaf loss over all real offsets.
Empirical axis-aligned binary decision trees: A finite tree has nonempty terminal sample sets that partition the training indices, and each training observation follows its unique leaf path.
Greedy CART minimizes the listed split loss and terminates: With finite depth, the CART procedure returns a finite tree with nonempty children at every split.
Proof
Fix a completed round . By [F2] and [F3], its leaf index sets are finitely many nonempty sets whose disjoint union is .
For every leaf , its attained minimizer has loss no greater than the admissible offset , so .
By the update rule, each training score uses the offset for its unique leaf. Summing the inequalities in step 2.1 over the partition in step 1.1 gives . Applying this to each of the finitely many rounds yields .
4 · Examples, counterexamples and false statements
None yet.
Sources
- Trevor Hastie, Robert Tibshirani, and Jerome Friedman, The Elements of Statistical Learning, 2nd ed., 12th printing
- Robert E. Schapire, "The Boosting Approach to Machine Learning: An Overview," MSRI Workshop on Nonlinear Estimation and Classification, 2002
- Alexey Natekin and Alois Knoll, "Gradient boosting machines, a tutorial," Frontiers in Neurorobotics 7 (2013), Article 21