§3.4 — capture of disjoint sets is disjoint, and capture is monotone
ProvedLocalSearchFL.MultiSwap.capture_disjoint_monocombinatoricsfacility-locationk-medianlocal-searchp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1
Let and be two solutions with client assignments and , and let . For all :
- if , then ;
- if , then .
These two facts let the partition of and used in the analysis compute captures against the original solutions throughout.
Formalization Note The paper writes ; the statement is given for , which contains it.
Preamble
import Mathlib import Definitions.Def_LocalSearchFL_MultiSwap_capture
Formal statement
namespace LocalSearchFL.MultiSwap
/-- §3.4, p. 551: for `X, Y ⊆ S`, if `X` and `Y` are disjoint then `capture(X)` and `capture(Y)`
are disjoint, and if `X ⊆ Y` then `capture(X) ⊆ capture(Y)`. -/
theorem capture_disjoint_mono {Cl Fa : Type} [Fintype Cl] [DecidableEq Cl] [DecidableEq Fa]
(σS σO : Cl → Fa) (S O X Y : Finset Fa) (hX : X ⊆ S) (hY : Y ⊆ S) :
(Disjoint X Y → Disjoint (capture σS σO O X) (capture σS σO O Y)) ∧
(X ⊆ Y → capture σS σO O X ⊆ capture σS σO O Y) := by sorry
end LocalSearchFL.MultiSwap
Source
Arya, Garg, Khandekar, Meyerson, Munagala, Pandit, Local Search Heuristics for k-Median and Facility Location Problems, SIAM J. Comput. 33(3), 2004, p. 551, §3.4
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Data.
- is a finite type of clients and is a type of facilities, both with decidable equality.
- are arbitrary functions.
- are arbitrary finite subsets of .
Hypotheses. and .
Definitions used.
- and .
- .
Claim. Both of the following hold:
- If , then .
- If , then .
About the hypotheses. appears only in the hypotheses . It is not tied to or . For any and one can take , so both conclusions are claimed for all finite and , all functions , and all finite .
Degenerate cases.
- If or , the corresponding capture is empty. Both parts then hold trivially where they apply.
- If or is empty, all captures are empty.
- No default values arise.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.