Lemma 4.7: Pr[i1 ≠ i | A_t] ≥ 1 − 4c for late edges
ProvedOnlineMaxWeightMatch.Approx.lemma_4_7Standing 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).
For every late edge with , the bin picked in Line 5 at time satisfies
where is the event that ball arrives.
This is where Constraint (11) of LP-Match enters: a late ball picks the bin for which it is late with probability at most , so its second pick is rarely a re-draw of a bin already known to be occupied.
Formalization Note The hypothesis makes an event of positive probability; on a null event Lean's conditional measure is . The event is the complement of .
import Mathlib import Definitions.Def_OnlineMaxWeightMatch_Approx_Analysis open MeasureTheory ProbabilityTheory
namespace OnlineMaxWeightMatch.Approx
/-- Lemma 4.7. For any late edge `(i, t)` (with `p_t > 0`, so that `A_t` has positive
probability), the bin `i_1` picked in Line 5 at time `t` satisfies
`Pr[i_1 ≠ i | A_t] ≥ 1 - 4c`. -/
theorem lemma_4_7 {ι : 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) (hlate : IsLate x i t) (hp : 0 < I.p t) :
1 - 4 * c ≤ (algMeasure I x)[|arrivalSet t].real ((firstPickSet t i)ᶜ) := by sorry
end OnlineMaxWeightMatch.Approx
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.