Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§3.1, p. 9 — Budgeted Greedy induces a policy

Proved
OverflowBinPacking.IID.budgeted_greedy_policy

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

adaptive-policybin-packingonline-algorithmsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let X1,…,XnX_1,\ldots,X_nX1​,…,Xn​ be independent nonnegative item sizes, let C≥1C\ge1C≥1, and let γ≥1\gamma\ge1γ≥1. The deterministic Budgeted Greedy assignment rule is a nonanticipative, measurable, feasible packing policy:

IsPolicy⁡(BG⁡γ).\operatorname{IsPolicy}(\operatorname{BG}_{\gamma}) .IsPolicy(BGγ​).

In particular, each assignment depends only on earlier realized sizes, and an already overflowed bin is unavailable. This establishes that the algorithm has a well-defined cost in the paper's policy model.

Formalization Note Measurability is made explicit so the expectation defining cost is meaningful. Feasibility is asserted for every outcome vector, as in the shared policy definition.

Preamble
import Mathlib
import Definitions.Def_OverflowBinPacking_IID_BudgetedGreedy
Formal statement
namespace OverflowBinPacking.IID

open MeasureTheory

/-- §3.1, p. 9: Algorithm 1 induces a feasible deterministic policy. -/
theorem budgeted_greedy_policy {n : ℕ} (μ : Fin n → Measure ℝ)
    (hμ : ∀ i, IsProbabilityMeasure (μ i))
    (hμ0 : ∀ i, μ i (Set.Iio 0) = 0)
    (C γ : ℝ) (hC : 1 ≤ C) (hγ : 1 ≤ γ) :
    IsPolicy (bgRule μ C γ) := by sorry

end OverflowBinPacking.IID
Source
Perez-Salazar, Singh & Toriello, Adaptive Bin Packing with Overflow, arXiv:2007.11532v2, p. 9, §3.1, paragraph beginning ‘A deterministic online algorithm induces a policy’
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