Networks of tensors #
A tensor that is the value of a network is a restriction of the product of the wires on the
edges of the network and of the tensors at its vertices, wherever the vertices are placed
(PartyTensor.push_le_of_network, and PartyTensor.push_le_of_edges without tensors at the
vertices). The statements are about functions, not graphs: the edge e has the ends a e and
b e and labels in Λ e, the vertex v is placed at the party ξ v and has a table T v, a
function of all labels that is local: it depends only on the labels of the edges at v, on the
legs of the tensors at v and on the indices held by the party of v. This is the contraction of
a tensor network (Cslib.Circuits.Frontier.TensorNetwork.contraction) with open legs at the
parties, and with an index set of its own on each edge.
Special cases are that the wire ⟨q⟩_uw is a restriction of ⟨q⟩_uv ⟨q⟩_vw
(PartyTensor.wire_le_mul_wire, from the proof of Lemma A.2 of [Ant26]), the same
for trees, and moving legs along wires (PartyTensor.push_le_mul_push).
Main definitions #
Cslib.PartyTensor.outer,Cslib.PartyTensor.outerPair: products of tensors with separate legs.
Main results #
Cslib.PartyTensor.push_le_of_network,Cslib.PartyTensor.push_le_of_edges: networks.Cslib.PartyTensor.antisymmRel_push_outer,Cslib.PartyTensor.antisymmRel_push_outerPair: pushing products with separate legs.
References #
- Anthropic, VP ≠ VNP over every field, paper and Lean formalization,
module
Ov.Core.Network
The product of tensors with separate legs.
Giving the legs of a product with separate legs to parties.
The product of two tensors with separate legs.
Giving the legs of a product of two tensors with separate legs to parties.
A sum over pairs of labels that must be equal.
Networks. The vertices v are placed at the parties ξ v, the legs j of s are held
by the parties π j. There are edges e with labels in Λ e and ends a e, b e, and tensors
t k with their legs m at the vertices ρ k m. Each vertex has a local table T v: it depends
only on the legs of s held by the party ξ v, on the labels of the edges at v, and on the legs
of the t k at v. If s is the sum over all labels of the product of the tables and of the
t k, then s is a restriction of the product of the wires on the edges and of the t k, all at
their places.
Networks without other tensors: if s is the sum over all labels of the edges of the product
of local tables, then s is a restriction of the product of the wires on the edges, at their
places.