Proof of Theorem 3(b) —
ProvedSchedComplexity.Partition.theorem_3b_k_identitynp-completenessp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1schedulingweighted-completion-time
Let be nonnegative integers, , , and . With and as in construction (b),
Since unless solves PARTITION, this identity converts the schedule value into the PARTITION condition.
Formalization Note The identity is stated over as three equalities, one per step of the printed chain, and holds for all natural data, so positivity is not assumed.
Preamble
import Mathlib import Definitions.Def_SchedComplexity_Partition_Constructions
Formal statement
namespace SchedComplexity.Partition
/-- Proof of Theorem 3(b) (p. 15), the displayed chain: with `c = Σ_{j ∈ S} a_j − ½A`,
`k(S) = k(T) − (Σ_{j∈S} a_j)(Σ_{j∈T−S} a_j) = Σ_{j,k∈T, j≤k} a_j a_k − (½A + c)(½A − c) = y + c²`. -/
theorem theorem_3b_k_identity (a : List ℕ) (S : Finset (Fin a.length)) :
let c : ℝ := ((∑ j ∈ S, a.get j : ℕ) : ℝ) - (totalA a : ℝ) / 2
(kVal a S : ℝ) =
(kVal a Finset.univ : ℝ) -
((∑ j ∈ S, a.get j : ℕ) : ℝ) * ((∑ j ∈ Sᶜ, a.get j : ℕ) : ℝ) ∧
(kVal a Finset.univ : ℝ) -
((∑ j ∈ S, a.get j : ℕ) : ℝ) * ((∑ j ∈ Sᶜ, a.get j : ℕ) : ℝ) =
(pairSum a : ℝ) - ((totalA a : ℝ) / 2 + c) * ((totalA a : ℝ) / 2 - c) ∧
(pairSum a : ℝ) - ((totalA a : ℝ) / 2 + c) * ((totalA a : ℝ) / 2 - c) = yB a + c ^ 2 := by sorry
end SchedComplexity.Partition
Source
Brucker, Lenstra & Rinnooy Kan, Complexity of Machine Scheduling Problems, Mathematisch Centrum Report BW 43/75 (1975), p. 15, proof of Theorem 3(b), displayed identity (cf. Figure 1)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.