Section 2 — rounding weights to integers loses at most a factor
ProvedApproxMWM.Scaling.rescaling_approx_mwmapproximation-algorithmsmatchingp2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1
Let be a finite simple graph with vertices and nonnegative edge weights , let , and let . Put and define the rounded weights . If is a -MWM with respect to , then for every matching of
In particular is a -MWM with respect to .
This justifies the standing assumption of the paper that edge weights are integers in with polynomial in .
Formalization Note The page writes this argument as an unnumbered chain of inequalities for a maximum weight matching ; here the strict conclusion is stated for every matching , which follows since and . The page's is unrelated to of Definition 3.10. is given by the hypotheses that it bounds every edge weight and is attained.
Preamble
import Mathlib import Definitions.Def_ApproxMWM_Scaling_Matching
Formal statement
namespace ApproxMWM.Scaling
/-- Section 2, display on pp. 1:8–1:9 (Duan–Pettie, J. ACM 61(1) 2014): rounding the weights.
Let `G` have `n = |V|` vertices and nonnegative edge weights `w` with maximum
`w_max = max_e w(e) > 0`, and let `0 < ε < 1`. Put `γ_r = ε · w_max / n` and
`w̃(e) = ⌊w(e) / γ_r⌋`. If `M` is a `(1 - ε/2)`-MWM with respect to `w̃`, then
`w(M) > (1 - ε) · w(M')` for every matching `M'` of `G`; in particular `M` is a `(1 - ε)`-MWM
with respect to `w`. -/
theorem rescaling_approx_mwm {V : Type*} [Fintype V] [DecidableEq V]
(G : SimpleGraph V) (w : Sym2 V → ℝ) (ε wmax : ℝ) (hε : 0 < ε) (hε1 : ε < 1)
(hw_nonneg : ∀ e ∈ G.edgeSet, 0 ≤ w e)
(hwmax_ge : ∀ e ∈ G.edgeSet, w e ≤ wmax)
(hwmax_att : ∃ e ∈ G.edgeSet, w e = wmax)
(hwmax_pos : 0 < wmax)
(M : Finset (Sym2 V))
(hM : IsApproxMWM G (fun e => ((⌊w e / (ε * wmax / (Fintype.card V : ℝ))⌋ : ℤ) : ℝ))
(1 - ε / 2) M) :
IsMatching G M ∧ ∀ M' : Finset (Sym2 V), IsMatching G M' → (1 - ε) * weight w M' < weight w M := by sorry
end ApproxMWM.Scaling
Source
Duan and Pettie, Linear-Time Approximation for Maximum Weight Matching, J. ACM 61(1), Article 1 (2014), https://doi.org/10.1145/2529989, pp. 1:8–1:9, Section 2, display on pp. 1:8–1:9
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.