Hardness Magnification for MCSP via Circuit-Min-Merge #
Slightly superlinear circuit lower bounds for MCSP[s] (Cslib.GapMCSP.yesSet s) imply
NP ⊄ P/poly and P ≠ NP McKay, Murray, and Williams, Lemma 3.1, Theorem 1.4 (third bullet),
and Section 5.
Assuming NP ⊆ P/poly, the polynomial-hierarchy language CircuitMinMergeLanguage
(Cslib.MCSP.CircuitMinMergeLanguage), adapted from Circuit-Min-Merge in
[McKayMurrayWilliams2019, Section 2.1], has polynomial-size circuits: given two subcube
circuit certificates w₀ and w₁ for the half-subcubes p ++ [false] and p ++ [true] of
{0, 1} ^ n (rather than t intervals), it selects the Cslib.BitString.wordLt-least valid
size-≤ s circuit certificate w of length certLength n s (rather than a minimum-size circuit)
that agrees with w₀ on p ++ [false] and with w₁ on p ++ [true], together with a validity
bit. Following the C = P/poly case of the proof of Theorem 1.4 (Section 5) combined with Lemma
3.1's merge-tree idea, composing this merge circuit across the 2 ^ n nodes of the full binary
tree of subcubes of {0, 1} ^ n (rather than a d-ary tree with ℓ = s³) produces a circuit of
size 2 ^ n · poly(n, s(n)) deciding the 2 ^ n-bit slice of GapMCSP.yesSet s
(Cslib.MCSP.exists_complexity_yesSet_le_of_NP_subset_PPoly).
Taking the contrapositive magnifies 2 ^ n · poly(n, s(n)) circuit lower bounds for
GapMCSP.yesSet s to NP ⊄ P/poly (Cslib.MCSP.not_NP_subset_PPoly_of_yesSet_hard) and, via
P ⊆ P/poly, to P ≠ NP (Cslib.MCSP.P_ne_NP_of_yesSet_hard). Relative to
[McKayMurrayWilliams2019, Theorem 1.4, third bullet], the NP ⊄ P/poly magnification statements
incorporate four specializations:
- decision
GapMCSP.yesSet s(MCSP[s]) instead ofsearch-MCSP^A[s]; - no oracle (
A = ∅); - fan-in-2 De Morgan circuits counting all gates (
Cslib.Circuits.Circuit.size); - a size-only lower bound, whereas the paper assumes no circuits of simultaneous size
N · poly(s)and depthpoly(s). Specializations (1) and (4) strengthen the lower-bound hypothesis (a decision lower bound implies a search lower bound, and a size-only lower bound implies a combined size-and-depth lower bound), while (2) and (3) fix parameters allowed by the source (A ∈ PH), making the Lean theorem a special case.
Main definitions #
Cslib.MCSP.MergeHeader,Cslib.MCSP.MergeInput: header and child-state input structures forCircuitMinMergeLanguage, withenc_structureencodingsCslib.MCSP.encHeaderandCslib.MCSP.encMerge.Cslib.MCSP.agreesOnPoint,Cslib.MCSP.AgreesWithChildren: child-agreement predicates on a subcube prefixp(tested viaList.isPrefixOf).Cslib.MCSP.IsMergedCert,Cslib.MCSP.IsMinMergedCert: valid and lexicographically minimal merged certificates.Cslib.MCSP.CircuitMinMergeLanguage: theCircuit-Min-Mergedecision problem, adapted to binary subcube merging of fixed-threshold certificates.Cslib.MCSP.subcubeState: the validity bit and least certificate of a subcube.Cslib.MCSP.mergeVec: the multi-output merge step read from slices of a language.
Main results #
Cslib.MCSP.mergeVec_eq_subcubeState: one merge step maps the states of two half-subcubes to the state of their parent.Cslib.MCSP.circuitMinMergeLanguage_mem_PPolyOn: underNP ⊆ P/poly,CircuitMinMergeLanguage ∈ PPolyOn encMerge.Cslib.MCSP.exists_complexity_yesSet_le_of_NP_subset_PPoly: underNP ⊆ P/poly,GapMCSP.yesSet shas circuits of size2 ^ n · c · (n + s n + 1) ^ con2 ^ n-bit truth tables ([McKayMurrayWilliams2019, Lemma 3.1 and Section 5 (proof of Theorem 1.4, C = P/poly case)]).Cslib.MCSP.exists_complexity_yesSet_pow_le_of_NP_subset_PPoly: specialization to polynomial scheduless(n) = n ^ k.Cslib.MCSP.not_NP_subset_PPoly_of_yesSet_hard,Cslib.MCSP.not_NP_subset_PPoly_of_yesSet_pow_hard: circuit lower bounds forGapMCSP.yesSetimplyNP ⊄ P/poly([McKayMurrayWilliams2019, Theorem 1.4, third bullet], specialized to decisionMCSP[s]without oracle and size-only De Morgan circuit lower bounds).Cslib.MCSP.P_ne_NP_of_yesSet_hard,Cslib.MCSP.P_ne_NP_of_yesSet_pow_hard: immediate corollaries concludingP ≠ NPviaP ⊆ P/poly.
References #
Lexicographic minimum on fixed-length bit lists #
Subcubes and child-agreement predicates #
agreesOnPoint is computable in polynomial time when n and s are given in unary.
w is the lexicographically smallest (BitString.wordLt) certificate satisfying
IsMergedCert n s p w₀ w₁.
CircuitMinMergeLanguage and nonuniform quantifier elimination #
The width certLength n s + 1 of a child state vector (ok, w), consisting of one validity
bit followed by a certificate of length certLength n s.
The fixed parameters (arity, size, subcube, bitIndex) of a query to
CircuitMinMergeLanguage: arity and size bound in unary, subcube prefix, and output bit index in
unary.
Encoding of MergeHeader with arity, size, bitIndex in unary and subcube as raw
bits.
An input ⟨hdr, childStates⟩ to CircuitMinMergeLanguage, where childStates concatenates
the two child state vectors (ok₀, w₀) and (ok₁, w₁) of width stateWidth n s.
- header : MergeHeader
Query header
(arity, size, subcube, bitIndex). Concatenated child state vectors
(ok₀, w₀) ++ (ok₁, w₁).
Encoding of MergeInput pairing encHeader with encBits, so
encMerge ⟨hdr, v⟩ = frame (encHeader hdr) ++ v.
The tuple of the fields of encMerge.
Extract the left child validity bit ok₀ from a MergeInput.
Extract the left child certificate w₀ of length certLength n s from a MergeInput.
Extract the right child validity bit ok₁ from a MergeInput.
Extract the right child certificate w₁ of length certLength n s from a MergeInput.
The CircuitMinMergeLanguage decision problem, adapted from Circuit-Min-Merge in
[McKayMurrayWilliams2019, Section 2.1]: given header parameters ⟨n, s, p, j⟩ and concatenated
child states v representing (ok₀, w₀) and (ok₁, w₁) for the two half-subcubes p ++ [false]
and p ++ [true] (rather than t intervals), accepts when ok₀ = true, ok₁ = true, and there
is a BitString.wordLt-least valid size-≤ s merged certificate w (IsMinMergedCert n s p w₀ w₁ w, rather than a minimum-size circuit) whose j-th output bit (true at j = 0, and bit j - 1
of w at j > 0) is true.
Polynomial-time projections of a MergeInput #
The arity n and size bound s are read from the header in unary; the derived widths
certLength n s and stateWidth n s are then unary arithmetic.
Under NP ⊆ P/poly, CircuitMinMergeLanguage has polynomial-size circuits. Since
CircuitMinMergeLanguage is defined by bounded existential and universal quantifiers over
polynomial-time predicates, nonuniform quantifier elimination puts it in PPolyOn encMerge
[McKayMurrayWilliams2019, Section 2.1 and Section 5 (proof of Theorem 1.4)].
Subcube certificates and semantic tree synthesis #
w is a canonical certificate of length certLength n s encoding a valid size-s circuit on
n inputs that computes f on every point in the subcube p (tested via p.isPrefixOf).
w is the lexicographically smallest (BitString.wordLt) certificate satisfying
IsSubcubeCert n s f p.
The stateWidth n s-bit state vector of subcube p for f: bit 0 records whether a size-s
circuit certificate exists for f on p, and bits 1 .. certLength n s record the
lexicographically smallest such certificate (or all false if none exists).
The multi-output merge step obtained by hardwiring the header ⟨n, s, p, j⟩ into the
slices of a language L for each output bit j : Fin (stateWidth n s). When L encodes
CircuitMinMergeLanguage, it maps the states of the half-subcubes p ++ [false] and
p ++ [true] to the state of p (Cslib.MCSP.mergeVec_eq_subcubeState).
One merge step. If L encodes CircuitMinMergeLanguage under encMerge, then
mergeVec L n s p maps the states of the half-subcubes p ++ [false] and p ++ [true] to the
state of p, for every proper prefix p of an n-bit input.
The state of a full-length prefix p, a single point of {0, 1} ^ n, depends only on the
value of f at that point.
Main theorems: MMW19 circuit upper bound and hardness magnification #
McKay–Murray–Williams circuit upper bound for MCSP[s] under NP ⊆ P/poly
[McKayMurrayWilliams2019, Lemma 3.1 and Section 5 (proof of Theorem 1.4, C = P/poly case)]: if
NP ⊆ P/poly, then there is a constant c > 0 such that for every size schedule s : ℕ → ℕ and
every n, the 2 ^ n-bit slice of GapMCSP.yesSet s has circuit complexity at most
2 ^ n * c * (n + s n + 1) ^ c. The proof composes the P/poly circuit for
CircuitMinMergeLanguage across a binary merge tree over the 2 ^ n subcubes of {0, 1} ^ n
(rather than a d-ary tree with ℓ = s³).
McKay–Murray–Williams circuit upper bound for MCSP[n ^ k] under NP ⊆ P/poly
[McKayMurrayWilliams2019, Lemma 3.1 and Section 5 (proof of Theorem 1.4, C = P/poly case)]: if
NP ⊆ P/poly, then for every degree k, there is c > 0 such that the 2 ^ n-bit slice of
GapMCSP.yesSet (fun m => m ^ k) has circuit complexity at most 2 ^ n * c * (n + 1) ^ c.
Hardness magnification for MCSP[s] against NP ⊆ P/poly
[McKayMurrayWilliams2019, Theorem 1.4, third bullet]: if for every c > 0 there exist a schedule
s and input arity n such that the 2 ^ n-bit slice of GapMCSP.yesSet s requires more than
2 ^ n * c * (n + s n + 1) ^ c gates, then NP ⊄ P/poly.
Relative to the paper's statement, this specializes search-MCSP^A[s] to decision
GapMCSP.yesSet s (MCSP[s]), sets A = ∅, uses fan-in-2 De Morgan circuits counting all gates,
and assumes a size-only lower bound rather than a combined size-and-depth lower bound.
Hardness magnification for MCSP[s] to P ≠ NP: if for every c > 0 there exist a
schedule s and input arity n such that the 2 ^ n-bit slice of GapMCSP.yesSet s requires
more than 2 ^ n * c * (n + s n + 1) ^ c gates, then P ≠ NP.
This follows immediately from not_NP_subset_PPoly_of_yesSet_hard
([McKayMurrayWilliams2019, Theorem 1.4, third bullet]) and P ⊆ P/poly (P_subset_PPolyOn).
Hardness magnification for MCSP[n ^ k] against NP ⊆ P/poly
[McKayMurrayWilliams2019, Theorem 1.4, third bullet]: if for some k and every c > 0, there is
n such that the 2 ^ n-bit slice of GapMCSP.yesSet (fun m => m ^ k) requires more than
2 ^ n * c * (n + 1) ^ c gates, then NP ⊄ P/poly.
Relative to the paper's statement, this specializes search-MCSP^A[s] to decision GapMCSP.yesSet
(MCSP[n ^ k]), sets A = ∅, uses fan-in-2 De Morgan circuits counting all gates, and assumes a
size-only lower bound rather than a combined size-and-depth lower bound.
Hardness magnification for MCSP[n ^ k] to P ≠ NP: if for some k and every c > 0,
there is n such that the 2 ^ n-bit slice of GapMCSP.yesSet (fun m => m ^ k) requires more
than 2 ^ n * c * (n + 1) ^ c gates, then P ≠ NP.
This follows immediately from not_NP_subset_PPoly_of_yesSet_pow_hard
([McKayMurrayWilliams2019, Theorem 1.4, third bullet]) and P ⊆ P/poly (P_subset_PPolyOn).