Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Equation (2.6): complementary conditions become conditions on B

Proved
KellyLossNetworks.Primal.change_of_variables

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

convex-dualityloss-networksoperations-researchp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

For a multiplier vector yyy and positive offered traffic, set Bj=1−e−yjB_j=1-e^{-y_j}Bj​=1−e−yj​. The primal and dual feasibility plus complementary slackness conditions (2.4)–(2.5) hold exactly when BBB satisfies conditions (2.7): 0≤Bj<10\le B_j<10≤Bj​<1 and the route flow through each link equals CjC_jCj​ if Bj>0B_j>0Bj​>0, or is at most CjC_jCj​ if Bj=0B_j=0Bj​=0.

The equality uses ∏i(1−Bi)Air=e−∑iyiAir\prod_i(1-B_i)^{A_{ir}}=e^{-\sum_i y_iA_{ir}}∏i​(1−Bi​)Air​=e−∑i​yi​Air​. It connects the multiplier and blocking descriptions without choosing a particular optimum.

Preamble
import Mathlib
import Definitions.Def_KellyLossNetworks_Primal_Problem
Formal statement
namespace KellyLossNetworks.Primal

/-- Kelly, *Loss networks* (1991), §2.1, p. 328, (2.6)–(2.7).
The nonnegative multiplier condition is part of `complementary`. -/
theorem change_of_variables {J R : ℕ} (A : Fin J → Fin R → ℕ)
    (ν : Fin R → ℝ) (C : Fin J → ℕ) (hν : ∀ r, 0 < ν r)
    (y : Fin J → ℝ) :
    complementary A ν C y ↔ ConditionsOnB A ν C (blockingFromDual y) := by sorry

end KellyLossNetworks.Primal
Source
Kelly, Loss networks, Ann. Appl. Probab. 1(3):319–378 (1991), DOI 10.1214/aoap/1177005872, p. 328, §2.1, (2.6)–(2.7)
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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