Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§4 — a minimizer of fmax⁡f_{\max}fmax​ with finite value solves 1∥fmax⁡A:fmax⁡B≤Q1\|f^A_{\max} : f^B_{\max}\le Q1∥fmaxA​:fmaxB​≤Q; value +∞+\infty+∞ means infeasible

Proved
TwoAgentSched.MaxMax.reduction_to_fmax

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

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

Consider nA≥1n_A\ge1nA​≥1 A-jobs and nBn_BnB​ B-jobs with nonnegative processing times and nondecreasing cost functions fhAf^A_hfhA​, fkBf^B_kfkB​, a bound QQQ, and the extended-real costs fif_ifi​ and objective fmax⁡f_{\max}fmax​ of the reduction of §4. Let σ∗\sigma^*σ∗ be a schedule that minimizes fmax⁡f_{\max}fmax​ over all schedules of the nA+nBn_A+n_BnA​+nB​ jobs (there are no precedence constraints).

  1. If the minimum is a finite real number fmax⁡∗f^*_{\max}fmax∗​, then σ∗\sigma^*σ∗ is feasible and optimal for 1∥fmax⁡A:fmax⁡B≤Q1\|f^A_{\max} : f^B_{\max}\le Q1∥fmaxA​:fmaxB​≤Q, and
fmax⁡A(σ∗)=fmax⁡∗.f^A_{\max}(\sigma^*)=f^*_{\max}.fmaxA​(σ∗)=fmax∗​.
  1. If the minimum is +∞+\infty+∞, then 1∥fmax⁡A:fmax⁡B≤Q1\|f^A_{\max} : f^B_{\max}\le Q1∥fmaxA​:fmaxB​≤Q has no feasible schedule.

This is the reduction through which the paper solves the two-agent problem with Lawler's algorithm for 1∣prec∣fmax⁡1|prec|f_{\max}1∣prec∣fmax​.

Formalization Note "1∣prec∣fmax⁡1|prec|f_{\max}1∣prec∣fmax​" is taken with the empty precedence relation, the only one the two-agent problem has. "Finite objective function value" is stated as "the minimum equals a real number", which also excludes −∞-\infty−∞. Nonnegative processing times and monotone costs are the paper's standing assumptions of §3; they are kept as hypotheses.

Preamble
import Mathlib
import Definitions.Def_TwoAgentSched_MaxMax_Reduction
Formal statement
namespace TwoAgentSched.MaxMax

/-- §4, the reduction to `1|prec|f_max` (Agnetis et al. 2004, p. 232), with an empty precedence
relation. Let `σ*` be a schedule minimizing `f_max = max_i f_i(C_i)` (values in `[-∞, +∞]`) over
all schedules of the `nA + nB` jobs.
1. If the minimum is a finite value `f*`, then `σ*` is feasible and optimal for
   `1‖f^A_max : f^B_max ≤ Q`, and `f^A_max(σ*) = f*`.
2. If the minimum is `+∞`, then `1‖f^A_max : f^B_max ≤ Q` has no feasible schedule. -/
theorem reduction_to_fmax {nA nB : ℕ} (hA : 0 < nA) (p : Job nA nB → ℝ) (hp : ∀ j, 0 ≤ p j)
    (fA : Fin nA → ℝ → ℝ) (fB : Fin nB → ℝ → ℝ) (hfA : ∀ h, Monotone (fA h))
    (hfB : ∀ k, Monotone (fB k)) (Q : ℝ) (σ : List (Job nA nB))
    (hσ : MooreLateJobs.Shared.IsSchedule Finset.univ σ)
    (hmin : ∀ σ' : List (Job nA nB), MooreLateJobs.Shared.IsSchedule Finset.univ σ' →
      reducedMax p fA fB Q σ ≤ reducedMax p fA fB Q σ') :
    (∀ fstar : ℝ, reducedMax p fA fB Q σ = (fstar : EReal) →
      IsOptimal hA p fA fB Q σ ∧ maxCostA hA p fA σ = fstar) ∧
    (reducedMax p fA fB Q σ = ⊤ → ¬ ∃ l : List (Job nA nB), IsFeasible p fB Q l) := by sorry

end TwoAgentSched.MaxMax
Source
Agnetis, Mirchandani, Pacciarelli & Pacifici, Scheduling Problems with Two Competing Agents, Oper. Res. 52(2) (2004), p. 232, §4, the paragraph after the display of f_i(t) ("With these positions, …")
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