Documentation

CslibFrontier.MachineLearning.UniformLearning.CIKK.DenseTest

Per-length query-count step toward the CIKK learner for constant-depth bases #

This module formalizes a per-length query-count step toward Carmosino et al., Theorem 5.1, p. 10:19 for p = 2 and constant-depth bases containing AC⁰[2], not Theorem 5.1 itself: cikkLearner is noncomputable with no running-time certificate, and deriving its slice hypotheses from NaturalProof.IsNatural and IsUseful is not done here. Running-time certification (IsOraclePPTOn) and odd p remain open on #798, and the abstract property-to-learner form of Theorem 5.1 remains open on #4635.

In the source proof, the black-box generator is efficient within a class Λ containing AC⁰[p]: every output g_z on the amplified target has a small Λ-circuit. Hence a dense test that accepts no function with a small Λ-circuit rejects every g_z, which is the hypothesis of the learner (Cslib.MachineLearning.UniformLearning.learns_cikkLearner).

This file states that step at one input length ℓ of the test, for p = 2 and for every constant-depth basis that contains AC⁰[2]: a signature σ with an interpretation I into which φ translates the unbounded fan-in basis with MOD₂ gates. Let D be a set of functions on ℓ bits holding at least a 2 ^ (ℓ + 1 - g) fraction of them, none computed by a σ-circuit of depth at most d + 7 and size at most k s + 6 (k n + k)² + 3, with k = cikkK e g. Then the CIKK learner with the test truthTableTest D learns the functions on n bits computed by σ-circuits of depth at most d and size at most s, with error 2^{-e} and confidence 1 - 2^{-h} (Cslib.MachineLearning.UniformLearning.learns_cikkLearner_of_hom). The depth overhead 7 and the size bound are those of the library's generator circuits (Cslib.Crypto.PRG.NisanWigderson.exists_circuit_generator_glAmp).

The AC⁰[2] step with the rank property (Cslib.MachineLearning.UniformLearning.learns_cikkLearner_rankTest) is the instance σ = Unbounded.extSignature, φ = Signature.Hom.id _. The form for fan-in-two De Morgan circuits of bounded size is CslibFrontier.MachineLearning.UniformLearning.CIKK.PPoly.

Gaps relative to Theorem 5.1 (tracked on #798 and #4635):

Main results #

References #

theorem Cslib.MachineLearning.UniformLearning.learns_cikkLearner_of_hom {σ : Circuits.Signature} {I : Circuits.Interpretation σ Bool} (φ : Circuits.Boolean.Unbounded.extSignature.Hom σ) [φ.Preserves (Circuits.Boolean.Unbounded.extInterpretation (Circuits.Boolean.modGate 2)) I] {n ℓ : ℕ} (d s e g h : ℕ) {D : Set (BooleanFunction ℓ)} (hdense : 2 ^ 2 ^ ℓ * 2 ^ (ℓ + 1) ≤ 2 ^ g * D.ncard) (huse : ∀ (G : Circuits.Circuit σ ℓ 1), G.depth ≤ d + 7 → G.size ≤ cikkK e g * s + 6 * (cikkK e g * n + cikkK e g) ^ 2 + 3 → ∀ F ∈ D, ¬G.Computes I (Circuits.single F)) :
(cikkLearner n ℓ e g h (Circuits.Boolean.truthTableTest D)).Learns (cikkSeed n ℓ e g h) {f : (Fin n → Bool) → Bool | ∃ (C : Circuits.Circuit σ n 1), C.Computes I (Circuits.single f) ∧ C.depth ≤ d ∧ C.size ≤ s} (1 / 2 ^ e) (1 / 2 ^ h)

A per-length query-model step toward Carmosino et al., Theorem 5.1, p. 10:19 for p = 2 and constant-depth bases containing AC⁰[2], not Theorem 5.1 itself. Let φ translate the unbounded fan-in basis with MOD₂ gates into the basis σ. Suppose D holds at least 2 ^ (2 ^ ℓ + ℓ + 1 - g) functions on ℓ bits, none computed by a σ-circuit of depth at most d + 7 and size at most k s + 6 (k n + k)² + 3, with k = cikkK e g. Then the noncomputable cikkLearner with test truthTableTest D learns the functions on n bits computed by σ-circuits of depth at most d and size at most s, with error 2^{-e} and confidence 1 - 2^{-h}. Only queries are certified, not running time; the abstract property-to-learner form and runtime certificate stay open on #4635 and #798.