Non-byte radix certificate widths

The implementation accepts every digit width b=8 through 32 with unchanged t=128/160 challenges. Native bounds and independent proof vectors cover all widths; installed-Wasm comparisons of b16/b20 belong to the third-round report. The original BIP340 challenges, full-field batch coefficients, ordered R/P/G statement and Fiat--Shamir domains remain unchanged. The existing seed already commits b, t, point count and every canonical proof byte. Original b8/b16/b32 proof and seed vectors remain exact controls.

Let m=ceil(256/b) and ell=256-b*(m-1). The final digit contains only ell live bits; its upper b-ell bits are zero. A generic digit extractor reads at most five source bytes into a u64 and masks exactly those live bits. The original byte widths keep direct fixed-size extraction. Reconstructing the original scalar from all digits never discards or reduces a bit.

For unsigned t-bit r, the exact integer maximum is

Cmax = (2^t-1)*[(m-1)*(2^b-1)+(2^ell-1)]
Cmax < m*2^(t+b) <= 2^(t+b+ceil(log2(m)))

Params::coefficient_bits uses that final conservative exponent, with ceiling logarithm rather than trailing zeros. All accepted widths still have S<=195; per-call equal-key sums remain below 204 bits and the curve order. Existing checked scalar admission and two leading recoder guard bits remain mandatory. There is no signed-challenge or weakened-entropy variant.

The main candidates at t128 are:

b m ell c bits W7 relation windows Base / checkpoint proof bytes Horner doublings Checkpoint SIMD groups
12 22 4 145 21 1411 / 2694 252 6
16 16 16 148 22 1026 / 1924 240 4
19 14 9 151 22 898 / 1668 247 4
20 13 16 152 22 834 / 1540 240 3
24 11 16 156 23 706 / 1284 240 3

b20 was the first screen: fewer relation bases and proof points retain 22 W7 windows, while 12 checkpoint recurrences exactly fill three SIMD groups. t160 adds 32 coefficient bits; b20 then uses 27 W7 windows versus 26 for b16, so that configuration needs its own measurement. b12 is a smaller-coefficient control with more terms and proof points; b19/b24 expose the neighboring Horner/window tradeoffs. All supported extended proofs remain below 4 KiB.

Query work remains explicit. A b20 full-column quartet needs four small-scalar windows at W6 versus three for b16. Its last quartet has only one column with 16 live bits, so the producer uses the existing within-MSM SIMD backend at 16 bits for that tail instead of a padded 20-bit radix4 call. The grouped producer does the same after exact digit folding, using ell+ceil(log2(q)) for its last-column bound. Other partial quartets pass only their actual two or three column lanes. Absent grouped fields stay zero and cannot carry into another column. These are execution choices; the proof bytes do not depend on the producer schedule. The qualification compares complete query costs, including filtering and normalization.

Canonical encoding requires ceil(m/8) flag bytes and zero unused high bits. The checkpoint suffix separately uses m-2 slots and its own masked flag byte. The final proof quartet copies only its live outputs; no nonexistent column is encoded or hashed. Normalization retains the original 8/16/32-point paths, adds exact 11/13/14-point paths for the main new candidates and uses identity padding to the existing 32-point batch converter for other counts.

Native tests are authored for every supported digit width, every single scalar bit, partial top digits and bitmap spare bits, all maximum coefficient bounds, partial grouped quartets, distinct proof oracles and real checkpoint roundtrips. New b20 seed/last-column vectors come from independently spelled Python hashlib framing. Source-only Python arithmetic checks passed 155,200 digit cases, 42,400 packed grouped quartets and 1,400 maximal-bound recoder schedules. Root owns all Rust compilation, installed-Wasm checks and actual IC cost qualification, recorded separately in the report. This coverage does not close the protocol's independent cryptographic review.