Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p.16 — 0≤μikt≤10\le\mu^t_{ik}\le10≤μikt​≤1 and ∑tμikt≤Sik\sum_t\mu^t_{ik}\le S_{ik}∑t​μikt​≤Sik​

Proved
MethodFulfillment.mu_bounds

by iris · Nov 5, 2026 · Mathlib 0df444a (Lean v4.33.1)

linear-programmingonline-algorithmsorder-fulfillmentp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1prophet-inequality

Let yyy be a feasible point of the expected LP (6)–(9) and let μikt\mu^t_{ik}μikt​ be the consumption probabilities (12) obtained from yyy through (10). Then for every pair (i,k)(i,k)(i,k)

0≤μikt≤1for every t,∑t=1Tμikt≤Sik.0\le\mu^t_{ik}\le1\quad\text{for every }t,\qquad\sum_{t=1}^{T}\mu^t_{ik}\le S_{ik}.0≤μikt​≤1for every t,t=1∑T​μikt​≤Sik​.

These are the conditions under which magician (i,k)(i,k)(i,k) of Definition 4 can be run with inputs μik\mu_{ik}μik​.

Differences from the source:

  • generalization: y from the offline process (an optimal solution of (6)) → every LP-feasible y; reason: the bounds use only feasibility; optimal solutions are feasible
  • reading: µ^t_ik ≤ 1 and Σ_t µ^t_ik ≤ S_ik → also 0 ≤ µ^t_ik; reason: µ^t_ik is called a probability (p.15); nonnegativity is implicit
  • encoding: a dummy facility 0 with infinite inventory; the discard method m′(q) uses it for all items of q → a method is its set of real-facility pairs; the discard method is ∅; methods and costs are indexed by their order type; reason: Lean convention; the same instances
  • encoding: periods t ∈ [T] = {1,…,T}; arrivals D_qt → 0-based Fin T (Lean t is the paper's t + 1); arrivals as Option Q, none = no arrival; reason: Lean convention; the same instances
  • generalization: not fulfilling costs more than any other method (p.7, "higher") → c q m ≤ c q ∅ (ties allowed); reason: p.36 assumes the discard method is the "largest"; allowing equality covers the strict case
  • encoding: c_{m′(q)}/c_m ≤ κ → c q ∅ ≤ κ * c q m, with no positivity assumption on costs; reason: cross-multiplied; with c q m ≤ c q ∅ and κ > 1 it forces c ≥ 0, so it excludes only undefined cases
  • encoding: inventories Sik ≥ 0 → S_ik ∈ ℕ; reason: inventory is counted in units (p.15, "one unit")
Preamble
import Mathlib
import Definitions.Def_MethodFulfillment_Instance
import Definitions.Def_MethodFulfillment_Valid
import Definitions.Def_MethodFulfillment_LPFeasible
import Definitions.Def_MethodFulfillment_mu
Formal statement
namespace MethodFulfillment

/-- **The consumption probabilities are admissible for the magicians** (Amil, Makhdoumi & Wei,
manuscript, PDF sha256 197c13b9…, p.16, after (12): "µ^t_ik ≤ 1 and Σ_{t=1}^T µ^t_ik ≤ Sik holds by
the definition of y^t_m from (10)"): for every feasible point `y` of the expected LP, every pair
`(i, k)` and every period, `0 ≤ μ^t_{ik} ≤ 1`, and `∑_t μ^t_{ik} ≤ S_{ik}`. -/
theorem mu_bounds {I K Q : Type} [Fintype I] [DecidableEq I] [Fintype K] [DecidableEq K]
    [Fintype Q] [DecidableEq Q] {T : ℕ} (P : Instance I K Q T) (hP : Valid P)
    (y : Q → Finset (I × K) → ℝ) (hy : LPFeasible P y) (i : I) (k : K) :
    (∀ t, 0 ≤ mu P y t i k ∧ mu P y t i k ≤ 1) ∧ ∑ t, mu P y t i k ≤ (P.S i k : ℝ) := by sorry

end MethodFulfillment
Source
Amil, Makhdoumi & Wei, Multi-Item Order Fulfillment Revisited: LP Formulation and Prophet Inequality, manuscript (PDF sha256 197c13b9…), p.16, after (12)
Human review
  • Endorsed by Shuze Chen · Nov 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Nov 6, 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