Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 7(b), first step — the long job occupies its alternating B-length slots

Proved
FlowJobShop.ThreePartJob.forced_long_job

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

job-shopp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1preemptionreductionscheduling

Let CCC be a valid 3-PARTITION input and SSS a feasible preemptive schedule of JS(C)JS(C)JS(C) finishing by 2tB2tB2tB. Number the operations of the final job from i=0i=0i=0 to 2t−12t-12t−1. Every processing piece of its operation iii lies in the interval

[iB,(i+1)B].[iB,(i+1)B].[iB,(i+1)B].

Thus the final job has the timing shown in Figure 4. Together with the operation's total length BBB and machine disjointness, the interval constraint expresses that its allotted slot is filled. It is an intermediate restriction on any schedule that meets the threshold.

Formalization Note A contiguous operation may be represented by adjacent pieces in the finite-piece model; the theorem constrains their occupied interval rather than demanding a particular piece count.

Preamble
import Mathlib
import Definitions.Def_ResourceScheduling_Chain_ThreePartition
import Definitions.Def_JobShopLTAS_Core_Instance
import Definitions.Def_FlowJobShop_ThreePartJob_Instance
import Definitions.Def_FlowJobShop_ThreePartJob_Schedules
Formal statement
namespace FlowJobShop.ThreePartJob

open ResourceScheduling.Chain

/-- Proof of Lemma 7(b), p. 45: if the schedule ends by `2tB`, every
piece of operation `i` of the long job lies in its allotted interval
`[iB,(i+1)B]`. Total work and disjointness ensure the interval is filled. -/
theorem forced_long_job (C : ThreePartition) (hvalid : C.Valid)
    (S : PreemptiveSchedule (reductionInstance C))
    (hfinish : S.FinishesBy (threshold C)) :
    ∀ u : Fin S.pieceCount, (S.op u).1.val = 3 * C.t →
      ((S.op u).2.val : ℝ) * C.b ≤ S.start u ∧
        S.finish u ≤ (((S.op u).2.val + 1 : ℕ) : ℝ) * C.b := by sorry

end FlowJobShop.ThreePartJob
Source
Gonzalez, Sahni, Flowshop and Jobshop Schedules: Complexity and Approximation, Operations Research 26(1) (1978), p. 45, proof of Lemma 7(b), sentence beginning 'Job s+1 has to be scheduled', https://doi.org/10.1287/opre.26.1.36
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