Section 1 — for nondecreasing losses, f(n, T) with T = Σ max{a_j, b_j} is the minimum total loss
ProvedLawlerMoore.FunctionalEq.solved_by_f_n_TConsider jobs performed one at a time in the fixed order . Job takes time units and incurs loss if completed at time in the first mode, or units and loss in the other. Let be defined by Eq. (1). Suppose every and every is monotone nondecreasing, and put
Then solves the problem "what assignment of modes to jobs and what timing of the jobs will minimize the total loss?":
- is finite;
- for every mode assignment and every feasible timing of all jobs (no deadline, idle time allowed);
- some mode assignment and feasible timing attain .
This is the paper's justification that the whole problem is solved by one table of (1), of size .
Formalization Note "The problem is solved by the calculation of " is read as items 1–3: is the attained minimum total loss over all timings, with no bound on the completion times. Monotone nondecreasing is Monotone on the natural-number completion time. The hypothesis is needed: one job with , , for and has optimum at .
import Mathlib import Definitions.Def_LawlerMoore_FunctionalEq_Problem import Definitions.Def_LawlerMoore_FunctionalEq_Recursion
namespace LawlerMoore.FunctionalEq
/-- Section 1, p. 77 (after Eq. (1)): if every loss function `α_j`, `β_j` is monotone
nondecreasing in the completion time, then the problem is solved by `f(n, T)` with
`T = ∑_{j=1}^n max {a_j, b_j}`: `f(n, T)` is finite, it is at most the total loss of every
mode assignment with every feasible timing of all `n` jobs (no deadline), and some mode
assignment with some feasible timing attains it. -/
theorem solved_by_f_n_T {n : ℕ} (a b : Fin n → ℕ) (α β : Fin n → ℕ → ℝ)
(hα : ∀ j, Monotone (α j)) (hβ : ∀ j, Monotone (β j)) :
f a b α β n ((∑ j, max (a j) (b j) : ℕ) : ℤ) ≠ ⊤ ∧
(∀ (m : Fin n → Bool) (c : Fin n → ℕ), IsFeasible a b m c n →
f a b α β n ((∑ j, max (a j) (b j) : ℕ) : ℤ) ≤ ((totalLoss α β m c n : ℝ) : WithTop ℝ)) ∧
∃ (m : Fin n → Bool) (c : Fin n → ℕ), IsFeasible a b m c n ∧
((totalLoss α β m c n : ℝ) : WithTop ℝ) = f a b α β n ((∑ j, max (a j) (b j) : ℕ) : ℤ) := by sorry
end LawlerMoore.FunctionalEq
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.