Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3 — PARTITION ∝n∣2∣I∣Cmax⁡\propto n|2|I|C_{\max}∝n∣2∣I∣Cmax​ and PARTITION ∝n∣2∣I∣∑wjCj\propto n|2|I|\sum w_jC_j∝n∣2∣I∣∑wj​Cj​

Proved
SchedComplexity.Partition.theorem_3_partition_reducible

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

complexitynp-completenessp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1partitionscheduling

Theorem 3 (Brucker, Lenstra & Rinnooy Kan). PARTITION is reducible to the following problems:

  1. n∣2∣I∣Cmax⁡n|2|I|C_{\max}n∣2∣I∣Cmax​, minimizing the makespan on two identical machines;
  2. n∣2∣I∣∑wjCjn|2|I|\sum w_jC_jn∣2∣I∣∑wj​Cj​, minimizing the total weighted completion time on two identical machines.

"Reducible" (P′∝PP'\propto PP′∝P, Section 2) means polynomial-time many-one reducibility between the recognition languages: there is a function fff, computable by a Turing machine in polynomial time, such that a word xxx is the code of a yes-instance of PARTITION (positive integers) iff f(x)f(x)f(x) is the code of an instance of the target problem together with a threshold yyy for which some feasible schedule has value ≤y\le y≤y:

LPARTITION≤pLn∣2∣I∣Cmax⁡andLPARTITION≤pLn∣2∣I∣∑wjCj.L_{\mathrm{PARTITION}} \le_p L_{n|2|I|C_{\max}} \quad\text{and}\quad L_{\mathrm{PARTITION}} \le_p L_{n|2|I|\sum w_jC_j}.LPARTITION​≤p​Ln∣2∣I∣Cmax​​andLPARTITION​≤p​Ln∣2∣I∣∑wj​Cj​​.

Since PARTITION is NP-complete, both scheduling problems are NP-hard, already with two machines.

Formalization Note Reducibility is CookPvsNP.PolyReducible (one-tape Turing machines with an explicit polynomial time bound). All languages are over the four-letter alphabet BSym with binary number codes encNats. The target languages have natural-number thresholds; the paper's rational thresholds 12A\tfrac12A21​A and ∑j≤kajak−14A2\sum_{j\le k}a_ja_k-\tfrac14A^2∑j≤k​aj​ak​−41​A2 are replaced in the code by their floors, which give the same yes-instances because all schedule values are integers. The NP-membership statement of p. 8 is not part of this theorem.

Preamble
import Mathlib
import Definitions.Def_CookPvsNP_defs
import Definitions.Def_SchedComplexity_Partition_PartitionProblem
import Definitions.Def_SchedComplexity_Partition_Languages
Formal statement
namespace SchedComplexity.Partition

/-- Theorem 3 (Brucker, Lenstra & Rinnooy Kan 1975, p. 15): PARTITION is reducible (polynomial-time
many-one, `CookPvsNP.PolyReducible`) to (a) `n|2|I|C_max` and (b) `n|2|I|Σw_jC_j`. -/
theorem theorem_3_partition_reducible :
    CookPvsNP.PolyReducible partitionLang cmaxLang ∧
      CookPvsNP.PolyReducible partitionLang sumWCLang := 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 (reducibility as defined on p. 4, Section 2)
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