§2.5.2, Eq. (2.5.7) — valid temporal constraint from an unresolved two-element forbidden set
ProvedProjSchedTW.DelayingModes.two_element_forbidden_set_valid_inequalityLet and let be the longest path lengths in with . Let be a two-element forbidden set (, for some ) for which neither nor holds. Then for all activities and every feasible schedule with ,
Although neither order of and is forced, one of them must precede the other in every feasible schedule; the inequality combines both possibilities into a single temporal constraint, which preprocessing adds as a new arc of whenever it is stronger than .
Formalization Note. Distances take values in WithBot ℝ with ⊥ for ; a term containing is , and then the inequality is trivially satisfied, as in the book's convention. The hypothesis "neither nor " is the case in which the page states the inequality. The standing assumptions of the model are hypotheses.
import Mathlib import Definitions.Def_ProjSchedTW_DelayingModes_Project import Definitions.Def_ProjSchedTW_DelayingModes_Distance
namespace ProjSchedTW.DelayingModes
theorem two_element_forbidden_set_valid_inequality {n : ℕ} {K : Type} [Fintype K]
(P : Project n K) (hP : P.StandingAssumptions) (UB : ℤ) (i j : Fin (n + 2)) (hij : i ≠ j)
(hF : P.IsForbidden {i, j})
(hij_not : ¬ (((-(P.p j : ℝ) : ℝ) : WithBot ℝ) < P.distPlus UB i j))
(hji_not : ¬ (((-(P.p i : ℝ) : ℝ) : WithBot ℝ) < P.distPlus UB j i))
(S : Fin (n + 2) → ℝ) (hS : P.IsFeasible S) (hUB : S (Fin.last (n + 1)) ≤ UB)
(h l : Fin (n + 2)) :
min (P.distPlus UB h i + ((P.p i : ℝ) : WithBot ℝ) + P.distPlus UB j l)
(P.distPlus UB h j + ((P.p j : ℝ) : WithBot ℝ) + P.distPlus UB i l)
≤ ((S l - S h : ℝ) : WithBot ℝ) := by sorry
end ProjSchedTW.DelayingModes
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.