Documentation

CslibFrontier.Computability.MCSP.Magnification.GapMCSP

Gap-MCSP magnification near linear size #

Oliveira, Pich and Santhanam's Theorem 1.4 [OliveiraPichSanthanam2019, Theorem 1.4; ECCC TR18-158 Theorem 4] states: if there is ε > 0 such that for every small enough β > 0, Gap-MCSP[2^{βn}/10n, 2^{βn}] has no circuits of size N^{1+ε}, where N = 2^n, then NP ⊄ P/poly. Here this is Cslib.MCSP.not_NP_subset_PPoly_of_gapMCSP_hard, with the source's constant c = 10, and Cslib.MCSP.P_ne_NP_of_gapMCSP_hard adds P ≠ NP.

Proof route. The statement is OPS's; the proof is not. OPS derive Theorem 1.4 from their efficient anti-checker (Lemma 4.1), which is not formalized. Here it follows from the McKay–Murray–Williams merge tree in Cslib.MCSP.exists_complexity_yesSet_le_of_NP_subset_PPoly: under NP ⊆ P/poly, the 2 ^ n-bit slice of MCSP[s] has circuits of size 2^n·c·(n + s + 1)^c for every s, and a circuit for MCSP[s₂] separates Gap-MCSP[s₁, s₂] whenever s₁ ≤ s₂ (Cslib.MCSP.exists_gapMCSP_separator_of_NP_subset_PPoly). At s₂ = ⌊2^{βn}⌋₊ that size is at most N^{1+cβ} up to a polynomial factor in n, which is below N^{1+ε} for large n once cβ < ε. The proof never uses the factor 10n between the two thresholds, only s₁ ≤ s₂.

Statement conventions.

Main results #

References #

Separators from the exact problem #

theorem Cslib.MCSP.slice_yesSet_separates {s₁ s₂ : ℕ → ℕ} {n : ℕ} (hs : s₁ n ≤ s₂ n) :
(∀ (T : BitString (2 ^ n)), List.ofFn T ∈ GapMCSP.yesSet s₁ → (GapMCSP.yesSet s₂).slice (2 ^ n) T = true) ∧ ∀ (T : BitString (2 ^ n)), List.ofFn T ∈ GapMCSP.noSet s₂ → (GapMCSP.yesSet s₂).slice (2 ^ n) T = false

The slice of MCSP[s₂] separates Gap-MCSP[s₁, s₂] at a length n with s₁ n ≤ s₂ n: it accepts every yes-instance and rejects every no-instance.

theorem Cslib.MCSP.exists_gapMCSP_separator_of_NP_subset_PPoly (hNP : Complexity.NP Turing.MultiTapeTM.encBits ⊆ Circuits.Boolean.PPolyOn Turing.MultiTapeTM.encBits) :
∃ c > 0, ∀ (s₁ s₂ : ℕ → ℕ) (n : ℕ), s₁ n ≤ s₂ n → ∃ (F : BooleanFunction (2 ^ n)), Circuits.complexity Circuits.Boolean.interpretation (Circuits.single F) ≤ 2 ^ n * c * (n + s₂ n + 1) ^ c ∧ (∀ (T : BitString (2 ^ n)), List.ofFn T ∈ GapMCSP.yesSet s₁ → F T = true) ∧ ∀ (T : BitString (2 ^ n)), List.ofFn T ∈ GapMCSP.noSet s₂ → F T = false

Gap-MCSP separators under NP ⊆ P/poly, from the McKay–Murray–Williams circuits for MCSP[s₂] (exists_complexity_yesSet_le_of_NP_subset_PPoly): there is c > 0 such that at every length n with s₁ n ≤ s₂ n, some Boolean function on 2 ^ n-bit truth tables of complexity at most 2^n·c·(n + s₂ n + 1)^c accepts the yes-instances and rejects the no-instances of Gap-MCSP[s₁, s₂].

Arithmetic #

OPS Theorem 1.4 #

theorem Cslib.MCSP.not_NP_subset_PPoly_of_gapMCSP_hard {ε : ℝ} (hε : 0 < ε) (h : ∀ᶠ (β : ℝ) in nhdsWithin 0 (Set.Ioi 0), ∀ (N₀ : ℕ), ∃ n ≥ N₀, ∀ (F : BooleanFunction (2 ^ n)), (∀ (T : BitString (2 ^ n)), (List.ofFn T ∈ GapMCSP.yesSet fun (m : ℕ) => ⌊2 ^ (β * ↑m) / (10 * ↑m)⌋₊) → F T = true) → (∀ (T : BitString (2 ^ n)), (List.ofFn T ∈ GapMCSP.noSet fun (m : ℕ) => ⌊2 ^ (β * ↑m)⌋₊) → F T = false) → ↑(2 ^ n) ^ (1 + ε) < ↑(Circuits.complexity Circuits.Boolean.interpretation (Circuits.single F))) :

Oliveira–Pich–Santhanam Theorem 1.4 [OliveiraPichSanthanam2019, Theorem 1.4; ECCC TR18-158 Theorem 4], with the source's constant c = 10: if for some ε > 0 and every small enough β > 0, Gap-MCSP[⌊2^{βn}/10n⌋₊, ⌊2^{βn}⌋₊] has, for infinitely many n, no separating Boolean function of complexity at most N^{1+ε} (N = 2 ^ n), then NP ⊄ P/poly.

The statement is OPS's; the proof goes through the McKay–Murray–Williams merge tree (exists_gapMCSP_separator_of_NP_subset_PPoly), not OPS's anti-checker (Lemma 4.1, which is not formalized). Circuits are De Morgan circuits counting all gates; see the module docstring.

theorem Cslib.MCSP.P_ne_NP_of_gapMCSP_hard {ε : ℝ} (hε : 0 < ε) (h : ∀ᶠ (β : ℝ) in nhdsWithin 0 (Set.Ioi 0), ∀ (N₀ : ℕ), ∃ n ≥ N₀, ∀ (F : BooleanFunction (2 ^ n)), (∀ (T : BitString (2 ^ n)), (List.ofFn T ∈ GapMCSP.yesSet fun (m : ℕ) => ⌊2 ^ (β * ↑m) / (10 * ↑m)⌋₊) → F T = true) → (∀ (T : BitString (2 ^ n)), (List.ofFn T ∈ GapMCSP.noSet fun (m : ℕ) => ⌊2 ^ (β * ↑m)⌋₊) → F T = false) → ↑(2 ^ n) ^ (1 + ε) < ↑(Circuits.complexity Circuits.Boolean.interpretation (Circuits.single F))) :

OPS Theorem 1.4 gives P ≠ NP: the hypothesis of not_NP_subset_PPoly_of_gapMCSP_hard implies P ≠ NP, through P ⊆ P/poly (P_subset_PPolyOn).