Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 3.2, (19)–(21) — every round of Algorithm 1 contracts the error by 3/43/43/4, so ttt rounds by (3/4)t(3/4)^t(3/4)t

Proved
ProphetBipartite.step_contraction

by iris · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

bipartite-matchingonline-algorithmsonline-matchingp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1posted-pricesprophet-inequality

Let MMM, QQQ be real L×RL\times RL×R matrices with nonnegative entries such that every row sum and every column sum of QQQ is at most 111, and let l∈RLl\in\mathbb R^Ll∈RL, r∈RRr\in\mathbb R^Rr∈RR be arbitrary. Let δL,δR\delta_L,\delta_RδL​,δR​ be the errors (18) at (l,r)(l,r)(l,r), and δ^L,δ^R\hat\delta_L,\hat\delta_Rδ^L​,δ^R​ the errors at the vectors produced by one round of Algorithm 1 (l←l−12δLl\leftarrow l-\frac12\delta_Ll←l−21​δL​ if ∥δL∥1≥∥δR∥1\|\delta_L\|_1\ge\|\delta_R\|_1∥δL​∥1​≥∥δR​∥1​, else r←r−12δRr\leftarrow r-\frac12\delta_Rr←r−21​δR​). Then

∥δ^L∥1+∥δ^R∥1 ≤ 34(∥δL∥1+∥δR∥1).\|\hat\delta_L\|_1+\|\hat\delta_R\|_1\ \le\ \frac34\big(\|\delta_L\|_1+\|\delta_R\|_1\big).∥δ^L​∥1​+∥δ^R​∥1​ ≤ 43​(∥δL​∥1​+∥δR​∥1​).

Consequently, if (δL(t),δR(t))(\delta_L(t),\delta_R(t))(δL​(t),δR​(t)) are the errors after ttt rounds started from (l,r)(l,r)(l,r), then

∥δL(t)∥1+∥δR(t)∥1 ≤ (34)t(∥δL(0)∥1+∥δR(0)∥1).\|\delta_L(t)\|_1+\|\delta_R(t)\|_1\ \le\ \Big(\frac34\Big)^t\big(\|\delta_L(0)\|_1+\|\delta_R(0)\|_1\big).∥δL​(t)∥1​+∥δR​(t)∥1​ ≤ (43​)t(∥δL​(0)∥1​+∥δR​(0)∥1​).

This drives Algorithm 1 to a solution of (17).

Differences from the source:

  • generalization: M, Q are the matrices of (10) → any real L × R matrices with nonnegative entries whose Q has row sums and column sums at most 1; reason: the proof uses only these properties of M, Q (Fact 3.2 and nonnegativity); the matrices of (10) are an instance by fact_3_2
  • generalization: l, r the current iterates of Algorithm 1 → any real vectors l, r; reason: the contraction is a per-round statement; the iterates are an instance
  • encoding: Algorithm 1 with the stopping test of line 9 → the iterates (algorithm1Step M Q)^[t] of one round, without a stopping test; reason: the proof of Theorem 3.2 itself lets the algorithm "continue indefinitely" (p.11); the stopping test changes no iterate before it fires
Preamble
import Mathlib
import Definitions.Def_ProphetBipartite_algorithm1Step
Formal statement
namespace ProphetBipartite

/-- **Proof of Theorem 3.2, (19)–(21): every round of Algorithm 1 contracts the error by `3/4`.**
Gravin & Wang, arXiv:1902.06243v1, pp.10–11: with the errors `δ_L`, `δ_R` of (18) and the update of
Algorithm 1, "the `L₁`-norm of the combined error decreases by a factor of `3/4` in every round and
after `t` steps the `L₁`-norm of the combined error `(δ_L(t), δ_R(t))` will be
`‖δ_L(t)‖₁ + ‖δ_R(t)‖₁ ≤ (3/4)^t (‖δ_L(0)‖₁ + ‖δ_R(0)‖₁)`". So

`‖δ̂_L‖₁ + ‖δ̂_R‖₁ ≤ (3/4)(‖δ_L‖₁ + ‖δ_R‖₁)`,

where `δ̂_L`, `δ̂_R` are the errors (18) at the updated vectors, and the `t`-round bound holds from
every starting point. Here `M`, `Q` are real matrices with
nonnegative entries (the input of Algorithm 1) and the row and column sums of `Q` are at most 1
(used on p.11 "since `∑_j Q_{i,j} ≤ 1`"; the column sums for an `r`-round), and `l`, `r` are any
real vectors.

**Formalization Note.** `error17 M Q l r` is `‖δ_L‖₁ + ‖δ_R‖₁`; `algorithm1Step` is one round
(lines 2–8), with the tie `‖δ_L‖₁ = ‖δ_R‖₁` updating `l`, as printed; `(algorithm1Step M Q)^[t]` is
`t` rounds, without the stopping rule. -/
theorem step_contraction {L R : Type*} [Fintype L] [Fintype R]
    (M Q : L → R → ℝ) (hM : ∀ i j, 0 ≤ M i j) (hQ : ∀ i j, 0 ≤ Q i j)
    (hrow : ∀ i, ∑ j, Q i j ≤ 1) (hcol : ∀ j, ∑ i, Q i j ≤ 1)
    (l : L → ℝ) (r : R → ℝ) :
    error17 M Q (algorithm1Step M Q (l, r)).1 (algorithm1Step M Q (l, r)).2 ≤
        (3 / 4) * error17 M Q l r ∧
      ∀ t : ℕ, error17 M Q ((algorithm1Step M Q)^[t] (l, r)).1 ((algorithm1Step M Q)^[t] (l, r)).2 ≤
        (3 / 4) ^ t * error17 M Q l r := by sorry

end ProphetBipartite
Source
Gravin, Wang, Prophet inequality for bipartite matching: merits of being simple and non adaptive, arXiv:1902.06243v1, proof of Theorem 3.2, (18)–(21) and the display after (21), pp.10–11
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Oct 31, 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