§2, p. 6 — P(ALG/OPT ≥ E[ALG]/E[OPT] − 2ε/(c+ε)) ≥ 1 − 2exp(−2nε²), c = E[OPT]/n, for every random-lists algorithm
ProvedRandomListsMatching.Concentration.ratio_concentrationLet be a bipartite graph with finitely many advertisers . Let requests arrive with outcomes drawn i.i.d. from a probability law on a finite set ; the -th request has impression type and receives the list , and every list only contains advertisers interested in the type it comes with. Let be the number of requests assigned by the list-greedy rule of the Random Lists Algorithms, and the cardinality of a maximum matching of the realized graph. Put . Then for every ,
For every algorithm of the class, the competitive ratio in expectation, , and the ratio achieved on most realizations are therefore close whenever grows linearly in .
Formalization Note The law of the arrivals is on with the discrete σ-algebra; any joint law of type and list is allowed, which covers every Random Lists Algorithm. The hypothesis is the paper's implicit "n requests" (). No hypothesis or is made; on realizations with , and when , Lean's convention applies, and the statement remains true under it.
import Mathlib import Definitions.Def_RandomListsMatching_Concentration_Setting
namespace RandomListsMatching.Concentration
open MeasureTheory
/-- The display concluding §2 (Jaillet & Lu, accepted manuscript (rev. June 2013), p. 6): for every
Random Lists Algorithm, every `n ≥ 1` and every `ε > 0`,
`P(ALG/OPT ≥ E[ALG]/E[OPT] − 2ε/(c + ε)) ≥ 1 − 2 exp(−2nε²)`, where `c = E[OPT]/n`. -/
theorem ratio_concentration {A I X : Type} [DecidableEq A] [Fintype A] (E : Finset (A × I))
[Fintype X] [MeasurableSpace X] [DiscreteMeasurableSpace X] (ν : Measure X)
[IsProbabilityMeasure ν] (typ : X → I) (lst : X → List A)
(hint : ListsInterested E typ lst) (n : ℕ) (hn : 0 < n) (ε : ℝ) (hε : 0 < ε) :
1 - 2 * Real.exp (-2 * (n : ℝ) * ε ^ 2) ≤
(arrivalLaw ν n).real
{ω | expALG ν lst n / expOPT ν E typ n - 2 * ε / (expOPT ν E typ n / (n : ℝ) + ε) ≤
(ALG lst ω : ℝ) / (OPT E typ ω : ℝ)} := by sorry
end RandomListsMatching.Concentration
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.