A production planner may have many jobs competing for a small number of identical machines. Each job has a processing requirement, a due date and a penalty for missing that date. Minimizing the sum of those penalties is the weighted tardy jobs problem. Its numerical parameters matter for exact optimization: a dynamic program can depend on the largest due date rather than enumerate every schedule. The classic Lawler–Moore formulation supplies the baseline for this problem (Lawler and Moore, 1969).
For a fixed number of machines, this submission reduces the dependence on the number of input jobs in that dynamic program. The main theorem gives an exact value and an optimal schedule in time nearly linear in the number of jobs plus a power of the maximum due date. On one machine it gives the near-quadratic due-date dependence asked about in the earlier convolution-based work. These are proved results in the source; the mission requests formal statements and subsequent machine-checked proofs of that result and its numbered supporting chain (Jansen, Schumacher and Wambsganz, pp. 1–3).
An instance has jobs and identical machines. Job has positive integer processing time , due date and weight , with . A schedule assigns every job to one machine and orders each machine’s jobs. Machines start at zero and execute their lists without idle time. The completion time is the processing sum through job in its machine’s list. Its late and on-time weights are
An optimal value is an attained minimum of . Write for the maximum input due date. The headline target accepts jobs in arbitrary input order. The supporting statements assume earliest-due-date order, abbreviated EDD: due dates are nondecreasing in the input index (source, pp. 2, 4).
For the EDD statements, a job has higher priority when its weight is larger, or when weights tie and its index is larger. Put . Among jobs of processing time with due date at least , let be the highest-priority jobs. The canonical completion set of job is
Its endpoint is the least such time, or when the set is empty. Algorithm 2’s table records its value after the first jobs at a machine-load vector . Unreachable entries are ; the initial zero-load entry is zero. The algorithm value is the maximum final entry. Every candidate for one job reads the previous table state before that job’s writes (source, pp. 4–7).
The goal is the full Theorem 1.1. For each fixed , positive constants depending only on bound the time and addressed memory needed to return an attained optimum:
An optimal complete schedule must be returned in the same time with
These explicit envelopes retain the source’s time, base-space and additional-space clauses together. The estimates supporting the logarithmic factors are on pp. 5, 7–8 (source).
The eight milestones preserve the source’s order and full conclusions. Lemma 2.1 identifies with , including the empty interval. Theorem 2.2 requires one optimal schedule with canonical on-time completions and increasing-index on-time prefixes on every machine. Lemma 2.3 retains the exact identity and coefficient
Lemma 3.1 identifies the heap endpoints. Lemma 3.2 requires their computation in time and space, with constants independent of . Lemma 3.3 requires for every schedule. Lemma 3.4 concerns the concrete Algorithm 2 program and its resources. Lemma 3.5 includes both attainable on-time weight and extraction from the completed DP state in additional time, without a logarithmic factor (source, pp. 4–8).
The result separates input volume from the main numerical table cost. This improves the classic bound when the number of jobs is sufficiently large relative to the due-date horizon. Schedule reconstruction is part of that guarantee: returning a numerical objective alone does not provide a machine assignment and execution order (source, pp. 2, 8).
A completed formalization would connect scheduling optimality to executions of fixed finite programs. It would expose reusable definitions for complete parallel-machine schedules, canonical priority sets, deferred-update tables and immutable reconstruction records. The current draft targets are open proof obligations; compiling their statements is not a proof of the scheduling or resource claims. The diagnostic examples check small instances and program evaluations only.
Keeping only globally profitable jobs of each processing time does not respect distinct due dates. The structural target must address completion times as well as weights. Ties also matter: the canonical statement uses the given EDD indices, rather than an unspecified ordering of equal due dates (source, pp. 4–5).
A table value alone does not preserve the history needed for reconstruction when one row is repeatedly overwritten. Furthermore, candidate computations must all see the previous job boundary; mixing old and new entries can reuse a job. The formal resource targets count interval computation, tuple enumeration, table initialization, buffered writes, the final maximum scan and schedule output. A mathematical recurrence without these executed operations would leave the main complexity claim unrepresented (source, pp. 6–8).
Jobs use Fin n, machines use Fin m, and input data use natural numbers with the source’s positivity assumptions. Every job occurs exactly once across the schedule lists. Unreachable table values use WithBot ℕ; a structural lemma establishes that the final maximum is not bottom. No default infimum represents an optimum. The finite table includes the single-machine boundary case.
The execution model is the published Light language, whose programs are finite syntax with integer addition, subtraction, multiplication, comparisons and memory instructions. Each executed operation is charged. Word magnitudes are bounded by , where . Programs and call depth are fixed before ; the main theorem’s constants follow and precede the input. These conventions rule out trivializing encodings through uncharged host computation, unlimited words or input-dependent uncounted call stacks.
The draft defines the concrete DP and its sparse-pointer instrumentation separately from their mathematical specifications. Output cells identify jobs by original input position and include both machine and position; their entire region lies within the space limit. Contributions are needed for the structural scheduling lemmas, heap correctness, correspondence between the recurrence and program, and execution resource bounds. The general integer-language syntax and execution predicate are reused published definitions.
namespace LawlerCompress.TardyJobs
theorem theorem_1_1 :
∃ Pv Ps : Light.Program, ∃ D : ℕ,
∀ m : ℕ, 1 ≤ m → ∃ C c : ℕ, 0 < C ∧ 0 < c ∧
∀ I : Instance m, 1 ≤ I.n →
(∃ S : ℕ, S ≤ baseSpace I C ∧
Light.Ends (limits I c S D) Pv 0 entry (start I)
(timeBound I C) (ValueOutput I)) ∧
(∃ S : ℕ, (S : ℝ) ≤ scheduleSpace I C ∧
Light.Ends (limits I c S D) Ps 0 entry (start I)
(timeBound I C) (fun σ =>
∃ τ : JobLists I, OutputSchedule I S τ σ ∧ IsOptSchedule I τ)) := by sorry
end LawlerCompress.TardyJobs
There exist two fixed finite programs, one returning the optimal late weight and one returning an optimal complete schedule, and a fixed call-depth bound D. For every m≥1 there are positive integer constants C,c depending only on m such that, for every nonempty input instance I in arbitrary job order, writing d=d_max, g=n+d^{m+1} and B=2+m+n+d+Σ_jw_j, the value program terminates within
Its result is an attained optimum of the late-weight minimization problem. In the same time bound, the schedule program returns an optimal schedule, using some S cells with
Every job appears exactly once in that schedule. Both runs use word bound B^c and depth bound D; the full schedule output region lies inside S. No EDD assumption is made on the input, and the weights are arbitrary positive integers. This is the complete headline result, combining the optimal value, both resource bounds and optimal schedule reconstruction.
Formalization Note The programs and D precede m; C,c follow m but precede the instance. The schedule is encoded by original input job positions, so sorting cannot change job identities.
Differences from the source:
No open leaves. Every sub-goal is proved or awaiting decomposition.