Iterate promotions between arbitrary priority prefixes
ProvedFixedMachinePrec.walk_between_priority_prefixesStart at an exterior boundary covering the initial prefix of a normalized nonempty full schedule. Promote from a specified initial index to a specified terminal index. There are strictly increasing retained positions with common cutoffs on every edge. Every strict promotion has a spare endpoint; if no promotion moves, one actual terminal separator suffices, without requiring a spare job there.
Preamble
import Mathlib import Definitions.Def_FixedMachinePrec_Formula import Definitions.Def_FixedMachinePrec_Hierarchy import Definitions.Def_FixedMachinePrec_Separator
Formal statement
namespace FixedMachinePrec
theorem walk_between_priority_prefixes {N m : ℕ} (p : Fin N → Fin N → Prop) [DecidableRel p] (hp : IsStrictOrder' p) (hm : 3 ≤ m) (W : Finset (Fin N)) (hne : W.Nonempty)
(pri : List (Fin N)) (hl : IsPriorityList p W pri) (S : List (Finset (Fin N))) (hz : IsNormalized p m W pri S)
(lo hi : ℕ) (order : lo ≤ hi) (bound : hi ≤ W.card) (ext : Finset (Fin N))
(up : ∀ x ∈ ext, ∀ y ∈ W, p x y → y ∈ ext) (start : priorityPrefix pri lo ⊆ ext) :
let sep := fun k t => if t=0 then priorityPrefix pri k ⊆ ext else Separates p S (priorityPrefix pri k) t
∃ marks c, (0::marks).Pairwise (· < ·) ∧ (0::marks).getLast? = some c ∧ c ∈ marks ∧
Separates p S (priorityPrefix pri hi) c ∧
(∀ t ∈ marks, 1 ≤ t ∧ t ≤ S.length ∧ ∃ k, lo ≤ k ∧ k ≤ hi ∧ Separates p S (priorityPrefix pri k) t) ∧
(0::marks).IsChain (fun a b => ∃ k, lo ≤ k ∧ k ≤ hi ∧ sep k a ∧ sep k b ∧
((∃ e ∈ S.getD (b-1) ∅, ∀ y ∈ W \ priorityPrefix pri k, ¬p y e) ∨ (a=0 ∧ b=c ∧ k=hi))) := by sorry
end FixedMachinePrec
Source
K. Jansen, Precedence Constraint Scheduling on a Fixed Number of Machines, arXiv:2611.09392v1, §7.3, retained separator positions and center; §7.5, construction of the annotated hierarchy.