Documentation

Complexity.Computability.Circuit.Frontier.FanInTwo

Frontier lower bounds for fan-in two #

The frontier lower bound for fan-in two (Cslib.Circuits.Frontier.eventually_lt_innerSize) is conditional on the layout hypothesis LayoutBound 3 A, and gives s > (1 + 1/A - ε) n. Two layout bounds remove the hypothesis:

Let S_n ⊆ U^n be K_n-rectangle-free sets over a finite alphabet U with at least two symbols, with log K_n = o(n) and n log |U| - log |S_n| = o(n). Then for every ε > 0 and all large n, every circuit of fan-in at most two deciding S_n, over any basis and interpretation on U, has more than

Gates of arity zero, the constants, are not counted. The hypotheses are those of Cslib.Circuits.Frontier.eventually_two_sub_mul_lt_innerSize: the bounds apply to every family of dense rectangle-free sets, and to a particular family once it is shown to be one.

The same three coefficients hold for the bundled worst-case claim CircuitLowerBound and for the average-case claim AverageCaseBound: circuits of fan-in two with at most (L - ε) n inner gates agree with a set of bias at most b_n on large rectangles on at most a 1/2 + b_n + exp (-γ n) fraction of the inputs.

Main results #

theorem Cslib.Circuits.Frontier.eventually_gaussian_sub_mul_lt_innerSize {U : Type u} [Finite U] [Nontrivial U] {S : (n : ℕ) → Set (Fin n → U)} {K : ℕ → ℕ} (hfree : ∀ᶠ (n : ℕ) in Filter.atTop, RectangleFree (S n) (K n)) (hK : (fun (n : ℕ) => Real.log ↑(K n)) =o[Filter.atTop] fun (n : ℕ) => ↑n) (hdense : (fun (n : ℕ) => ↑n * Real.log ↑(Nat.card U) - Real.log ↑(S n).ncard) =o[Filter.atTop] fun (n : ℕ) => ↑n) {ε : ℝ} (hε : 0 < ε) :
∀ᶠ (n : ℕ) in Filter.atTop, ∀ (σ : Signature) (I : Interpretation σ U) (Acc : Set U) (c : Circuit σ n 1), c.FanInAtMost 2 → c.Decides I Acc (S n) → (1 + Real.pi / (3 * Real.arccos ((1 + 2 * √2) / 4)) - ε) * ↑n < ↑c.innerSize

The Gaussian frontier lower bound for fan-in two. Let S_n ⊆ U^n be K_n-rectangle-free sets over a finite alphabet U with at least two symbols, with log K_n = o(n) and n log |U| - log |S_n| = o(n). Then for every ε > 0 and all large n, every circuit of fan-in at most two deciding S_n, over any basis and interpretation on U, has more than (L - ε) n inner gates, where L = 1 + π / (3 arccos ((1 + 2√2)/4)) ≈ 4.5625.

theorem Cslib.Circuits.Frontier.eventually_114_div_25_sub_mul_lt_innerSize {U : Type u} [Finite U] [Nontrivial U] {S : (n : ℕ) → Set (Fin n → U)} {K : ℕ → ℕ} (hfree : ∀ᶠ (n : ℕ) in Filter.atTop, RectangleFree (S n) (K n)) (hK : (fun (n : ℕ) => Real.log ↑(K n)) =o[Filter.atTop] fun (n : ℕ) => ↑n) (hdense : (fun (n : ℕ) => ↑n * Real.log ↑(Nat.card U) - Real.log ↑(S n).ncard) =o[Filter.atTop] fun (n : ℕ) => ↑n) {ε : ℝ} (hε : 0 < ε) :
∀ᶠ (n : ℕ) in Filter.atTop, ∀ (σ : Signature) (I : Interpretation σ U) (Acc : Set U) (c : Circuit σ n 1), c.FanInAtMost 2 → c.Decides I Acc (S n) → (114 / 25 - ε) * ↑n < ↑c.innerSize

The (4.56 - ε) n frontier lower bound for fan-in two. Under the hypotheses of eventually_gaussian_sub_mul_lt_innerSize, for every ε > 0 and all large n, every circuit of fan-in at most two deciding S_n, over any basis and interpretation on U, has more than (114/25 - ε) n inner gates.

theorem Cslib.Circuits.Frontier.eventually_four_sub_mul_lt_innerSize {U : Type u} [Finite U] [Nontrivial U] {S : (n : ℕ) → Set (Fin n → U)} {K : ℕ → ℕ} (hfree : ∀ᶠ (n : ℕ) in Filter.atTop, RectangleFree (S n) (K n)) (hK : (fun (n : ℕ) => Real.log ↑(K n)) =o[Filter.atTop] fun (n : ℕ) => ↑n) (hdense : (fun (n : ℕ) => ↑n * Real.log ↑(Nat.card U) - Real.log ↑(S n).ncard) =o[Filter.atTop] fun (n : ℕ) => ↑n) {ε : ℝ} (hε : 0 < ε) :
∀ᶠ (n : ℕ) in Filter.atTop, ∀ (σ : Signature) (I : Interpretation σ U) (Acc : Set U) (c : Circuit σ n 1), c.FanInAtMost 2 → c.Decides I Acc (S n) → (4 - ε) * ↑n < ↑c.innerSize

The (4 - ε) n frontier lower bound for fan-in two. Under the hypotheses of eventually_gaussian_sub_mul_lt_innerSize, for every ε > 0 and all large n, every circuit of fan-in at most two deciding S_n, over any basis and interpretation on U, has more than (4 - ε) n inner gates. The layout bound is that of Gaussian vertex scores.

The bundled claims #

Circuits of fan-in two need (L - ε) n gates, by median edge-score layouts, where L = 1 + π / (3 arccos ((1 + 2√2)/4)) ≈ 4.5625.

Circuits of fan-in two need (4.56 - ε) n gates: the Gaussian coefficient is at least 114/25.

Circuits of fan-in two need (4 - ε) n gates, by Gaussian vertex-score layouts.

Circuits of fan-in two below (L - ε) n gates barely beat guessing on sets of small bias on large rectangles, by median edge-score layouts, where L = 1 + π / (3 arccos ((1 + 2√2)/4)) ≈ 4.5625.

Circuits of fan-in two below (4.56 - ε) n gates barely beat guessing: the Gaussian coefficient is at least 114/25.

Circuits of fan-in two below (4 - ε) n gates barely beat guessing, by Gaussian vertex-score layouts.