Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Sect. 4.1 — if [C-LP] is feasible for T=1T = 1T=1, some schedule has makespan at most 1+R=33/171 + R = 33/171+R=33/17

Proved
RestrictedAssignment.Svensson.makespan_le_of_clp_feasible_one

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

approximationconfiguration-lpp2o-batch-p100bp2o-gran-per-chapterp2o-plan-paperp2o-v1scheduling

Let (J,M,p,Γ)(J, M, p, \Gamma)(J,M,p,Γ) be an instance of restricted assignment with pj≥0p_j \ge 0pj​≥0 for all jjj. If [C-LP] is feasible for target makespan 111, then there is a schedule σ:J→M\sigma : J \to Mσ:J→M with σ(j)∈Γ(j)\sigma(j) \in \Gamma(j)σ(j)∈Γ(j) for every job jjj and

∑j: σ(j)=ipj  ≤  1+1617for every machine i.\sum_{j :\, \sigma(j) = i} p_j \;\le\; 1 + \tfrac{16}{17} \qquad \text{for every machine } i .j:σ(j)=i∑​pj​≤1+1716​for every machine i.

This is Theorem 4.1 under the paper's normalization OPTLP=1\mathrm{OPT}_{LP} = 1OPTLP​=1; the paper obtains it by calling Algorithm 2 repeatedly, starting from the empty partial schedule, until all jobs are assigned.

Preamble
import Mathlib
import Definitions.Def_RestrictedAssignment_Svensson_configLP
Formal statement
namespace RestrictedAssignment.Svensson

/-- Svensson, arXiv:1011.1168v2, p. 15, Sect. 4.1: under the normalization `OPT_LP = 1`, if
[C-LP] is feasible for target makespan 1 then there is a schedule respecting `Γ` with makespan
at most `1 + R = 1 + 16/17`. -/
theorem makespan_le_of_clp_feasible_one {J M : Type} [Fintype J] [Fintype M] [DecidableEq J] [DecidableEq M]
    (Γ : J → Finset M) (p : J → ℝ) (hp : ∀ j, 0 ≤ p j) (hLP : CLPFeasible Γ p 1) :
    ∃ σ : J → M, (∀ j, σ j ∈ Γ j) ∧ ∀ i, schedLoad p σ i ≤ 1 + 16 / 17 := by sorry

end RestrictedAssignment.Svensson
Source
Svensson, Santa Claus Schedules Jobs on Unrelated Machines, arXiv:1011.1168v2, p. 15, Sect. 4.1
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Let JJJ (jobs) and MMM (machines) be finite types with decidable equality. Let Γ(j)⊆M\Gamma(j) \subseteq MΓ(j)⊆M for each job, and let the sizes satisfy pj≥0p_j \ge 0pj​≥0 for all jjj.

Hypothesis. The configuration LP with target 111 is feasible: there are reals xi,C≥0x_{i,C} \ge 0xi,C​≥0 (for every machine iii and every C⊆JC \subseteq JC⊆J) with

∑C∈C(i)xi,C≤1  (∀i),∑i∑C∈C(i), C∋jxi,C≥1  (∀j),\sum_{C \in \mathcal{C}(i)} x_{i,C} \le 1 \ \ (\forall i), \qquad \sum_{i} \sum_{C \in \mathcal{C}(i),\, C \ni j} x_{i,C} \ge 1 \ \ (\forall j),C∈C(i)∑​xi,C​≤1  (∀i),i∑​C∈C(i),C∋j∑​xi,C​≥1  (∀j),

where C(i)={C⊆J:i∈Γ(j) ∀j∈C, ∑j∈Cpj≤1}\mathcal{C}(i) = \{C \subseteq J : i \in \Gamma(j)\ \forall j \in C,\ \sum_{j \in C} p_j \le 1\}C(i)={C⊆J:i∈Γ(j) ∀j∈C, ∑j∈C​pj​≤1}.

Conclusion. There is a total assignment σ:J→M\sigma : J \to Mσ:J→M with σ(j)∈Γ(j)\sigma(j) \in \Gamma(j)σ(j)∈Γ(j) for every jjj and

∑j : σ(j)=ipj  ≤  1+1617for every machine i.\sum_{j \,:\, \sigma(j) = i} p_j \;\le\; 1 + \tfrac{16}{17} \quad \text{for every machine } i.j:σ(j)=i∑​pj​≤1+1716​for every machine i.

Degenerate cases.

  • JJJ empty. The empty assignment works, with all loads 000.
  • JJJ nonempty and (MMM empty or some Γ(j)=∅\Gamma(j) = \emptysetΓ(j)=∅). The hypothesis fails, so the statement is vacuous.
  • Size bound. The hypothesis forces pj≤1p_j \le 1pj​≤1 for every job.
  • Zero-size jobs are allowed.
Human review
  • Endorsed by Shuze Chen · Sep 28, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 28, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me