Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 3(b) — with pj=wjp_j=w_jpj​=wj​, ∑wjCj=k(S)\sum w_jC_j=k(S)∑wj​Cj​=k(S) for every order

Proved
SchedComplexity.Partition.theorem_3b_value_eq_k

by mikedeng1 · Oct 5, 2026 · Mathlib 0df444a (Lean v4.33.1)

np-completenessp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingweighted-completion-time

In construction (b) of Theorem 3 (n=tn=tn=t jobs, pj1=wj=ajp_{j1}=w_j=a_jpj1​=wj​=aj​, two identical machines), let SSS be the set of jobs assigned to M1M_1M1​, so that T−ST-ST−S is assigned to M2M_2M2​. Then:

  1. for every schedule with this assignment in which each machine processes its jobs without idle time from time 000, in any order,
∑jwjCj=k(S);\sum_j w_jC_j = k(S);j∑​wj​Cj​=k(S);
  1. every feasible schedule with this assignment has ∑jwjCj≥k(S)\sum_j w_jC_j \ge k(S)∑j​wj​Cj​≥k(S).

Part 1 is the paper's statement that "the value of ∑wjCj\sum w_jC_j∑wj​Cj​ is not influenced by the ordering of the jobs on the machines and only depends on the choice of SSS". Part 2 makes explicit what this sentence needs in the recognition problem, where schedules may contain idle time: inserting idle time never lowers the value.

Formalization Note The statement holds for all natural data aja_jaj​, so positivity is not assumed. Machine M1M_1M1​ is machine 0.

Preamble
import Mathlib
import Definitions.Def_SchedComplexity_Partition_TwoMachineModel
import Definitions.Def_SchedComplexity_Partition_Constructions
Formal statement
namespace SchedComplexity.Partition

/-- Proof of Theorem 3(b) (p. 15): in construction (b) (`p_{j1} = w_j = a_j`), let `S` be the set
of jobs assigned to `M_1` (machine `0`) and `T − S` those on `M_2`. If each machine works without
idle time from `0`, then `Σ w_j C_j = k(S)` whatever the order of the jobs; every feasible
schedule with this assignment has `Σ w_j C_j ≥ k(S)`. -/
theorem theorem_3b_value_eq_k (a : List ℕ) (S : Finset (Fin a.length))
    (σ : Schedule a.length) (hS : ∀ j, σ.machine j = 0 ↔ j ∈ S) :
    (σ.IsNonIdle (procB a) → σ.sumWC (procB a) (procB a) = kVal a S) ∧
      (σ.IsFeasible (procB a) → kVal a S ≤ σ.sumWC (procB a) (procB a)) := by sorry

end SchedComplexity.Partition
Source
Brucker, Lenstra & Rinnooy Kan, Complexity of Machine Scheduling Problems, Mathematisch Centrum Report BW 43/75 (1975), p. 15, proof of Theorem 3(b)
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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