Lemma B.10 — flow-balance identity for the traffic equations
ProvedProcessingNetworks.EntropyIneq.lemma_B_10p2o-gran-per-chapterp2o-plan-bookp2o-v1processing-networksrelative-entropyspectral-radiustextbooktraffic-equations
Throughout, 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)).
Set by convention and let be arbitrary real numbers. Then
The identity is what makes the two vectors built from in the proof of Lemma B.13 have equal total mass, so that the unnormalized Pinsker inequality (Lemma B.12) applies.
Formalization Note The inner sum over is the sum over the classes plus the class- term .
Differences from the source:
- 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
Preamble
import Mathlib import Definitions.Def_ProcessingNetworks_EntropyIneq_SectionB4Assumptions import Definitions.Def_ProcessingNetworks_EntropyIneq_outflow
Formal statement
namespace ProcessingNetworks.EntropyIneq
/-- **Lemma B.10** (Dai & Harrison, *Processing Networks*, pre-publication draft 2020-4-2,
spnbook.org, Appendix B §B.4, Lemma B.10, eq. (B.21), p.270 (PDF 286)). Under the standing
assumptions of Section B.4, with `α = (I − P′)⁻¹λ`, set `d₀ = 1` by convention and let
`d₁, …, d_I` be arbitrary. Then
`Σ_{i∈𝓘} dᵢ + Σ_{i∈𝓘} λᵢ = Σ_{i∈𝓘} αᵢ Σ_{j∈𝓘₊} P_{ij} d_j/α_j + Σ_{i∈𝓘} dᵢ λᵢ/αᵢ`.
**Formalization Note** `𝓘₊ = 𝓘 ∪ {0}`: the inner sum is `Σ_{j ∈ Fin I} P_{ij} d_j/α_j` plus the
class-0 term `P_{i0} · d₀/α₀ = outflow P i` (with `d₀ = α₀ = 1`). `d` is an arbitrary real vector. -/
theorem lemma_B_10 {I : ℕ} (lam : Fin I → ℝ) (P : Matrix (Fin I) (Fin I) ℝ)
(hB4 : SectionB4Assumptions lam P) (d : Fin I → ℝ) :
∑ i, d i + ∑ i, lam i =
∑ i, traffic lam P i * (∑ j, P i j * (d j / traffic lam P j) + outflow P i) +
∑ i, d i * (lam i / traffic lam P i) := by sorry
end ProcessingNetworks.EntropyIneq
Source
Dai & Harrison, Processing Networks (pre-publication draft 2020-4-2, spnbook.org), Appendix B §B.4, Lemma B.10, eq. (B.21), p.270 (PDF 286)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.