§5, p. 10 — parallel composition: the union of the two sets represents an optimal sequence
ProvedLawlerWCT.SeriesPar.parallel_compositionThroughout, is a finite set of jobs to be sequenced on a single machine, is an acyclic digraph on (job must precede job when there is a directed path from to ), job has a processing time and a real weight , and the cost of a feasible sequence is , where is the completion time of when the machine starts at time and never idles.
Say that a set of composite jobs represents an optimal sequence for a set of jobs if every composite job of is a nonempty sequence each of whose nonempty proper prefixes has ratio at most its own, the composite jobs of partition , and every arrangement of in nonincreasing ratio order, expanded into a sequence of jobs, is an optimal sequence for (under the constraints of among the jobs of ).
Let be disjoint modules of whose union is also a module (the sons of a node of the decomposition tree and the node itself), with no job of constrained with respect to any job of (neither must precede the other). If represents an optimal sequence for and one for , then
This is the parallel step of the algorithm: for a -node of the decomposition tree nothing has to be computed.
Formalization Note The composite invariant (every proper prefix has ratio at most the whole) is part of "represents". Without it the claim fails: with unconstrained, , the single composite is an optimal sequence for , but with an independent of the ratio order costs while costs . The page's composite jobs are -maximal initial sets (p. 9), which is this invariant.
import Mathlib import Definitions.Def_LawlerWCT_SeriesPar_Model
namespace LawlerWCT.SeriesPar
theorem parallel_composition {ι : Type*} [DecidableEq ι] (N : Finset ι) (G : ι → ι → Prop)
(hGN : ∀ i j, G i j → i ∈ N ∧ j ∈ N) (hacyc : ∀ j, ¬ Relation.TransGen G j j)
(p w : ι → ℝ) (hp : ∀ j ∈ N, 0 < p j)
(M₁ M₂ : Finset ι) (hdisj : Disjoint M₁ M₂)
(hM₁ : IsModule G N M₁) (hM₂ : IsModule G N M₂) (hM : IsModule G N (M₁ ∪ M₂))
(hunc : ∀ i ∈ M₁, ∀ j ∈ M₂, ¬ Relation.TransGen G i j ∧ ¬ Relation.TransGen G j i)
(F₁ F₂ : List (List ι)) (h₁ : Represents G p w M₁ F₁) (h₂ : Represents G p w M₂ F₂) :
Represents G p w (M₁ ∪ M₂) (F₁ ++ F₂) := by sorry
end LawlerWCT.SeriesPar
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.