Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1(b): if SSS has no partition, every preemptive schedule of FS has finish time >2T> 2T>2T

Proved
FlowJobShop.PartitionFlow.lemma_1b

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

flow-shopp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1preemptive-schedulingreductionscheduling

Let S={a1,…,an}S=\{a_1,\dots,a_n\}S={a1​,…,an​}, T=∑iaiT=\sum_i a_iT=∑i​ai​ and FS be as in the proof of Lemma 1. If SSS has no partition, then every preemptive schedule S′S'S′ of FS satisfies

FT(S′)>2T.\mathrm{FT}(S')>2T .FT(S′)>2T.

This is the hard direction of the reduction; together with Lemma 1(a) it shows that FS with threshold 2T2T2T answers the partition question for SSS, for preemptive and non-preemptive schedules alike.

Preamble
import Mathlib
import Definitions.Def_FlowJobShop_PartitionFlow_FlowShop
import Definitions.Def_FlowJobShop_PartitionFlow_Partition
import Definitions.Def_FlowJobShop_PartitionFlow_Instance

open FlowJobShop.PartitionFlow.FlowShop
Formal statement
namespace FlowJobShop.PartitionFlow

/-- Lemma 1(b) (Gonzalez–Sahni 1978, p. 39): if `S = {a_1, …, a_n}` has no partition, then every
preemptive schedule of the flow shop FS built from it has finish time `> 2T`. -/
theorem lemma_1b {n : ℕ} (a : Fin n → ℕ) (h : ¬ HasPartition a) :
    ∀ S : PreemptiveSchedule (FS a), 2 * T a < S.finishTime := by sorry

end FlowJobShop.PartitionFlow
Source
Gonzalez, Sahni, Flowshop and Jobshop Schedules: Complexity and Approximation, Operations Research 26(1) (1978), p. 39, §1 Flow Shop, proof of Lemma 1, (b)
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