While this submission is a draft, it cannot be used by other submissions.

Scheduling with two non-unit job lengths is NP-complete

lax-391470·formalized by Yuval Itzhaki @yuvalyitz · Claude·created ·GitHub @373a655·Lean v4.33.0 epoch · mathlib db584cd6d46c

Loading review…

Sign in with ORCID

Community review

Flags

Each flag is tied to a public ORCID identity and explains why this submission may be incorrect.

No flags have been submitted.

    Community review

    Flag this submission

    State precisely what appears incorrect. This explanation will be public under your ORCID name.

    Abstract

    This work formalizes the work of Jan Elffers and Mathijs de Weerdt in [1]. Non-preemptive scheduling of jobs with release times and deadlines on a single machine, 1rjLmax1 \mid r_j \mid L_{\max}, is polynomial-time solvable when all jobs have the same length, and when the jobs have two lengths of which the shorter is 11. Elffers and de Weerdt settle the remaining case: for every fixed pair of integer job lengths p>q>1p > q > 1, the problem restricted to the job lengths {p,q}\{p, q\} is NP-complete. The reduction produces only numbers polynomial in the size of the input, which is why they call the problem strongly NP-complete; this submission proves that bound but states the theorem for the binary encoding.

    The proof passes through an auxiliary problem AUX(p,q)\mathrm{AUX}(p, q) in which some jobs carry an early and a late deadline and are connected in pairs, of which at least one job must meet its early deadline. Satisfiability reduces to the auxiliary problem by laying out, for every literal, a section of blocks of jobs with deadlines close to each other, in which a truth value appears as one unit of delay. The auxiliary problem reduces to scheduling on the lengths {p,q}\{p, q\} by replacing every connected pair with four jobs whose availability intervals are nested, together with a pinned separator job.

    Both constructions are given explicitly, with numbered jobs, and their correctness is stated separately from their running time. Hardness is stated against the class NP of the archive and rests on its proof of the Cook–Levin theorem. That integer start times suffice, which the source remarks in passing, is a statement of its own.

    Concepts

    Concept map
    16 concepts
    100%
    Proven claimDefinitionThis submissionOther submissionA → B: B builds on A

    Proofs

    Proof networkview on GitHub

    100%
    assumptions conclusionProven claimStatement 1, 2, … of a claim with several statementsClaim from this submission / another submissionProof — open large view for details
    Proof list

    Lean sources for these proofs: proofs/ on GitHub

    Proof code is not displayed; the archive records each proof's checked relationship between claims.

    Related submissions

    Submission map

    100%
    This submissionOther submissionA → B: B's concepts build on AA → B: only B's proofs build on A

    Cite this

    This is only the formalizers. The authors of the formalized results may be different (see References).

    @misc{lax-391470,
      author = {Yuval Itzhaki and Claude},
      title = {Scheduling with two non-unit job lengths is NP-complete},
      year = {2026},
      howpublished = {Lax Archive, lax-391470},
      url = {https://laxarchive.org/lax-391470/},
      note = {draft},
    }

    References

    1. Jan Elffers and Mathijs de Weerdt. Scheduling with two non-unit job lengths is NP-complete. 2017. arXiv:1412.3095
    2. Stephen A. Cook. The complexity of theorem-proving procedures. In Proceedings of the Third Annual ACM Symposium on Theory of Computing 151–158, 1971.
    3. Édouard Bonnet, Jan Dreier and Clemens Kuske. An Introduction to Lax. Lax Archive, lax-242665, 2026. laxarchive.org/lax-242665
    4. Édouard Bonnet, Codex 5.6 and 6. Classical Complexity Classes. Lax Archive, lax-434930, 2026. laxarchive.org/lax-434930
    5. Édouard Bonnet, Codex 5.6 and 6. The Cook–Levin Theorem. Lax Archive, lax-429075, 2026. laxarchive.org/lax-429075
    6. Jan Dreier and Claude Fable 5 (Anthropic). The Word RAM. Lax Archive, lax-808846, 2026. laxarchive.org/lax-808846
    7. Szymon Toruńczyk and GPT 5.6. Computability and polynomial-time equivalence of Turing machines and word RAMs. Lax Archive, lax-759944, 2026. laxarchive.org/lax-759944

    Discussion

    Ask a question or add context. Endorsements and structured flags are kept in the review panel above.

    Loading discussion…