Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 5(a) — G has a Hamilton path iff the no-wait flow shop has C_max ≤ (n − 1)(μ + 2λ) + mμ

Proved
SchedComplexity.NoWait.theorem_5a_equiv

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

hamilton-pathno-waitnp-completenessp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1scheduling

Let G=(V,A)G=(V,A)G=(V,A) be a directed graph with n=∣V∣n=|V|n=∣V∣, m=n(n−1)+2m=n(n-1)+2m=n(n−1)+2, ι\iotaι an admissible assignment, and λ≥1\lambda\ge1λ≥1, μ≥2λ+3\mu\ge2\lambda+3μ≥2λ+3. Consider the n∣m∣F,no wait∣Cmax⁡n|m|F,\textit{no wait}|C_{\max}n∣m∣F,no wait∣Cmax​ instance of the construction of Theorem 5. Then GGG has a Hamilton path if and only if this instance has a feasible schedule with

Cmax⁡≤(n−1)(μ+2λ)+mμ.C_{\max}\le(n-1)(\mu+2\lambda)+m\mu.Cmax​≤(n−1)(μ+2λ)+mμ.

This is the correctness of the reduction in Theorem 5(a).

Formalization Note Cmax⁡≤yC_{\max}\le yCmax​≤y is stated as Cℓ≤yC_\ell\le yCℓ​≤y for every job. The threshold is computed in N\mathbb NN; at n=0n=0n=0, (n−1)(n-1)(n−1) truncates to 000, and both sides hold there. For n=2n=2n=2 the hypothesis on ι\iotaι cannot be met, so the statement says nothing about n=2n=2n=2.

Preamble
import Mathlib
import Definitions.Def_SchedComplexity_NoWait_DirectedGraphs
import Definitions.Def_SchedComplexity_NoWait_Construction
Formal statement
namespace SchedComplexity.NoWait

/-- Theorem 5(a), the equivalence (p. 25): for an admissible `ι`, `λ ≥ 1` and `μ ≥ 2λ + 3`, the
directed graph `adj` on `n` vertices has a Hamilton path iff the constructed
`n|m|F,no wait|C_max` instance (`m = n(n−1)+2`) has a feasible schedule with
`C_max ≤ (n − 1)(μ + 2λ) + mμ`. -/
theorem theorem_5a_equiv {n : ℕ} (adj : Fin n → Fin n → Bool) (ι : Fin n → Fin n → ℕ)
    (hι : Admissible n ι) (lam mu : ℕ) (hlam : 1 ≤ lam) (hmu : 2 * lam + 3 ≤ mu) :
    HasHamiltonPath adj ↔
      ∃ B, IsNoWaitSchedule (procTimes adj ι lam mu) B ∧
        ∀ ℓ, completion (procTimes adj ι lam mu) B ℓ ≤
          (n - 1) * (mu + 2 * lam) + numMachines n * mu := by sorry

end SchedComplexity.NoWait
Source
Brucker, Lenstra & Rinnooy Kan, Complexity of Machine Scheduling Problems, Mathematisch Centrum Report BW 43/75 (1975), p. 25, proof of Theorem 5(a)
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