Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Section 2, proof of the Theorem — the sequence in increasing order of dˉj\bar d_jdˉj​ observes the precedence constraints

Proved
LawlerMoore.PrecDeadline.sorted_isFeasible

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

deadlinesp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1precedence-constraintsscheduling

Let nnn jobs carry real deadlines d1,…,dnd_1,\dots,d_nd1​,…,dn​, let ρ\rhoρ be a transitive precedence relation numbered so that iρji\rho jiρj implies i≤ji \le ji≤j, let ε>0\varepsilon > 0ε>0, and let dˉj\bar d_jdˉj​ be the modified deadlines. Let σ\sigmaσ be a sequence of all nnn jobs, each listed once, in which the modified deadlines strictly increase along the sequence. Then σ\sigmaσ is consistent with the precedence constraints:

iρj, i≠j  ⟹  i comes before j in σ.i\rho j,\ i \ne j \;\Longrightarrow\; i \text{ comes before } j \text{ in } \sigma .iρj, i=j⟹i comes before j in σ.

This is the content of the "if" part of the §2 Theorem, which the paper calls obvious: if every job is on time in the sequence ordered by dˉj\bar d_jdˉj​, then that sequence is itself a witness that all jobs can be completed on time consistently with ρ\rhoρ.

Formalization Note "Consistent with the precedence constraints" is the published LawlerPrec.MinMax.IsFeasible ρ univ σ: σ\sigmaσ lists every job exactly once, and no job appears before a job that must precede it. The ordering by increasing dˉj\bar d_jdˉj​ is stated as strict pairwise increase along the list. Jobs are Fin n, 0-based; ε>0\varepsilon > 0ε>0 is the reading of "ε\varepsilonε is a small number" needed here.

Preamble
import Mathlib
import Definitions.Def_MooreLateJobs_Shared_completionTime
import Definitions.Def_LawlerPrec_MinMax_IsFeasible
import Definitions.Def_LawlerMoore_PrecDeadline_modifiedDeadline
Formal statement
namespace LawlerMoore.PrecDeadline

theorem sorted_isFeasible (n : ℕ) (d : Fin n → ℝ)
    (ρ : Fin n → Fin n → Prop) [DecidableRel ρ]
    (htrans : ∀ i j k, ρ i j → ρ j k → ρ i k)
    (hnum : ∀ i j, ρ i j → i ≤ j)
    (ε : ℝ) (hε : 0 < ε)
    (l : List (Fin n)) (hl : MooreLateJobs.Shared.IsSchedule Finset.univ l)
    (hsorted : l.Pairwise (fun x y => modifiedDeadline ρ d ε x < modifiedDeadline ρ d ε y)) :
    LawlerPrec.MinMax.IsFeasible ρ Finset.univ l := by sorry

end LawlerMoore.PrecDeadline
Source
Lawler, Moore, A Functional Equation and Its Application to Resource Allocation and Sequencing Problems, Management Sci. 16 (1969), p. 78, Section 2, proof of the Theorem
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