Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 8, p. 17 — Σ w_i z_i ∏_{j<i}(1 − z_j) ≥ (1 − 1/e) Σ w_i z_i for Σ z_i ≤ 1 and w decreasing, ≥ 0

Proved
OfflineStochMatch.UnitPatience.lemma_8

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

greedyinequalityone-minus-one-over-ep2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

For i∈[k]i\in[k]i∈[k] let zi∈[0,1]z_i\in[0,1]zi​∈[0,1] with ∑i=1kzi≤1\sum_{i=1}^{k}z_i\le 1∑i=1k​zi​≤1, and let w1≥w2≥⋯≥wk≥0w_1\ge w_2\ge\cdots\ge w_k\ge 0w1​≥w2​≥⋯≥wk​≥0. Then

∑i=1kwizi∏j=1i−1(1−zj) ≥ (1−1e)∑i=1kwizi.(26)\sum_{i=1}^{k}w_iz_i\prod_{j=1}^{i-1}(1-z_j)\ \ge\ \Big(1-\frac1e\Big)\sum_{i=1}^{k}w_iz_i.\tag{26}i=1∑k​wi​zi​j=1∏i−1​(1−zj​) ≥ (1−e1​)i=1∑k​wi​zi​.(26)

This deterministic inequality says that greedy-by-weight on independent edges with total activation probability at most one collects a (1−1/e)(1-1/e)(1−1/e) fraction of the fractional value; combined with Lemma 7 it yields Lemma 9.

Formalization Note The page's wi∈R+w_i\in\mathbb R^+wi​∈R+ is read as wi≥0w_i\ge 0wi​≥0 (the proof uses only wk−wk+1=wk≥0w_k-w_{k+1}=w_k\ge 0wk​−wk+1​=wk​≥0). The sequences are indexed by N\mathbb NN and only the indices 1,…,k1,\dots,k1,…,k are constrained. 1−1/e1-1/e1−1/e is written 1−e−11-e^{-1}1−e−1.

Preamble
import Mathlib
import Definitions.Def_OfflineStochMatch_UnitPatience_Setting
Formal statement
namespace OfflineStochMatch.UnitPatience

open Finset

theorem lemma_8 (k : ℕ) (z w : ℕ → ℝ) (hz : ∀ i ∈ Icc 1 k, 0 ≤ z i ∧ z i ≤ 1)
    (hsum : ∑ i ∈ Icc 1 k, z i ≤ 1) (hw : ∀ i ∈ Icc 1 k, 0 ≤ w i)
    (hmono : ∀ i ∈ Icc 1 k, ∀ j ∈ Icc 1 k, i ≤ j → w j ≤ w i) :
    (1 - Real.exp (-1)) * ∑ i ∈ Icc 1 k, w i * z i
      ≤ ∑ i ∈ Icc 1 k, w i * z i * ∏ j ∈ Ico 1 i, (1 - z j) := by sorry

end OfflineStochMatch.UnitPatience
Source
Brubach, Grammel, Ma, MacRury, Srinivasan, Improved Guarantees for Offline Stochastic Matching via New Ordered Contention Resolution Schemes, arXiv:2106.06892v3, p. 17, Lemma 8, Eq. (26)
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

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