Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3(b) — PARTITION solvable iff ∑wjCj≤y\sum w_jC_j\le y∑wj​Cj​≤y with pj=wj=ajp_j=w_j=a_jpj​=wj​=aj​

Proved
SchedComplexity.Partition.theorem_3b_equivalence

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

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

Let a1,…,ata_1,\dots,a_ta1​,…,at​ be positive integers and A=∑j∈TajA=\sum_{j\in T}a_jA=∑j∈T​aj​. Consider the instance of n∣2∣I∣∑wjCjn|2|I|\sum w_jC_jn∣2∣I∣∑wj​Cj​ with n=tn=tn=t jobs, pj1=wj=ajp_{j1}=w_j=a_jpj1​=wj​=aj​, and the threshold

y=∑j,k∈T, j≤kajak−14A2.y=\sum_{j,k\in T,\ j\le k}a_ja_k-\tfrac14A^2 .y=j,k∈T, j≤k∑​aj​ak​−41​A2.

Then PARTITION has a solution for a1,…,ata_1,\dots,a_ta1​,…,at​ if and only if this instance has a feasible schedule with ∑jwjCj≤y\sum_j w_jC_j\le y∑j​wj​Cj​≤y.

This is the yes-instance equivalence behind the reduction PARTITION ∝n∣2∣I∣∑wjCj\propto n|2|I|\sum w_jC_j∝n∣2∣I∣∑wj​Cj​ of Theorem 3(b).

Formalization Note The threshold is compared as a real number, exactly as printed; it is not an integer when AAA is odd.

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

/-- Theorem 3(b) (p. 15): for positive integers `a_1, …, a_t`, PARTITION has a solution iff the
two-identical-machine instance `n = t`, `p_{j1} = w_j = a_j` has a feasible schedule with
`Σ w_j C_j ≤ y = Σ_{j,k∈T, j≤k} a_j a_k − ¼A²`. -/
theorem theorem_3b_equivalence (a : List ℕ) (ha : ∀ x ∈ a, 0 < x) :
    PartitionSolvable a ↔
      ∃ σ : Schedule a.length, σ.IsFeasible (procB a) ∧
        (σ.sumWC (procB a) (procB a) : ℝ) ≤ yB 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, Theorem 3(b) and its proof
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