Equality #
The necessity half of Dósa's theorem, sorted form: equality forces n = 2m + 1 and Graham's
instance up to a positive scale, by counting the jobs of each length on each machine of the two
schedules. Helpers carry the prefix eq_.
Counting helpers #
Step 3: two jobs on every machine before the critical job #
A set of jobs of index ≤ k with sum 3t − δ (0 < δ, 0 < t = p k) has at most two jobs.
A set with sum 3t − δ is not a single job: that job, of length 3t − δ, would be alone on its
τ-machine (every other job is ≥ t > δ), whose load 3t − δ is not 3t.
Step 3: every machine holds exactly two jobs before the critical job.
Step 5: the machines of τ #
A set of jobs with sum 3t, every job in [t, 2t − δ], holds two jobs, or three jobs of
length t.
Step 6: the counts #
The first count symmetry: summed over the machines of σ, each holding two jobs of total A
before k,
the jobs before k of length x and of length A − x are equally many.
The second count symmetry: summed over the machines of τ, each holding two jobs of total
3t or three
jobs of length t, the jobs of length x and of length 3t − x are equally many when x ≠ t, 2t.
One step of the chain: the two symmetries carry the count at t + (i + 1)δ to the count at `t
- iδ`.
The chain: every count c'(t + iδ), i < m, equals c'(t).
Step 6: every fiber at t + iδ, i < m, has two jobs, and they exhaust the jobs before k.
Step 7: the function #
Two antitone functions on Fin N with the same fiber sizes are equal: their value lists are
sorted and are
permutations of each other.
Every value of Graham's instance is m + i for some i < m.
The fiber sizes of p and of δ · grahamJobs m agree at every real x.
Dósa's theorem (2004), the sorted form: a list schedule of a nonempty nonincreasing positive
p on m ≥ 2 machines
attains Graham's bound against the optimum only for Graham's instance: then n = 2m + 1 and p
is a positive
multiple of grahamJobs m.