FF(1,m)||ΣZj is strongly NP-hard under the standard reading
Lax434175.JitFlowShopStandard · concepts/Lax434175/JitFlowShopStandard.lean · lax-434175
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Theorem
Let be a family of subsets of and a solution size. Its numbers are the list followed, for every set in turn, by and the elements of in increasing order. The binary word of the instance in lax-496464 writes exactly these numbers, each as its binary digits preceded by their number in unary, so a word RAM program reads the numbers off the word in linear time.
From the numbers a second program writes the standard word of the zoo instance of the construction of lax-496464 (concept ) with machines, together with the threshold , where is the number of jobs of the construction and its target. It walks the numbers once, storing the membership pairs , , in two arrays, and then writes the jobs one by one, computing for each its family, segment, set and element by division with remainder, as the construction numbers them.
Theorem. There is a function on lists of numbers computable in polynomial time on the word RAM that maps the numbers of every instance with , where is the length of the list, to the standard word of the zoo instance of its construction with the threshold .
The bound keeps the number of jobs, which exceeds , polynomial in the length of the list; the instances that the NP-hardness of Hitting Set (lax-496464) produces satisfy it.
For the construction has just-in-time jobs exactly when the family has a hitting set of size (lax-496464, Theorem 1), and then the zoo instance has a schedule with at most jobs not just in time. With and , every number of the word is at most , and the word has more than entries. Composing the reduction of every language in NP to Hitting Set with the two programs therefore gives words whose numbers are bounded by a fixed polynomial in their length.
Theorem. is strongly NP-hard under the standard reading.
Concept map
Evidence
This concept declares 2 statements. Each proof establishes one of them relative to its assumptions.
1 p315_r0_holds proven
Lean source view on GitHub
| 1 | import Lax434175.JitFlowShop |
| 2 | import Lax434175.ZooShopsResults |
| 3 | import Lax434175.StandardReading |
| 4 | import Lax496464.WH_A1_FptTime |
| 5 | |
| 6 | /-! |
| 7 | --- |
| 8 | title: FF(1,m)||ΣZj is strongly NP-hard under the standard reading |
| 9 | type: theorem |
| 10 | --- |
| 11 | Let be a family of subsets of and a solution size. |
| 12 | Its *numbers* are the list followed, for every set in turn, by and the |
| 13 | elements of in increasing order. The binary word of the instance in lax-496464 writes |
| 14 | exactly these numbers, each as its binary digits preceded by their number in unary, so a word |
| 15 | RAM program reads the numbers off the word in linear time. |
| 16 | |
| 17 | From the numbers a second program writes the standard word of the zoo instance of the |
| 18 | construction of lax-496464 (concept `JitFlowShop`) with machines, together with the |
| 19 | threshold , where is the number of jobs of the construction and |
| 20 | its target. It walks the numbers once, storing the membership pairs , |
| 21 | , in two arrays, and then writes the jobs one by one, computing for each its family, |
| 22 | segment, set and element by division with remainder, as the construction numbers them. |
| 23 | |
| 24 | **Theorem.** There is a function on lists of numbers computable in polynomial time on the word |
| 25 | RAM that maps the numbers of every instance with , where is the |
| 26 | length of the list, to the standard word of the zoo instance of its construction with the |
| 27 | threshold . |
| 28 | |
| 29 | The bound keeps the number of jobs, which exceeds , polynomial in the |
| 30 | length of the list; the instances that the NP-hardness of Hitting Set (lax-496464) produces |
| 31 | satisfy it. |
| 32 | |
| 33 | For the construction has just-in-time jobs exactly when the family |
| 34 | has a hitting set of size (lax-496464, Theorem 1), and then the zoo instance has a schedule |
| 35 | with at most jobs not just in time. With and , every |
| 36 | number of the word is at most , and the word has |
| 37 | more than entries. Composing the reduction of every language in NP to Hitting Set with the |
| 38 | two programs therefore gives words whose numbers are bounded by a fixed polynomial in their |
| 39 | length. |
| 40 | |
| 41 | **Theorem.** is strongly NP-hard under the standard reading. |
| 42 | -/ |
| 43 | |
| 44 | namespace Lax434175.JitFlowShopStandard |
| 45 | open Lax434175 Lax434175.Results Lax434175.JitFlowShop |
| 46 | open Lax496464 Lax496464.Construction |
| 47 | |
| 48 | /-- The numbers of a Hitting Set instance with solution size `k`: the universe size, the number |
| 49 | of sets, `k`, and every set as its size followed by its members in increasing order. -/ |
| 50 | def tokens (P : HittingSet.Instance) (k : ℕ) : List ℕ := |
| 51 | [P.n, P.m, k] ++ (List.finRange P.m).flatMap fun j => |
| 52 | (P.F j).card :: (P.members j).map Fin.val |
| 53 | |
| 54 | /-- The word map from the numbers of a Hitting Set instance to the standard word of the zoo |
| 55 | instance of its construction, with the threshold `N - target`. -/ |
| 56 | axiom wordMap : ∃ F : List ℕ → List ℕ, Lax496464.WH_A1_FptTime.PolyTimeOn Set.univ F ∧ |
| 57 | ∀ (P : HittingSet.Instance) (k : ℕ), k ≤ P.n → P.n ≤ (tokens P k).length + 4 → |
| 58 | EncodesDecision (StandardReading.ops.at ZooShops.p315) (F (tokens P k)) |
| 59 | (toZooUnit (construct P k)) ((numJobs P k : ℤ) - target P k) |
| 60 | |
| 61 | /-- `FF(1,m)||ΣZj` is strongly NP-hard on the standard reading: through the construction of |
| 62 | lax-496464 from Hitting Set, whose numbers are at most a fixed power of the number of jobs. -/ |
| 63 | axiom p315_r0_holds : ZooShopsResults.p315_r0 StandardReading.ops |
| 64 | |
| 65 | end Lax434175.JitFlowShopStandard |
| 66 |
Builds on
Used by
From Mathlib
none
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments