Documentation

CslibFrontier.Computability.Circuit.Boolean.Razborov.LearningParams

Parameters of the CIKK learner for AC⁰[2] #

Carmosino, Impagliazzo, Kabanets and Kolokolova run their learner with a natural property at an input length ℓ where the property rejects every output g_z of the black-box generator Carmosino et al., Theorem 5.1, p. 10:19. For AC⁰[2] the g_z are the functions computed by the Nisan–Wigderson generator on the amplified target Amp(f) = (f^k)^GL, and the property is the rank property, which rejects every function computed by a circuit of depth D and size S at the input length rankLength D x for S ≤ 2 ^ x (Cslib.Circuits.Boolean.Razborov.notMem_rankProperty_rankLength_of_computes). This file fixes the three parameters of that instance in closed form, for depth d, size s, n input variables and error exponent e:

The last inequality is the fixed point of the parameters: the learner's density hypothesis needs a property accepting a 2^{-g} fraction of the truth tables of length 2 ^ ℓ with 2 ^ (ℓ + 1) to spare, while ℓ grows with g through k and S. It replaces the source's choice of L with log L > u⁻¹(poly) [Carmosino et al., proof of Theorem 5.1, p. 10:19] [CIKK16]. Since ℓ is polylogarithmic in S and k is linear in g, g is polylogarithmic in n, s and 2 ^ e for fixed d: with D = d + 7 and B = ⌊log₂ (M² (s + 6 (n + 1)² + 3))⌋ + 1, M = 2^{e+10} (3e + 42), g ≤ 2^{2D(5D+25)} B^{2D} (cikkAC0Gap_le). That bound makes the query count of the step in CslibFrontier.MachineLearning.UniformLearning.CIKK.AC0Mod quasi-polynomial; the running-time bound of Carmosino et al., Corollary 5.4, p. 10:20 is not certified and stays open on #798.

Labels. The rank property is this library's variant (one square matrix, threshold C(n, a) / 2, level sliceLevel; see Cslib.Circuits.Boolean.Razborov.RankProperty), and only p = 2 is covered, where Corollary 5.4 states every prime. The depth overhead 7 is that of the library's generator circuits (Cslib.Crypto.PRG.NisanWigderson.exists_circuit_generator_glAmp). g and k are powers of two, and all constants are this library's, far from optimal. The query-count and nonuniform hypothesis-size step toward Corollary 5.4 for depth-d, size-s AC⁰[2] targets is in CslibFrontier.MachineLearning.UniformLearning.CIKK.AC0Mod (running time and odd p stay open on #798, abstract Theorem 5.1 on #4635); this file proves only the parameter inequalities.

Main definitions #

Main results #

References #

The input length ℓ(g) = rankLength (d + 7) (⌊log₂ S(g)⌋ + 1) at which the rank test rejects every function computed by a circuit with MOD_2 gates of depth at most d + 7 and size at most S(g).

The advantage exponent g = 2^{2D (⌊log₂ B⌋ + 5D + 25)}, with D = d + 7 and B the number of bits of M² (s + 6 (n + 1)² + 3), M = 2^{e+10} (3e + 42). It satisfies ℓ(g) + 2 ≤ g (cikkAC0Len_add_two_le_cikkAC0Gap).

The rank test rejects the generator circuits #

The rank test rejects the generator circuits: at the length cikkAC0Len d e n s g, no circuit with MOD_2 gates of depth at most d + 7 and size at most S(g) computes a function of the rank property.

The fixed point #

The fixed point of the parameters: ℓ(g) + 2 ≤ g for g = cikkAC0Gap d e n s and ℓ(g) = cikkAC0Len d e n s g. This is the condition under which the rank test's density 1 / 2 covers the learner's density hypothesis 2^{2^ℓ} 2^{ℓ+1} ≤ 2^g · #{accepted}.

theorem Cslib.Circuits.Boolean.Razborov.cikkAC0Gap_le (d e n s : ℕ) :
cikkAC0Gap d e n s ≤ 2 ^ (2 * (d + 7) * (5 * (d + 7) + 25)) * (Nat.log 2 ((2 ^ (e + 10) * (3 * e + 42)) ^ 2 * (s + 6 * (n + 1) ^ 2 + 3)) + 1) ^ (2 * (d + 7))

g is polylogarithmic: with D = d + 7, M = 2^{e+10} (3e + 42) and B = ⌊log₂ (M² (s + 6 (n + 1)² + 3))⌋ + 1, cikkAC0Gap d e n s ≤ 2^{2D(5D+25)} B^{2D}. For fixed d, g is polylogarithmic in n, s and 2 ^ e.