Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 11.3 — between two nondominated pairs, some B-job overtakes some A-job

Proved
TwoAgentSched.ParetoMax.exchange

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

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

Consider 1∥fmax⁡A∘fmax⁡B1\|f^A_{\max}\circ f^B_{\max}1∥fmaxA​∘fmaxB​ with nonnegative processing times and nondecreasing cost functions. Let σ\sigmaσ and σ~\tilde\sigmaσ~ be nondominated schedules with

fmax⁡A(σ)<fmax⁡A(σ~)andfmax⁡B(σ~)<fmax⁡B(σ).f^A_{\max}(\sigma)<f^A_{\max}(\tilde\sigma)\qquad\text{and}\qquad f^B_{\max}(\tilde\sigma)<f^B_{\max}(\sigma).fmaxA​(σ)<fmaxA​(σ~)andfmaxB​(σ~)<fmaxB​(σ).

Then some A-job JhAJ^A_hJhA​ and some B-job JkBJ^B_kJkB​ exchange their relative order when switching from σ\sigmaσ to σ~\tilde\sigmaσ~: JhAJ^A_hJhA​ precedes JkBJ^B_kJkB​ in σ\sigmaσ, and JkBJ^B_kJkB​ precedes JhAJ^A_hJhA​ in σ~\tilde\sigmaσ~.

In the proof of Theorem 11.3 this is the step showing that consecutive nondominated pairs differ by at least one B-job overtaking an A-job; together with Lemma 11.2 it bounds the number of nondominated pairs.

Formalization Note The paper states the claim for the schedules of two consecutive nondominated pairs; it is stated here for any two nondominated schedules with the two strict inequalities, which includes that case. The paper reaches the claim through a B-job Jk∗BJ^B_{k^*}Jk∗B​ attaining yBy^ByB in σ\sigmaσ; this statement asserts only the conclusion of that paragraph (some A-job and some B-job exchange order, in the direction the paragraph derives), not that the B-job can be taken to be an arbitrary job attaining yBy^ByB — the latter reading fails on small instances.

Preamble
import Mathlib
import Definitions.Def_TwoAgentSched_ParetoMax_Model
Formal statement
namespace TwoAgentSched.ParetoMax

/-- Proof of Theorem 11.3 (p. 240), the exchange claim. If `σ` and `σ̃` are nondominated
schedules with `f^A_max(σ) < f^A_max(σ̃)` and `f^B_max(σ̃) < f^B_max(σ)`, then some A-job
`J^A_h` and some B-job `J^B_k` exchange their relative order when switching from `σ` to `σ̃`:
`J^A_h` precedes `J^B_k` in `σ` and `J^B_k` precedes `J^A_h` in `σ̃`. Processing times are
nonnegative and all costs nondecreasing (regular). -/
theorem exchange {nA nB : ℕ} (hA : 0 < nA) (hB : 0 < nB) (p : TwoAgentSched.MaxMax.Job nA nB → ℝ) (hp : ∀ j, 0 ≤ p j)
    (fA : Fin nA → ℝ → ℝ) (fB : Fin nB → ℝ → ℝ)
    (hfA : ∀ h, Monotone (fA h)) (hfB : ∀ k, Monotone (fB k))
    (σ σ' : List (TwoAgentSched.MaxMax.Job nA nB))
    (hσ : TwoAgentSched.MaxMax.IsNondominated hA hB p fA fB σ) (hσ' : TwoAgentSched.MaxMax.IsNondominated hA hB p fA fB σ')
    (hAlt : TwoAgentSched.MaxMax.maxCostA hA p fA σ < TwoAgentSched.MaxMax.maxCostA hA p fA σ')
    (hBgt : TwoAgentSched.MaxMax.maxCostB hB p fB σ' < TwoAgentSched.MaxMax.maxCostB hB p fB σ) :
    ∃ (h : Fin nA) (k : Fin nB),
      Precedes σ (Sum.inl h) (Sum.inr k) ∧ Precedes σ' (Sum.inr k) (Sum.inl h) := by sorry

end TwoAgentSched.ParetoMax
Source
Agnetis, Mirchandani, Pacciarelli & Pacifici, Scheduling Problems with Two Competing Agents, Oper. Res. 52(2) (2004), p. 240, proof of Theorem 11.3 (the exchanged pair of jobs)
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