Lemma B.13 — relative-entropy lower bound for the traffic equations (corrected: substochastic)
ProvedProcessingNetworks.EntropyIneq.lemma_B_13Throughout, is an integer, is the set of classes, is the vector of external arrival rates and is a non-negative routing matrix with spectral radius ; , , is assumed positive and (Section B.4, (B.13)–(B.17)). In addition, is substochastic: for every , i.e. .
Given , define
so . Assume that for every . Then
with .
With one has , so the left side is minus the bound on the drift of the entropy Lyapunov function (Lemma 10.9) used in Section 10.5 to prove stability of the proportionally fair fluid model; the right side is non-negative and vanishes only when , which turns the inequality into a strict decrease away from the fixed point.
Formalization Note The sum over is the sum over the classes plus the class- term ; is the natural logarithm, applied only to positive arguments.
Differences from the source:
- correction: P a non-negative I × I matrix with spectral radius < 1 (the section's printed hypothesis) → additionally every row sum of P is ≤ 1 (hypothesis hsub, P_{i0} ≥ 0); reason: the printed statement is false: P = [[0, 2], [0, 0]] (non-negative, ρ(P) = 0), λ = (1, 0), so α = (1, 2) > 0, and d = (0.1, 0.05) give left side 0.9 ln 10 + 0.15 ln 40 ≈ 2.626 < right side 3.9²/2.3 ≈ 6.613 (proved in Lean in the mission's verification file); the Guide (p.xv) defines spectral radius and transience for substochastic matrices only, and the proof's Jensen step (B.30) uses (P_ij)_{j∈𝓘₊} as probability weights
- encoding: sums over 𝓘₊ = 𝓘 ∪ {0} with d₀ = α₀ = 1 → a sum over Fin I plus the explicit class-0 term outflow P i = P_{i0}; reason: class 0 is not an element of Fin I; same values
- encoding: ρ(P) < 1, ρ the largest modulus of an eigenvalue → RobustToDynamics.specRadius P < 1, the supremum of the moduli of the points of the spectrum of P over ℂ; reason: that spectrum is the set of complex eigenvalues, a finite nonempty set for I ≥ 1, so the supremum is the maximum
- encoding: α := (I − P′)⁻¹λ → traffic lam P, defined with Matrix.inv; reason: ρ(P) < 1 makes I − P′ invertible (Theorem F.1), so Matrix.inv is the true inverse
import Mathlib import Definitions.Def_ProcessingNetworks_EntropyIneq_SectionB4Assumptions import Definitions.Def_ProcessingNetworks_EntropyIneq_outflow open Matrix
namespace ProcessingNetworks.EntropyIneq
/-- **Lemma B.13** (Dai & Harrison, *Processing Networks*, pre-publication draft 2020-4-2,
spnbook.org, Appendix B §B.4, Lemma B.13, eqs. (B.27)–(B.28), p.271 (PDF 287)), with `P`
substochastic. Let `λ` and `P` be as specified at the beginning of Section B.4 and `α = (I − P′)⁻¹λ`.
Given `d ∈ ℝ^I`, define `a := λ + P′d` and `d₀ = 1`. Assume that `dᵢ > 0` for `i ∈ 𝓘`. Then
`Σ_{i∈𝓘} (dᵢ − aᵢ) log(dᵢ/αᵢ) ≥ ½ · (Σ_{i∈𝓘} dᵢ + Σ_{i∈𝓘} λᵢ)⁻¹ ·
(Σ_{i∈𝓘} λᵢ |1 − dᵢ/αᵢ| + Σ_{i∈𝓘} αᵢ |dᵢ/αᵢ − Σ_{j∈𝓘₊} P_{ij} d_j/α_j|)²`.
**Correction** The hypothesis `hsub` (every row sum of `P` is `≤ 1`, i.e. `P_{i0} ≥ 0`) is added to
the section's printed assumptions (non-negative `P` with spectral radius `< 1`). Without it the
lemma is false: `P = [[0, 2], [0, 0]]`, `λ = (1, 0)` (so `α = (1, 2) > 0`) and `d = (0.1, 0.05)`
give left side `≈ 2.626` and right side `≈ 6.613`. The book's Guide (p.xv) defines spectral
radius and "transient" for substochastic matrices only, and the proof's Jensen step (B.30) uses
`(P_{ij})_{j∈𝓘₊}` as probability weights.
**Formalization Note** `P′d` is `Pᵀ *ᵥ d`, so `aᵢ = λᵢ + Σ_j P_{ji} d_j`. `𝓘₊ = 𝓘 ∪ {0}`: the
inner sum is `Σ_{j ∈ Fin I} P_{ij} d_j/α_j + outflow P i` (`d₀ = α₀ = 1`). `log` is `Real.log`;
every argument `dᵢ/αᵢ` is positive. The prefactor is positive because `d > 0` and `I ≥ 1`. -/
theorem lemma_B_13 {I : ℕ} (lam : Fin I → ℝ) (P : Matrix (Fin I) (Fin I) ℝ)
(hB4 : SectionB4Assumptions lam P) (hsub : ∀ i, ∑ j, P i j ≤ 1)
(d : Fin I → ℝ) (hd : ∀ i, 0 < d i) :
let α := traffic lam P
let a := lam + Pᵀ *ᵥ d
(1 / 2 : ℝ) * (1 / (∑ i, d i + ∑ i, lam i)) *
(∑ i, lam i * |1 - d i / α i| +
∑ i, α i * |d i / α i - (∑ j, P i j * (d j / α j) + outflow P i)|) ^ 2 ≤
∑ i, (d i - a i) * Real.log (d i / α i) := by sorry
end ProcessingNetworks.EntropyIneq
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.