Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4.3, p. 7 — pure strategies correspond one-to-one to canonical paths of the layered graph

Proved
BlottoLP.Flow.lemma_4_3

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

colonel-blottolayered-graphp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Fix KKK battlefields and a player with NNN troops. For a pure strategy x=(x1,…,xK)x=(x_1,\dots,x_K)x=(x1​,…,xK​) (non-negative integers with ∑kxk=N\sum_k x_k=N∑k​xk​=N) let sk=x1+⋯+xks_k=x_1+\dots+x_ksk​=x1​+⋯+xk​ be the number of troops on the first kkk battlefields. Then s0=0≤s1≤⋯≤sK=Ns_0=0\le s_1\le\dots\le s_K=Ns0​=0≤s1​≤⋯≤sK​=N, so v0,s0→v1,s1→⋯→vK,sKv_{0,s_0}\to v_{1,s_1}\to\dots\to v_{K,s_K}v0,s0​​→v1,s1​​→⋯→vK,sK​​ is a canonical path of the layered graph. The map

x⟼(s0,s1,…,sK)x\longmapsto (s_0,s_1,\dots,s_K)x⟼(s0​,s1​,…,sK​)

from pure strategies to canonical paths is a bijection.

This is the bridge from strategies to paths: mixed strategies become distributions over canonical paths, i.e. flows.

Formalization Note The statement is the bijectivity of the specific prefix-sum map prefixPath, not merely the existence of some bijection (which would follow from counting alone).

Preamble
import Mathlib
import Definitions.Def_BlottoLP_Flow_Model
Formal statement
namespace BlottoLP.Flow

/-- Lemma 4.3: the prefix-sum map is a one-to-one correspondence between the pure strategies of a
player with `N` troops on `K` battlefields and the canonical paths of his layered graph. -/
theorem lemma_4_3 (K N : ℕ) :
    Function.Bijective (prefixPath : Pure K N → CanonicalPath K N) := by sorry

end BlottoLP.Flow
Source
Behnezhad, Dehghani, Derakhshan, Hajiaghayi, Seddighin, Faster and Simpler Algorithm for Optimal Strategies of Blotto Game, arXiv preprint (arXiv:1612.04029, PDF of 2016-12-28), p. 7, Lemma 4.3 (and its proof)
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

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