Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 10.2 — PARTITION yes iff the open shop instance meets QA=3P/2Q_A=3P/2QA​=3P/2 and QB=PQ_B=PQB​=P

Proved
TwoAgentSched.Shops.theorem_10_2_equivalence

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

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

Let p1,…,pkp_1,\dots,p_kp1​,…,pk​ be nonnegative integers and P=∑ipiP=\sum_i p_iP=∑i​pi​. Consider the open shop instance of the proof of Theorem 10.2 (A-jobs with time pip_ipi​ on both machines, one B-job with time P/2P/2P/2 on both machines) with thresholds QA=3P/2Q_A=3P/2QA​=3P/2 and QB=PQ_B=PQB​=P. Then

∃ S⊆{1,…,k}: ∑i∈Spi=∑i∉Spi  ⟺  some feasible open shop schedule has Cmax⁡A≤QA and Cmax⁡B≤QB.\exists\, S\subseteq\{1,\dots,k\}:\ \sum_{i\in S}p_i=\sum_{i\notin S}p_i \iff \text{some feasible open shop schedule has } C^A_{\max}\le Q_A \text{ and } C^B_{\max}\le Q_B.∃S⊆{1,…,k}: i∈S∑​pi​=i∈/S∑​pi​⟺some feasible open shop schedule has CmaxA​≤QA​ and CmaxB​≤QB​.

This equivalence is the correctness of the reduction of PARTITION to O2∥Cmax⁡A≤QA,Cmax⁡B≤QBO2\|C^A_{\max}\le Q_A, C^B_{\max}\le Q_BO2∥CmaxA​≤QA​,CmaxB​≤QB​; it holds for every PPP, odd included.

Formalization Note The printed proof says ∑i=1nApiA+∑i=1nBpiB=2P\sum_{i=1}^{n_A}p^A_i+\sum_{i=1}^{n_B}p^B_i=2P∑i=1nA​​piA​+∑i=1nB​​piB​=2P; what the argument uses is that each machine carries total work P+P/2=3P/2=QAP+P/2=3P/2=Q_AP+P/2=3P/2=QA​. The statement is unaffected.

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

open ProjSchedTW.Complexity

/-- Proof of Theorem 10.2 (Agnetis et al. 2004, p. 239), the equivalence: the PARTITION instance
`p` is a yes-instance iff the constructed open shop instance has a feasible schedule with
`C^A_max ≤ 3P/2` and `C^B_max ≤ P`. -/
theorem theorem_10_2_equivalence (p : List ℕ) :
    PartitionYes p ↔ (openInst p).OpenYes (openQA p) (openQB p) := 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 equivalence, with Figure 3)
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