Complete witness after replacing a reversed interval
ProvedFixedMachinePrec.reversed_interval_complete_witnessIn a complete full schedule containing a reversed block, replace any open interval of that block by a feasible input-frame schedule of exactly its jobs. The new schedule is complete, has the same boundary positions, leaves the slot time of every exterior job unchanged, and shifts interior local times by the precisely identified prefix length. Its left and right boundary slots are recovered including both exterior cases.
Preamble
import Mathlib import Definitions.Def_FixedMachinePrec_Formula import Definitions.Def_FixedMachinePrec_Hierarchy import Definitions.Def_FixedMachinePrec_Separator
Formal statement
namespace FixedMachinePrec
theorem reversed_interval_complete_witness {N m : ℕ} (p : Fin N → Fin N → Prop) [DecidableRel p] (hm : 0 < m) (F U R : List (Finset (Fin N)))
(hf : IsFullSchedule p m Finset.univ (F++U.reverse++R)) (i j : ℕ) (ij : i<j) (ub : j ≤ U.length+1)
(W : Finset (Fin N)) (old : IsFullSchedule (fun x y => p y x) m W ((U.drop i).take (j-1-i)))
(s : List (Finset (Fin N))) (hs : IsFullSchedule p m W s) :
let L := F++(U.drop (j-1)).reverse
let T := (U.take i).reverse++R
let σ := L++s++T
let τ := localTime σ
let a := L.length
let b := a+s.length+1
IsFullSchedule p m Finset.univ σ ∧
a=F.length+U.length+1-j ∧ b=F.length+U.length+1-i ∧
(∀ x, x∈W ↔ a<τ x ∧ τ x<b) ∧
(∀ x∈W, τ x = a+localTime s x) ∧
(∀ x, x∉W → τ x=localTime (F++U.reverse++R) x) ∧
L.getLast? = (if j=U.length+1 then F.getLast? else U[j-1]?) ∧
T.head? = (if i=0 then R.head? else U[i-1]?) := 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.