Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(18), p. 17 (proved in step (i.b), p. ec13) — for b1 < n*, b2 < m*, the value is linear in b2: U*(b1,b2) = b2·U*(b1,1)

Proved
NetInspect.Rate.eq_18

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

game-valuep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1security-gamezero-sum-game

Let G\mathcal GG be a detection model, b1<n∗b_1<n^*b1​<n∗ and 1≤b2<m∗1\le b_2<m^*1≤b2​<m∗. Then the value of the game Γ(b1,b2)\Gamma(b_1,b_2)Γ(b1​,b2​) is linear in the attack resources:

U∗(b1,b2)=b2 U∗(b1,1).U^*(b_1,b_2)=b_2\,U^*(b_1,1).U∗(b1​,b2​)=b2​U∗(b1​,1).

The paper writes this as U∗(b1,b2)=(1−rb1∗) b2U^*(b_1,b_2)=(1-r^*_{b_1})\,b_2U∗(b1​,b2​)=(1−rb1​∗​)b2​, where rb1∗r^*_{b_1}rb1​∗​ is the equilibrium detection rate of Theorem 2; since U∗(b1,1)=1−rb1∗U^*(b_1,1)=1-r^*_{b_1}U∗(b1​,1)=1−rb1​∗​, the two forms agree. The linearity is what makes the equilibrium detection rate independent of b2b_2b2​.

Formalization Note The statement is written with U∗(b1,1)U^*(b_1,1)U∗(b1​,1) in place of 1−rb1∗1-r^*_{b_1}1−rb1​∗​, so that it does not refer forward to the number rb1∗r^*_{b_1}rb1​∗​ defined by Theorem 2. U∗U^*U∗ is the optimal value of (LP1). The hypothesis b2≥1b_2\ge 1b2​≥1 is added, as for Theorem 1.

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

open Finset DetectionModel

/-- (18) (p. 17), proved in step (i.b) (p. ec13): for `b1 < n*` and `1 ≤ b2 < m*` the value
of the game is linear in `b2`, `U*(b1, b2) = b2 · U*(b1, 1)` (`U*(b1, 1) = 1 − r*_{b1}`). -/
theorem eq_18 {V E : Type*} [Fintype V] [DecidableEq V] [Fintype E] [DecidableEq E]
    (G : DetectionModel V E)
    {b1 b2 : ℕ} (hb1 : b1 < G.nStar) (hb2 : 1 ≤ b2) (hb2m : b2 < G.mStar) :
    G.gameValue b1 b2 = (b2 : ℝ) * G.gameValue b1 1 := by sorry

end NetInspect.Rate
Source
Dahan, Sela & Amin, Network Inspection for Detecting Strategic Attacks, arXiv:1705.00349v4, p. 17, (18); p. ec13, proof of Theorem 2, step (i.b)
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