Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Executing in minimal time maximizes the rounded bonus

Proved
NisanRonen.Rounding.bonus_max_minimal_execution

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

algorithmic-game-theorymechanism-designscheduling

Let δ>0\delta > 0δ>0, xxx an allocation, ddd a matrix of declarations, iii an agent of type tit^iti, and t~\tilde tt~ a vector of actual times with t~j≥tji\tilde t_j \ge t^i_jt~j​≥tji​ for every task j∈xij \in x^ij∈xi. Then

  1. g^(x,corri(x,d,ti))≤g^(x,corri(x,d,t~))\hat g\big(x, \mathrm{corr}^i(x, d, t^i)\big) \le \hat g\big(x, \mathrm{corr}^i(x, d, \tilde t)\big)g^​(x,corri(x,d,ti))≤g^​(x,corri(x,d,t~)), so the bonus −g^(x,corri)-\hat g(x, \mathrm{corr}^i)−g^​(x,corri) is largest when agent iii executes its tasks in minimal time;
  2. corri(x,d,ti)=corr∗(x,(d−i,ti))\mathrm{corr}^i(x, d, t^i) = \mathrm{corr}^*\big(x, (d^{-i}, t^i)\big)corri(x,d,ti)=corr∗(x,(d−i,ti)): with minimal execution the corrected time vector is the vector corr∗\mathrm{corr}^*corr∗ of the declarations in which agent iii's declaration is replaced by its type.

Differences from the source:

  • encoding: agents 1, …, n and tasks 1, …, k → Fin n and Fin k, i.e. 0, …, n − 1 and 0, …, k − 1; reason: Lean indexing convention; the same instances
  • encoding: n agents → [NeZero n], i.e. n ≥ 1; reason: with no agents and at least one task there is no allocation and no make-span; the paper's n agents are at least one
  • reading: the argument of Claim 5.2 for the exact bonus −g(x(t), corr^i(x(t), t, t̃)) of Definition 23 → the same step for the rounded bonus −ĝ(x(t̂), corr^i(x(t), t, t̃)) of Definition 34; reason: the proof sketch of Theorem 5.9 (p. 193) applies "Arguments similar to those in 5.1" to the rounding mechanism; this is that argument's step for ĝ
Preamble
import Mathlib
import Definitions.Def_NisanRonen_Rounding_roundedMakespan
import Definitions.Def_NisanRonen_Rounding_corr
import Definitions.Def_NisanRonen_Rounding_corrStar
Formal statement
namespace NisanRonen.Rounding

/-- **Minimal execution maximizes the bonus** (Nisan, Ronen, Algorithmic Mechanism Design, Games and Economic Behavior 35 (2001), proof of Claim 5.2, p. 188:
"for every allocation x the bonus for an agent i is maximized when executing its assignments in
minimal time"), for the rounded bonus of Definition 34 (p. 193). Let `δ > 0`, `x` an allocation,
`d` the declarations, `i` an agent of type `t^i`, and `t̃` actual times with `t̃_j ≥ t^i_j` for every
task `j` allocated to `i`. Then

1. `ĝ(x, corr^i(x, d, t^i)) ≤ ĝ(x, corr^i(x, d, t̃))`, so executing in minimal time gives the
   largest bonus `−ĝ(x, corr^i)`;
2. `corr^i(x, d, t^i) = corr*(x, (d^{−i}, t^i))`: with minimal execution the corrected time
   vector is the corr* vector of the declarations with agent `i`'s replaced by its type. -/
theorem bonus_max_minimal_execution {n k : ℕ} [NeZero n] {δ : ℝ} (hδ : 0 < δ)
    (x : Fin k → Fin n) (d : Fin n → Fin k → ℝ) (i : Fin n) (ti tt : Fin k → ℝ)
    (htt : ∀ j, x j = i → ti j ≤ tt j) :
    roundedMakespan δ x (corr i x d ti) ≤ roundedMakespan δ x (corr i x d tt) ∧
      corr i x d ti = corrStar x (Function.update d i ti) := by sorry

end NisanRonen.Rounding
Source
Nisan, Ronen, Algorithmic Mechanism Design, Games and Economic Behavior 35 (2001) 166–196, doi:10.1006/game.1999.0790, proof of Claim 5.2, p. 188 (PDF p. 23): "for every allocation x the bonus for an agent i is maximized when executing its assignments in minimal time", applied to the rounded bonus of Definition 34, p. 193

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