Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2, p. 17 — the equilibrium detection rate r*_{b1} is the same in every Γ(b1,b2) with 1 ≤ b2 < m*, and Γ(b1,1) equilibrium inspection strategies stay equilibrium strategies

Proved
NetInspect.Rate.theorem_2

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

detection-ratenash-equilibriump2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1security-gamezero-sum-game

Let G=(V,E,{Ci})\mathcal G=(\mathcal V,\mathcal E,\{\mathcal C_i\})G=(V,E,{Ci​}) be a detection model and b1∈Nb_1\in\mathbb Nb1​∈N the number of detectors. Then:

  1. there is a number rb1∗∈[0,1]r^*_{b_1}\in[0,1]rb1​∗​∈[0,1] such that, for every b2b_2b2​ with 1≤b2<m∗1\le b_2<m^*1≤b2​<m∗ and every Nash equilibrium σ∗\sigma^*σ∗ of Γ(b1,b2)\Gamma(b_1,b_2)Γ(b1​,b2​),
r(σ∗)=rb1∗;r(\sigma^*)=r^*_{b_1};r(σ∗)=rb1​∗​;
  1. every inspection strategy σ1∗\sigma^{1*}σ1∗ that is part of a Nash equilibrium of Γ(b1,1)\Gamma(b_1,1)Γ(b1​,1) is also part of a Nash equilibrium of every game Γ(b1,b2)\Gamma(b_1,b_2)Γ(b1​,b2​) with 1≤b2<m∗1\le b_2<m^*1≤b2​<m∗: some attack strategy σ2′∈Δ(A2)\sigma^{2\prime}\in\Delta(\mathcal A_2)σ2′∈Δ(A2​) makes (σ1∗,σ2′)(\sigma^{1*},\sigma^{2\prime})(σ1∗,σ2′) an equilibrium of Γ(b1,b2)\Gamma(b_1,b_2)Γ(b1​,b2​).

The expected detection rate in equilibrium depends on the defender's resources only, as long as the attacker's resources stay below the maximum set packing size m∗m^*m∗; and the defender can compute an equilibrium inspection strategy as if the attacker had a single resource.

Formalization Note The number rb1∗r^*_{b_1}rb1​∗​ is chosen after b1b_1b1​ and before b2b_2b2​, as in (17). The hypothesis b2≥1b_2\ge 1b2​≥1 is added: in Γ(b1,0)\Gamma(b_1,0)Γ(b1​,0) every profile is an equilibrium and the rate is 111, whereas rb1∗<1r^*_{b_1}<1rb1​∗​<1 for b1<n∗b_1<n^*b1​<n∗; the paper's base case is Γ(b1,1)\Gamma(b_1,1)Γ(b1​,1). The case b1≥n∗b_1\ge n^*b1​≥n∗ is included, as printed; it relies on the convention F(S,∅)/∣∅∣=1F(S,\emptyset)/|\emptyset|=1F(S,∅)/∣∅∣=1 of the rate. If m∗≤1m^*\le 1m∗≤1 there is no admissible b2b_2b2​ and both parts hold vacuously. The new attack strategy in part 2 lives on the action set of Γ(b1,b2)\Gamma(b_1,b_2)Γ(b1​,b2​) and is not required to be related to the equilibrium attack strategy of Γ(b1,1)\Gamma(b_1,1)Γ(b1​,1).

Preamble
import Mathlib
import Definitions.Def_BlottoLP_Flow_ZeroSum
import Definitions.Def_NetInspect_Rate_Model
Formal statement
namespace NetInspect.Rate

open Finset DetectionModel

/-- Theorem 2 (p. 17), (17): for every `b1` there is `r*_{b1} ∈ [0, 1]` equal to the expected
detection rate of every equilibrium of every game `Γ(b1, b2)` with `1 ≤ b2 < m*`; and every
equilibrium inspection strategy of `Γ(b1, 1)` is an equilibrium inspection strategy of every
`Γ(b1, b2)` with `1 ≤ b2 < m*`. -/
theorem theorem_2 {V E : Type*} [Fintype V] [DecidableEq V] [Fintype E] [DecidableEq E]
    (G : DetectionModel V E) (b1 : ℕ) :
    (∃ r : ℝ, 0 ≤ r ∧ r ≤ 1 ∧
      ∀ b2 : ℕ, 1 ≤ b2 → b2 < G.mStar →
        ∀ (σ1 : Act V b1 → ℝ) (σ2 : Act E b2 → ℝ), G.IsNE b1 b2 σ1 σ2 → G.rate σ1 σ2 = r) ∧
    (∀ (σ1 : Act V b1 → ℝ) (σ2 : Act E 1 → ℝ), G.IsNE b1 1 σ1 σ2 →
      ∀ b2 : ℕ, 1 ≤ b2 → b2 < G.mStar →
        ∃ σ2' : Act E b2 → ℝ, G.IsNE b1 b2 σ1 σ2') := by sorry

end NetInspect.Rate
Source
Dahan, Sela & Amin, Network Inspection for Detecting Strategic Attacks, arXiv:1705.00349v4, p. 17, Theorem 2, (17)
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 21, 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