Agentwise SPT normalization does not increase either total completion time
ProvedTwoAgentSched.TotalTotal.spt_normalizationLet be a two-agent single-machine instance. Each agent's jobs are indexed in nondecreasing order of their nonnegative integer processing times. A schedule is a sequence containing each job exactly once, and and are the agents' respective sums of job completion times in schedule .
For every schedule , there exists a schedule in which the jobs of each agent occur in strictly increasing index order and
The two agents' jobs may be interleaved arbitrarily, and processing times may be zero or equal. The index convention specifies an order among equal-time jobs. This normalization justifies restricting the dynamic program to ordered interleavings while preserving both feasibility and optimality.
Formalization Note. Each job set is Fin n, schedules are duplicate-free lists of all jobs, and the agentwise ordering is a pairwise condition on the list.
import Definitions.Def_TwoAgentSched_TotalTotal_DP set_option autoImplicit false
namespace TwoAgentSched.TotalTotal
/-- Source-grounded exchange obligation: SPT-order each agent without worsening either sum. -/
theorem spt_normalization (I : Instance) (hA : Monotone I.pA) (hB : Monotone I.pB) :
∀ l : List (Fin I.nA ⊕ Fin I.nB), MooreLateJobs.Shared.IsSchedule Finset.univ l →
∃ σ : List (Fin I.nA ⊕ Fin I.nB),
MooreLateJobs.Shared.IsSchedule Finset.univ σ ∧
σ.Pairwise (fun x y => match x, y with
| Sum.inl a, Sum.inl b => a.val < b.val
| Sum.inr a, Sum.inr b => a.val < b.val
| _, _ => True) ∧
I.sumCA σ ≤ I.sumCA l ∧ I.sumCB σ ≤ I.sumCB l := by
sorry
end TwoAgentSched.TotalTotal