Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4 — w ce(x+w)≤ϕe(x+w)−ϕe(x)≤α w ce(x+w)w\,c_e(x+w)\le\phi_e(x+w)-\phi_e(x)\le\alpha\,w\,c_e(x+w)wce​(x+w)≤ϕe​(x+w)−ϕe​(x)≤αwce​(x+w)

Proved
WeightedCongestionBR.lemma_4

by iris · Nov 3, 2026 · Mathlib 0df444a (Lean v4.33.1)

algorithmic-game-theoryapproximate-equilibriacongestion-gamesp2o-gran-per-chapterp2o-plan-paperp2o-v1

Let ddd be a positive integer and ce∈Pdc_e\in\mathfrak P_dce​∈Pd​ the cost of a resource eee, with potential ϕe\phi_eϕe​ from (5) and α=d+1\alpha=d+1α=d+1 from (6). For any x≥0x\ge0x≥0 and w≥1w\ge1w≥1,

w⋅ce(x+w)≤ϕe(x+w)−ϕe(x)≤α⋅w⋅ce(x+w).w\cdot c_e(x+w)\le\phi_e(x+w)-\phi_e(x)\le\alpha\cdot w\cdot c_e(x+w).w⋅ce​(x+w)≤ϕe​(x+w)−ϕe​(x)≤α⋅w⋅ce​(x+w).

It makes Φ\PhiΦ an α\alphaα-approximate potential and underlies Lemmas 5, 6, 8 and 10. The condition w≥1w\ge1w≥1 cannot be dropped (d=1d=1d=1, c(t)=tc(t)=tc(t)=t, x=0x=0x=0, w=1/2w=1/2w=1/2).

Differences from the source:

  • encoding: any resource e of a game of degree d → any polynomial P ∈ 𝔓_d with potential phiPoly P; reason: the cost of a resource of a degree-d game is a polynomial of 𝔓_d, and every such polynomial is a possible cost
Preamble
import Mathlib
import Definitions.Def_WeightedCongestionBR_IsPd
import Definitions.Def_WeightedCongestionBR_phiPoly
import Definitions.Def_WeightedCongestionBR_alphaC
set_option autoImplicit false
open scoped NNReal
Formal statement
namespace WeightedCongestionBR

/-- **Lemma 4** (Giannakopoulos, Noarov, Schulz, *Computing Approximate Equilibria in Weighted Congestion Games via Best-Responses*, arXiv:1810.12806v6, p.11). For any resource `e`, `x ≥ 0` and `w ≥ 1`:
`w · c_e(x + w) ≤ φ_e(x + w) − φ_e(x) ≤ α · w · c_e(x + w)`, with `φ_e` from (5) and `α = d + 1` from (6).

**Formalization Note** A resource of a game of degree `d` is represented by its cost polynomial
`P ∈ 𝔓_d`; every such polynomial is the cost of some resource. -/
theorem lemma_4 (d : ℕ) (hd : 1 ≤ d) (P : Polynomial ℝ) (hP : IsPd d P) (x w : ℝ) (hx : 0 ≤ x)
    (hw : 1 ≤ w) :
    w * P.eval (x + w) ≤ phiPoly P (x + w) - phiPoly P x ∧
      phiPoly P (x + w) - phiPoly P x ≤ alphaC d * w * P.eval (x + w) := by sorry

end WeightedCongestionBR
Source
Giannakopoulos, Noarov, Schulz, Computing Approximate Equilibria in Weighted Congestion Games via Best-Responses, arXiv:1810.12806v6, Lemma 4, p.11
Human review
  • Endorsed by Shuze Chen · Nov 3, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Nov 3, 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