Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3.1 — The reverse heap computes the canonical endpoints

Proved
LawlerCompress.TardyJobs.lemma_3_1

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

dynamic-programmingoperations-researchp2o-batch-stoc27ap2o-gran-per-chapterp2o-plan-paperp2o-v1scheduling

For a nonempty EDD instance I on m≥1 machines, let a′_j be the output of the reverse-index heap procedure of §3.1 and a_j the least canonical completion time with default d_j+1. Then

∀j∈{1,…,n},aj′=aj.\forall j\in\{1,\ldots,n\},\qquad a'_j=a_j.∀j∈{1,…,n},aj′​=aj​.

This identifies the procedurally obtained interval endpoints with the canonical sets, including empty intervals and ties.

Formalization Note The finite-set fold specifies the heap contents, with an evicted job assigned the inserted job’s due date plus one; execution costs belong to Lemma 3.2.

Differences from the source:

  • encoding: jobs and machines numbered from one; positive integral data; a nonempty input with a maximum due date → Fin n jobs and Fin m machines, natural data in Instance, with m,n ≥ 1; reason: zero-based reindexing preserves every schedule and excludes only the undefined empty maximum
Preamble
import Definitions.Def_LawlerCompress_TardyJobs_Canonical

set_option autoImplicit false
Formal statement
namespace LawlerCompress.TardyJobs

theorem lemma_3_1 {m : ℕ} (hm : 1 ≤ m) (I : Instance m)
    (hn : 1 ≤ I.n) (hedd : EDD I) :
    ∀ j : Fin I.n, heapEndpoints I j = a I j := by sorry

end LawlerCompress.TardyJobs
Source
Klaus Jansen, Björn Schumacher, Corinna Wambsganz, Compressing the Lawler-Moore Dynamic Program for Weighted Tardy Jobs, STOC 2027 submission #354 (October 2026), p. 6, Lemma 3.1
Human review
  • Endorsed by Shuze Chen · Nov 12, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Nov 12, 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