§5, p. 10 — series composition when min ratio in M₁ exceeds max ratio in M₂: the union represents an optimal sequence
ProvedLawlerWCT.SeriesPar.series_composition_unionThroughout, 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 every job of required to precede every job of . Let represent an optimal sequence for and one for , and suppose a minimum-ratio composite job of has larger ratio than a maximum-ratio composite job of , i.e.
Then represents an optimal sequence for .
This is the easy case of the series step of the algorithm.
Formalization Note The composite invariant is part of "represents" (see the parallel composition milestone).
import Mathlib import Definitions.Def_LawlerWCT_SeriesPar_Model
namespace LawlerWCT.SeriesPar
theorem series_composition_union {ι : 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₂))
(hser : ∀ i ∈ M₁, ∀ j ∈ M₂, Relation.TransGen G i j)
(F₁ F₂ : List (List ι)) (h₁ : Represents G p w M₁ F₁) (h₂ : Represents G p w M₂ F₂)
(hratio : ∀ c ∈ F₁, ∀ d ∈ F₂, crho p w d < crho p w c) :
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.