Lemma 5: the truncated product sum is at least half the total
ProvedOnlineMatchFrameworks.Supplement.lemma_5competitive-analysisonline-matchingp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1patiencestochastic-rewards
Let and let be nonnegative reals with . Then
In the paper for a fixed item and an optimal solution of LP (5), and the left side bounds from below the probability that the algorithm really probes . The inequality closes the proof of the -approximation for an arbitrary patience distribution.
Differences from the source:
- generalization: x* a column of an optimal solution of LP (5), θ̄ the largest index with x*_θ > 0 (p.45) → any nonnegative sequence x_1, …, x_n with x_n > 0; reason: such a column, truncated at θ̄, is one such sequence
- reading: the algorithm’s probability of probing any offline node in a non-simulated fashion is at least half the LP total; "That is," the displayed inequality → the displayed inequality; reason: the lemma defines its claim by the display, and the link to the algorithm is (17)–(18) in the proof of Theorem 6
Preamble
import Mathlib open scoped BigOperators
Formal statement
namespace OnlineMatchFrameworks.Supplement
/-- **Lemma 5.** arXiv:1907.03963v6, Appendix A, Lemma 5, p.45:
`∑_{θ=1}^{θ̄} x*_θ ∏_{θ'=1}^{θ-1} max{1 - x*_{θ'}/(x*_{θ'+1} + ⋯ + x*_θ̄), 0} ≥ ½ ∑_{θ=1}^{θ̄} x*_θ`.
**Formalization Note.** `x` is the column `x*_{jθ}` of a fixed item `j`, and `n` is `θ̄`, "the maximum
index θ for which x*_θ > 0" (p.45). Only `x ≥ 0` and `x n > 0` are used, so the statement is for any
such sequence. Every denominator is positive, since it contains `x n`. -/
theorem lemma_5 (n : ℕ) (hn : 1 ≤ n) (x : ℕ → ℝ)
(hx : ∀ θ ∈ Finset.Icc 1 n, 0 ≤ x θ) (hlast : 0 < x n) :
1 / 2 * ∑ θ ∈ Finset.Icc 1 n, x θ ≤
∑ θ ∈ Finset.Icc 1 n, x θ *
∏ θ' ∈ Finset.Ico 1 θ,
max (1 - x θ' / ∑ k ∈ Finset.Icc (θ' + 1) n, x k) 0 := by sorry
end OnlineMatchFrameworks.Supplement
Source
Brubach, Grammel, Ma & Srinivasan, Online Matching Frameworks under Stochastic Rewards, Product Ranking, and Unknown Patience, arXiv:1907.03963v6, Appendix A, Lemma 5, p.45