Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Low and high types have asymptotically equal infection probability at full activity

Open
TestDistancing.Equilibrium.type_gap

by tianyipeng · Nov 2, 2026 · Mathlib 0df444a (Lean v4.33.1)

epidemicsnash-equilibriumrandom-graphstesting-policy

Consider the infection model of Acemoglu, Makhdoumi, Malekian and Ozdaglar with nnn agents, under the standing assumptions 0≤vL<vH≤10\le v_L<v_H\le 10≤vL​<vH​≤1, 0<η≤10<\eta\le 10<η≤1, 0<β≤10<\beta\le 10<β≤1, 0≤p<10\le p<10≤p<1, c>0c>0c>0, 0<rH<10<r_H<10<rH​<1. The first ⌈rHn⌉\lceil r_H n\rceil⌈rH​n⌉ agents have high value and the rest low value. Under a testing policy (αL,αH)∈[0,1]2(\alpha_L,\alpha_H)\in[0,1]^2(αL​,αH​)∈[0,1]2, each agent is tested independently with probability αL\alpha_LαL​ or αH\alpha_HαH​ according to her type. When every agent is fully active, links form independently with probability η\etaη, and an infected agent transmits along each link with probability βp\beta pβp if tested and β\betaβ otherwise, starting from a uniformly random source. Write Piinf(1;αL,αH)P^{\mathrm{inf}}_i(\mathbf 1;\alpha_L,\alpha_H)Piinf​(1;αL​,αH​) for the probability that agent iii is infected.

Claim. For every ε>0\varepsilon>0ε>0 there is M∈N+M\in\mathbb N_+M∈N+​ such that for all n≥Mn\ge Mn≥M, every policy (αL,αH)∈[0,1]2(\alpha_L,\alpha_H)\in[0,1]^2(αL​,αH​)∈[0,1]2, every low-value agent lll and every high-value agent hhh,

∣Plinf(1;αL,αH)−Phinf(1;αL,αH)∣<ε.\bigl|P^{\mathrm{inf}}_l(\mathbf 1;\alpha_L,\alpha_H)-P^{\mathrm{inf}}_h(\mathbf 1;\alpha_L,\alpha_H)\bigr|<\varepsilon .​Plinf​(1;αL​,αH​)−Phinf​(1;αL​,αH​)​<ε.

The two probabilities differ only through a single other agent whose testing probability is αL\alpha_LαL​ in one case and αH\alpha_HαH​ in the other, so the claim says that one agent's testing probability has a vanishing effect on any other agent's infection in a large society. The source uses it, with ε<vH−vL\varepsilon<v_H-v_Lε<vH​−vL​, to show that the low-value constraint of A1A_1A1​ is the first to be violated, so that the regions A1,…,A4A_1,\dots,A_4A1​,…,A4​ cover all policies.

Formalization Note PinfP^{\mathrm{inf}}Pinf is the platform's Pinf at the all-ones profile prof P 1 1; MMM is required to work uniformly over all policies in [0,1]2[0,1]^2[0,1]2.

Preamble
import Mathlib
import Definitions.Def_TestDistancing_Equilibrium_Model
Formal statement
namespace TestDistancing.Equilibrium

/-- At full activity, low- and high-value agents have asymptotically equal infection
probabilities, uniformly in the testing policy. -/
theorem type_gap (P : Params) (hP : P.Standing) :
    ∀ ε : ℝ, 0 < ε → ∃ M : ℕ, 0 < M ∧ ∀ n : ℕ, M ≤ n → ∀ α ∈ PolicySquare,
      ∀ l h : Fin n, ¬ IsHigh P l → IsHigh P h →
        |Pinf P (prof P 1 1) α l - Pinf P (prof P 1 1) α h| < ε := by sorry

end TestDistancing.Equilibrium
Source
Acemoglu, Makhdoumi, Malekian & Ozdaglar, Testing, Voluntary Social Distancing and the Spread of an Infection, NBER Working Paper 27483 (July 2020), https://www.nber.org/papers/w27483, Proof of Proposition 2, part (b), p. 28 (PDF 30): 'For any ε > 0, there exists M ∈ N+ such that for n ≥ M, we have |P^inf_l(x_H = 1, x_L = 1, α_H, α_L) − P^inf_h(x_H = 1, x_L = 1, α_H, α_L)| < ε'; see also footnote 2 on p. 12

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