Documentation

CslibFrontier.Computability.MCSP.Restrictions

Restrictions and two-corner lower bounds for quadratic MCSP #

The two-corner certificate bound and quadratic-slice restriction analysis in this file are original to this formalization, while [KC00] and [OPS19] are cited for the MCSP and GapMCSP definitions and circuit counting.

Every circuit deciding exact MCSP at quadratic cutoff s m = m ^ 2 accepts at most 2 ^ descriptionBitBound m truth tables (card_accepting_mcspSquare_le), using card_computableFunctions_le_two_pow [KabanetsCai2000; OliveiraPichSanthanam2019]. In any restriction around an accepted truth table, inessential free positions span an accepting subcube (pow_card_inessential_le), yielding an N - descriptionBitBound m - 1 size lower bound (mcspSquare_near_linear).

Tracking backward certificate requests from both constant truth tables (0^N and 1^N) shows that disjoint input polarities cannot share input demands, while binary gates contribute at most three distinct argument requests when demanded at both polarities (CornerCertificates), giving the unconditional De Morgan circuit lower bound 2 * 2 ^ m ≤ complexity interpretation (single (mcspSquare m)) + 1 + 2 * descriptionBitBound m (mcspSquare_two_certificate_lower_bound), and 120277 ≤ complexity interpretation (single (mcspSquare 16)) (mcspSquare_sixteen_lower_bound).

Main definitions #

Main results #

References #

noncomputable def Cslib.MCSP.Restrictions.essentialPositions {n : ℕ} (f : BitString n → Bool) (free : Finset (Fin n)) :

Subset of free coordinates that are essential for f.

Finset of all truth tables accepted by f.

@[simp]

Membership in acceptingTables f characterizes accepted truth tables.

theorem Cslib.MCSP.Restrictions.pow_card_inessential_le {n : ℕ} (f : BitString n → Bool) (center : BitString n) (free : Finset (Fin n)) (hCenter : f center = true) :
2 ^ (free \ essentialPositions (fun (x : BitString n) => f (free.piecewise x center)) free).card ≤ (acceptingTables f).card

Inessential free positions in an accepting restriction generate an accepting subcube.

noncomputable def Cslib.MCSP.Restrictions.mcspSquare (m : ℕ) :
BitString (2 ^ m) → Bool

The exact MCSP slice with a quadratic cutoff on the represented function's arity.

@[reducible, inline]

An upper bound on the number of binary digits needed to index the accepted tables.

Sparsity upper bound on the accepted tables of mcspSquare m.

theorem Cslib.MCSP.Restrictions.mcspSquare_constant_table (m : ℕ) (hm : 1 ≤ m) (b : Bool) :
(mcspSquare m fun (x : Fin (2 ^ m)) => b) = true

Both constant truth tables are accepted by mcspSquare m for 1 ≤ m.

theorem Cslib.MCSP.Restrictions.mcspSquare_restriction_loss (m : ℕ) (center : BitString (2 ^ m)) (free : Finset (Fin (2 ^ m))) (accepted : mcspSquare m center = true) :
free.card ≤ (essentialPositions (fun (x : BitString (2 ^ m)) => mcspSquare m (free.piecewise x center)) free).card + descriptionBitBound m

Essential-coordinate lower bound for any accepting restriction of mcspSquare m.

A near-linear lower bound in N = 2^m, with an explicit O(m^2 log m) loss.

Select argument pins sufficient to certify a gate's value at an assignment.

Agreeing on selectedPins op x certifies interpretation op y = interpretation op x.

Value of wire w when every input is set to the constant b.

Follow the certificates for both constant inputs. A common (wire, value) pair is shared.

Input coordinates whose constant value b is needed by a corner certificate.

Total input corner demands for both constant inputs are bounded by g + 1.

Agreeing on the needed corner inputs forces the circuit output to true.

Near twice the truth-table length, with an explicit loss of order m^2 log m.