Boundary and qualifier invariants for the marked intervals
OpenFixedMachinePrec.annotated_interval_boundary_dataConstruct the large witness domains using common-cutoff advances. For each nonroot interval provide its complete-witness time map and boundaries, a low cutoff, the bounded exact qualifier, and boundary predicates. Inside the child the qualifier picks exactly the high jobs; a qualifier at or before the left boundary must belong to its weak predecessor cone. Low jobs satisfy the two forward cone inclusions. In a same-direction child the flat carry describes the low cutoff only inside the parent and the right separator controls late low jobs. In an opposite-side child the center first restricts the domain where the right separator applies. The qualifier and carry budgets and input-frame marked-prefix certificates are part of this obligation. No exact global Boolean description of the child interval is assumed.
import Mathlib import Definitions.Def_FixedMachinePrec_Formula import Definitions.Def_FixedMachinePrec_Hierarchy import Definitions.Def_FixedMachinePrec_Separator
namespace FixedMachinePrec
theorem annotated_interval_boundary_data {N : ℕ} (m : ℕ) (prec : Fin N → Fin N → Prop) [DecidableRel prec] (hm : 3 ≤ m) (hp : IsStrictOrder' prec) (rank : Fin N → ℕ) (hr : IsTopoRank prec rank)
(hf : ∃ S, IsFullSchedule prec m Finset.univ S)
(walk : ∀ (p : Fin N → Fin N → Prop) [DecidableRel p], IsStrictOrder' p → ∀ U pri S,
IsPriorityList p U pri → IsNormalized p m U pri S → ∀ k s, k < U.card → Separates p S (priorityPrefix pri k) s →
∃ t ≥ s, Separates p S (priorityPrefix pri k) t ∧ Separates p S (priorityPrefix pri (k+1)) t) :
let F := family prec rank m
let atom := F 1
∃ D : Finset (Finset (Fin N)), (m < N → Finset.univ ∈ D) ∧
(∀ V ∈ D, V = Finset.univ ∨ ∃ (τ : Fin N → ℕ) (a p q b : ℕ) (L : Finset (Fin N)),
a ≤ p ∧ p < q ∧ q ≤ b ∧ (∀ x, x ∈ V ↔ p < τ x ∧ τ x < q) ∧
∃ Q ∈ F (3*m), ∃ P ∈ atom, ∃ B ∈ atom,
(∀ x ∈ V, x ∈ Q ↔ x ∉ L) ∧ (∀ x ∈ V \ L, x ∈ P) ∧ (∀ x ∈ P, τ x < q) ∧
(∀ x ∈ B, τ x ≤ p) ∧ (∀ x ∈ Q, τ x ≤ p → x ∈ B) ∧
∃ X ∈ atom, ∃ Y ∈ atom, ∃ Z ∈ atom,
(∀ x ∈ V ∩ L, x ∈ X ∩ Y) ∧ (∀ x ∈ X, p < τ x) ∧ (∀ x ∈ Y, τ x < b) ∧
(∀ x ∈ Z, q ≤ τ x) ∧
((∃ H ∈ F m, (∀ x, a < τ x → τ x < b → (x ∈ L ↔ x ∈ Y ∧ x ∉ H)) ∧
(∀ x ∈ L, q ≤ τ x → x ∈ Z)) ∨
∃ A ∈ atom, ∃ R ∈ atom, ∃ C ∈ atom, ∃ v, q ≤ v ∧
(∀ x, a < τ x → τ x < b → (x ∈ L ↔ x ∉ A ∧ x ∈ R)) ∧
(∀ x ∈ C, v ≤ τ x) ∧ (∀ x ∈ L, v ≤ τ x → x ∈ C) ∧
(∀ x ∈ L, q ≤ τ x → τ x < v → x ∈ Z))) ∧
∀ W ∈ D, m < W.card → ∃ S marks, IsFullSchedule prec m W S ∧ marks ≠ [] ∧
marks.Pairwise (· < ·) ∧ (∀ t ∈ marks, 1 ≤ t ∧ t ≤ S.length) ∧
(∀ t ∈ marks, (∃ P ∈ atom, ∃ H ∈ F (m+1), ∃ B ∈ atom,
slotsBetween S 0 t = W ∩ (P ∪ (H \ B))) ∨
∃ X ∈ F 5, slotsBetween S 0 t = W ∩ X) ∧
∀ A ∈ gaps S marks, A.Nonempty → (A ∈ D ∧ m < A.card ∧ A.card < W.card) ∨
(A.card = m ∧ IsAntichainSet prec A) := by sorry
end FixedMachinePrec