Actual initialized-input clients for the shared encoders #
Main results #
Encoding.exec_input: flat signed array, concrete depth header and actualState.init.Encoding.exec_left,Encoding.exec_right: all public tensor encodings, at every depth.
The two programs and their thirty-two registers are independent of depth and word width.
Inputs are signed words encoded with WordRAM.Signed.encode; the depth and the machine's
length header are ordinary unsigned words. All input and reachable data words fit the target
width. Output and scratch are disjoint concrete blocks immediately after the input.
References #
The encodings are from [AlmanWilliams2026, Section 2.4.1]; see Encoding for provenance.
The complete native encoder starts from the ordinary State.init convention with a
real depth header and encoded input words. It returns all flat shared-transform values, keeps
the input and every outside cell, and leaves only target-sized words in memory and registers.
Complete left encoder on arbitrary signed arrays indexed by the original seven-symbol
strings. Every one of the 10^L leaves receives the unchanged public encodingL value.
Complete right encoder on arbitrary signed arrays with the original encodingR API.