Computing binary-digit tensor entries in polynomial time #
The evaluator reads a natural table entry at the little-endian index of its port word and
returns its binary digits as natural coefficients. The table values and the index are in binary;
out-of-range indices return zero. Together with polynomial-time Horner evaluation at 2, this
supplies the input and output maps for exact natural counting through truncated contraction.
Main results #
ExplicitTensorNetwork.binaryEntry_polyTime: the uniform evaluator certificate.ExplicitTensorNetwork.binaryTableBound: a positive bit-length bound read from all tables.ExplicitTensorNetwork.size_le_binaryTableBound: every stored entry satisfies that bound.ExplicitTensorNetwork.binaryTableBound_polyTime: computing the bound in unary.ExplicitTensorNetwork.binaryTableBound_le: bounding it from table and entry lengths.
The binary-digit evaluator for an arbitrary natural table is polynomial-time.
One more than the encoded length of all table entries. It is a positive uniform bound on every entry's bit length, and can be computed from the explicit input.
The automatic table bound is positive, including when there are no entries.
A table-length bound and an entry-bit bound control the entire encoded table list.
The automatic bound is computable in unary in polynomial time.
Using the automatic bit bound makes the exact recovery statement unconditional.