Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§4.4, p. 353 — the Gentle AdaBoost update is f_m(x) = P_w(y = 1|x) − P_w(y = −1|x)

Proved
AddLogReg.Gentle.update_eq_wprob_diff

by mikedeng1 · Oct 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

boostinggentle-adaboostp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let ν\nuν be a probability measure on X×{−1,1}X\times\{-1,1\}X×{−1,1}, the joint law of (x,y)(x,y)(x,y), let F:X→RF : X\to\mathbb RF:X→R, fix x∈Xx\in Xx∈X, and let w(x,y)=e−yF(x)w(x,y) = e^{-yF(x)}w(x,y)=e−yF(x). The population Gentle AdaBoost increment fm(x)=Ew(y∣x)f_m(x) = E_w(y\mid x)fm​(x)=Ew​(y∣x) is the difference of the weighted class probabilities:

Ew(y∣x)=Pw(y=1∣x)−Pw(y=−1∣x),E_w(y\mid x) = P_w(y = 1\mid x) - P_w(y = -1\mid x),Ew​(y∣x)=Pw​(y=1∣x)−Pw​(y=−1∣x),

where Pw(y=b∣x)=Ew[1[y=b]∣x]P_w(y = b\mid x) = E_w[1_{[y=b]}\mid x]Pw​(y=b∣x)=Ew​[1[y=b]​∣x].

This is how the paper contrasts Gentle AdaBoost with Real AdaBoost, whose increment is half the log-ratio of the same two weighted probabilities.

Preamble
import Mathlib
import Definitions.Def_AddLogReg_Gentle_Setting

open MeasureTheory ProbabilityTheory
Formal statement
namespace AddLogReg.Gentle

theorem update_eq_wprob_diff {X : Type*} [MeasurableSpace X] (ν : Measure (X × Bool))
    [IsProbabilityMeasure ν] (F : X → ℝ) (x : X) :
    AddLogReg.ExpCrit.wCondExp ν F (fun _ b => AddLogReg.ExpCrit.sgn b) x = wProb ν F true x - wProb ν F false x := by sorry

end AddLogReg.Gentle
Source
Friedman, Hastie and Tibshirani, Additive logistic regression: a statistical view of boosting, Ann. Statist. 28 (2000), pp. 353–354, §4.4, paragraph after the Derivation of Result 4
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 7, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me