Lemma 4.11: Pr[O_{i,t} | A_t, i1 ≠ i, U1(t)] ≤ Pr[O_{i,t}] · (1 + 12c/(1/2 − c)^2)
ProvedOnlineMaxWeightMatch.Approx.lemma_4_11Standing 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 bin is occupied at time , 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 late edge ,
Conditioning on the ball's arrival, on a first pick other than and on the first pick's failure changes the occupancy probability of only by a small factor; this is the input to the proof of Theorem 4.6.
Formalization Note The condition is the intersection , via ProbabilityTheory.cond. If that event has probability (e.g. ), Lean's conditional probability is and the inequality holds trivially; the paper's statement is then undefined.
import Mathlib import Definitions.Def_OnlineMaxWeightMatch_Approx_Analysis open MeasureTheory ProbabilityTheory
namespace OnlineMaxWeightMatch.Approx
/-- Lemma 4.11. For any late edge `(i, t)`,
`Pr[O_{i,t} | A_t, i_1 ≠ i, U_1(t)] ≤ Pr[O_{i,t}] · (1 + 12c/(1/2 - c)^2)`. -/
theorem lemma_4_11 {ι : 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) :
(algMeasure I x)[|arrivalSet t ∩ (firstPickSet t i)ᶜ ∩ unmatchedAfterFirstSet x t].real
(occupiedSet x i t) ≤
(algMeasure I x).real (occupiedSet x i t) * (1 + 12 * c / (1 / 2 - c) ^ 2) := by sorry
end OnlineMaxWeightMatch.Approx
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.