The 2-matching is a collection of disjoint paths
ProvedWindowedMatching.disjoint_pathsmatchingonline-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).
For every outcome of the coins and all vertices :
- if , then and is an edge of ;
- if and , then .
So each vertex has at most one final buyer and at most one final seller, and excludes cycles. The final matches thus form vertex-disjoint paths.
Differences from the source:
- encoding: "it is just a collection of disjoint paths" → , adjacency, and injectivity of on matched sellers; reason: out-degree at most one holds because is a function, and excludes cycles; together these are the claim
- 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
/-- The 2-matching is a collection of disjoint paths (arXiv:1808.03526v1, §3.2, p.6, "this 2-matching
does not have any cycles; it is just a collection of disjoint paths"). If `m^f(s_k) = b_l` then
`k < l` and `(k, l)` is an edge of the online graph, and each buyer has at most one final seller.
**Formalization Note.** `m` is not cleared at criticality, and no buyer bids on `s_k` after `k`'s
criticality, so `m^f(s_k)` is the match of step 2(b). Out-degree at most one holds because `m` is a
function, in-degree at most one is the second clause, and `k < l` excludes cycles. -/
theorem disjoint_paths {n : ℕ} (d : ℕ) (hd : 1 ≤ d) (v : Sym2 (Fin n) → ℝ) (hv : ∀ e, 0 ≤ v e)
(tie : TieRule n) (hTie : IsArgmaxRule tie) (ω : Fin n → Bool) :
(∀ k l, (finalState d v tie ω).m k = some l → k < l ∧ (windowGraph n d).Adj k l) ∧
(∀ k k' l, (finalState d v tie ω).m k = some l → (finalState d v tie ω).m k' = some l →
k = k') := by sorry
end WindowedMatching
Source
Ashlagi, Burq, Dutta, Jaillet, Saberi & Sholley, Maximum Weight Online Matching with Deadlines, arXiv:1808.03526v1, proof context, p.6, "it is just a collection of disjoint paths"
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.