Proof of Proposition 2(i), p. 23 — dS/dφ(0,1) = −κβ∫_0^1(1−µ)f + (c/(1−c))κf(0)(β∫_c^1(1−µ)f + ∫_0^c µf)
ProvedScarceTesting.PerfectTest.dS_dphidiagnostic-testingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1rationingsocial-planner
Throughout, is the cost-to-benefit ratio of acting (seeking treatment). The prior density is a nonnegative integrable function on with total mass , and . Let , , and assume is continuous on at . The right derivative of at (the perfect test) is
The first term is the cost of the extra false positives; the second is the gain from the medium-likelihood agents who obtain tests because low-prior agents stop requesting them. Part (i) of Proposition 2 is the condition that this derivative is positive.
Formalization Note The derivative is one-sided (within ): false positive rates are nonnegative. is the planner's objective defined from agents' behaviour.
Preamble
import Mathlib import Definitions.Def_ScarceTesting_PerfectTest_Setting
Formal statement
namespace ScarceTesting.PerfectTest
/-- Proof of Proposition 2(i), p. 23: the right derivative of `φ ↦ S(φ,1)` at `φ = 0` is
`−κβ∫_0^1 (1−μ) f + (c/(1−c)) κ f(0) (β ∫_c^1 (1−μ) f + ∫_0^c μ f)`. -/
theorem dS_dphi (f : ℝ → ℝ) (c β κ : ℝ) (hc0 : 0 < c) (hc1 : c < 1)
(hβ0 : 0 ≤ β) (hβ1 : β < 1) (hκ0 : 0 < κ) (hκ1 : κ < 1)
(hf : IsPriorDensity f) (hf0 : ContinuousWithinAt f (Set.Icc 0 1) 0) :
HasDerivWithinAt (fun φ => S f c β κ φ 1)
(-κ * β * (∫ μ in (0:ℝ)..1, (1 - μ) * f μ) +
c / (1 - c) * κ * f 0 * (β * (∫ μ in c..1, (1 - μ) * f μ) + ∫ μ in (0:ℝ)..c, μ * f μ))
(Set.Ici 0) 0 := 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 (i), p. 23, "Using the above, we obtain: dS/dφ(0,1) = …"
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.