Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Low and high types have asymptotically equal infection probability under any symmetric mixed profile

Open
TestDistancing.Equilibrium.type_gap_mixed

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

epidemicsnash-equilibriumrandom-graphstesting-policy

Consider the activity game 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. A type-symmetric mixed profile γ=(γL,γH)∈[0,1]2\gamma=(\gamma_L,\gamma_H)\in[0,1]^2γ=(γL​,γH​)∈[0,1]2 lets each low-value (high-value) agent be active independently with probability γL\gamma_LγL​ (γH\gamma_HγH​). For an agent iii, write

Piinf(xi=1;γ;αL,αH)P^{\mathrm{inf}}_i(x_i=1;\gamma;\alpha_L,\alpha_H)Piinf​(xi​=1;γ;αL​,αH​)

for her infection probability when she is active and all other agents mix according to γ\gammaγ, under testing policy (αL,αH)(\alpha_L,\alpha_H)(αL​,αH​).

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, all policies (αL,αH)∈[0,1]2(\alpha_L,\alpha_H)\in[0,1]^2(αL​,αH​)∈[0,1]2, all profiles γ∈[0,1]2\gamma\in[0,1]^2γ∈[0,1]2, every low-value agent lll and every high-value agent hhh,

∣Plinf(xl=1;γ;αL,αH)−Phinf(xh=1;γ;αL,αH)∣<ε.\Bigl|P^{\mathrm{inf}}_l(x_l=1;\gamma;\alpha_L,\alpha_H)-P^{\mathrm{inf}}_h(x_h=1;\gamma;\alpha_L,\alpha_H)\Bigr|<\varepsilon .​Plinf​(xl​=1;γ;αL​,αH​)−Phinf​(xh​=1;γ;αL​,αH​)​<ε.

From the perspective of an active agent, the two situations differ only in the type of a single other agent. The claim therefore says that one agent's activity and testing probabilities have a vanishing effect on another agent's infection in a large society. With ε<vH−vL\varepsilon<v_H-v_Lε<vH​−vL​ it is the "large nnn" step the source uses repeatedly in the proof of Proposition 2: it excludes the candidate equilibria in which the low-value type is weakly more active than the high-value type.

Formalization Note The infection probability is the platform's PinfMix P γ α i 1, the expectation of Pinf over the other agents' independent Bernoulli activities with the agent's own activity set to one. MMM is required to work uniformly over all policies and all profiles.

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

/-- Under any type-symmetric mixed profile, a low- and a high-value agent who are active have
asymptotically equal infection probabilities, uniformly in the policy and the profile. -/
theorem type_gap_mixed (P : Params) (hP : P.Standing) :
    ∀ ε : ℝ, 0 < ε → ∃ M : ℕ, 0 < M ∧ ∀ n : ℕ, M ≤ n → ∀ α ∈ PolicySquare,
      ∀ γ ∈ Set.Icc (0 : ℝ) 1 ×ˢ Set.Icc (0 : ℝ) 1,
      ∀ l h : Fin n, ¬ IsHigh P l → IsHigh P h →
        |PinfMix P γ α l 1 - PinfMix P γ α h 1| < ε := 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, pp. 28–31 (PDF 30–33): the bound |P^inf_l − P^inf_h| < ε for n ≥ M (p. 28), and its uses 'for large enough n the difference between the left-hand [sides] ... becomes smaller than vH − vL' at mixed profiles (part (c), cases 2–3, p. 31) and 'follows from n being large' (part (b), case 4, p. 30)

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