Alphabeta Math
Pipeline-generated
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.

✓ 3 results · all verified · 2 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 1 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

AdaBoost and gradient boosting — Examples

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

None yet.

4 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

AdaBoost stops at a perfect round

Example

On the two-observation sample (x1,y1)=(0,+1) and (x2,y2)=(1,−1), let the first base classifier return h1(x1)=+1 and h1(x2)=−1. Its weighted error is e1=0, so AdaBoost stops and returns h1 with zero training error; no coefficient is formed.

Facts & Assumptions

Given: The stated sample, labels, and classifier outputs.

[F1]

Finite-sample AdaBoost.M1 with half-log coefficients: When em=0, the algorithm halts and returns hm itself as a perfect classifier without forming a coefficient.

Verification

1.1givenalgebra

Both predictions equal their labels, so the number of training mistakes is 0 and e1=0 for the initial uniform weights.

2.1F1step 1.1∎

By [F1], the algorithm stops at this round and returns h1; since both predictions match, its training error is 0 and no logarithmic coefficient is evaluated.

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passjudge pass (gpt-6-luna)Open item page →

Two AdaBoost rounds with normalized weights

Example

Take four observations with labels (+1,+1,−1,−1), first classifier predictions (+1,+1,+1,−1), and second classifier predictions (−1,+1,−1,−1). The two weighted errors are 1/4 and 1/6; the normalized weights after the first and second rounds are (1/6,1/6,1/2,1/6) and (1/2,1/10,3/10,1/10). The final margins are (12log⁡(3/5),12log⁡(15),12log⁡(5/3),12log⁡(15)), so one of four examples has nonpositive margin. The normalizer product is 15/6, which bounds the empirical nonpositive-margin fraction.

Facts & Assumptions

Given: The four labels and two classifier prediction vectors stated in the Example.

[F1]

Finite-sample AdaBoost.M1 with half-log coefficients: For 0<em<1/2, the algorithm uses am=12log⁡((1−em)/em), Zm=2em(1−em), the normalized update wi(m+1)=wi(m)e−amyihm(xi)/Zm, and Fm=Fm−1+amhm.

[F2]

AdaBoost's exponential training-loss and nonpositive-margin bound: For completed weak rounds, the fraction with nonpositive margin is at most ∏mZm.

Verification

1.1givenF1algebra

Initially each weight is 1/4. The first classifier misclassifies only observation 3, so e1=1/4, a1=12log⁡3, and Z1=3/2.

2.1F1step 1.1algebra

The first update gives weight (1/4)ea1/Z1=1/2 to observation 3 and weight (1/4)e−a1/Z1=1/6 to each other observation, hence w(2)=(1/6,1/6,1/2,1/6).

3.1givenF1step 2.1algebra

Under w(2), the second classifier misclassifies only observation 1, so e2=1/6, a2=12log⁡5, and Z2=5/3.

4.1F1step 3.1algebra

The second update gives weight 1/2 to observation 1, 1/10 to observations 2 and 4, and 3/10 to observation 3, so w(3)=(1/2,1/10,3/10,1/10).

5.1F1F2step 1.1step 3.1algebra∎

The margins yiF2(xi) are respectively a1−a2=12log⁡(3/5)<0, a1+a2=12log⁡15>0, a2−a1=12log⁡(5/3)>0, and a1+a2>0. Thus the nonpositive-margin fraction is 1/4, while Z1Z2=15/6 and 1/4≤15/6. By [F2] this is within the theorem's empirical bound.

ExampleConstruction: AI-generatedVerification: AI-generatedprecheck passOpen item page →

A one-leaf fit can project a nonzero gradient to zero

Example

Take x1=0, x2=1, labels y1=+1, y2=−1, squared loss ℓ(y,z)=12(z−y)2, initial scores f0(x1)=f0(x2)=0, and maximum tree depth 0. The pseudo-residual vector is (1,−1), but its one-leaf least-squares tree fit predicts 0 on both observations. Let Φ(z1,z2)=12(z1−1)2+12(z2+1)2. A vector u is a strict descent direction at 0 when the derivative of t↦Φ(tu) at t=0 is negative. The fitted vector u=(0,0) has derivative 0, although the unrestricted score gradient is (−1,+1)≠0. The exact leaf loss minimizer is also 0, so the empirical loss stays at 1.

Facts & Assumptions

Given: The two-observation sample, squared loss, zero initial scores, and depth cap 0 stated in the Example.

[F1]

Negative-gradient pseudo-residuals for a finite empirical loss: The pseudo-residual at observation i is the negative second-argument derivative of its loss at the current score.

[F2]

Pseudo-residuals are the negative gradient in sample-score space: The pseudo-residual vector is the negative Euclidean gradient of the empirical score loss.

[F3]

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.

[F4]

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.

[F5]

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.

[F6]

Directional derivatives and partial derivatives of a map U⊆Rm→Rn: The directional derivative in direction u is the derivative of the line map t↦Φ(0+tu) at t=0.

Verification

1.1givenF1F2algebra

For any constant c, the initial empirical loss is 12(c−1)2+12(c+1)2=c2+1, so c0=0 is an attained minimizer. At these scores, [F1] gives residuals r1=1 and r2=−1, and [F2] gives ∇Φ(0)=(−1,+1)≠0.

2.1F3F4step 1.1algebra

With depth cap 0, [F4] leaves the root as a single terminal leaf; by [F3] it contains both observations. Its regression prediction is their residual mean (1+(−1))/2=0, so the fitted direction on the sample is u=(0,0).

3.1F2F6step 2.1

Since tu=(0,0) for every real t, the line map in [F6] is constant and its derivative is 0. Thus u is not a strict descent direction, even though the unrestricted gradient in step 1.1 is nonzero.

4.1F5step 1.1step 2.1algebra∎

The sole leaf's loss at offset γ is 12(γ−1)2+12(γ+1)2=γ2+1, whose attained minimum is 1 at γ=0. By [F5], the algorithm updates neither training score, so the loss remains 1.