Identify the two sources of gaps after merging both mark lists
ProvedFixedMachinePrec.two_pass_gap_originAfter a two-pass splice, each input-time gap is exactly one of two kinds: an interval of consecutive first-pass positions read in reverse order, or an interval of consecutive second-pass positions, including its final interval to the center. The result carries arbitrary edge certificates on both chains and recovers the exact job set in its native frame.
Preamble
import Mathlib import Definitions.Def_FixedMachinePrec_Formula import Definitions.Def_FixedMachinePrec_Hierarchy import Definitions.Def_FixedMachinePrec_Separator
Formal statement
namespace FixedMachinePrec
theorem two_pass_gap_origin {N : ℕ} (V U : List (Finset (Fin N))) (v : ℕ) (vp : 1 ≤ v) (vh : v ≤ V.length) (ulen : U.length=V.length-v)
(first second : List ℕ) (last : ℕ) (ord : (0::first).Pairwise (· < ·)) (ord₂ : (0::second).Pairwise (· < ·))
(end₁ : (0::first).getLast?=some v) (end₂ : (0::second).getLast?=some last) (lim : ∀ j ∈ second, j ≤ U.length)
(R T : ℕ → ℕ → Prop) (w₁ : (0::first).IsChain R) (w₂ : (0::second).IsChain T) :
let s := U ++ (V.take v).reverse
let ts := second ++ first.reverse.map (fun j => V.length+1-j)
∀ X∈gaps s ts,
(∃ a b, a < b ∧ b ≤ v ∧ R a b ∧ X = slotsBetween V a b) ∨
(∃ a b, a < b ∧ b ≤ U.length+1 ∧ ((b ≤ U.length ∧ T a b) ∨ (a=last ∧ b=U.length+1)) ∧ X=slotsBetween U a b) := 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.