Recovering natural tensor contractions from binary-digit polynomials #
Replace each natural table entry by the polynomial of its binary digits. Its value at 2 is
the original entry, so evaluating the polynomial contraction at 2 recovers the natural
contraction. The coefficients of a local polynomial sum to at most the bit length of its entry.
If every entry has at most B bits, the polynomial contraction has degree at most
(B - 1) * G.vertices.length and coefficient sum at most
2 ^ G.numEdges * B ^ G.vertices.length. Thus precision
G.numEdges + G.vertices.length * B.size + 1 suffices to recover every coefficient exactly.
The bounds apply to arbitrary explicit networks, including empty tables and isolated edges.
Main definitions #
ExplicitTensorNetwork.binaryEntry: a table lookup returned as binary-digit coefficients.ExplicitTensorNetwork.binaryDegreeBound: the total degree bound.ExplicitTensorNetwork.binaryPrecision: a sufficient coefficient precision.
Main results #
ExplicitTensorNetwork.eval_two_polyContraction_binaryEntry: evaluation recovers contraction.ExplicitTensorNetwork.natDegree_polyContraction_binaryEntry_le: the degree bound.ExplicitTensorNetwork.eval_one_polyContraction_binaryEntry_le: the coefficient-sum bound.ExplicitTensorNetwork.evalCoeffList_truncContraction_binaryEntry: exact recovery from the truncated contraction at the derived degree and precision.
The degree bound when every table entry has at most B bits.
A coefficient precision for a network whose entries have at most B bits.
Evaluation of the binary-digit contraction at 2 is the original natural contraction.
The degree of the binary-digit contraction is bounded by the entry bit lengths.
The coefficient sum is at most the number of edge assignments times B per vertex.
The derived precision strictly exceeds every coefficient of the polynomial contraction.
The truncated contraction at the derived parameters recovers the whole polynomial.
Exact natural contraction by Horner evaluation of the recovered coefficient residues.