Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Proposition 2, p. 22 — the planner's objective S(φ,σ) as integrals over [c,1], [c,t_H] and [t_L,c]

Proved
ScarceTesting.PerfectTest.simplified_objective

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

diagnostic-testingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1rationingsocial-planner

Throughout, 0<c<10<c<10<c<1 is the cost-to-benefit ratio of acting (seeking treatment), and a (φ,σ)(\varphi,\sigma)(φ,σ)-test has false positive rate φ\varphiφ and true positive rate σ\sigmaσ with 0≤φ≤σ≤10\le\varphi\le\sigma\le10≤φ≤σ≤1, σ>0\sigma>0σ>0 and φ<1\varphi<1φ<1. 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, 0≤β<10\le\beta<10≤β<1, and let A=A(tL,tH)=min⁡{1,κ/(F(tH)−F(tL))}A=A(t_L,t_H)=\min\{1,\kappa/(F(t_H)-F(t_L))\}A=A(tL​,tH​)=min{1,κ/(F(tH​)−F(tL​))}. The planner's objective S(φ,σ)S(\varphi,\sigma)S(φ,σ) (display (9) with α=1\alpha=1α=1, defined from agents' behaviour) equals

S(φ,σ)=∫c1(μ−β(1−μ)) dF(μ)+∫ctHA((1−μ)β(1−φ)−μ(1−σ)) dF(μ)+∫tLcA(μσ−(1−μ)βφ) dF(μ).S(\varphi,\sigma)=\int_c^1(\mu-\beta(1-\mu))\,dF(\mu)+\int_c^{t_H}A\big((1-\mu)\beta(1-\varphi)-\mu(1-\sigma)\big)\,dF(\mu)+\int_{t_L}^{c}A\big(\mu\sigma-(1-\mu)\beta\varphi\big)\,dF(\mu).S(φ,σ)=∫c1​(μ−β(1−μ))dF(μ)+∫ctH​​A((1−μ)β(1−φ)−μ(1−σ))dF(μ)+∫tL​c​A(μσ−(1−μ)βφ)dF(μ).

The first integral is the planner's payoff when nobody is tested; the other two are the changes caused by testing medium-likelihood agents above and below ccc. This closed form is the starting point of both parts of the proof of Proposition 2.

Formalization Note dF(μ)dF(\mu)dF(μ) is f(μ) dμf(\mu)\,d\muf(μ)dμ. SSS is defined by integrating each agent's expected contribution, not by this formula; the identity is the content of the step. The conditions σ>0\sigma>0σ>0, φ<1\varphi<1φ<1 keep tL,tHt_L,t_HtL​,tH​ well defined.

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

/-- Proof of Proposition 2, p. 22: the planner's objective simplifies to
`S(φ,σ) = ∫_c^1 (μ − β(1−μ)) dF + ∫_c^{t_H} A((1−μ)β(1−φ) − μ(1−σ)) dF + ∫_{t_L}^c A(μσ − (1−μ)βφ) dF`
with `A = A(t_L, t_H)`. -/
theorem simplified_objective (f : ℝ → ℝ) (c β κ φ σ : ℝ)
    (hc0 : 0 < c) (hc1 : c < 1) (hφ0 : 0 ≤ φ) (hφσ : φ ≤ σ) (hσ1 : σ ≤ 1)
    (hσ0 : 0 < σ) (hφ1 : φ < 1)
    (hβ0 : 0 ≤ β) (hβ1 : β < 1) (hκ0 : 0 < κ) (hκ1 : κ < 1)
    (hf : IsPriorDensity f) :
    S f c β κ φ σ =
      (∫ μ in c..1, (μ - β * (1 - μ)) * f μ) +
      (∫ μ in c..tH c φ σ, availThr f κ (tL c φ σ) (tH c φ σ) *
          ((1 - μ) * β * (1 - φ) - μ * (1 - σ)) * f μ) +
      (∫ μ in tL c φ σ..c, availThr f κ (tL c φ σ) (tH c φ σ) *
          (μ * σ - (1 - μ) * β * φ) * f μ) := 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), p. 22, "We first note that the planner's objective can be simplified to"
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