§4.3, Equation (20): Pr[U1(t) | A_t, i1 = j] ≥ 1/2 − c
ProvedOnlineMaxWeightMatch.Approx.eq_20Standing 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).
Let be the event that ball arrives, the bin picked in Line 5 at time , and the event that is unmatched after its first pick. For every bin and ball with ,
That is, whatever bin is picked first, the ball survives its first pick with probability at least . The bound is used in Lemma 4.11 and in the proof of Theorem 4.6.
Formalization Note The hypothesis (which forces ) makes the conditioning event have positive probability; on a null event Lean's conditional measure is and the inequality would fail for a trivial reason. The conditional probability is ProbabilityTheory.cond on the intersection .
import Mathlib import Definitions.Def_OnlineMaxWeightMatch_Approx_Analysis open MeasureTheory ProbabilityTheory
namespace OnlineMaxWeightMatch.Approx
/-- §4.3, Equation (20). For every bin `j` and ball `t` with `x_{j,t} > 0` (so that the
conditioning event has positive probability), `Pr[U_1(t) | A_t, i_1 = j] ≥ 1/2 - c`. -/
theorem eq_20 {ι : Type*} [Fintype ι] {n : ℕ} (I : RideHailInstance ι n)
(x : ι → Fin n → ℝ) (hx : LPFeasible I x) (htight : ∀ t, ∑ i, x i t = I.p t)
(j : ι) (t : Fin n) (hpos : 0 < x j t) :
1 / 2 - c ≤ (algMeasure I x)[|arrivalSet t ∩ firstPickSet t j].real
(unmatchedAfterFirstSet x t) := by sorry
end OnlineMaxWeightMatch.Approx
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.