Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Proposition 2(ii), p. 24 — ∂A/∂t_H(0,1) = −κ f(1)

Proved
ScarceTesting.PerfectTest.dA_dtH

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

p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1rationing

The prior density fff is a nonnegative integrable function on [0,1][0,1][0,1] with total mass 111, and F(x)=∫0xfF(x)=\int_0^x fF(x)=∫0x​f. Let 0<κ<10<\kappa<10<κ<1, and assume fff is continuous on [0,1][0,1][0,1] at 111. The availability A(0,tH)=min⁡{1,κ/(F(tH)−F(0))}A(0,t_H)=\min\{1,\kappa/(F(t_H)-F(0))\}A(0,tH​)=min{1,κ/(F(tH​)−F(0))}, as a function of tHt_HtH​, has left derivative at tH=1t_H=1tH​=1

∂A∂tH(0,1)=−κf(1).\frac{\partial A}{\partial t_H}(0,1)=-\kappa f(1).∂tH​∂A​(0,1)=−κf(1).

Lowering tHt_HtH​ below 111 removes high-prior agents from the queue and raises the availability for the others.

Formalization Note The derivative is one-sided (within (−∞,1](-\infty,1](−∞,1]), since tH≤1t_H\le1tH​≤1 for every test. Continuity of fff at 111 within [0,1][0,1][0,1] gives f(1)f(1)f(1) its meaning.

Preamble
import Mathlib
import Definitions.Def_ScarceTesting_PerfectTest_Setting
Formal statement
namespace ScarceTesting.PerfectTest

/-- Proof of Proposition 2(ii), p. 24: `∂A/∂t_H(0,1) = −κ f(1)` (left derivative in `t_H` at `1`,
with `t_L = 0`). -/
theorem dA_dtH (f : ℝ → ℝ) (κ : ℝ) (hκ0 : 0 < κ) (hκ1 : κ < 1) (hf : IsPriorDensity f)
    (hf1 : ContinuousWithinAt f (Set.Icc 0 1) 1) :
    HasDerivWithinAt (fun t => availThr f κ 0 t) (-κ * f 1) (Set.Iic 1) 1 := by sorry

end ScarceTesting.PerfectTest
Source
Drakopoulos & Randhawa, Why Perfect Tests May Not Be Worth Waiting For: Information as a Commodity, SSRN 3565245 (version of January 13, 2021), proof of Proposition 2 (Appendix A.1.2), part (ii), p. 24, "Furthermore, ∂A/∂t_H(0,1) = −κf(1)"
Human review
  • Endorsed by Shuze Chen · Oct 19, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 19, 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