Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4.1: pathwise feasibility clause

Proved
SampleCRS.AlmostGreedy.feasibility

by mikedeng1 · Nov 10, 2026 · Mathlib 0df444a (Lean v4.33.1)

contention-resolutiononline-algorithmsp2o-batch-stoc27ap2o-gran-per-chapterp2o-plan-paperp2o-v1probability

For every nnn and integer capacity k≥1k\ge1k≥1, every arrival permutation σ\sigmaσ, every online activation vector XXX, every sample vector YYY, and either value of the coin QQQ, Algorithm 4's defined run satisfies

∣run⁡(k,σ,X,Y,Q)∣≤k.|\operatorname{run}(k,\sigma,X,Y,Q)|\le k.∣run(k,σ,X,Y,Q)∣≤k.

This is the pathwise feasibility clause of Theorem 4.1. It requires no distributional assumptions, because it holds for every realization, including realizations of probability zero.

Differences from the source:

  • encoding: the labeled set [n] = {1,…,n} → Fin n = {0,…,n−1}; reason: relabeling preserves each element and its arrival rank
  • encoding: the standing assumption k ≥ 1 in §2, p.5 → an explicit hypothesis 1 ≤ k; reason: Lean natural numbers include zero
Preamble
import Mathlib
import Definitions.Def_SampleCRS_AlmostGreedy_run
Formal statement
namespace SampleCRS.AlmostGreedy

/-- The pathwise feasibility clause of Theorem 4.1, p.14. -/
theorem feasibility (n k : ℕ) (hk : 1 ≤ k) :
    ∀ (σ : Equiv.Perm (Fin n)) (X Y : Fin n → Bool) (Q : Bool),
      (run k σ X Y Q).card ≤ k := by sorry

end SampleCRS.AlmostGreedy
Source
Shaddin Dughmi, Vasilis Livanos, Pranav Nuti, STOC 2027 submission #686 (October 2026), Theorem 4.1, p.14 (feasibility clause)
Human review
  • Endorsed by Shuze Chen · Nov 10, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Nov 10, 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