Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§7, p. 16 — two distinct attainable ratios differ by at least 1/(np*)²

Proved
LawlerWCT.RhoMax.rho_separation

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

binary-searchinteger-datap2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1ratioscheduling

Let NNN be a finite set of n=∣N∣n=|N|n=∣N∣ jobs with integer weights wjw_jwj​ and integer processing times satisfying 1≤pj≤p∗1\le p_j\le p^*1≤pj​≤p∗. Let I,I′⊆NI,I'\subseteq NI,I′⊆N be nonempty and suppose their ratios differ, ρ(I)≠ρ(I′)\rho(I)\neq\rho(I')ρ(I)=ρ(I′). Then

∣ρ(I)−ρ(I′)∣≥1(n p∗)2.\bigl|\rho(I)-\rho(I')\bigr|\ge\frac{1}{(n\,p^*)^2}.​ρ(I)−ρ(I′)​≥(np∗)21​.

This is the resolution of the binary search: once the optimal ratio is known to lie in an interval of length at most ε=1/(np∗)2\varepsilon=1/(np^*)^2ε=1/(np∗)2, no other attainable ratio fits between the left end and the optimum.

Formalization Note. The printed display ends with "<∣1/(np∗)2∣<\left|1/(np^*)^2\right|<​1/(np∗)2​". The sentence that introduces it asks for a value ε\varepsilonε "no greater than the difference between any two distinct attainable ratios", and the arithmetic (∣wp′−w′p∣≥1|wp'-w'p|\ge1∣wp′−w′p∣≥1 for distinct ratios of integer data, pp′≤(np∗)2pp'\le(np^*)^2pp′≤(np∗)2) gives ≥\ge≥; the statement uses ≥\ge≥. "Attainable ratio" is read as the ratio of any nonempty subset of NNN, which includes the initial sets; the bounds on wjw_jwj​ are not needed and are omitted, and the precedence digraph does not appear. nnn and p∗p^*p∗ are cast to reals before dividing.

Preamble
import Mathlib
import Definitions.Def_LawlerWCT_RhoMax_Model
Formal statement
namespace LawlerWCT.RhoMax

theorem rho_separation {ι : Type*} (N : Finset ι) (w p : ι → ℤ) (pstar : ℤ)
    (hpb : ∀ j ∈ N, 1 ≤ p j ∧ p j ≤ pstar) (I I' : Finset ι) (hI : I ⊆ N) (hI' : I' ⊆ N)
    (hIne : I.Nonempty) (hI'ne : I'.Nonempty)
    (hne : LawlerWCT.SeriesPar.rho (fun j => (p j : ℝ)) (fun j => (w j : ℝ)) I ≠
      LawlerWCT.SeriesPar.rho (fun j => (p j : ℝ)) (fun j => (w j : ℝ)) I') :
    1 / ((N.card : ℝ) * (pstar : ℝ)) ^ 2 ≤
      |LawlerWCT.SeriesPar.rho (fun j => (p j : ℝ)) (fun j => (w j : ℝ)) I -
        LawlerWCT.SeriesPar.rho (fun j => (p j : ℝ)) (fun j => (w j : ℝ)) I'| := by sorry

end LawlerWCT.RhoMax
Source
Lawler, Sequencing jobs to minimize total weighted completion time subject to precedence constraints, IRIA-LABORIA Rapport de Recherche No. 205 (Dec. 1976), HAL hal-04716371v1, p. 16, §7, display "| w/p − w'/p' | = | (wp' − w'p)/(pp') | < | 1/(np*)² |"
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

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