Agreement of the flat tensor transform with the public encodings #
The digit numbering is supplied by Mathlib's finFunctionFinEquiv. The explicit alphabet
numberings contain exactly the original seven variables and ten terms. The final mixed-radix
transform is encodingL or encodingR for every depth, including zero.
Main results #
Encoding.value_final_left,Encoding.value_final_right: unchanged public encoding semantics.
References #
The original encodings and coefficients are from [AlmanWilliams2026, Section 2.4.1], selectively
adapted from Anthropic, PBC's formal source; see Encoding for the exact pin and paths.
The numbered output position of a term string.
Instances For
The flat shared left transform equals the existing encodingL on every leaf.
The flat shared right transform equals the existing encodingR on every leaf.
The native stage's row-wise specification is the next shared-prefix value. This includes the quotient/remainder decomposition of its actual flat loop counter.