Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

(11): the ttt-derivative of (10) is vˉ φ(βt−1)−W\bar v\,\varphi(\beta^t-1)-Wvˉφ(βt−1)−W

Proved
EngagementOpt.Survey.eq_11

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

derivativeengagement-optimizationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1real-analysis

Let β>0\beta>0β>0 with β≠1\beta\ne1β=1, vˉ≥0\bar v\ge0vˉ≥0, W>0W>0W>0, and extend the closed form (10) to real s>0s>0s>0 by

F(s)=vˉ(sβsβs−1−1β−1)−Ws.F(s)=\bar v\left(\frac{s\beta^s}{\beta^s-1}-\frac{1}{\beta-1}\right)-Ws .F(s)=vˉ(βs−1sβs​−β−11​)−Ws.

Then for every real t>0t>0t>0:

  1. FFF is differentiable at ttt with
F′(t)=vˉ φ(βt−1)−W,φ(x)=x+1x(1−ln⁡(x+1)x);F'(t)=\bar v\,\varphi(\beta^t-1)-W,\qquad \varphi(x)=\frac{x+1}{x}\left(1-\frac{\ln(x+1)}{x}\right);F′(t)=vˉφ(βt−1)−W,φ(x)=xx+1​(1−xln(x+1)​);
  1. if vˉ>0\bar v>0vˉ>0, then F′(t)>0F'(t)>0F′(t)>0 if and only if
φ(βt−1)>Wvˉ.\varphi(\beta^t-1)>\frac{W}{\bar v}.φ(βt−1)>vˉW​.

With x=βt−1x=\beta^t-1x=βt−1 (so that tln⁡β=ln⁡(x+1)t\ln\beta=\ln(x+1)tlnβ=ln(x+1)), this is the criterion (11) for E[S∣T=t]\mathbb E[S\mid T=t]E[S∣T=t] to be increasing in ttt.

Formalization Note βs\beta^sβs is the real power βs=esln⁡β\beta^s=e^{s\ln\beta}βs=eslnβ. On natural numbers it agrees with the natural-number power used in (10). The paper derives (11) in the case q>pq>pq>p (β>1\beta>1β>1) and reuses it for q<pq<pq<p; the identity is stated for every β>0\beta>0β>0, β≠1\beta\ne1β=1.

Preamble
import Mathlib
import Definitions.Def_EngagementOpt_Survey_phi
Formal statement
namespace EngagementOpt.Survey

/-- arXiv:2202.11776v3, p. 21, the derivative computation ending in (11). Extend (10) to real
`s > 0` with `β ^ s = Real.rpow β s`. For `β > 0`, `β ≠ 1`, `v̄ ≥ 0`, `W > 0`, and real `t > 0`, the derivative of
`s ↦ v̄ (s β^s/(β^s - 1) - 1/(β - 1)) - W s` at `t` is `v̄ φ(β^t - 1) - W`, where
`φ(x) = (x + 1)/x · (1 - ln(x + 1)/x)`; and when `v̄ > 0` this derivative is positive exactly
when `φ(β^t - 1) > W/v̄`. -/
theorem eq_11 (β : ℝ) (hβ0 : 0 < β) (hβ1 : β ≠ 1) (v W t : ℝ)
    (hv : 0 ≤ v) (hW : 0 < W) (ht : 0 < t) :
    HasDerivAt (fun s : ℝ => v * (s * β ^ s / (β ^ s - 1) - 1 / (β - 1)) - W * s)
      (v * phi (β ^ t - 1) - W) t ∧
    (0 < v → (0 < v * phi (β ^ t - 1) - W ↔ W / v < phi (β ^ t - 1))) := by sorry

end EngagementOpt.Survey
Source
Kleinberg, Mullainathan, Raghavan, The Challenge of Understanding What Users Want, arXiv:2202.11776v3, p. 21, display chain ending in (11)
Human review
  • Endorsed by Shuze Chen · Oct 16, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 16, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me