Claim 1, p. 9 — if token k departs from v ∈ Vk, it does so no later than r0 + (Loζdζ − Lvdζ + k − 1)
ProvedAtomicDynRouting.ResidenceTime.claim_1Let be a finite acyclic network with unit lengths and capacities, take an ADR run, a focal agent with entry time , an integer time , and the token process of §3.2 started at . Write .
Let , and assume the conclusion of Lemma 1 for the tokens . Let be an edge of with tail , and suppose that
- token departs from along at time : it is in the buffer of at time and not at time ;
- it does so right after a smaller token: some token with departed from along at time (it was in the buffer of at time and not at time ).
Then
The vertices of this kind form the set of the paper. This is the first case of the induction step in the proof of Lemma 1.
Formalization Note. The bound is stated additively, . "Right after" is read as one time unit later through the same edge, which is how the paper's proof uses it (token departs one unit after token , whose bound is ). The induction hypothesis is a hypothesis of the statement, as on the page.
import Mathlib import Definitions.Def_AtomicDynRouting_ResidenceTime_Tokens
namespace AtomicDynRouting.ResidenceTime
/-- Claim 1, §3.2, p. 9 (in the proof of Lemma 1). Let `k ≥ 2` and assume Lemma 1 for tokens `1, …, k − 1`. If token `k` departs from `v = tail e` along the edge `e` of `Gζ` at time `s` right after a token `h < k` departed along `e` (at time `s − 1`), then `s ≤ r0 + (L_{oζdζ} − L_{vdζ} + k − 1)`, written additively. -/
theorem claim_1 {V E ι : Type} [Fintype V] [DecidableEq V] [Fintype E] [DecidableEq E] (N : Network V E) (hN : N.Acyclic) (R : RunData ι E V) (hR : IsADR N R) (ζ : ι) (r0 : ℕ) (hr0 : R.entry ζ ≤ r0) (hinside : R.inside ζ r0) (k : ℕ) (hk : 2 ≤ k) (IH : ∀ h : ℕ, 1 ≤ h → h < k → DepartBound N R ζ r0 h) (e : E) (he : e ∈ Gz N R ζ) (s : ℕ) (hks : tokAt R ζ r0 s k = some e) (hkdep : tokAt R ζ r0 (s + 1) k ≠ some e) (hprev : ∃ h : ℕ, 1 ≤ h ∧ h < k ∧ 1 ≤ s ∧ tokAt R ζ r0 (s - 1) h = some e ∧ tokAt R ζ r0 s h ≠ some e) : s + N.longest (N.tail e) (R.dest ζ) + 1 ≤ r0 + N.longest (R.orig ζ) (R.dest ζ) + k := by sorry
end AtomicDynRouting.ResidenceTime
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.