Documentation

CslibFrontier.Computability.MCSP.PartialHardness.Knowledge

Knowledge sets of a circuit for the CMMSA table #

The deterministic core of No soundness for the library's reduction from GapCMMSA Δ g 1 to partial MCSP (issue #4362, route B, milestone H4). The table FromCMMSA.toInstance I Δ k λ P f comes from CslibFrontier.Computability.MCSP.PartialHardness.Construction; its Yes completeness is CslibFrontier.Computability.MCSP.PartialHardness.Completeness. The analysis is the library's own; [Hir22] fixes only the problem shape.

Candidates. A circuit h on the table's inputs determines, for each variable v, a set cand h v of Boolean functions on ℓ v inputs (FromCMMSA.cand). The set depends on h, never on f. A function g is a candidate when, for some advice, the guess z ↦ c + h (x[z]) agrees with g^{⊕k} on at least a 1 / 2 + 1 / (2 Δ) fraction of the words z ∈ {0,1}^{k ℓ v}. The advice is an input x, a slot (t, q) and a bit c. Here x[z] writes the blocks of z into the low ℓ v bits of the k seeds of slot (t, q) of x and zeroes their other bits. With 2 ^ A inputs, Δ ² slots and two bits, there are 2 ^ (A + 1) Δ ² choices of advice. For each one, the list-size bound of the k-fold XOR code (Cslib.Circuits.Boolean.card_filter_xorPower_mul_two_mul_sq_le_exp) leaves at most 2 Δ ² exp (2 ^ ℓ H(δ₀)) candidates when k is odd and (1 - 2 δ₀) ^ k ≤ 1 / (2 Δ ²). Hence #cand h v ≤ 4 Δ⁴ 2 ^ A exp (2 ^ ℓ H(δ₀)) (FromCMMSA.card_cand_le).

The knowledge set is heavy. Let I be a No instance and let h agree with the table for f. Then the variables v with f v ∈ cand h v weigh more than g θ (FromCMMSA.lt_weight_cand). Suppose they do not. The No condition at σ = 1 gives a formula φ_j that this set of variables falsifies, so every term τ of φ_j (T ≤ Δ of them) has a literal at a position q_τ whose variable v_τ has f v_τ ∉ cand h v_τ.

The union bound over circuits and the probability over f are the next milestone of #4362.

Main definitions #

Main results #

References #

Splitting an input into its parts #

Seeds carrying a word #

Candidates #

noncomputable def Cslib.PartialMCSP.FromCMMSA.cand {I : Complexity.CMMSAInstance} {Δ k lam : ℕ} (h : BooleanFunction (inputLength I Δ k lam)) (v : Fin I.weights.length) :

The candidates for f v. The Boolean functions g on ℓ v inputs whose k-fold XOR, plus a constant bit c, agrees with the guess z ↦ h (write p tq z) on at least a 1 / 2 + 1 / (2 Δ) fraction of the words z, for some parts p, slot tq and bit c.

theorem Cslib.PartialMCSP.FromCMMSA.card_cand_le {I : Complexity.CMMSAInstance} {Δ k lam : ℕ} (hk : Odd k) (hΔ : 0 < Δ) {δ₀ : ℝ} (hδ₀ : 0 ≤ δ₀) (hδ₀' : δ₀ ≤ 1 / 2) (hkδ : (1 - 2 * δ₀) ^ k ≤ 1 / (2 * ↑Δ ^ 2)) (h : BooleanFunction (inputLength I Δ k lam)) (v : Fin I.weights.length) :
↑(cand h v).card ≤ 4 * ↑Δ ^ 4 * 2 ^ inputLength I Δ k lam * Real.exp (2 ^ varLength I lam ↑v * Real.binEntropy δ₀)

There are few candidates. For odd k with (1 - 2 δ₀) ^ k ≤ 1 / (2 Δ ^ 2), at most 4 Δ ^ 4 2 ^ A exp (2 ^ ℓ H(δ₀)) functions are candidates for f v, where A is the input length and ℓ = ℓ v.

The knowledge set is heavy #

theorem Cslib.PartialMCSP.FromCMMSA.lt_weight_cand {I : Complexity.CMMSAInstance} {Δ k lam : ℕ} {g : ℝ} (hI : I ∈ (Complexity.GapCMMSA Δ g 1).no) (P : ℕ) (f : VarFunctions I lam) (h : BooleanFunction (inputLength I Δ k lam)) (hh : (toInstance I Δ k lam P f).AgreesWith h) :
g * ↑I.threshold < ↑(I.weight (Finset.map Fin.valEmbedding {v : Fin I.weights.length | f v ∈ cand h v}))

The knowledge set of a circuit is heavy (the core of No soundness). Let I be a No instance of GapCMMSA Δ g 1, and let h agree with the table of I for the functions f. Then the variables v with f v ∈ cand h v have total weight above g θ.