Stability and Instability of Fluid Models for Reentrant Lines 1: Every Work-Conserving Fluid Model of the Three-Buffer Line 1→2→1 Is Stable When m₁ + m₃ < 1 and m₂ < 1Research Paper
Why reentrant lines, and why this one
A reentrant line is a queueing network in which every job follows the same route and visits some stations more than once. It is the standard model of a semiconductor wafer fab, where a wafer returns to the same lithography station for each of its layers (Kumar, Re-entrant lines, Queueing Systems 13, 1993). Because jobs at different stages compete for the same server, a network can be unstable (queues grow without bound) even though every station has nominal load below one; the Lu–Kumar and Rybko–Stolyar examples of the early 1990s made this concrete. Deciding stability under the usual load condition therefore needs an argument specific to the network and to the scheduling policy.
Fluid models turn that question into one about deterministic dynamics. Dai (Dai, On positive Harris recurrence of multiclass queueing networks: a unified approach via fluid limit models, Ann. Appl. Probab. 5, 1995) showed that if the fluid model of a queueing discipline is stable, the queueing network under that discipline is positive Harris recurrent. Dai and Weiss (1996) then proved fluid stability, or instability, for several classes of reentrant lines. This mission formalizes their first result, about the smallest reentrant line that revisits a station after visiting another one.
Timeline:
- 1993: Kumar conjectured that the three-buffer line is stable under the first-in-first-out (FIFO) discipline whenever the load condition holds, for exponential distributions.
- 1993: Wang proved that the FIFO fluid model of this line is stable, which with Dai's theorem confirms the conjecture.
- 1996: Dai and Weiss (Theorem 3.1) proved stability of the fluid model for every work-conserving discipline, with an explicit emptying time.
Setting
A reentrant line has stations and classes. Fluid enters as class at rate one; class is served at station with mean service time and service rate , and on completion becomes class (class leaves). The constituency of station is , and its nominal workload is .
A fluid model solution is a pair of paths (fluid levels) and (cumulative time spent serving each class) such that, for :
each starts at and is nondecreasing, and the idle time , with busy time , is nondecreasing. These are the paper's equations (1.8)–(1.12). The solution is work conserving if, in addition, (1.13): increases only at times when station holds no fluid. The immediate volume of station is .
A set of fluid model solutions is stable (Definition 1.3) if there is a such that every solution with has for all .
The three-buffer line of Figure 1 has , and route : classes and at station , class at station . The load condition (3.1) is
Formalization targets
Goal: Theorem 3.1
The goal fixes no emptying time: it asserts only that some works, which is Definition 1.3.
Milestones, in attack order
- Lemma 2.2 (ii): a nonnegative absolutely continuous with almost everywhere where vanishes from on, and is nonincreasing.
- Display (3.2) (already proved on the platform): at a regular point, the maximum of finitely many functions has the derivative of every component that attains it.
- Lemma 3.2: for nonnegative linear functions of with (a) while and (b) while , the maximum is absolutely continuous and nonnegative, and at regular points with .
- Drift identity (proof of Theorem 3.1): with , and , where , one has .
- Drift rate: whenever .
- Condition (b): and .
- Emptying time: every work-conserving solution with is empty from on.
Significance
Theorem 3.1 settles stability of the three-buffer line for every work-conserving discipline at once, not only FIFO. Through Dai's 1995 theorem it gives positive Harris recurrence of the queueing network under any such discipline whose fluid limits satisfy (1.8)–(1.13), under that theorem's distributional assumptions. By the paper's remark after the proof, every other three-buffer reentrant line is feedforward, so with this theorem all three-buffer reentrant lines are stable under every work-conserving policy. The method, a Lyapunov function that is the maximum of linear functions of the fluid levels, recurs in the paper's later theorems (Lu–Kumar network, two-station Kelly-type lines) and in the wider fluid-stability literature.
The result is proved on paper; no machine-checked version exists. The mission's contribution is a formal fluid-model layer for reentrant lines (equations (1.8)–(1.13), Definition 1.3) shared with the other missions of this series, two reusable real-analysis lemmas (Lemma 2.2 (ii) and Lemma 3.2), and a complete formal proof of Theorem 3.1. The fluid-limit theorem linking fluid stability to the stochastic network is cited, not formalized.
Difficulty
The obvious approach is to split cases on the relative loads, as the paper notes ( or not), and track the fluid explicitly; this gives sharp emptying times but requires following solutions through regime changes, which is unwieldy when the discipline is arbitrary. The Lyapunov approach avoids this but moves the difficulty into analysis: the fluid paths are only Lipschitz, so derivatives exist only almost everywhere; the maximum of two Lyapunov components is not differentiable where they cross; and work conservation is a statement about where the idle time can increase, which has to be converted into "the busy time grows at rate one" at points where a station holds fluid. Lemma 2.2 (ii) itself needs the fundamental theorem of calculus for absolutely continuous functions.
Formalization scope
All declarations live in DaiWeissFluid.ThreeBuffer. Committed conventions:
- Classes and stations are 0-based (
Fin 3,Fin 2). The paper's class is Leank - 1; the line isthreeBuffer mwith station map![0, 1, 0], and (3.1) readsm 0 + m 2 < 1,m 1 < 1. - Paths are total functions
ℝ → Fin K → ℝ; every equation is imposed only for , and derivatives are taken at (HasDerivAt). - Work conservation (1.13) is in interval form: is constant on every interval on which station holds fluid throughout. This is equivalent to the paper's integral condition for continuous paths.
- No Lipschitz continuity is assumed; it follows from (1.10)–(1.12).
- is an explicit hypothesis (the paper takes it for granted). .
- Lemma 2.2 (ii) is stated with ; the paper prints , but every application uses , and the stated version is the stronger lemma.
- Lemma 3.2 is stated for any reentrant line with stations, assuming only (1.8)–(1.12), as in the paper.
A trivializing formalization is ruled out: the work-conserving solution set of the three-buffer line is nonempty for every satisfying (3.1), with (a sorry-free witness was checked), so the goal is not vacuous, and the goal quantifies over all work-conserving solutions rather than one discipline.
Needed infrastructure: Lipschitz and absolute continuity of the fluid paths, the a.e. fundamental theorem of calculus for absolutely continuous functions (in Mathlib), and the derivative of a finite maximum at a regular point (on the platform as display (3.2)). Lemma 2.2 (ii) and Lemma 3.2 are reusable for the other missions of the series. Proofs of any milestone are welcome independently.
Selected references
- J. G. Dai and G. Weiss, Stability and instability of fluid models for reentrant lines, Mathematics of Operations Research 21(1), 115–134, 1996. https://doi.org/10.1287/moor.21.1.115
- J. G. Dai, On positive Harris recurrence of multiclass queueing networks: a unified approach via fluid limit models, Annals of Applied Probability 5(1), 49–77, 1995. https://doi.org/10.1214/aoap/1177004828
- P. R. Kumar, Re-entrant lines, Queueing Systems 13, 87–110, 1993. https://doi.org/10.1007/BF01158927
- A. N. Rybko and A. L. Stolyar, Ergodicity of stochastic processes describing the operation of open queueing networks, Problems of Information Transmission 28, 199–220, 1992.
- D. D. Botvich and A. A. Zamyatin, Ergodicity of conservative communication networks, Rapport de recherche 1772, INRIA, 1992.