Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2.2 — below makespan r⋅lbr\cdot\mathrm{lb}r⋅lb, at least a (1−4/r)(1-4/r)(1−4/r) fraction of each job's long-operations are good

Proved
FlowJobHardness.FlowShopGap.lemma_2_2

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

flow-shopjob-shoplower-boundmakespanp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let r≥1r\ge 1r≥1 and ddd be natural numbers and let sss be a feasible schedule of the flow shop instance F(r,d)F(r,d)F(r,d) (nonnegative start times, the operations of each job in order, no two operations on one machine overlapping). Suppose the makespan of sss is less than r⋅lb=r⋅r2dr\cdot\mathrm{lb}=r\cdot r^{2d}r⋅lb=r⋅r2d. Then for every job jjj,

#{good long-operations of j} ≥ (1−4r)⋅#{long-operations of j}.\#\{\text{good long-operations of } j\}\ \ge\ \Bigl(1-\frac4r\Bigr)\cdot\#\{\text{long-operations of } j\}.#{good long-operations of j} ≥ (1−r4​)⋅#{long-operations of j}.

(A job of frequency fff has r2fr^{2f}r2f long-operations.)

This lemma converts the assumption "the makespan is small" into the statement that most long-operations of every job are followed quickly by the next one; it feeds the averaging argument of Lemma 2.4.

Formalization Note The paper states the lemma for "sufficiently large" rrr without a threshold; the statement as formalized holds for every r≥1r\ge1r≥1 (for r≤4r\le4r≤4 the right-hand side is nonpositive). Fractions are compared as real numbers, after multiplying by the number of long-operations.

Preamble
import Mathlib
import Definitions.Def_JobShopLTAS_Core_Instance
import Definitions.Def_FlowJobHardness_FlowShopGap_Construction
import Definitions.Def_FlowJobHardness_FlowShopGap_GoodOps

open JobShopLTAS.Core
Formal statement
namespace FlowJobHardness.FlowShopGap

/-- Lemma 2.2 (p. 20:10): if a feasible schedule of `F(r, d)` has makespan less than
`r · lb = r · r^{2d}`, then for every job the fraction of its long-operations that are good is
at least `1 - 4/r`. -/
theorem lemma_2_2 (r d : ℕ) (hr : 1 ≤ r) (s : (inst r d).Op → ℝ)
    (hs : (inst r d).IsFeasibleSchedule Finset.univ s)
    (hmk : (inst r d).makespan Finset.univ s < (r : ℝ) * (r : ℝ) ^ (2 * d))
    (q : Fin (size r d)) :
    (1 - 4 / (r : ℝ)) * (longCount r d q : ℝ) ≤ (goodCount r d s q : ℝ) := by sorry

end FlowJobHardness.FlowShopGap
Source
Mastrolilli, Svensson, Hardness of Approximating Flow and Job Shop Scheduling Problems, J. ACM 58(5) (2011), Article 20, p. 20:10, Lemma 2.2
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 7, 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