Lemma 5.3 — facility cost of a CFL local optimum is at most 3 cost_f(O) + 2 cost_s(O)
ProvedLocalSearchFL.CFL.facility_cost_lemma_5_3Let be a nonempty finite set of clients and a set of facilities in a metric instance, with integer capacities and facility costs . Let be a locally optimum CFL solution for the neighbourhood (9). Then for every CFL solution ,
Added to Lemma 5.1, this gives , the locality gap of Theorem 5.5.
Formalization Note The hypothesis that there is at least one client is added: without clients, a single idle copy of a facility with , is locally optimum, and the empty solution violates the inequality.
import Mathlib import Definitions.Def_LocalSearchFL_CFL_IsCFLLocalOpt
namespace LocalSearchFL.CFL
/-- **Lemma 5.3 (facility cost)**, p. 559: the facility cost of a locally optimum CFL solution
`X` (at least one client) satisfies `cost_f(X) ≤ 3 · cost_f(O) + 2 · cost_s(O)` for every CFL
solution `O`. -/
theorem facility_cost_lemma_5_3 {Cl Fa : Type} [Fintype Cl] [Nonempty Cl]
(I : MetricInstance Cl Fa) (u : Fa → ℕ) (hu : ∀ i, 0 < u i) (f : Fa → ℝ) (hf : ∀ i, 0 ≤ f i)
(X : CFLSol Cl Fa u) (hX : IsCFLLocalOpt I f X) (O : CFLSol Cl Fa u) :
costF f X ≤ 3 * costF f O + 2 * costS I O := by sorry
end LocalSearchFL.CFL
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting:
- Clients and facilities. A finite, nonempty type of clients and an arbitrary type of facilities.
- Metric instance . A real distance on that is nonnegative, symmetric and satisfies the triangle inequality, with not required. Write .
- Capacities. with all .
- Facility costs. with all .
Solutions. A solution consists of:
- copies , each a copy of facility ;
- an assignment with each copy serving at most clients.
The costs are
and is their sum.
Hypothesis on . is locally optimal for : for every solution whose multiset of facilities is one of the following:
- 's multiset plus one copy of some facility; or
- plus copies of some , for some set of copies with .
In both cases may use any capacity-feasible assignment.
Conclusion. For every solution :
Degenerate cases:
- No empty client set. The empty-client case is excluded by hypothesis. Hence both and have at least one copy.
- Empty . Then no solution exists, and the statement is vacuous.
- Positive self-distances. need not be , so may be positive even for a client "at" its facility.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.