An indexed Justesen bit from a retained field context #
Decode the indexed field point, evaluate the binary label's packed coefficient blocks and select the indicated Wozencraft bit. The workspace bound composes the certificates of these operations and charges the retained modulus and decoded point to the encoded request.
Cslib.Code.JustesenFamily.fieldContext_indexedBit_eqidentifies the result with the existing table-free indexed bit.Cslib.Code.JustesenFamily.fieldContext_indexedBit_inSpacecomposes the native space bounds for decoding, packed Horner evaluation and bit selection.
Compute one Justesen bit from a retained field context, a binary label and a binary index.
theorem Cslib.Code.JustesenFamily.fieldContext_indexedBit_eq {w n : ℕ} (label : Fin w) (index : Fin (codeLength w n)) :
At valid labels and indices, the retained-context evaluator returns the existing indexed table-free Justesen bit.
@[reducible, inline]
Framed (retained field context, binary label), followed by the binary bit index.
theorem Cslib.Code.JustesenFamily.fieldContext_indexedBit_inSpace :
Turing.MultiTapeTM.ComputableInSpace
(fun (x : (FieldContext × ℕ) × ℕ) =>
match x with
| ((ctx, label), index) => ctx.indexedBit label index)
encIndexedBitInput Turing.MultiTapeTM.encBool fun (p : (FieldContext × ℕ) × ℕ) => (encIndexedBitInput p).length
The indexed bit uses workspace linear in the encoded context, label and index.