Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2.3 — for frequencies k<ℓk<\ellk<ℓ, the sets Tg,kT_{g,k}Tg,k​ and Tg,ℓT_{g,\ell}Tg,ℓ​ contain disjoint time intervals

Proved
FlowJobHardness.FlowShopGap.lemma_2_3

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≥3r\ge3r≥3 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). Let g∈{1,…,r2d}g\in\{1,\dots,r^{2d}\}g∈{1,…,r2d} be a machine group and let k,ℓk,\ellk,ℓ be frequencies with 1≤k<ℓ≤d1\le k<\ell\le d1≤k<ℓ≤d. Then every interval of Tg,kT_{g,k}Tg,k​ is disjoint from every interval of Tg,ℓT_{g,\ell}Tg,ℓ​:

I∩J=∅for all I∈Tg,k, J∈Tg,ℓ.I\cap J=\emptyset\qquad\text{for all } I\in T_{g,k},\ J\in T_{g,\ell}.I∩J=∅for all I∈Tg,k​, J∈Tg,ℓ​.

Here Tg,fT_{g,f}Tg,f​ is the set of first halves [s(o),s(o)+p(o)/2)[s(o),s(o)+p(o)/2)[s(o),s(o)+p(o)/2) of the good long-operations ooo on machine mg,fm_{g,f}mg,f​.

Together with the disjointness of operations on one machine, the lemma shows that the first halves of all good long-operations in one machine group are pairwise disjoint, so their total length is at most the makespan.

Formalization Note The paper's proof uses r2(d−k)/2−r2(d−ℓ)>r24r2(d−ℓ)r^{2(d-k)}/2-r^{2(d-\ell)}>\frac{r^2}{4}r^{2(d-\ell)}r2(d−k)/2−r2(d−ℓ)>4r2​r2(d−ℓ), which holds for r>2r>2r>2; this is the threshold r≥3r\ge3r≥3. The lemma needs no assumption on the makespan.

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.3 (p. 20:10): in every feasible schedule of `F(r, d)` (`r ≥ 3`), for every
machine group `g` and frequencies `1 ≤ k < ℓ ≤ d`, every interval of `T_{g,k}` is disjoint
from every interval of `T_{g,ℓ}`. -/
theorem lemma_2_3 (r d : ℕ) (hr : 3 ≤ r) (s : (inst r d).Op → ℝ)
    (hs : (inst r d).IsFeasibleSchedule Finset.univ s)
    (g : ℕ) (hg1 : 1 ≤ g) (hg2 : g ≤ r ^ (2 * d))
    (k ℓ : ℕ) (hk : 1 ≤ k) (hkℓ : k < ℓ) (hℓ : ℓ ≤ d) :
    ∀ I ∈ T r d s g k, ∀ J ∈ T r d s g ℓ, Disjoint I J := 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.3 (proof on pp. 20:10-20:11)
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