The Complexity of Fair Repetitive Interval Scheduling in the Fairness Parameter
Lax117284.Theorem1 · concepts/Lax117284/Theorem1.lean · lax-117284
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Theorem 1. The problem is solvable in polynomial time when . For every fixed pair with , the problem is NP-hard.
The three tractable values are settled separately: and by inspection of the instance, and by a reduction to 2-satisfiability. Hardness holds already for every fixed pair with and ; it is obtained for from a satisfiability problem of bounded occurrence and lifted to all other pairs by two constructions adding one day at a time.
Concept map
Evidence
In the paper
- page 1 of this submission's paper
Lean source view on GitHub
| 1 | import Lax117284.Problems |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: The Complexity of Fair Repetitive Interval Scheduling in the Fairness Parameter |
| 6 | type: theorem |
| 7 | --- |
| 8 | **Theorem 1.** The problem is solvable in |
| 9 | polynomial time when . For every fixed pair |
| 10 | with , the problem is NP-hard. |
| 11 | |
| 12 | The three tractable values are settled separately: and by inspection of the |
| 13 | instance, and by a reduction to 2-satisfiability. Hardness holds already for |
| 14 | every fixed pair with and ; it is obtained for from |
| 15 | a satisfiability problem of bounded occurrence and lifted to all other pairs by two |
| 16 | constructions adding one day at a time. |
| 17 | |
| 18 | # Formalization Notes |
| 19 | |
| 20 | The tractable half is one claim about the language of all three cases at once. A word |
| 21 | belongs to that language only if its parameter is one of the three values, so an algorithm |
| 22 | deciding it must first read the parameter and compare it with the number of days; nothing is |
| 23 | gained by splitting the claim. |
| 24 | |
| 25 | The hard half is stated for each fixed pair separately, which is the stronger |
| 26 | reading: the number of days is a constant of the slice rather than part of the input, so |
| 27 | hardness is not an artifact of letting grow with the instance. |
| 28 | -/ |
| 29 | |
| 30 | namespace Lax117284.Theorem1 |
| 31 | |
| 32 | open Lax117284.Scheduling Lax117284.Problems Lax434930.PolynomialTime |
| 33 | |
| 34 | /-- **The tractable values of the fairness parameter.** The problem restricted to |
| 35 | instances whose fairness parameter is `0`, `m - 1` or `m` is solvable in polynomial |
| 36 | time. -/ |
| 37 | axiom uniform_extremes_mem_P : |
| 38 | Uniform (fun I k => k = 0 ∨ k + 1 = I.days ∨ k = I.days) ∈ P |
| 39 | |
| 40 | /-- **Theorem 1.** For every fixed number `m ≥ 3` of days and every fairness parameter `k` |
| 41 | with `0 < k < m - 1`, the problem restricted to that pair is NP-hard. -/ |
| 42 | axiom uniform_npHard (m k : ℕ) (hm : 3 ≤ m) (hk : 0 < k) (hk' : k + 1 < m) : |
| 43 | NPHard (Uniform fun I k' => I.days = m ∧ k' = k) |
| 44 | |
| 45 | end Lax117284.Theorem1 |
| 46 |
Formalization Notes
The tractable half is one claim about the language of all three cases at once. A word belongs to that language only if its parameter is one of the three values, so an algorithm deciding it must first read the parameter and compare it with the number of days; nothing is gained by splitting the claim.
The hard half is stated for each fixed pair separately, which is the stronger reading: the number of days is a constant of the slice rather than part of the input, so hardness is not an artifact of letting grow with the instance.
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments