Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 3.1 — at a solution of (16), expression (14) is at least 13 1L⊤M1R\frac13\,\mathbb 1_L^\top M\mathbb 1_R31​1L⊤​M1R​

Proved
ProphetBipartite.eq_14_ge_third_opt

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 (Fact 3.2), and let l∈RLl\in\mathbb R^Ll∈RL, r∈RRr\in\mathbb R^Rr∈RR solve the system (16), equivalently (17):

li=∑j[Mi,j−Qi,j(li+rj)]+,rj=∑i[Mi,j−Qi,j(li+rj)]+.l_i=\sum_{j}\big[M_{i,j}-Q_{i,j}(l_i+r_j)\big]^+,\qquad r_j=\sum_{i}\big[M_{i,j}-Q_{i,j}(l_i+r_j)\big]^+ .li​=j∑​[Mi,j​−Qi,j​(li​+rj​)]+,rj​=i∑​[Mi,j​−Qi,j​(li​+rj​)]+.

Then l≥0l\ge0l≥0, r≥0r\ge0r≥0, and for all SL⊆LS_L\subseteq LSL​⊆L, SR⊆RS_R\subseteq RSR​⊆R,

3(∑i∈SLli+∑j∈SRrj+∑i∉SL∑j∉SR[Mi,j−(li+rj)Qi,j]+) ≥ ∑i∈L∑j∈RMi,j.3\Big(\sum_{i\in S_L}l_i+\sum_{j\in S_R}r_j+\sum_{i\notin S_L}\sum_{j\notin S_R}\big[M_{i,j}-(l_i+r_j)Q_{i,j}\big]^+\Big)\ \ge\ \sum_{i\in L}\sum_{j\in R}M_{i,j}.3(i∈SL​∑​li​+j∈SR​∑​rj​+i∈/SL​∑​j∈/SR​∑​[Mi,j​−(li​+rj​)Qi,j​]+) ≥ i∈L∑​j∈R∑​Mi,j​.

The bracket is the objective of (14) at α=1SL\alpha=\mathbb 1_{S_L}α=1SL​​, β=1SR\beta=\mathbb 1_{S_R}β=1SR​​, so the minimum (14) is at least one third of 1L⊤M1R\mathbb 1_L^\top M\mathbb 1_R1L⊤​M1R​, the prophet's value by (12). Combined with (11), this is the 3-approximation of Theorem 3.1.

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
  • encoding: (14) ≥ opt/3, with (14) the minimum over α ∈ {0,1}ⁿ, β ∈ {0,1}ᵐ → 3 · (objective at (S_L, S_R)) ≥ ∑ M for every pair of finsets; reason: a minimum over a finite set is ≥ c iff every value is; multiplying by 3 avoids division
Preamble
import Mathlib
import Definitions.Def_ProphetBipartite_IsSolution17
Formal statement
namespace ProphetBipartite

/-- **Proof of Theorem 3.1, (14)–(16) and the closing display: at a solution of (16), expression (14)
is at least one third of `𝟙_Lᵀ M 𝟙_R`.** Gravin & Wang, arXiv:1902.06243v1, p.9: "We will find non
negative price vectors `l, r`, s.t. (14) `≥ opt/3`" and "Finally, we show that expression (14) is
at least `opt/3` of the prophet's expected value."

Let `M`, `Q` be real `L × R` matrices with nonnegative entries whose row sums and column sums of `Q`
are at most 1 (Fact 3.2), and let `l, r` solve (16)/(17). Then `l, r ≥ 0`, and for every
`S_L ⊆ L`, `S_R ⊆ R`,

`3 · ( ∑_{i∈S_L} l_i + ∑_{j∈S_R} r_j + ∑_{i∉S_L, j∉S_R} [M_{i,j} − (l_i + r_j)·Q_{i,j}]⁺ ) ≥ ∑_{i,j} M_{i,j}`.

The left-hand bracket is the objective of (14) at `α = 𝟙_{S_L}`, `β = 𝟙_{S_R}`, so the minimum (14)
is at least `𝟙_Lᵀ M 𝟙_R / 3`.

**Formalization Note.** The statement is about arbitrary matrices with the properties the paper uses
of its `M`, `Q` (nonnegativity and Fact 3.2); the matrices of (10) are an instance. -/
theorem eq_14_ge_third_opt {L R : Type*} [Fintype L] [Fintype R] [DecidableEq L] [DecidableEq 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 → ℝ) (hlr : IsSolution17 M Q l r) :
    (∀ i, 0 ≤ l i) ∧ (∀ j, 0 ≤ r j) ∧
      ∀ (SL : Finset L) (SR : Finset R),
        ∑ i, ∑ j, M i j ≤
          3 * (∑ i ∈ SL, l i + ∑ j ∈ SR, r j +
            ∑ i ∈ SLᶜ, ∑ j ∈ SRᶜ, max (M i j - (l i + r j) * Q i j) 0) := 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.1, (14)–(16) and the closing display, p.9
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