Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 6.3 — a polynomial-time 1.751.751.75-approximation for precedence constraints of interval dimension at most 2

Open
SingleMachinePrec.VariableCost.Supplement.theorem_6_3

by mikedeng1 · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

approximation-algorithmsinterval-dimensionp2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1scheduling

An instance consists of nnn jobs with nonnegative integer processing times pjp_jpj​ and weights wjw_jwj​ and a partial order PPP of precedence constraints; a feasible schedule processes the jobs one at a time in an order σ\sigmaσ in which iii comes before jjj whenever (i,j)∈P(i,j)\in P(i,j)∈P, i≠ji\neq ji=j, and its cost is ∑jwjCj\sum_j w_j C_j∑j​wj​Cj​, where CjC_jCj​ is the completion time of job jjj.

If the precedence constraints have interval dimension at most 222 (P=Q1∩Q2P=Q_1\cap Q_2P=Q1​∩Q2​ for two interval orders Q1,Q2Q_1,Q_2Q1​,Q2​ on the jobs, possibly equal), then there is a deterministic polynomial-time algorithm that outputs a feasible schedule σ\sigmaσ with

∑jwjCj(σ) ≤ 1.75 OPT.\sum_j w_jC_j(\sigma)\ \le\ 1.75\,\mathrm{OPT}.j∑​wj​Cj​(σ) ≤ 1.75OPT.

The input is the instance alone; no interval realizer {Q1,Q2}\{Q_1,Q_2\}{Q1​,Q2​} is supplied.

This class strictly contains the interval orders of Theorem 6.2.

Differences from the source:

  • encoding: polynomial-time algorithm (unspecified machine model) → one multi-stack Turing machine (published PolyTimeComputable, Mathlib TM2ComputableInPolyTime) on binary strings, running in time polynomial in the length of the input code; p_j, w_j in binary, the precedence relation as its n×n matrix, the output a code of the processing order; reason: standard machine model; binary numbers keep input sizes as in the paper
  • encoding: cost at most α·OPT over all non-preemptive schedules → the output is a feasible processing order (permutation, no idle time) whose ∑ w_j C_j is at most α times the cost of every feasible processing order; reason: inserting idle time never decreases ∑ w_j C_j, so the optimum over idle-free orders is OPT; comparing with every feasible order avoids a default-valued minimum
  • reading: the precedence constraints form a poset of interval dimension at most 2 → the precedence relation given by its matrix satisfies IntervalDimLeTwo: P = Q₁ ∩ Q₂ for two interval orders; no representation of it is part of the input; reason: the theorem's input is the scheduling instance; recognition and construction are the algorithm's work (pp. 657–660 note they are polynomial)
  • reading: polynomial-time 1.75-approximation algorithm → a deterministic one; reason: the text before Theorem 6.3 (p. 660) obtains it "by using conditional probabilities", i.e. derandomized as in §6.1
Preamble
import Mathlib
import Definitions.Def_SingleMachinePrec_VariableCost_Supplement_OrderClasses

set_option autoImplicit false

open QAlgorithms.Complexity
Formal statement
namespace SingleMachinePrec.VariableCost.Supplement

/-- Theorem 6.3 (p. 660): when the precedence constraints have interval dimension at most 2,
there is a deterministic polynomial-time `1.75`-approximation algorithm. The input is the
instance with its precedence matrix; no interval realizer is supplied. -/
theorem theorem_6_3 :
    HasPolyTimeApprox SchedInput.enc id (fun x => IntervalDimLeTwo x.Prec)
      (fun _ => 7 / 4) := by sorry

end SingleMachinePrec.VariableCost.Supplement
Source
Ambühl, Mastrolilli, Mutsanas, Svensson, On the Approximability of Single-Machine Scheduling with Precedence Constraints, Math. Oper. Res. 36(4) (2011), p. 660, Theorem 6.3

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