Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section 2.1, p. 291 — restricting big operations to the grid costs at most μmεPmax⁡\mu m\varepsilon P_{\max}μmεPmax​

Proved
JobShopLTAS.Core.restrictedOpt_le

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

approximationjob-shopscheduling

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. Then feasible restricted schedules of the jobs B∪TB\cup TB∪T exist, and the restricted optimum satisfies

C~max⁡∗≤Cmax⁡∗+μmεPmax⁡≤(1+μmε) Cmax⁡∗.\widetilde C^*_{\max}\le C^*_{\max}+\mu m\varepsilon P_{\max}\le(1+\mu m\varepsilon)\,C^*_{\max}.Cmax∗​≤Cmax∗​+μmεPmax​≤(1+μmε)Cmax∗​.

Here C~max⁡∗\widetilde C^*_{\max}Cmax∗​ is the infimum of the makespans of the feasible schedules of B∪TB\cup TB∪T in which every big operation starts at the beginning of an interval of the first type, and Cmax⁡∗C^*_{\max}Cmax∗​ is the optimum makespan of the whole instance (all nnn jobs).

The restricted problem is the one the rest of the paper's algorithm solves, and this bound is what makes that restriction affordable.

Formalization Note. The existence clause is what makes C~max⁡∗\widetilde C^*_{\max}Cmax∗​ (an infimum) a genuine optimum value rather than the junk value of an empty infimum. Cmax⁡∗C^*_{\max}Cmax∗​ on the right is that of the full job set; the paper uses the same symbol without distinguishing it from the optimum of B∪TB\cup TB∪T, which is no larger.

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

/-- §2.1, p. 291: restricted schedules exist, and
`C̃*_max ≤ C*_max + µmεP_max ≤ (1 + µmε) C*_max`, where `C̃*_max` is the optimum over
restricted schedules of `B ∪ T` and `C*_max` the optimum of the whole instance. -/
theorem restrictedOpt_le {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) :
    (∃ s : inst.Op → ℝ,
        inst.IsFeasibleSchedule (inst.bigJobs α ∪ inst.tinyJobs ε α) s ∧
        inst.IsRestricted ε α s) ∧
      inst.restrictedOpt ε α ≤
        inst.optMakespan Finset.univ + (inst.maxOps : ℝ) * m * ε * inst.Pmax ∧
      inst.optMakespan Finset.univ + (inst.maxOps : ℝ) * m * ε * inst.Pmax ≤
        (1 + (inst.maxOps : ℝ) * m * ε) * inst.optMakespan Finset.univ := 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. 291, Section 2.1
Read-back

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

Setup. Take a job-shop instance:

  • mmm machines and nnn jobs;
  • job jjj has μj\mu_jμj​ operations (j,i)(j,i)(j,i) on machines πij\pi_{ij}πij​ with real processing times pij≥0p_{ij}\ge0pij​≥0;
  • μ=max⁡jμj\mu=\max_j\mu_jμ=maxj​μj​;
  • lj=∑ipijl_j=\sum_ip_{ij}lj​=∑i​pij​;
  • Pmax⁡P_{\max}Pmax​ is the maximum machine load, where a machine's load is the sum of pijp_{ij}pij​ over its operations.

Take reals ε,α\varepsilon,\alphaε,α and write N0=⌈m/ε⌉+N_0=\lceil m/\varepsilon\rceil_+N0​=⌈m/ε⌉+​ (natural ceiling).

Hypotheses.

  • m≥2m\ge2m≥2
  • μ≥1\mu\ge1μ≥1
  • 0<ε<10<\varepsilon<10<ε<1
  • εN0≤α≤ε\varepsilon^{N_0}\le\alpha\le\varepsilonεN0​≤α≤ε
  • Pmax⁡>0P_{\max}>0Pmax​>0

Job sets.

  • B={j:αPmax⁡≤lj}B=\{j:\alpha P_{\max}\le l_j\}B={j:αPmax​≤lj​}
  • T={j:lj≤αεPmax⁡}T=\{j: l_j\le\alpha\varepsilon P_{\max}\}T={j:lj​≤αεPmax​}

Interval grid.

  • N=⌈m(1+μmε)/(αε)⌉+N=\lceil m(1+\mu m\varepsilon)/(\alpha\varepsilon)\rceil_+N=⌈m(1+μmε)/(αε)⌉+​
  • L=(1+μmε) m Pmax⁡/NL=(1+\mu m\varepsilon)\,m\,P_{\max}/NL=(1+μmε)mPmax​/N

Schedules. A schedule sss gives every operation a real start sos_oso​.

  • It is feasible for a job set JJJ when:
    • starts of operations of jobs in JJJ are ≥0\ge0≥0;
    • consecutive operations of a job in JJJ satisfy s(j,i)+pij≤s(j,i+1)s_{(j,i)}+p_{ij}\le s_{(j,i+1)}s(j,i)​+pij​≤s(j,i+1)​;
    • distinct operations of jobs in JJJ on the same machine do not overlap: one ends no later than the other starts.
  • It is restricted when every operation of a job in BBB starts at rLrLrL for some natural r<Nr<Nr<N.
  • Cmax⁡(J,s)C_{\max}(J,s)Cmax​(J,s) is the maximum of so+pos_o+p_oso​+po​ over operations of jobs in JJJ, or 000 if there are none.
  • C∗C^*C∗ is the infimum of Cmax⁡(all jobs,s)C_{\max}(\text{all jobs},s)Cmax​(all jobs,s) over schedules feasible for all jobs.
  • C~∗\tilde C^*C~∗ is the infimum of Cmax⁡(B∪T,s)C_{\max}(B\cup T,s)Cmax​(B∪T,s) over schedules feasible for B∪TB\cup TB∪T that are also restricted.

Claim. Three statements hold together:

  1. Some schedule is feasible for B∪TB\cup TB∪T and restricted.
  2. The restricted optimum is bounded as follows:
C~∗≤C∗+μmεPmax⁡\tilde C^* \le C^* + \mu m\varepsilon P_{\max}C~∗≤C∗+μmεPmax​
  1. The same bound is in turn at most (1+μmε) C∗(1+\mu m\varepsilon)\,C^*(1+μmε)C∗:
C∗+μmεPmax⁡≤(1+μmε) C∗C^* + \mu m\varepsilon P_{\max} \le (1+\mu m\varepsilon)\,C^*C∗+μmεPmax​≤(1+μmε)C∗

Degenerate cases.

  • Under the hypotheses αε>0\alpha\varepsilon>0αε>0, so N≥1N\ge1N≥1, L>0L>0L>0, and no division by zero occurs.
  • n≥1n\ge1n≥1, since μ≥1\mu\ge1μ≥1.
  • Part 1 guarantees the set defining C~∗\tilde C^*C~∗ is non-empty, so it is not the empty-set default of 000.
  • C∗C^*C∗ would default to 000 only if no feasible schedule of all jobs existed.
  • Jobs in neither BBB nor TTT are ignored in C~∗\tilde C^*C~∗.
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