Documentation

Complexity.Computability.TreeEval.Reader.Cert.Weight

The weights of table entries within linear work space #

The weight Cslib.TreeEval.Reader.weight p ℓ k x y, the product of x j or 1 - x j over the low bits of k and the same over its high bits for y, is tidily computable within work space linear in the lengths of its encoded arguments and in ℓ. Its products are taken over a counter rather than a list of indices, and they stay short: below p, or, for p = 0, no longer than the registers together.

Main results #

Half of a weight, over a counter #

@[reducible, inline]

The encoding of the arguments of a weight.

Instances For

    The weight, weight p ℓ k x y from ((p, ℓ, k), x, y).