Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Lemma 2.6 (essential uniqueness) — all Nash flows have the same cost

Proved
SelfishRouting.Potential.lemma_2_6_cost_eq

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

nash-equilibriump2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1selfish-routinguniqueness

Consider a routing instance with latency functions ℓe\ell_eℓe​ that are nonnegative, nondecreasing and continuous on [0,∞)[0,\infty)[0,∞), routes given by 0/10/10/1 edge–route incidence columns, and positive rates rir_iri​. Write C(f)=∑PℓP(f)fPC(f)=\sum_P\ell_P(f)f_PC(f)=∑P​ℓP​(f)fP​ for the cost of a flow.

Lemma 2.6, second part. If fff and f~\tilde ff~​ are flows at Nash equilibrium, then

C(f)=C(f~).C(f)=C(\tilde f).C(f)=C(f~​).

Nash flows need not be unique, but their cost is; this is what makes the ratio ρ(G,r,ℓ)=C(f)/C(f∗)\rho(G,r,\ell)=C(f)/C(f^*)ρ(G,r,ℓ)=C(f)/C(f∗) of §2.5 independent of the choice of Nash flow.

Formalization Note Only the second sentence of Lemma 2.6 is formalized here; the first is lemma_2_6_existence. Routes are 0/10/10/1 incidence columns, a generalization of simple paths; continuity and monotonicity are imposed on [0,∞)[0,\infty)[0,∞).

Preamble
import Mathlib
import Definitions.Def_KellyStochasticNetworks_Wardrop
import Definitions.Def_SelfishRouting_Potential_Model

open KellyStochasticNetworks
Formal statement
namespace SelfishRouting.Potential

theorem lemma_2_6_cost_eq {J R Sd : ℕ} (A : Fin J → Fin R → ℝ) (s : Fin R → Fin Sd)
    (rate : Fin Sd → ℝ) (ℓ : Fin J → ℝ → ℝ)
    (hA : ∀ j r, A j r = 0 ∨ A j r = 1) (hrate : ∀ i, 0 < rate i)
    (hℓnn : ∀ j t, 0 ≤ t → 0 ≤ ℓ j t)
    (hℓmono : ∀ j, MonotoneOn (ℓ j) (Set.Ici 0))
    (hℓcont : ∀ j, ContinuousOn (ℓ j) (Set.Ici 0))
    (x x' : Fin R → ℝ) (hx : IsNashFlow A s ℓ rate x) (hx' : IsNashFlow A s ℓ rate x') :
    SelfishRouting.Bicriteria.cost A ℓ x = SelfishRouting.Bicriteria.cost A ℓ x' := by sorry

end SelfishRouting.Potential
Source
Roughgarden & Tardos, How Bad is Selfish Routing?, J. ACM 49(2) (2002), author's manuscript of 5 Dec 2001, p. 9, Lemma 2.6 (second sentence)
Human review
  • Endorsed by Shuze Chen · Oct 7, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 7, 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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me