Theorem 4 (corrected: positive service times) — uniform LS population bounds
OpenReentrantScheduling.FBFS.Supplement.theorem4_ls_populationFix a finite reentrant line, nonnegative arrival parameters , nonnegative due-date parameters , and an arbitrary fixed nonnegative estimate vector . Assume . There exist a finite-valued function and a finite , depending only on those fixed parameters, with the following property. For every nonidling nonpreemptive LS run satisfying (1) and every due-date assignment satisfying for every part, if then
Here counts every part still in the system, whether waiting or in service. Both and are chosen before the run and the due-date assignment; is independent of the initial population. No estimate accuracy or monotonicity is required, and due dates may precede releases. This companion theorem adds population control for due-date-based scheduling alongside the existing FBFS goal. Taking gives the paper's Corollary 1 (EDD).
Formalization Note The count exists for every raw run, since is the encard of a subset of the finite releases by time zero. Counts and their envelopes retain infinity. LS has no FIFO restriction. Buffers are 0-based. The positive-time pin described below is inherited from the mandated published base model.
Differences from the source:
- correction: Processing times in the printed setting have no explicit strict positivity hypothesis → Every processing time is strictly positive in the required immutable base Line; reason: The brief mandates the published Line and its disclosed positive-time pin; the source busy-period proof divides by a processing time (p. 1409). Zero processing times are excluded, not proved covered here
- encoding: Buffers are numbered from 1 and starts are implicit event times → Buffers are 0-based and raw starts and exits lie in WithTop ℝ; reason: Never-served parts retain infinite exit; no service completion is assumed
- encoding: The two conclusions use a supremum and limsup of population, with x(0) a finite integer → Both envelopes are in ENNReal and the finite initial count is supplied as n with x(0)=n; reason: Complete-order envelopes avoid a false zero for unbounded real suprema; finite release sets guarantee the count witness
- reading: Theorem 4 writes f(x(0)) and says Γ does not depend on x(0) → Finite f and Γ are chosen after fixed line and scalar/vector parameters and before runs and due-date assignments; reason: This makes the initial-population-only bound and initial-state-independent asymptotic bound explicit as required by the structured brief
import Mathlib import Definitions.Def_ReentrantScheduling_FBFS_Supplement_LeastSlack
namespace ReentrantScheduling.FBFS.Supplement
/-- Theorem 4, p. 1413: both LS population bounds, uniformly over runs and due dates. -/
theorem theorem4_ls_population (L : Line) (lam γ γ₁ γ₂ : ℝ)
(hlam : 0 ≤ lam) (hγ : 0 ≤ γ) (hγ₁ : 0 ≤ γ₁) (hγ₂ : 0 ≤ γ₂)
(hload : L.load lam < 1) (ζ : Fin L.l → ℝ) (hζ : ∀ i, 0 ≤ ζ i) :
∃ (f : ℕ → ℝ) (Γ : ℝ), 0 ≤ Γ ∧
∀ (R : Run L) (δ : R.Part → ℝ), R.Arrivals lam γ →
DueWindow R δ γ₁ γ₂ → LSAdmissible R δ ζ →
∀ n : ℕ, R.x 0 = (n : ℕ∞) →
populationSup R < ENNReal.ofReal (f n) ∧
populationLimsup R ≤ ENNReal.ofReal Γ := by sorry
end ReentrantScheduling.FBFS.Supplement