Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1 — for C=C~max⁡∗C=\widetilde C^*_{\max}C=Cmax∗​ the interval LP (3)–(5) is feasible for some restricted schedule of the big operations

Proved
JobShopLTAS.Core.lemma1_interval_lp_feasible

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

job-shoplinear-programmingscheduling

Let m≥2m\ge 2m≥2, μ≥1\mu\ge 1μ≥1, 0<ε<10<\varepsilon<10<ε<1, ε⌈m/ε⌉≤α≤ε\varepsilon^{\lceil m/\varepsilon\rceil}\le\alpha\le\varepsilonε⌈m/ε⌉≤α≤ε and Pmax⁡>0P_{\max}>0Pmax​>0, and let C~max⁡∗\widetilde C^*_{\max}Cmax∗​ be the optimum makespan of the restricted problem on the jobs B∪TB\cup TB∪T. Then there is a feasible restricted schedule σ\sigmaσ of the big operations (a feasible schedule of the big jobs in which every big operation starts at the beginning of an interval of the first type) such that, with a∣A∣+1=C=C~max⁡∗a_{|A|+1}=C=\widetilde C^*_{\max}a∣A∣+1​=C=Cmax∗​,

a∣A∣≤C~max⁡∗≤(1+μmε)mPmax⁡and the linear program (3)–(5) has a feasible solution (xjK).a_{|A|}\le \widetilde C^*_{\max}\le(1+\mu m\varepsilon)mP_{\max}\quad\text{and the linear program (3)–(5) has a feasible solution } (x_{jK}).a∣A∣​≤Cmax∗​≤(1+μmε)mPmax​and the linear program (3)–(5) has a feasible solution (xjK​).

Here AAA is the set of start and completion times of the big operations under σ\sigmaσ, and the linear program asks for xjK≥0x_{jK}\ge0xjK​≥0 (Jj∈TJ_j\in TJj​∈T, KKK a nondecreasing tuple in {0,…,∣A∣}μj\{0,\dots,|A|\}^{\mu_j}{0,…,∣A∣}μj​) with ∑KxjK=1\sum_K x_{jK}=1∑K​xjK​=1 for each tiny job and, on each machine MtM_tMt​ and each interval [ak,ak+1)[a_k,a_{k+1})[ak​,ak+1​) of the second type, total assigned tiny processing time at most Δtk\Delta_{tk}Δtk​.

This is the statement that justifies the paper's algorithm: searching over the constantly many restricted big-operation schedules and solving the interval LP loses nothing relative to the restricted optimum.

Formalization Note. The range condition C∈[a∣A∣,(1+μmε)mPmax⁡]C\in[a_{|A|},(1+\mu m\varepsilon)mP_{\max}]C∈[a∣A∣​,(1+μmε)mPmax​] is where the paper defines the LP, and is part of LPFeasible. C~max⁡∗\widetilde C^*_{\max}Cmax∗​ is an infimum; the paper's proof starts from "an optimum schedule S∗S^*S∗", so that the infimum is attained is part of what must be proved, not a hypothesis. ε<1\varepsilon<1ε<1 and Pmax⁡>0P_{\max}>0Pmax​>0 are implicit in the paper.

Preamble
import Mathlib
import Definitions.Def_JobShopLTAS_Core_Instance
import Definitions.Def_JobShopLTAS_Core_RestrictedProblem
import Definitions.Def_JobShopLTAS_Core_IntervalLP
Formal statement
namespace JobShopLTAS.Core

/-- Lemma 1 (§2.2, p. 292): for `C = C̃*_max`, the linear program (3)–(5) has a feasible
solution for some feasible restricted schedule `σ` of the big operations. -/
theorem lemma1_interval_lp_feasible {m n : ℕ} (inst : Instance m n) (ε α : ℝ)
    (hm : 2 ≤ m) (hμ : 1 ≤ inst.maxOps) (hε : 0 < ε) (hε1 : ε < 1)
    (hα_lo : ε ^ ⌈(m : ℝ) / ε⌉₊ ≤ α) (hα_hi : α ≤ ε) (hP : 0 < inst.Pmax) :
    ∃ σ : inst.Op → ℝ, inst.IsBigSchedule ε α σ ∧
      inst.LPFeasible ε α σ (inst.restrictedOpt ε α) := by sorry

end JobShopLTAS.Core
Source
Jansen, Solis-Oba, Sviridenko, Makespan Minimization in Job Shops: A Linear Time Approximation Scheme, SIAM J. Discrete Math. 16 (2003), p. 292, Section 2.2, Lemma 1
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Fix a job-shop instance III of type Instance m n, where mmm and nnn are natural numbers. Fix two real numbers ε\varepsilonε and α\alphaα. The statement uses the following notions, all from definition files that are not shown here. The statement itself gives no information about what they mean.

  • Op(I)\mathrm{Op}(I)Op(I): a type attached to the instance.
  • μ(I)\mu(I)μ(I): a quantity written maxOps.
  • Pmax⁡(I)P_{\max}(I)Pmax​(I): a quantity written Pmax.
  • IsBigScheduleε,α(σ)\mathrm{IsBigSchedule}_{\varepsilon,\alpha}(\sigma)IsBigScheduleε,α​(σ): a predicate on functions σ\sigmaσ from Op(I)\mathrm{Op}(I)Op(I) to R\mathbb{R}R, depending on ε\varepsilonε and α\alphaα.
  • Cε,α∗C^*_{\varepsilon,\alpha}Cε,α∗​: a real-valued quantity written restrictedOpt ε α.
  • LPFeasibleε,α(σ,C)\mathrm{LPFeasible}_{\varepsilon,\alpha}(\sigma, C)LPFeasibleε,α​(σ,C): a predicate taking ε\varepsilonε, α\alphaα, a function σ\sigmaσ and a value CCC.

The statement assumes all of the following:

  • m≥2m \ge 2m≥2;
  • μ(I)≥1\mu(I) \ge 1μ(I)≥1;
  • 0<ε<10 < \varepsilon < 10<ε<1;
  • Pmax⁡(I)>0P_{\max}(I) > 0Pmax​(I)>0;
  • α\alphaα lies in the interval
ε⌈m/ε⌉  ≤  α  ≤  ε.\varepsilon^{\lceil m/\varepsilon \rceil} \;\le\; \alpha \;\le\; \varepsilon .ε⌈m/ε⌉≤α≤ε.

Here ⌈m/ε⌉\lceil m/\varepsilon \rceil⌈m/ε⌉ is the ceiling of the real number m/εm/\varepsilonm/ε, taken as a natural number.

Under these assumptions, it asserts that there exists a function σ:Op(I)→R\sigma : \mathrm{Op}(I) \to \mathbb{R}σ:Op(I)→R that does both of the following:

  • it satisfies IsBigScheduleε,α(σ)\mathrm{IsBigSchedule}_{\varepsilon,\alpha}(\sigma)IsBigScheduleε,α​(σ);
  • it satisfies LPFeasibleε,α(σ,C)\mathrm{LPFeasible}_{\varepsilon,\alpha}(\sigma, C)LPFeasibleε,α​(σ,C) with C=Cε,α∗C = C^*_{\varepsilon,\alpha}C=Cε,α∗​. In words, the second argument is exactly the value restrictedOpt ε α of this instance.

The statement asserts nothing about σ\sigmaσ beyond these two predicates. It does not say σ\sigmaσ is unique, it puts no bound on σ\sigmaσ's values, and it does not say how σ\sigmaσ relates to any optimal schedule. The attached comment calls σ\sigmaσ a "feasible restricted schedule of the big operations" and the predicate "the linear program (3)–(5)". Those phrases come from the author's comment, not from the statement. Whether the code's definitions have those meanings can only be checked in the definition files.

Degenerate cases:

  • Small mmm. The cases m=0m = 0m=0 and m=1m = 1m=1 are excluded by hypothesis.
  • nnn. The statement puts no direct constraint on nnn, so n=0n = 0n=0 is allowed as far as the statement goes. Whether n=0n = 0n=0 is compatible with μ(I)≥1\mu(I) \ge 1μ(I)≥1 and Pmax⁡(I)>0P_{\max}(I) > 0Pmax​(I)>0 depends on the hidden definitions of μ\muμ and Pmax⁡P_{\max}Pmax​.
  • The range for α\alphaα is never empty. Because 0<ε<10 < \varepsilon < 10<ε<1 and m≥2m \ge 2m≥2, we have m/ε>2m/\varepsilon > 2m/ε>2, so the exponent ⌈m/ε⌉\lceil m/\varepsilon \rceil⌈m/ε⌉ is at least 333. Then 0<ε⌈m/ε⌉<ε0 < \varepsilon^{\lceil m/\varepsilon \rceil} < \varepsilon0<ε⌈m/ε⌉<ε, so a valid α\alphaα always exists, and every valid α\alphaα is strictly positive.
  • Empty Op(I)\mathrm{Op}(I)Op(I). If Op(I)\mathrm{Op}(I)Op(I) can be empty, the only candidate σ\sigmaσ is the empty function. In that case the claim reduces to the two predicates holding for the empty function.
  • Default values of Cε,α∗C^*_{\varepsilon,\alpha}Cε,α∗​. Cε,α∗C^*_{\varepsilon,\alpha}Cε,α∗​ is a single real number. If its hidden definition is an infimum, supremum or minimum over a set that is empty or unbounded, Lean returns a default value (for example 000 for the infimum of an empty set of reals). The statement would then assert LP feasibility at that default value, not at a true optimum. Whether this can happen depends entirely on the hidden definition of restrictedOpt.
  • Vacuous or trivial predicates. The same dependence holds for the two predicates. If IsBigSchedule\mathrm{IsBigSchedule}IsBigSchedule or LPFeasible\mathrm{LPFeasible}LPFeasible can hold trivially (for example, when there are no "big" operations), the existence claim may be trivially satisfied. Only the definitions can settle this.
Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

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