The reduction from Set Cover to Multi-MCSP #
The reduction of Ilango, Loff and Oliveira [IlangoLoffOliveira2020, §4.2, pp. 22:20–22:21], from the
constant-gap Set Cover problem GapSetCover 3 to Multi-output MCSP, as a function of the Set Cover
instance and a random string, with its correctness for every outcome of the randomness. The source
reduces from Trevisan's r-bounded Set Cover; here the source problem is the library's
GapSetCover 3, which GapSetCover_npHard shows NP-hard.
rpReducible_of_computableInPolyTime derives the randomized reduction from the hypothesis that
reduce runs in polynomial time. MultiMCSP.Reduction.computableInPolyTime_reduce
(CslibFrontier.Computability.MCSP.MultiNPHard.PolyTime) proves that hypothesis, and
CslibFrontier.Computability.MCSP.MultiNPHard states the resulting NP-hardness.
Given (S, k), write N for the length of S.ground and t for the number of sets.
- Positions. The elements to cover are the positions
j < Nof the ground list:residues S iholds the positions whose element lies in seti. Repeated ground elements only repeat a covering obligation, and set elements outside the ground list give no position and are ignored, as they are bySetSystem.IsCover; so the sets covering the positions are exactly the covers (forall_residues_iff). - Parameters. The arity is
p = 6 · size (N + t + 4)(arity), so2^pis polynomial in the input yet exceeds(N + t + 4)^6(bound_pow_six_lt,two_pow_arity_le). - The instance (
ofTable). For a tableT : Fin (2^p) → Bool, the outputs are the window template of the lifted setsWindow.lift p N (residues S i)followed byT, with thresholdK + min k t, whereKis the template's number of distinct non-input gate functions. The table is the first2^pbits of the random string (reduce). An empty ground list gives a fixed yes-instance (fallback). - Completeness (
reduce_mem_of_yes): a cover of size at mostkgives a yes-instance for every random string, byWindow.ecomplexity_append_le. The reduction has one-sided error, as in the source [p. 22:21]. - Soundness (
three_mul_card_ofTable_mem_le): on a no-instance, at most a third of the tables give a yes-instance, by the union boundWindow.three_mul_card_cheap_lift_le(the library route, in place of the compression argument of Lemma 16). - Positivity (
reduce_positive): every output has positive arity, number of outputs and threshold, as Definition 1 asks.
Main definitions #
Cslib.MultiMCSP.Reduction.residues: the positions of the ground list in each set.Cslib.MultiMCSP.Reduction.arity: the arity of the output instances.Cslib.MultiMCSP.Reduction.ofTable,Cslib.MultiMCSP.Reduction.reduce: the output instance, for a table and for a random string.
Main results #
Cslib.MultiMCSP.Reduction.mem_yes_iff,Cslib.MultiMCSP.Reduction.mem_no_iff: the yes- and no-instances ofGapSetCover 3, overℕ.Cslib.MultiMCSP.Reduction.forall_residues_iff: covers of the positions are covers.Cslib.MultiMCSP.Reduction.reduce_positive: every output satisfies Definition 1's positivity.Cslib.MultiMCSP.Reduction.reduce_mem_of_yes: completeness, for every random string.Cslib.MultiMCSP.Reduction.three_mul_card_ofTable_mem_le,Cslib.MultiMCSP.Reduction.three_mul_card_reduce_mem_le: soundness, as a count of tables and of random strings.Cslib.MultiMCSP.Window.truthTable_tableFun: the truth table ofWindow.tableFun TisT.Cslib.MultiMCSP.Reduction.rpReducible_of_computableInPolyTime: the randomized reduction, given thatreduceruns in polynomial time.
References #
Window.tableFun T is the function whose truth table is T.
The truth table of Window.tableFun T is T.
Yes- and no-instances of GapSetCover 3 #
A yes-instance of GapSetCover 3 is a coverable system with optimum at most k.
A no-instance of GapSetCover 3 is a coverable system with optimum at least 3k, for a
positive k.
A no-instance of GapSetCover 3 has a nonempty ground list: the empty family covers an empty
one at cost 0 < 3k.
Positions and parameters #
The positions j of the ground list whose element lies in set i. Elements of the set that
are not in the ground list give no position, so they are ignored.
Relabelling. The sets C cover every position of the ground list exactly when they cover
S. A repeated ground element repeats a covering obligation, and set elements outside the ground
list play no part on either side.
N + t + 4, for N ground positions and t sets.
The arity 6 · size (N + t + 4) of the output instances.
Instances For
2^p exceeds (N + t + 4)^6.
2^p is at most 64 (N + t + 4)^6.
The output instances #
The output instance for the table T: the window template of the lifted position sets followed
by T, with threshold the template's number of distinct non-input gate functions plus
min k t. The clamp keeps the threshold, written in unary, polynomial in the binary k; it
changes nothing that matters, since a cover never needs more than the t sets.
The output for an empty ground list: one input, one output x₀ and threshold one.
The reduction, as a function of the instance (S, k) and the random string r: for a
nonempty ground list, ofTable of the first 2^p bits of r, read as false past its end.
Positivity. Every output instance has positive arity, number of outputs and threshold, as
Definition 1 asks: the template has the non-input gate function ¬x₀.
Correctness #
Completeness, for every random string. A yes-instance of GapSetCover 3 maps to a
yes-instance of Multi-MCSP: the at most min k t sets of an optimal cover give T as an OR of
windows.
Soundness, as a count of tables. For a no-instance of GapSetCover 3, at most a third of
the tables give a yes-instance of Multi-MCSP.
The randomized reduction #
The length 64 (n + 4)^6 of the random string, for an input of length n.
The random string covers the table: 2^p ≤ 64 (n + 4)^6 for an input of length n.
At most a third of the random strings give a yes-instance on a no-instance.
The randomized reduction, given its running time. If reduce runs in polynomial time,
GapSetCover 3 reduces to Multi-MCSP, restricted to Definition 1's positive instances, by a
randomized reduction with one-sided error: yes-instances always map to yes-instances, and
no-instances to no-instances with probability at least 2/3 [IlangoLoffOliveira2020, §4.2,
pp. 22:20–22:21]. The basis is any Boolean.DeMorganBasis: Boolean.DeMorgan.interpretation is
the source's constant-free basis of Definition 1, Boolean.interpretation the library variant with
constants. Soundness uses the library's union bound in place of the source's Lemma 16.
MultiMCSP.rpReducible_gapSetCover discharges the running-time hypothesis.