Lemma 1, p. 9 — token k departs every vertex v of Tk ∩ Gζ no later than r0 + (Loζdζ − Lvdζ + k − 1)
ProvedAtomicDynRouting.ResidenceTime.lemma_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 , and let be the motion trail of token .
For every token and every vertex of , token departs from no later than
Here token departs from a vertex that is not the sink of when it starts to move along the edge of leaving , and it departs from the sink when it reaches it.
Precisely: whenever token is in the buffer of an edge of at some time , it stays there until some time at which it leaves along , with ; and if after that move it is no longer in a buffer of , then it reaches the sink at time .
Lemma 1 is the core of the multi-token technique. It holds for every run, with no condition on the later entrants.
Formalization Note. The conclusion is the predicate DepartBound of the Tokens file, with additive bounds (). Every vertex of is the tail of one of its edges or its sink, so the two parts cover all of them; itself is not defined, as the buffers the token occupies are its trail.
import Mathlib import Definitions.Def_AtomicDynRouting_ResidenceTime_Tokens
namespace AtomicDynRouting.ResidenceTime
/-- Lemma 1, §3.2, p. 9. For every token `k ≥ 1` and every vertex `v` of `Tₖ ∩ Gζ`, token `k` departs from `v` no later than `r0 + (L_{oζdζ} − L_{vdζ} + k − 1)` (see `DepartBound`). -/
theorem lemma_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 : 1 ≤ k) : DepartBound N R ζ r0 k := by sorry
end AtomicDynRouting.ResidenceTime
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.