Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Flat.NetworkTensor

The tensor of the network polynomial, and its hubs #

The coefficients of the polynomial f_{k,ℓ} of the complete network form a tensor on the ends of the wires of [Ant26] (p. 33): the end ⟨e, false⟩ of the wire e is at its node e.low, the end ⟨e, true⟩ at e.high (Flat.Pair.node), and every end holds the string of ℓ bits that the node at it sees on the wire. This tensor T_{k,ℓ} (Flat.networkTensor) is the product of one wire of dimension 2^ℓ for every wire of the network: its entry is the coefficient of f_{k,ℓ} at the monomial of the views (Flat.networkTensor_entry), and a spectral point F at T_{k,ℓ}, with the ends given to parties by π, is 2 ^ (ℓ ∑_e d_F(π ⟨e, false⟩, π ⟨e, true⟩)) (Flat.apply_push_networkTensor).

In the proof of Proposition E.5 (pp. 33–34) Lemma A.3 (p. 19) routes T_{k,ℓ} through two hubs o₁, o₂ for a balanced set S of nodes: a wire of dimension 2^ℓ joins every end at a node of S to o₁ and every other end to o₂, and a wire of dimension L joins the hubs (Flat.hubTensor). A spectral point at this tensor is 2 to the power ℓ times the sum of the wire exponents from the ends to their hubs, plus lg L times the wire exponent between the hubs (Flat.apply_hubTensor).

Main definitions #

Main results #

References #

The node at an end of a wire: e.low at the end false, e.high at the end true.

The tensor T_{k,ℓ} of the network polynomial on the ends of the wires (p. 33): the unit tensor of size 2^ℓ on the two ends of every wire.

The entries of T_{k,ℓ} are the coefficients of the network polynomial: with the index at every end read as a string of ℓ bits, the entry is the coefficient of the monomial of what the nodes see.

theorem Cslib.Circuits.Arithmetic.Separation.Flat.apply_push_networkTensor {k ℓ : ℕ} {K : Type} [Field K] {I : Type} [Fintype I] [DecidableEq I] (F : PartyTensor.SpectralPoint K I) (π : (_ : Pair k) × Bool → I) :
F.toFun (PartyTensor.push π (networkTensor K k ℓ)) = 2 ^ (↑ℓ * ∑ e : Pair k, F.wireExponent (π ⟨e, false⟩) (π ⟨e, true⟩))

A spectral point at T_{k,ℓ} with the ends at the parties π.

def Cslib.Circuits.Arithmetic.Separation.Flat.hubTensor {k : ℕ} {I : Type} [DecidableEq I] (K : Type) [CommSemiring K] (ℓ L : ℕ) (π : (_ : Pair k) × Bool → I) (S : Finset (Fin k)) (o₁ o₂ : I) :

The tensor of Lemma A.3 for a set S of nodes (proof of Proposition E.5, p. 34): a wire of dimension 2^ℓ from every end, at the party π of the end, to the hub o₁ if its node is in S and to o₂ otherwise, and a wire of dimension L between the hubs.

theorem Cslib.Circuits.Arithmetic.Separation.Flat.apply_hubTensor {k ℓ : ℕ} {K : Type} [Field K] {I : Type} [Fintype I] [DecidableEq I] (F : PartyTensor.SpectralPoint K I) {L : ℕ} (hL : 1 ≤ L) (π : (_ : Pair k) × Bool → I) (S : Finset (Fin k)) (o₁ o₂ : I) :
F.toFun (hubTensor K ℓ L π S o₁ o₂) = 2 ^ (↑ℓ * ∑ a : (_ : Pair k) × Bool, F.wireExponent (π a) (if a.fst.node a.snd ∈ S then o₁ else o₂) + F.wireExponent o₁ o₂ * Real.logb 2 ↑L)

A spectral point at the tensor of Lemma A.3 with a wire of dimension L ≥ 1 between the hubs.