Documentation

CslibFrontier.Computability.Circuit.Frontier.FanInTwo

Frontier lower bounds for fan-in two #

The frontier lower bound for fan-in two (Cslib.Circuits.Frontier.eventually_lt_multiarySize) is conditional on the layout hypothesis LayoutBound 3 A, and gives s > (1 + 1/A - ε) n multiary gates (arity = 2; constant and unary gates are free). Four 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

The Gaussian layout bound and the (L - ε) n and (114/25 - ε) n lower bounds derived from it are original to this library, as are the matched-pair layout bound and the (1277773 / 277773 - ε) n lower bounds derived from it.

Constant and unary gates (arity ≤ 1) are not counted in multiarySize; the innerSize companions follow via c.multiarySize ≤ c.innerSize. The hypotheses are those of Cslib.Circuits.Frontier.eventually_two_sub_mul_lt_multiarySize: 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 coefficients hold for the bundled worst-case claims (MultiaryLowerBound, CircuitLowerBound) and average-case claims (MultiaryAverageCaseBound, AverageCaseBound): circuits of fan-in two with at most (1277773 / 277773 - ε) n multiary 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 (Cslib.Circuits.Frontier.multiaryAverageCaseBound_pairBound). The matched-pair innerSize claims follow by MultiaryLowerBound.circuitLowerBound and MultiaryAverageCaseBound.averageCaseBound.

Main results #

References #

theorem Cslib.Circuits.Frontier.eventually_gaussian_sub_mul_lt_innerSize {U : Type u} [Finite U] [Nontrivial U] {S : (n : ℕ) → Set (Fin n → U)} {K : ℕ → ℕ} (hSK : DenseRectangleFree S K) {ε : ℝ} (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. Original to this library.

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 : ℕ → ℕ} (hSK : DenseRectangleFree S K) {ε : ℝ} (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 : ℕ → ℕ} (hSK : DenseRectangleFree S K) {ε : ℝ} (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 deciding dense rectangle-free sets 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 deciding dense rectangle-free sets need (4.56 - ε) n gates: the Gaussian coefficient is at least 114/25.

Circuits of fan-in two deciding dense rectangle-free sets 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 on sets of small bias on large rectangles: the Gaussian coefficient is at least 114/25.

Circuits of fan-in two below (4 - ε) n gates barely beat guessing on sets of small bias on large rectangles, by Gaussian vertex-score layouts.

Median-switched Gaussian bounds (4.57597 n) #

theorem Cslib.Circuits.Frontier.eventually_switched_sub_mul_lt_multiarySize {U : Type u} [Finite U] [Nontrivial U] {S : (n : ℕ) → Set (Fin n → U)} {K : ℕ → ℕ} (hSK : DenseRectangleFree S K) {ε : ℝ} (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 + 2 * Real.pi / (3 * Real.arccos (5 / 6)) - ε) * ↑n < ↑c.multiarySize

The median-switched Gaussian frontier lower bound for fan-in two, charging only multiary gates. 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 (L₃ - ε) n multiary gates (arity = 2; constant and unary gates are free), where L₃ = 1 + 2π / (3 arccos (5 / 6)) ≈ 4.575972. Original to this library (instantiating the frontier framework with layoutBound_switched).

theorem Cslib.Circuits.Frontier.eventually_switched_sub_mul_lt_innerSize {U : Type u} [Finite U] [Nontrivial U] {S : (n : ℕ) → Set (Fin n → U)} {K : ℕ → ℕ} (hSK : DenseRectangleFree S K) {ε : ℝ} (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 + 2 * Real.pi / (3 * Real.arccos (5 / 6)) - ε) * ↑n < ↑c.innerSize

The median-switched Gaussian 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 (L₃ - ε) n inner gates, where L₃ = 1 + 2π / (3 arccos (5 / 6)) ≈ 4.575972. Original to this library (instantiating the frontier framework with layoutBound_switched).

theorem Cslib.Circuits.Frontier.eventually_457597_div_100000_sub_mul_lt_innerSize {U : Type u} [Finite U] [Nontrivial U] {S : (n : ℕ) → Set (Fin n → U)} {K : ℕ → ℕ} (hSK : DenseRectangleFree S K) {ε : ℝ} (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) → (457597 / 100000 - ε) * ↑n < ↑c.innerSize

The (4.57597 - ε) n frontier lower bound for fan-in two. Under the hypotheses of eventually_switched_sub_mul_lt_innerSize, every circuit of fan-in at most two deciding S_n has more than (457597/100000 - ε) n inner gates.

theorem Cslib.Circuits.Frontier.eventually_183_div_40_sub_mul_lt_innerSize {U : Type u} [Finite U] [Nontrivial U] {S : (n : ℕ) → Set (Fin n → U)} {K : ℕ → ℕ} (hSK : DenseRectangleFree S K) {ε : ℝ} (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) → (183 / 40 - ε) * ↑n < ↑c.innerSize

The (4.575 - ε) n frontier lower bound for fan-in two. Under the hypotheses of eventually_switched_sub_mul_lt_innerSize, every circuit of fan-in at most two deciding S_n has more than (183/40 - ε) n inner gates.

Circuits of fan-in two deciding dense rectangle-free sets need (L₃ - ε) n multiary gates, by median-switched Gaussian vertex-score layouts (layoutBound_switched), where L₃ = 1 + 2π / (3 arccos (5 / 6)) ≈ 4.575972. Original to this library.

Circuits of fan-in two deciding dense rectangle-free sets need (4.57597 - ε) n multiary gates: the switched coefficient satisfies L₃ ≥ 457597/100000.

Circuits of fan-in two deciding dense rectangle-free sets need (L₃ - ε) n gates, by median-switched Gaussian vertex-score layouts (layoutBound_switched), where L₃ = 1 + 2π / (3 arccos (5 / 6)) ≈ 4.575972. Original to this library.

Circuits of fan-in two deciding dense rectangle-free sets need (4.57597 - ε) n gates: the switched coefficient satisfies L₃ ≥ 457597/100000.

Circuits of fan-in two deciding dense rectangle-free sets need (4.575 - ε) n gates: the switched coefficient satisfies L₃ ≥ 183/40.

Circuits of fan-in two below (L₃ - ε) n multiary gates barely beat guessing on sets of small bias on large rectangles, by layoutBound_switched. Original to this library.

Circuits of fan-in two below (4.57597 - ε) n multiary gates barely beat guessing.

Circuits of fan-in two below (L₃ - ε) n gates barely beat guessing on sets of small bias on large rectangles, by layoutBound_switched. Original to this library.

Circuits of fan-in two below (4.57597 - ε) n gates barely beat guessing.

Circuits of fan-in two below (4.575 - ε) n gates barely beat guessing.

Circuits of fan-in two deciding dense rectangle-free sets need (1277773 / 277773 - ε) n multiary gates (1277773 / 277773 ≈ 4.600062), by matched-pair Gaussian edge-score layouts (layoutBound_pairBound). Original to this library.

Circuits of fan-in two below (1277773 / 277773 - ε) n multiary gates barely beat guessing on sets of small bias on large rectangles, by layoutBound_pairBound. Original to this library.