Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 5.6 — all optimal schedules have the same B-blocks in the same time intervals

Proved
TwoAgentSched.TotalMax.lemma_5_6

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

p2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingtwo-agent

Consider a feasible instance of 1∥∑CiA:fmax⁡B≤Q1\|\sum C^A_i : f^B_{\max}\le Q1∥∑CiA​:fmaxB​≤Q with positive processing times and nondecreasing BBB-cost functions. A B-block of a schedule is a maximal set of consecutive BBB-jobs in it. For any two optimal schedules σ∗\sigma^*σ∗ and σ′\sigma'σ′:

  1. the partition of the BBB-jobs into B-blocks is the same: every BBB-job JkBJ^B_kJkB​ has the same B-block in σ∗\sigma^*σ∗ as in σ′\sigma'σ′;
  2. the B-blocks are scheduled in the same time intervals: the B-block of each JkBJ^B_kJkB​ starts at the same time and ends at the same time in σ∗\sigma^*σ∗ as in σ′\sigma'σ′.

The lemma characterises optimal schedules: they differ only in the order of the jobs inside each B-block and in the order of identical AAA-jobs. This is what reduces nondominance to a single-agent problem inside each block.

Formalization Note The partition is compared through the block of each BBB-job, which determines it. The interval of a block is [min⁡(Ck′B−pk′B), max⁡Ck′B][\min(C^B_{k'}-p^B_{k'}),\ \max C^B_{k'}][min(Ck′B​−pk′B​), maxCk′B​] over the jobs k′k'k′ of the block. Positive processing times are assumed.

Preamble
import Mathlib
import Definitions.Def_TwoAgentSched_TotalMax_BBlock
Formal statement
namespace TwoAgentSched.TotalMax

/-- Lemma 5.6 (Agnetis et al. 2004, §5.2.1, p. 234). Given a feasible instance of
`1‖ΣC^A_i : f^B_max ≤ Q`, any two optimal schedules `σ*`, `σ′` have
(1) the same partition of the B-jobs into B-blocks: every B-job has the same B-block in both;
(2) their B-blocks scheduled in the same time intervals: every B-block starts and ends at the
same times in both. Processing times are positive. -/
theorem lemma_5_6 {nA nB : ℕ} (p : TwoAgentSched.MaxMax.Job nA nB → ℝ) (hp : ∀ j, 0 < p j)
    (fB : Fin nB → ℝ → ℝ) (hfB : ∀ k, Monotone (fB k)) (Q : ℝ)
    (hfeas : IsFeasibleInstance p fB Q) (σstar σ' : List (TwoAgentSched.MaxMax.Job nA nB))
    (hstar : IsOptimal p fB Q σstar) (h' : IsOptimal p fB Q σ') :
    (∀ k : Fin nB, bBlock σstar k = bBlock σ' k) ∧
      ∀ k : Fin nB, blockStart p σstar k = blockStart p σ' k ∧
        blockEnd p σstar k = blockEnd p σ' k := by sorry

end TwoAgentSched.TotalMax
Source
Agnetis, Mirchandani, Pacciarelli & Pacifici, Scheduling Problems with Two Competing Agents, Oper. Res. 52(2) (2004), p. 234, Lemma 5.6 (B-block defined just before it)
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