Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(32), p. 352 — s(x) = ∂E[l(F+f)|x]/∂f(x) at f(x)=0 equals 2E(y* − p(x)|x)

Proved
AddLogReg.LogitBoost.eq_32

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

boostinglogistic-regressionlogitboostnewton-methodp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let ν\nuν be a probability measure on X×{0,1}X\times\{0,1\}X×{0,1}, the joint law of (x,y∗)(x, y^*)(x,y∗), let F:X→RF : X\to\mathbb RF:X→R be the current fit and p(x)=eF(x)/(eF(x)+e−F(x))p(x) = e^{F(x)}/(e^{F(x)}+e^{-F(x)})p(x)=eF(x)/(eF(x)+e−F(x)). Fix x∈Xx\in Xx∈X and consider the conditional expected log-likelihood of the update F(x)+tF(x)+tF(x)+t,

ℓx(t)=E[ 2y∗(F(x)+t)−log⁡(1+e2(F(x)+t)) ∣ x].\ell_x(t) = E\Big[\,2y^*(F(x)+t) - \log\big(1+e^{2(F(x)+t)}\big)\ \Big|\ x\Big].ℓx​(t)=E[2y∗(F(x)+t)−log(1+e2(F(x)+t)) ​ x].

Then ℓx\ell_xℓx​ is differentiable at t=0t=0t=0 with derivative

s(x)=∂E l(F(x)+f(x))∂f(x)∣f(x)=0=2E(y∗−p(x)∣x).s(x) = \frac{\partial E\,l(F(x)+f(x))}{\partial f(x)}\Big|_{f(x)=0} = 2E\big(y^*-p(x)\mid x\big).s(x)=∂f(x)∂El(F(x)+f(x))​​f(x)=0​=2E(y∗−p(x)∣x).

This is the score of the Newton step in the Derivation of Result 3.

Formalization Note The derivative is stated with HasDerivAt, so the statement includes differentiability. Conditional expectations are integrals against ν.condKernel x; the statement holds for every xxx.

Preamble
import Mathlib
import Definitions.Def_AddLogReg_LogitBoost_Setting

open MeasureTheory ProbabilityTheory
Formal statement
namespace AddLogReg.LogitBoost

theorem eq_32 {X : Type*} [MeasurableSpace X] (ν : Measure (X × Bool)) [IsProbabilityMeasure ν]
    (F : X → ℝ) (x : X) :
    HasDerivAt (condLogLik ν F x)
      (2 * ∫ b, (ystar b - symLogistic (F x)) ∂(ν.condKernel x)) 0 := by sorry

end AddLogReg.LogitBoost
Source
Friedman, Hastie and Tibshirani, Additive logistic regression: a statistical view of boosting, Ann. Statist. 28 (2000), p. 352, (32)
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