Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 5(b) — G has a Hamilton path iff the instance of (a) has Σ_j C_j ≤ ½n(n − 1)(μ + 2λ) + nmμ

Proved
SchedComplexity.NoWait.theorem_5b_equiv

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

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

With the same graph, assignment ι\iotaι, parameters λ≥1\lambda\ge1λ≥1, μ≥2λ+3\mu\ge2\lambda+3μ≥2λ+3, and the instance "constructed as in (a)", now read as an instance of n∣m∣F,no wait,wj=1∣∑wjCjn|m|F,\textit{no wait},w_j=1|\sum w_jC_jn∣m∣F,no wait,wj​=1∣∑wj​Cj​: GGG has a Hamilton path if and only if some feasible schedule has

∑jCj≤12n(n−1)(μ+2λ)+nmμ.\sum_j C_j\le\tfrac12 n(n-1)(\mu+2\lambda)+nm\mu.j∑​Cj​≤21​n(n−1)(μ+2λ)+nmμ.

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

Formalization Note The threshold is compared in Q\mathbb QQ exactly as printed; since n(n−1)n(n-1)n(n−1) is even it is an integer. For n=2n=2n=2 the hypothesis on ι\iotaι cannot be met.

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

/-- Theorem 5(b), the equivalence (p. 25): for the instance constructed as in (a), with an
admissible `ι`, `λ ≥ 1` and `μ ≥ 2λ + 3`, the graph has a Hamilton path iff some feasible
no-wait schedule has `Σ_j C_j ≤ ½ n(n − 1)(μ + 2λ) + nmμ` (compared in `ℚ`, as printed). -/
theorem theorem_5b_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 ℓ : ℕ) : ℚ) ≤
          (1 / 2 : ℚ) * n * ((n : ℚ) - 1) * ((mu : ℚ) + 2 * lam) +
            (n : ℚ) * (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(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