Lemma 1, (24) and (26), p. 11 — prelimit dynamic equations for ⟨f, ν^N_j⟩ and ⟨ς, η^N_j⟩
ProvedPuhaWardFluid.Limit.lemma_1Consider the -th queue under an HL control policy. Almost surely, for every class , every , every and every ,
Here is the set of continuous functions on with compact support in whose derivative exists on and is continuous with compact support; and are the age-in-service and potential-queue measures, the entry-into-service process, the arrival process, and , the departure and potential-reneging marked point processes with marks , .
These equations are the prelimit counterparts of the fluid equations (46)–(47) and are the starting point for identifying fluid limits.
Formalization Note Only (24) and (26) of Lemma 1 are posed; (23) and (25), with test functions of , are not. The identities are not part of the HL predicate: they must be derived from the definitions of , , , , . The marked processes are written with the marks at the departure (potential reneging) time, where the age (waiting time) equals the service (patience) time.
import Mathlib import Definitions.Def_PuhaWardFluid_Limit_Queue open MeasureTheory open scoped NNReal ENNReal
namespace PuhaWardFluid.Limit
/-- **Lemma 1, (24) and (26)** (p. 11). For an HL control policy of the `N`-th queue, almost surely,
for each class `j`, `f ∈ C¹_c([0, H^s_j))`, `ς ∈ C¹_c([0, H^r_j))` and `t ≥ 0`,
(24) `⟨f, ν^N_j(t)⟩ = ⟨f, ν^N_j(0)⟩ + ∫_0^t ⟨f', ν^N_j(u)⟩ du − 𝒟^N_j(f, t) + f(0) K^N_j(t)`,
(26) `⟨ς, η^N_j(t)⟩ = ⟨ς, η^N_j(0)⟩ + ∫_0^t ⟨ς', η^N_j(u)⟩ du − 𝒮^N_j(ς, t) + ς(0) E^N_j(t)`. -/
theorem lemma_1 {J : ℕ} (L : ClassLaws J) {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
(Q : QueueSeq J Ω) (N : ℕ+) (hQ : Q.IsHLPolicy L P N) :
∀ᵐ ω ∂P, ∀ j : Fin J,
(∀ f f' : ℝ → ℝ, IsC1c (L.Hs j) f f' → ∀ t : ℝ≥0,
pair f (Q.nu L N ω t j) =
pair f (Q.nu L N ω 0 j) + (∫ u in Set.Icc (0 : ℝ) t, pair f' (Q.nu L N ω u.toNNReal j))
- Q.Dmark L N ω (fun x _ => f x) t j + f 0 * (Q.K N ω t j : ℝ)) ∧
(∀ ς ς' : ℝ → ℝ, IsC1c (L.Hr j) ς ς' → ∀ t : ℝ≥0,
pair ς (Q.eta L N ω t j) =
pair ς (Q.eta L N ω 0 j) + (∫ u in Set.Icc (0 : ℝ) t, pair ς' (Q.eta L N ω u.toNNReal j))
- Q.Smark L N ω (fun x _ => ς x) t j + ς 0 * (Q.E N ω t j : ℝ)) := by sorry
end PuhaWardFluid.Limit
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.