Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§2, algorithm H — the concatenation of feasible group schedules is a feasible schedule of the flow shop

Proved
FlowJobShop.PairGroups.algorithmH_feasible

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

approximation-algorithmsflow-shopp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1scheduling

Let FFF be a flow shop with mmm processors and nnn jobs, and for every group g=1,…,⌈m/2⌉g=1,\dots,\lceil m/2\rceilg=1,…,⌈m/2⌉ let R(g)R(g)R(g) be a feasible non-preemptive schedule of the flow shop FgF_gFg​ on the processors P2g−1,P2gP_{2g-1},P_{2g}P2g−1​,P2g​. Then the schedule SSS generated by algorithm H, in which every task on a processor of group ggg starts at its start time in R(g)R(g)R(g) plus ∑h<gFT(R(h))\sum_{h<g}\mathrm{FT}(R(h))∑h<g​FT(R(h)), is a feasible non-preemptive schedule of FFF:

S is feasible for F.S\ \text{is feasible for}\ F.S is feasible for F.

This is what makes the output of heuristic H a schedule of the original mmm-processor flow shop.

Preamble
import Mathlib
import Definitions.Def_FlowJobShop_PairGroups_FlowShop
import Definitions.Def_FlowJobShop_PairGroups_AlgorithmH
Formal statement
namespace FlowJobShop.PairGroups

open FlowShop

/-- §2, description of algorithm H (p. 48): concatenating feasible schedules `R g` of the group
flow shops, each shifted by `Σ_{h<g} FT(R(h))`, gives a feasible schedule of the original
`m`-processor flow shop. -/
theorem algorithmH_feasible {m n : ℕ} (F : FlowShop m n)
    (R : (g : Fin ((m + 1) / 2)) → Fin (groupSize m g) → Fin n → ℝ)
    (hR : ∀ g, (F.group g).IsFeasible (R g)) :
    F.IsFeasible (F.algorithmH R) := by sorry

end FlowJobShop.PairGroups
Source
Gonzalez, Sahni, Flowshop and Jobshop Schedules: Complexity and Approximation, Operations Research 26(1) (1978), p. 48, §2, description of algorithm H
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