Proposition 2(ii), p. 13 — if f(1) > (c/(1−c))(µ̄/(βδ+γ)), some (0,σ̄)-test with σ̄ < 1 beats the perfect test
ProvedScarceTesting.PerfectTest.proposition_2_iiLet , , and let be the mass of test kits (testing resources are scarce), allocated uniformly at random among requesting agents. Let be a prior density on with distribution function and mean , with mass on both sides of : . Let , , and let be the planner's objective (display (9) with ); a perfect test is available, so every with can be chosen. Assume is continuous on at . If
then there is a with such that
A true positive rate slightly below deters high-prior agents from requesting tests, and when enough mass sits near the tests saved for medium-likelihood agents outweigh the loss in accuracy.
Formalization Note and are the integrals defined on p. 22, not existentially quantified constants: with arbitrary small the thresholds would exceed and and the statement would be empty. The value (resp. ) of a density is read with continuous on at that endpoint. is assumed (with no kits, no test changes anything). The witness tests are kept inside the set of tests, away from the degenerate corners.
import Mathlib import Definitions.Def_ScarceTesting_PerfectTest_Setting
namespace ScarceTesting.PerfectTest
/-- Proposition 2(ii), p. 13: with a perfect test available, scarce tests (`κ < 1`) allocated
uniformly at random, and `1 > F(c) > 0`: if `f(1) > (c/(1−c))(μ̄/(βδ+γ))` then some
`(0,σ)`-test with `0 < σ < 1` gives `S(0,σ) > S(0,1)`. -/
theorem proposition_2_ii (f : ℝ → ℝ) (c β κ : ℝ) (hc0 : 0 < c) (hc1 : c < 1)
(hβ0 : 0 ≤ β) (hβ1 : β < 1) (hκ0 : 0 < κ) (hκ1 : κ < 1)
(hf : IsPriorDensity f)
(hf1 : ContinuousWithinAt f (Set.Icc 0 1) 1)
(hFc0 : 0 < cdf f c) (hFc1 : cdf f c < 1)
(h : c / (1 - c) * (meanPrior f / (β * deltaC f c + gammaC f c)) < f 1) :
∃ σ : ℝ, 0 < σ ∧ σ < 1 ∧ S f c β κ 0 1 < S f c β κ 0 σ := by sorry
end ScarceTesting.PerfectTest
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.