Seeding the CMMSA construction with random tables #
The library's randomized reductions from GapCMMSA to partial MCSP (issue #4362, route B) and to
MINKT* (issue #4447) read the functions of the variables of a CMMSA instance I from a random
string. This module provides the part they share. The reductions and their analysis are the
library's own; [Hir22] fixes only the shape of the problems.
- Scale.
lamOf λ₀ I = λ₀ (|I| + 1)², for the length|I|of the encoding ofI. - Seed. Variable
vreads its table from the block[v B, v B + 2 ^ ℓ v)of the random string, whereB = 2 ^ Wfor the seed widthW(seededFunctions, aBitString.decodeTables). Bits outside the blocks are ignored. The string has length(seedLen λ₀).eval |I|, a polynomial. - Tables.
seededTables λ₀ I rreads the same tables fromras explicit lists, in polynomial time in(I, r); a reduction evaluates the CMMSA partial truth table on them. - Randomized reduction.
rpReducible_of_seededturns any mapout I fof the instance and the functions into a randomized reduction fromXtoY, given thatout I fis polynomial-time under the seeded functions, lies inY.yesfor everyfwhenI ∈ X.yes, and lies outsideY.nofor at most a third of thefwhenI ∈ X.no. Each seeded function is equally likely (BitString.mul_card_filter_decodeTables_mem_le), so the count of functions becomes a count of random strings. - Parameters.
exists_hard_paramsgivesΔ, an oddk, a biasδ₀and a gapgwith the hypotheses of the soundness count forP = 1, and withGapCMMSA Δ g 1NP-hard.
rpReducible_of_seeded and exists_hard_params are library results, with no counterpart in
[Hir22].
Main definitions #
Cslib.PartialMCSP.FromCMMSA.lamOf: the scaleλ₀ (|I| + 1)².Cslib.PartialMCSP.FromCMMSA.seedLen: the length of the random string.Cslib.PartialMCSP.FromCMMSA.seededFunctions: the functions read from a random string.Cslib.PartialMCSP.FromCMMSA.seededTables: their explicit tables, read from the string.
Main results #
Cslib.PartialMCSP.FromCMMSA.mul_sq_le_lamOf,one_le_lamOf: bounds on the scale.Cslib.PartialMCSP.FromCMMSA.computableInPolyTime_lamOf,computableInPolyTime_seededTables: the scale and the tables are polynomial-time.Cslib.PartialMCSP.FromCMMSA.isVarTable_seededTables: the tables are those of the seeded functions.Cslib.PartialMCSP.FromCMMSA.seedLen_eval: the length of the random string.Cslib.PartialMCSP.FromCMMSA.two_pow_varLength_le_two_pow_seedWidth,length_weights_mul_le_seedLen: every table fits in its block, and the blocks fit in the random string.Cslib.PartialMCSP.FromCMMSA.rpReducible_of_seeded: the generic randomized reduction.Cslib.PartialMCSP.FromCMMSA.exists_hard_params: the parameters.
References #
The scale and the seed #
The scale λ₀ (|I| + 1)², for the length |I| of the encoding of I.
The scale is at least λ₀ (N + 1)² for every N at most the length of the encoding.
The scale is positive when λ₀ is.
The length of the random string: 2 (λ₀ + 1) (N + 1) ^ 4 for an encoding of length N.
The functions of the variables read from a random string r: variable v reads its table, in
the order of BitString.equivFin, from the bits of r starting at v 2 ^ W.
The blocks fit in the random string.
The explicit tables #
The explicit tables of the seeded functions, read from the random string: entry y of
variable v is bit v 2 ^ W + y.
The explicit tables are the tables of the seeded functions.
The scale is polynomial-time, in unary.
The explicit tables are polynomial-time in the instance and the random string.
The randomized reduction #
A seeded map is a randomized reduction. Let out I f be computed from a CMMSA instance and
the functions of its variables at the scale lamOf λ₀ I. Suppose it is polynomial-time under the
seeded functions, lies in Y.yes for every f when I ∈ X.yes, and lies outside Y.no for at
most a third of the functions f when I ∈ X.no. Then X reduces to Y by a randomized
reduction with one-sided error. This is a library result (issue #4362, route B).
The parameters #
Parameters for the reductions. There are a bound Δ, an odd k, a bias δ₀ and a gap g
satisfying the hypotheses of the soundness count for P = 1, with room to spare
(24 log 2 < g (log 2 - H(δ₀))), such that GapCMMSA Δ g 1 is NP-hard. Clients get only these
facts (the proof takes δ₀ = 1/4). This is a library result (issue #4362, route B).