Documentation

CslibFrontier.Computability.Complexity.AffineDisperser

A function in P with B₂ circuit complexity 3.5 N - O(N / log N) #

Mishra and Santhanam prove that every circuit over the full binary basis B₂ computing an affine disperser for dimension d on N bits has at least 3.5 N - 7 d gates [MishraSanthanam2026, Theorem 4.1] (Cslib.Circuits.Boolean.AffineDisperser.seven_mul_le_two_mul_size_add). The explicit disperser of Ben-Sasson and Kopparty's construction (Cslib.AffineDisperser.explicitDisperser) is an affine disperser for dimension explicitThreshold N + 1 (Cslib.AffineDisperser.isAffineDisperser_explicitDisperser) and is computable in polynomial time (Cslib.AffineDisperser.setOf_explicitDisperser_mem_P). Together:

The circuits are cslib's Circuit (fullSignature 2 Bool) N 1: every gate applies an arbitrary binary Boolean operation or is a constant, and the size counts gates, constants included, but not inputs. Mishra and Santhanam let circuits read constants for free, so the bound holds here a fortiori.

The lower-order term is far from the best known. Our threshold is only O(N / log N) (Cslib.AffineDisperser.isBigO_explicitThreshold), because the field degree is a product of small primes so that the irreducible polynomials can be found by exhaustive search. Li's explicit affine dispersers work for dimension O(log N) [Li23], and with them the same theorem gives 3.5 N - O(log N). The bound here exceeds 3 N only once the lower-order term 7 (d(N) + 1) is below N / 2, as it is for instance at N = 2 ^ 70.

Main definitions #

Main results #

References #

Mishra and Santhanam's bound for the explicit disperser [MishraSanthanam2026, Theorem 4.1], with the exact lower-order term: every circuit over the full binary basis B₂ computing explicitDisperser N has at least 3.5 N - 7 (explicitThreshold N + 1) gates, stated without subtraction.

The explicit disperser needs 3.5 N - O(N / log N) gates over B₂: for all large N, every circuit over the full binary basis computing explicitDisperser N has at least 3.5 N - 42 N / (⌊log₂ N⌋ + 1) - 7 gates.

The language of the explicit disperser: the bit lists x with explicitDisperser x.length x = true. Its slice at length N is explicitDisperser N.

The language of the explicit disperser is in P, with words encoded as themselves.

An explicit function in P with B₂ circuit complexity 3.5 N - O(N / log N), after [MS26a]: some language over Bool in P (the language of the explicit disperser) has, at every large length N, no circuit over the full binary basis with fewer than 3.5 N - 42 N / (⌊log₂ N⌋ + 1) - 7 gates.