Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma EC.4, p. ec10 — for b2 < m*, any ρ ∈ [0,1]^E summing to b2 is the attack-probability vector of some σ2 ∈ Δ(A2)

Proved
NetInspect.Rate.lemma_EC_4

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

farkas-lemmamarginalsmixed-strategyp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let G\mathcal GG be a detection model and b2<m∗b_2<m^*b2​<m∗. Let ρ∈[0,1]E\rho\in[0,1]^{\mathcal E}ρ∈[0,1]E satisfy ∑e∈Eρe=b2\sum_{e\in\mathcal E}\rho_e=b_2∑e∈E​ρe​=b2​. Then there is an attack strategy σ2∈Δ(A2)\sigma^2\in\Delta(\mathcal A_2)σ2∈Δ(A2​) with

ρσ2(e)=∑T∋eσT2=ρefor all e∈E.\rho_{\sigma^2}(e)=\sum_{T\ni e}\sigma^2_T=\rho_e\qquad\text{for all } e\in\mathcal E.ρσ2​(e)=T∋e∑​σT2​=ρe​for all e∈E.

Every feasible vector of attack probabilities is realized by a mixed strategy over attack plans of size at most b2b_2b2​. This is the step of the proof of Theorem 2 that scales an attack strategy of Γ(b1,1)\Gamma(b_1,1)Γ(b1​,1) up to one of Γ(b1,b2)\Gamma(b_1,b_2)Γ(b1​,b2​).

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

open Finset DetectionModel

/-- Lemma EC.4 (p. ec10): if `b2 < m*` and `ρ ∈ [0,1]^E` sums to `b2`, some attack strategy
`σ2 ∈ Δ(A2)` has attack probabilities `ρ_{σ2}(e) = ρ_e` for every component `e`. -/
theorem lemma_EC_4 {V E : Type*} [Fintype V] [DecidableEq V] [Fintype E] [DecidableEq E]
    (G : DetectionModel V E)
    {b2 : ℕ} (hb2 : b2 < G.mStar) (ρ : E → ℝ) (hρ : ∀ e : E, 0 ≤ ρ e ∧ ρ e ≤ 1)
    (hsum : ∑ e : E, ρ e = (b2 : ℝ)) :
    ∃ σ2 : Act E b2 → ℝ, BlottoLP.Flow.IsMixed σ2 ∧ ∀ e : E, marg σ2 e = ρ e := by sorry

end NetInspect.Rate
Source
Dahan, Sela & Amin, Network Inspection for Detecting Strategic Attacks, arXiv:1705.00349v4, p. ec10, Lemma EC.4
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