Eq. (1) — f(j, t) is the minimum total loss of the first j jobs with job j completed by time t
ProvedLawlerMoore.FunctionalEq.eq1_valueConsider jobs performed one at a time in the fixed order , job taking time units with loss at completion time in one mode, or time units with loss in the other. Let be defined by Eq. (1), and for and an integer let be the set of total losses of the first jobs over all mode assignments and all feasible timings (start at time or later, one job at a time, idle time allowed) in which job is completed no later than time .
Then is the minimum of :
- if and only if ;
- if is a real number , then and for every :
No assumption is made on the loss functions. This is the content of the paper's sentence defining as a minimum total loss together with the claim that (1) follows "by the usual dynamic programming argumentation".
Formalization Note "Minimum" is read as an attained least element (IsLeast), with exactly when the feasible set is empty. Jobs are 0-based in Lean; times are natural numbers, an integer.
import Mathlib import Definitions.Def_LawlerMoore_FunctionalEq_Problem import Definitions.Def_LawlerMoore_FunctionalEq_Recursion
namespace LawlerMoore.FunctionalEq
/-- Eq. (1) (p. 77): for every `j ≤ n` and every integer `t`, the value `f(j, t)` given by the
recursion (1) is the minimum total loss of the first `j` jobs, over all mode assignments and
all feasible timings (idle time allowed, start at time `0`) in which job `j` is completed no
later than time `t`: it is `+∞` exactly when no such timing exists, and otherwise it is a
real number that is attained and is at most every such total loss. No assumption is made on
the losses `α`, `β`. -/
theorem eq1_value {n : ℕ} (a b : Fin n → ℕ) (α β : Fin n → ℕ → ℝ) (j : ℕ) (hj : j ≤ n)
(t : ℤ) :
(f a b α β j t = ⊤ ↔ lossesBy a b α β j t = ∅) ∧
∀ x : ℝ, f a b α β j t = (x : WithTop ℝ) → IsLeast (lossesBy a b α β j t) x := by sorry
end LawlerMoore.FunctionalEq
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.