A matched vertex is a seller with probability exactly
ProvedWindowedMatching.seller_prob_halfmatchingonline-algorithmsonline-matchingp2o-gran-per-chapterp2o-plan-paperp2o-v1
Throughout, is the deadline, are the weights, and the run is Postponed Greedy (Algorithm 3) on the online graph with , for an arbitrary tie-breaking rule in step 1(d). Write , for the prices and matches at the end of the run, and for the margin of the buyer in step 1(d).
If , then of the outcomes of the coins, exactly make a seller. That is,
Together with the fact that a vertex with no final match has , this gives the formula for .
Differences from the source:
- reading: "this happens with probability exactly 1/2 for every " → stated for with ; reason: the sentence is about reaching step 2(c); a vertex with no match and no predecessor is never a seller ( gives probability ), and such a vertex has
- encoding: 's status in step 2(c)i → 's status at the end of the run; reason: step 2(c) writes it and nothing writes it later
- encoding: as a fixed object → read from an arbitrary outcome ; reason: does not depend on the coins (
virtual_run_coin_free) - encoding: vertices with →
Fin n, 0-based; vertex arrives in period and is critical in period ; reason: a shift of the index, same instances - encoding: weights on undirected pairs →
v : Sym2 (Fin n) → ℝ; reason: symmetry by construction; the diagonal is never read - encoding: a fair coin flipped when an undetermined vertex is processed in step 2(c) → one coin per vertex,
ω : Fin n → Bool, uniform, read only in step 2(c); reason: unread coins change nothing, so the distribution is the same - reading: "Process events at time ", with no order within a period → the arrival is processed before the criticality; reason: the edge exists and the proof bids on it; critical-first makes the theorem false (, , gives , )
- reading: no stated end of the run → the run lasts periods; reason: every vertex must become critical; stopping at collects nothing on ,
- reading: with no tie-breaking rule → every rule
tiechoosing a maximizer as a function of the arriving vertex, the seller set and the sellers' margins, which sees no coin and no other part of the history; reason: the proof uses no property of the rule, and must not depend on the coins; a deterministic argmax over the margins is such a rule; one fixed rule would be weaker - reading: the input is the online graph → margins read
onlineWeight, which is off the edges of ; reason: p.6: "seller does not have any edges" on arrival; a seller past its deadline has no edge to a later buyer
Preamble
import Definitions.Def_WindowedMatching_PostponedGreedy
Formal statement
namespace WindowedMatching
/-- A vertex with a final match is a seller with probability exactly `1/2` (arXiv:1808.03526v1,
§3.2, proof of Theorem 3.3, p.6, "Note that this happens with probability exactly 1/2 for every k"):
of the `2 ^ n` outcomes of the coins, exactly `2 ^ (n - 1)` make `k` a seller.
**Formalization Note.** The claim is read for vertices `k` that reach step 2(c), that is, with
`m^f(s_k) ≠ ∅`. For `n = 1` the only vertex has no match and is never a seller, and such a vertex has
`p^f(s_k) = 0`, so the display on p.6 is unaffected. The status at the end of the run is the status
when step 2(c) processes `k`: step 2(c) writes it and nothing writes it later. `k : Fin n` gives
`1 ≤ n`, so `n - 1` is not truncated. The final `m` is the same for all outcomes of the coins
(`virtual_run_coin_free`), so the hypothesis reads it from an arbitrary outcome `ω₀`. -/
theorem seller_prob_half {n : ℕ} (d : ℕ) (hd : 1 ≤ d) (v : Sym2 (Fin n) → ℝ) (hv : ∀ e, 0 ≤ v e)
(tie : TieRule n) (hTie : IsArgmaxRule tie) (k : Fin n)
(ω₀ : Fin n → Bool) (hk : (finalState d v tie ω₀).m k ≠ none) :
(Finset.univ.filter fun ω : Fin n → Bool =>
(finalState d v tie ω).status k = .seller).card = 2 ^ (n - 1) := by sorry
end WindowedMatching
Source
Ashlagi, Burq, Dutta, Jaillet, Saberi & Sholley, Maximum Weight Online Matching with Deadlines, arXiv:1808.03526v1, Theorem 3.3, proof, p.6, "Note that this happens with probability exactly 1/2 for every k"
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.