Wozencraft bit selection in native space #
An evaluated coefficient word is the first half of the inner code. The second half is its product with the field point. With a native multiplication using the retained field context, a binary half and bit index suffice to read a coordinate in linear space.
Main results #
Turing.Wozencraft.bitWith_inSpace: native bit selection given the multiplication certificate.
One bit query to the Wozencraft inner code after polynomial evaluation.
- context : Context
Retained multiplication parameters, such as the modulus word.
The evaluation point as a coefficient word.
The polynomial value at the point, in the same coefficient order.
- half : ℕ
Zero for the evaluation half, or one for the product half.
- bit : ℕ
The binary index within the selected half.
Read one bit of the inner code in space linear in the encoded request, using the supplied multiplication certificate on the two coefficient words and their retained context.