Proof of Theorem 10.1 — forces the B-job to start on by
ProvedTwoAgentSched.Shops.flow_bjob_latest_startLet be nonnegative integers, , , and consider the flow shop instance built from them in the proof of Theorem 10.1: A-jobs with processing times on and on , one B-job with processing times on and on .
Let be the start times on , of a feasible flow shop schedule in which both operations of end by . Then
i.e. the B-job starts on the second machine by , and the A-jobs started on the second machine before it have total length at most .
This is the first half of the argument that a feasible schedule splits the integers into two halves.
Formalization Note "The A-jobs preceding on the second machine" is read as those whose operation starts strictly before that of (an A-job of length may share the start time; it adds nothing to the sum).
import Mathlib import Definitions.Def_TwoAgentSched_Shops_Construction
namespace TwoAgentSched.Shops
/-- Proof of Theorem 10.1 (Agnetis, Mirchandani, Pacciarelli & Pacifici 2004, p. 238): in the flow
shop instance built from the PARTITION integers `p`, every feasible schedule meeting
`C^B_max ≤ Q_B = P + ε` starts the B-job on `M_2` not after `P/2 + ε`, and the A-jobs started on
`M_2` before the B-job have total `M_2` processing time `∑ p_i ≤ P/2`. -/
theorem flow_bjob_latest_start (p : List ℕ)
(s₁ s₂ : Fin ((flowInst p).nA + (flowInst p).nB) → ℝ)
(hfeas : JohnsonFlowShop.TwoStage.IsFeasible (flowInst p).p1 (flowInst p).p2 s₁ s₂)
(hB : (flowInst p).MeetsB s₁ s₂ (flowQB p)) :
s₂ (flowB p) ≤ partSum p / 2 + eps p ∧
∑ i ∈ Finset.univ.filter (fun i : Fin p.length => s₂ (flowA p i) < s₂ (flowB p)),
(p.get i : ℝ) ≤ partSum p / 2 := by sorry
end TwoAgentSched.Shops
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.