Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Flat.NetworkProjection

The network polynomial as a projection of the permanent: Lemma E.3 #

The polynomial f_{k,ℓ} of the complete network on k nodes with strings of ℓ bits (Flat.networkPolynomial) is a clause sum over the bits of the strings on the wires: for every node a and every view ρ of a (Flat.NodeView), there is a clause with the weight x_{a,ρ} whose literals say that a sees ρ. Each of the at most k * 2 ^ (k ℓ) views has at most k ℓ literals, so by Corollary E.2 f_{k,ℓ} is an affine projection of G.poly M for every family G complete for grid sums with blow-up c and every M ≥ c k³ ℓ 2^{kℓ} (Flat.isAffineProjection_networkPolynomial). For the permanent this is Lemma E.3: when 2 ≠ 0, a circuit with s nodes for PERM_M, M ≥ 3 k³ ℓ 2^{kℓ}, gives one with 5 s nodes for f_{k,ℓ} (Flat.computedWithin_networkPolynomial).

The paper's f_{k,ℓ} has a variable x_{a,ρ} only for the views ρ, which have no string for a itself. Flat.networkPolynomialOnViews is this polynomial; renaming its variables gives Flat.networkPolynomial (Flat.rename_networkPolynomialOnViews), so a circuit for it is one for Flat.networkPolynomial with the same number of nodes (ComputedWithin.rename).

Main definitions #

Main results #

References #

What a node of the complete network sees: the strings on its wires to the other nodes, and the zero string for itself.

  • node : Fin k

    The node.

  • strings : Fin k → BitString ℓ

    The strings that the node sees, one for each node.

  • strings_node : self.strings self.node = fun (x : Fin ℓ) => false

    The string for the node itself is zero.

Instances For
    theorem Cslib.Circuits.Arithmetic.Separation.Flat.NodeView.ext {k ℓ : ℕ} {x y : NodeView k ℓ} (node : x.node = y.node) (strings : x.strings = y.strings) :
    x = y
    def Cslib.Circuits.Arithmetic.Separation.Flat.instDecidableEqNodeView.decEq {k✝ ℓ✝ : ℕ} (x✝ x✝¹ : NodeView k✝ ℓ✝) :
    Decidable (x✝ = x✝¹)
    @[instance_reducible]
    @[instance_reducible]

    The polynomial of the complete network in the variables of the views, as printed in the paper: the sum, over the strings on all wires, of the product of the variables of what the nodes see.

    Renaming the views to the pairs of a node and strings gives the network polynomial.

    The clause sum #

    Lemma E.3 #

    theorem Cslib.Circuits.Arithmetic.Separation.Flat.isAffineProjection_networkPolynomial {k ℓ : ℕ} {K : Type} [Field K] {G : PolynomialFamily K} {c : ℕ} (hG : GridComplete G c) (hk : 2 ≤ k) (hℓ : 1 ≤ ℓ) {M : ℕ} (hM : c * k ^ 3 * ℓ * 2 ^ (k * ℓ) ≤ M) :

    The network polynomial is a projection of every family complete for grid sums. If G is complete for grid sums with blow-up c, k ≥ 2, ℓ ≥ 1 and M ≥ c k³ ℓ 2^{kℓ}, then f_{k,ℓ} is an affine projection of G.poly M.

    theorem Cslib.Circuits.Arithmetic.Separation.Flat.computedWithin_networkPolynomial {k ℓ : ℕ} {K : Type} [Field K] (h2 : 2 ≠ 0) (hk : 2 ≤ k) (hℓ : 1 ≤ ℓ) {M s : ℕ} (hM : 3 * k ^ 3 * ℓ * 2 ^ (k * ℓ) ≤ M) (hs : ComputedWithin ((permFamily K).poly M) s) :

    Paper: Lemma E.3 (p. 33). Let 2 ≠ 0 in K, k ≥ 2 and ℓ ≥ 1. If PERM_M is computed by a circuit with s nodes and M ≥ 3 k³ ℓ 2^{kℓ}, then f_{k,ℓ} is computed by one with 5 s nodes.