Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 10.2 — Cmax⁡B≤PC^B_{\max}\le PCmaxB​≤P forces the B-job to start at 000 on one machine and at P/2P/2P/2 on the other

Proved
TwoAgentSched.Shops.open_bjob_starts

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

open-shopp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingtwo-agent

Let p1,…,pkp_1,\dots,p_kp1​,…,pk​ be nonnegative integers, P=∑ipiP=\sum_i p_iP=∑i​pi​, and consider the open shop instance of the proof of Theorem 10.2: kkk A-jobs with processing time pip_ipi​ on both machines and one B-job J1BJ^B_1J1B​ with processing time P/2P/2P/2 on both machines.

Let s1,s2s_1,s_2s1​,s2​ be the start times of a feasible open shop schedule in which both operations of J1BJ^B_1J1B​ end by QB=PQ_B=PQB​=P. Then

(s1(J1B)=0 and s2(J1B)=P2)or(s2(J1B)=0 and s1(J1B)=P2).\bigl(s_1(J^B_1)=0\ \text{and}\ s_2(J^B_1)=\tfrac P2\bigr)\quad\text{or}\quad\bigl(s_2(J^B_1)=0\ \text{and}\ s_1(J^B_1)=\tfrac P2\bigr).(s1​(J1B​)=0 and s2​(J1B​)=2P​)or(s2​(J1B​)=0 and s1​(J1B​)=2P​).

The B-job thus occupies one machine during [0,P/2][0,P/2][0,P/2] and the other during [P/2,P][P/2,P][P/2,P], which fixes the gaps left for the A-jobs.

Preamble
import Mathlib
import Definitions.Def_TwoAgentSched_Shops_Construction
Formal statement
namespace TwoAgentSched.Shops

/-- Proof of Theorem 10.2 (Agnetis et al. 2004, p. 239): in the open shop instance built from the
PARTITION integers `p`, every feasible schedule meeting `C^B_max ≤ Q_B = P` starts the B-job at
time `0` on one machine and at time `P/2` on the other. -/
theorem open_bjob_starts (p : List ℕ)
    (s₁ s₂ : Fin ((openInst p).nA + (openInst p).nB) → ℝ)
    (hfeas : IsOpenFeasible (openInst p).p1 (openInst p).p2 s₁ s₂)
    (hB : (openInst p).MeetsB s₁ s₂ (openQB p)) :
    (s₁ (openB p) = 0 ∧ s₂ (openB p) = partSum p / 2) ∨
      (s₂ (openB p) = 0 ∧ s₁ (openB p) = partSum p / 2) := by sorry

end TwoAgentSched.Shops
Source
Agnetis, Mirchandani, Pacciarelli & Pacifici, Scheduling Problems with Two Competing Agents, Oper. Res. 52(2) (2004), p. 239, proof of Theorem 10.2 ("The constraint C^B_max ⩽ Q_B = P can be satisfied only if …")
Human review
  • Endorsed by Shuze Chen · Oct 8, 2026

    Confirmed by the moderator at approval.

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