Theorem 3.14 — Gaussian limit and convergence of moments
ProvedKellyStochasticNetworks.LossLimits.gaussian_limitFix a natural matrix of full row rank. For , let and let be positive integers, with and . Let and solve the corresponding blocking conditions (3.6), and set and . Assume strict slack at every link with .
Let have the exact stationary product-form law (3.3), proportional to on . Put . Write , and . If independently, let . Then
and
All displayed moments are integrable. The law of is the canonical law of independent normals with variances conditioned on .
The theorem describes the stationary fluctuations of a large fixed-topology loss network, including the possible loss of dimension caused by active capacity constraints.
Formalization Note Weak convergence is stated against all bounded continuous real test functions. The centering is exactly , never . Conditioning on the null event uses the explicit Gaussian regression residual with covariance . All mixed moments, their integrability, and the mean-occupancy consequence are retained. Tightness and tail control are proof obligations, not hypotheses.
import Mathlib import Definitions.Def_KellyStochasticNetworks_LossLimits_Laws import Definitions.Def_KellyStochasticNetworks_LossLimits_Gaussian open MeasureTheory Filter Topology
namespace KellyStochasticNetworks.LossLimits
/-- Theorem 3.14. Definitions used below:
* Scaling: A has full row rank; ν(N)>0 and natural C(N)>0 for N≥1;
ν(N)/N→ν>0 and C(N)/N→C>0, coordinatewise.
* blocking A ν C: the selected solution of (3.6), 0≤B<1, Ax≤C,
with equality on B_j>0; x_r=ν_r∏_j(1-B_j)^A_jr is `mode`.
* strictSlack: (Ax)_j<C_j at every link with B_j=0.
* occupancyLaw: on n∈ℕ^R, mass proportional to ∏_r ν_r^n_r/n_r!,
supported on An≤C, with the exact partition sum, not an assumed normalizer.
* fluctuationLaw: the image of that law under (n-x(N))/sqrt(N).
* conditionedGaussian: if D=diag(x), H=A restricted to B_j>0,
the image of independent N(0,x_r) coordinates under
z↦z-D Hᵀ(H D Hᵀ)⁻¹Hz. Its covariance is D-DHᵀ(HDHᵀ)⁻¹HD.
* monomial k u = ∏_r (u_r)^(k_r).
The first clause is weak convergence against all bounded continuous real functions;
the next clauses give existence and convergence of all mixed moments, and the final
clause is the printed convergence of mean occupancy divided by N. -/
theorem gaussian_limit {J R : ℕ} (A : Fin J → Fin R → ℕ)
(νN : ℕ → Fin R → ℝ) (CN : ℕ → Fin J → ℕ)
(ν : Fin R → ℝ) (C : Fin J → ℝ)
(hscale : Scaling A νN CN ν C) (hslack : strictSlack A ν C) :
let γ := conditionedGaussian A (blocking A ν C) (mode A ν C)
(∀ f : (Fin R → ℝ) → ℝ, Continuous f → Bornology.IsBounded (Set.range f) →
Tendsto (fun N => ∫ u, f u ∂(fluctuationLaw A νN CN N))
atTop (𝓝 (∫ u, f u ∂γ))) ∧
(∀ k : Fin R → ℕ,
(∀ N, 0 < N → Integrable (monomial k) (fluctuationLaw A νN CN N)) ∧
Integrable (monomial k) γ ∧
Tendsto (fun N => ∫ u, monomial k u ∂(fluctuationLaw A νN CN N))
atTop (𝓝 (∫ u, monomial k u ∂γ))) ∧
(∀ r, (∀ N, 0 < N → Integrable (fun n : Fin R → ℕ => (n r : ℝ))
(occupancyLaw A (νN N) (CN N))) ∧
Tendsto (fun N => (∫ n, (n r : ℝ) ∂(occupancyLaw A (νN N) (CN N))) / N)
atTop (𝓝 (mode A ν C r))) := by sorry
end KellyStochasticNetworks.LossLimits
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Fix natural numbers (the number of links, indexed by ) and (the number of routes, indexed by ). The data are:
- a matrix of natural numbers;
- for each , a real vector and a vector of natural numbers ;
- a real vector and a real vector .
There are two hypotheses. The definitions behind them are imported from other files and are not shown here; what follows describes them as the declaration's docstring does.
- Scaling : has full row rank; and coordinatewise for every ; and coordinatewise
- Strict slack for : let be "the selected solution" of a system the docstring calls (3.6). That solution satisfies , , and wherever , where is given by
The hypothesis then says at every link with . The code shown does not say how the solution is selected if (3.6) has several solutions.
The statement uses four further objects:
- Occupancy law. is a measure on route-occupancy vectors . It is supported on and gives each mass proportional to , normalized by the exact sum over that set.
- Fluctuation law. is the image of on under
The docstring writes but does not define it in the code shown.
- Limit Gaussian. is built from and the submatrix of formed by the rows with . It is the image of the law of independent coordinates under
The docstring states that its covariance is .
- Monomial. For and , .
Under these hypotheses the theorem asserts three things at once.
- Weak convergence. For every continuous with bounded range,
- Moments. For every multi-index :
- is -integrable for every ;
- it is -integrable;
- as .
- Mean occupancy. For every route :
- is -integrable for every ;
- as ,
The limit is the mode built from the limiting and , not from and .
Degenerate cases. Every conclusion is a limit as , and the integrability claims are only made for . So the value , about which Scaling says nothing, does not affect the statement. At Lean's conventions would give , and hence , but this plays no role.
- No routes (). and are single points, every monomial is the constant , and clause 3 is vacuous. Clauses 1 and 2 then compare the total masses of and at that point. If , full row rank of a matrix cannot hold under any reading where rank means rank , so Scaling cannot be satisfied and the theorem is vacuously true. is only non-vacuous together with .
- No links (). There are no capacity constraints, is the empty vector, , and has no rows. The projection then removes nothing, so is the law of independent coordinates, assuming the definition handles an empty that way.
- Zero multi-index (). Because , the monomial is the constant , and clause 2 for asserts that the total masses converge.
- Matrix inverse. is Lean's total matrix inverse, which returns for a singular matrix. If were singular, would collapse to the unprojected Gaussian. Whether the hypotheses exclude this depends on the unshown definitions.
- Non-integrable functions. Any integral of a non-integrable function is by Lean's convention. Clauses 2 and 3 assert integrability explicitly for , and clause 1 asserts no integrability at all.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.