Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 3.1 — the three-buffer line empties by max⁡{ρ1/(1−ρ1),ρ2/(1−ρ2)}\max\{\rho_1/(1-\rho_1), \rho_2/(1-\rho_2)\}max{ρ1​/(1−ρ1​),ρ2​/(1−ρ2​)}

Proved
DaiWeissFluid.ThreeBuffer.emptying_time

by mikedeng1 · Oct 5, 2026 · Mathlib 0df444a (Lean v4.33.1)

fluid-modelp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1queueing-network-stabilityreentrant-line

Let m1,m2,m3>0m_1, m_2, m_3 > 0m1​,m2​,m3​>0 satisfy (3.1), ρ1=m1+m3<1\rho_1 = m_1 + m_3 < 1ρ1​=m1​+m3​<1 and ρ2=m2<1\rho_2 = m_2 < 1ρ2​=m2​<1, and let (Q,T)(Q, T)(Q,T) be a work-conserving fluid model solution, (1.8)–(1.13), of the three-buffer line 1→2→11 \to 2 \to 11→2→1 with initial total fluid ∣Q(0)∣=Q1(0)+Q2(0)+Q3(0)=1|Q(0)| = Q_1(0) + Q_2(0) + Q_3(0) = 1∣Q(0)∣=Q1​(0)+Q2​(0)+Q3​(0)=1. Then

Qk(t)=0for all k and all t≥max⁡{ρ11−ρ1,ρ21−ρ2}.Q_k(t) = 0 \qquad \text{for all } k \text{ and all } t \ge \max\Big\{\frac{\rho_1}{1-\rho_1}, \frac{\rho_2}{1-\rho_2}\Big\}.Qk​(t)=0for all k and all t≥max{1−ρ1​ρ1​​,1−ρ2​ρ2​​}.

This is the explicit emptying time obtained from the Lyapunov function G=max⁡{G1,G2}G = \max\{G_1, G_2\}G=max{G1​,G2​}, Lemma 3.2 and Lemma 2.2; it exhibits the constant δ\deltaδ required by Definition 1.3.

Formalization Note. Indices are 0-based: ρ1\rho_1ρ1​ is m 0 + m 2 and ρ2\rho_2ρ2​ is m 1.

Preamble
import Mathlib
import Definitions.Def_DaiWeissFluid_ThreeBuffer_FluidModel
import Definitions.Def_DaiWeissFluid_ThreeBuffer_Line
Formal statement
namespace DaiWeissFluid.ThreeBuffer

/-- Proof of Theorem 3.1, p. 121: under (3.1), every work-conserving fluid solution of the
three-buffer line with `|Q(0)| = 1` is empty from time `max{ρ₁/(1-ρ₁), ρ₂/(1-ρ₂)}` on, where
`ρ₁ = m₁ + m₃` and `ρ₂ = m₂` (0-based: `m 0 + m 2` and `m 1`). -/
theorem emptying_time (m : Fin 3 → ℝ) (hm : ∀ k, 0 < m k) (h1 : m 0 + m 2 < 1) (h2 : m 1 < 1)
    (Q T : ℝ → Fin 3 → ℝ) (hwc : (threeBuffer m).IsWorkConserving Q T)
    (hQ0 : ∑ k, Q 0 k = 1) (t : ℝ)
    (ht : max ((m 0 + m 2) / (1 - (m 0 + m 2))) (m 1 / (1 - m 1)) ≤ t) (k : Fin 3) :
    Q t k = 0 := by sorry

end DaiWeissFluid.ThreeBuffer
Source
Dai and Weiss, Stability and instability of fluid models for reentrant lines, Math. Oper. Res. 21(1) (1996), p. 121, proof of Theorem 3.1
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me