Restricting the Full Dual Witness to a Prefix
ProvedPrimalDual.buchbinder_naor_restrict_dual_throughLet be a feasible dual solution of the unrelated-machines packing dual that assigns unit total mass to every job: , for every machine , and for every job , all sums ranging over eligible pairs. Restrict to the eligible pairs of the first jobs. Then the restriction is feasible for the prefix dual, and its objective equals the number of revealed jobs:
This prefix lemma makes explicit the restriction implicit in the source's weak-duality failure certificate: at the moment of a hypothetical failure after assignments, it supplies a feasible dual of value exactly for the prefix program.
Formalization Note The restriction only forgets pairs with job index ; no values are altered. A job with no eligible machine is incompatible with the unit-mass hypothesis, so the premise already forces every job to have at least one eligible machine.
import Definitions.Def_pd_unrelated_machines
namespace PrimalDual
/--
A full feasible dual assigning every job restricts to a feasible prefix dual,
and its prefix objective is exactly the number of revealed jobs.
-/
theorem buchbinder_naor_restrict_dual_through
{jobs machines : ℕ} (I : UnrelatedMachines.Instance jobs machines)
(y : I.EligiblePair → ℝ) (hy : I.DualAssignsAll y)
(k : ℕ) (hk : k ≤ jobs) :
(I.lpThrough k).DualFeasible (I.restrictDual y k) ∧
(I.lpThrough k).dualObjective (I.restrictDual y k) = (k : ℝ) := by
sorry
end PrimalDualRead-back
What the Lean code literally says, in plain math · gpt-5
For all , let and ; for every instance consisting of and loads for , , with , define the eligible-pair set . For every function such that (i) for every , (ii) for every machine , , (iii) for every job , , and additionally (iv) for every job , , and for every satisfying , let . The prefix LP has one dual coordinate for every pair in , retains primal coordinates for every machine in and every job in , uses coefficient at the machine coordinate matching , coefficient at the job coordinate matching , and coefficient at nonmatching coordinates, and has every primal cost and every dual-objective right-hand-side coefficient equal to ; the restriction of to this LP is , assigning each prefix pair its original value. The theorem asserts simultaneously that this restriction satisfies for every , for every , and for every , including jobs whose displayed sum is empty, and that its dual objective is exactly as an equality in . If , then , both and are empty, the job-indexed assumptions and conclusions are vacuous, every remaining dual sum is , and the objective equality is ; for any , if , then is empty, prefix nonnegativity is vacuous, every prefix machine and job sum is , and the objective is ; if any job has no eligible pair, condition (iv) demands that an empty sum equal , so no such satisfies the hypotheses (in particular, globally having no eligible pairs is compatible with the hypotheses only when , and cannot be empty for under the hypotheses).
Confirmed by the mission captain (proposal self-audit).