Theorem 4.2: each edge is matched with probability ≥ x_{i,t} · (1/2 + c)
ProvedOnlineMaxWeightMatch.Approx.theorem_4_2Standing setting (§4). is a RideHail instance with bins (a finite set) and balls , arrival probabilities and weights . The vector is a feasible solution of LP-Match (constraints (9)–(12)) that satisfies Constraint (10) with equality, for every ball (the paper's standing assumption, guaranteed by the dummy bins of Line 2 of Algorithm 1). Algorithm 1 (Lines 3–13) is run on with ; is the probability over its randomness (arrivals, first picks, acceptance coins, second picks).
Every edge is matched by Algorithm 1 with probability at least
where is the output matching.
By linearity of expectation this per-edge guarantee turns any LP-Match solution into an online algorithm earning a fraction of the LP objective.
import Mathlib import Definitions.Def_OnlineMaxWeightMatch_Approx_Algorithm1 open MeasureTheory ProbabilityTheory
namespace OnlineMaxWeightMatch.Approx
/-- Theorem 4.2. Each edge `(i, t)` is matched by Algorithm 1 with probability at least
`Pr[(i, t) ∈ M] ≥ x_{i,t} · (1/2 + c)`. -/
theorem theorem_4_2 {ι : Type*} [Fintype ι] {n : ℕ} (I : RideHailInstance ι n)
(x : ι → Fin n → ℝ) (hx : LPFeasible I x) (htight : ∀ t, ∑ i, x i t = I.p t)
(i : ι) (t : Fin n) :
x i t * (1 / 2 + c) ≤ (algMeasure I x).real {ω | (i, t) ∈ algMatching x ω} := by sorry
end OnlineMaxWeightMatch.Approx
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.