Proposition 3.1 — one step of Rule(n_A, n_B, k) with n_A ≤ n_B preserves the stack ordering (3.1)
ProvedPowerOfDUniversality.Fluid.proposition_3_1Let and be two ensembles of stacks with maximum height : occupancy vectors of servers with buffer (with ) together with counts of discarded items. Suppose they are ordered as in (3.1):
Apply one step of with :
- either an item is removed from the -th ordered stack of both ensembles (; nothing happens to an empty stack), by (3.2);
- or an item is added to the -th ordered stack of and to the -th ordered stack of (), and discarded into if that stack is full, by (3.3).
Then the updated ensembles again satisfy (3.1) for every .
Iterating, the ordering is preserved at every step whenever the rule is followed with . This deterministic statement is the engine of the stochastic comparisons of §3.2.
Formalization Note The printed statement says "for all ". For finite the proof uses (3.5) at , i.e. , and without it the claim fails at (one stack, , , , , , a removal). The formal statement therefore orders all levels , where for the sums are empty; in every application , so the extra levels hold at time .
import Mathlib import Definitions.Def_PowerOfDUniversality_Fluid_Model import Definitions.Def_PowerOfDUniversality_Fluid_FluidSpace open MeasureTheory ProbabilityTheory Filter Topology open scoped ENNReal NNReal
namespace PowerOfDUniversality.Fluid
/-- **Proposition 3.1** (p. 11, deterministic stack ordering). Let `A` and `B` be ensembles of
`N` stacks with maximum height `b` (occupancy vectors plus discarded items) that are ordered as
in (3.1): `∑_{i=m}^{b} Q^A_i + L^A ≤ ∑_{i=m}^{b} Q^B_i + L^B` for every `m ≥ 1`. After one step of
`Rule(n_A, n_B, k)` with `n_A ≤ n_B` (an item removed from the `k`-th ordered stack of both, or an
item added to the `n_A`-th ordered stack of `A` and the `n_B`-th of `B`), the ordering still
holds for every `m ≥ 1`. -/
theorem proposition_3_1 (N : ℕ) (hN : 1 ≤ N) (b : ℕ∞) (hb : 1 ≤ b) (A B : Ensemble)
(hA : IsOccupancy N b A.Q) (hB : IsOccupancy N b B.Q) (hAB : StackOrdered A B) :
(∀ k : ℕ, 1 ≤ k → k ≤ N → StackOrdered (removeItem N k A) (removeItem N k B)) ∧
(∀ nA nB : ℕ, 1 ≤ nA → nA ≤ nB → nB ≤ N →
StackOrdered (addItem N b nA A) (addItem N b nB B)) := by sorry
end PowerOfDUniversality.Fluid
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.