Documentation

CslibFrontier.Computability.Circuit.Frontier.TensorNetwork.BinaryWeights

Exact native contraction of large natural weights #

The binary-digit reduction, polynomial truncation, and logarithmic-linear precision give a native exact contraction of natural-number tensor tables. The certificate is correct on every network. On rows-first networks of fixed degree, with linearly many vertices and a polynomial total table bit length, it uses time poly(L) 2 ^ O(s / √⌊log₂ s⌋) and polynomial space, where s is the number of edges and L the complete encoded input length.

The input bound is on the binary lengths of weights; the weights' numeric magnitudes may be exponential in a fixed power of s. All constants and polynomial exponents are selected before the network. Polynomial preprocessing and Horner decoding preserve the exponential rate because the contraction's space bound charges its encoded output.

Main definitions #

Main results #

@[reducible, inline]

The native input encoding: a binary row count and the existing explicit natural network.

Derived precision and truncation order from the table bit bound.

Exact natural contraction. The degree parameter selects a finite-size fallback only; correctness holds for every input network and every row count.

Native exact contraction of fixed-degree natural networks with a polynomial number of weight bits. The encoded output is included in the polynomial space bound.