Documentation

CslibFrontier.Computability.TreeEval.Ary.Packed.InterpolationSpace

Modular Lagrange basis evaluation within binary argument space #

The counter in basisWeight p s a x is stored in binary. Every modular accumulator is bounded by p+1, including malformed zero-modulus inputs. Thus the alphabet cardinality s contributes its binary encoding length, rather than s cells of work space. The native arithmetic certificates and bounded-counter iteration implement every multiplication, inverse and factor.

Main definitions #

Main results #

This certifies one interpolation weight, not the full grid sum or a Tree Evaluation machine.

@[reducible, inline]

Binary encoding of four natural parameters, in the order (p,s,a,x) for basisWeight.

A single factor uses only linear space in its four binary arguments (p,a,j,x).

The complete basis weight, including its binary counter, is computed in native work space linear in the binary encodings of (p,s,a,x). The statement is total: no prime or positivity hypothesis is needed for the resource certificate.