Day-Independent Processing Times
Lax117284.Theorem2 · concepts/Lax117284/Theorem2.lean · lax-117284
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Theorem 2. The problem is NP-hard. It is solvable in polynomial time if for every client .
Hardness needs no more than three days and , and the instances the reduction produces have all their processing times equal, which is a special case of day-independence. With unit processing times two jobs of a day conflict exactly when they have the same due date, and the problem becomes one of bipartite matching.
Concept map
Evidence
In the paper
- page 2 of this submission's paper
Lean source view on GitHub
| 1 | import Lax117284.Problems |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: Day-Independent Processing Times |
| 6 | type: theorem |
| 7 | --- |
| 8 | **Theorem 2.** The problem |
| 9 | is NP-hard. It is |
| 10 | solvable in polynomial time if for every client . |
| 11 | |
| 12 | Hardness needs no more than three days and , and the instances the reduction |
| 13 | produces have all their processing times equal, which is a special case of |
| 14 | day-independence. With unit processing times two jobs of a day conflict exactly when they |
| 15 | have the same due date, and the problem becomes one of bipartite matching. |
| 16 | |
| 17 | # Formalization Notes |
| 18 | |
| 19 | The hard half is stated for the class of instances whose processing times are |
| 20 | day-independent, and not for the smaller class of instances in which all processing times |
| 21 | are equal, because that is the restriction the source names. That the reduction lands in |
| 22 | the smaller class as well is a statement about the construction. |
| 23 | -/ |
| 24 | |
| 25 | namespace Lax117284.Theorem2 |
| 26 | |
| 27 | open Lax117284.Scheduling Lax117284.Problems Lax434930.PolynomialTime |
| 28 | |
| 29 | /-- **Theorem 2, hardness.** With day-independent processing times the problem remains |
| 30 | NP-hard. -/ |
| 31 | axiom uniform_dayIndepP_npHard : NPHard (Uniform fun I _ => I.DayIndepP) |
| 32 | |
| 33 | /-- **Theorem 2, tractability.** With unit processing times the problem is solvable in |
| 34 | polynomial time. -/ |
| 35 | axiom uniform_unitP_mem_P : Uniform (fun I _ => I.UnitP) ∈ P |
| 36 | |
| 37 | end Lax117284.Theorem2 |
| 38 |
Formalization Notes
The hard half is stated for the class of instances whose processing times are day-independent, and not for the smaller class of instances in which all processing times are equal, because that is the restriction the source names. That the reduction lands in the smaller class as well is a statement about the construction.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments