Streaming signed measurement values #
The dimension is a runtime unary natural and the radius a runtime binary natural. The decoder uses the existing radix digits to produce ordinary signed integer lists. Count preparation and individual visits are polynomial in their full encoded input, even though the number of visits need not be. All coordinates remain present at radius zero; dimension zero has one empty tuple.
Only the current binary index, full parameters and captured accumulator persist. The decoder may use polynomial scratch (including a dimension-length range), but never constructs the whole measurement box. Index/box lists in the ordered-fold specification are not used by the native loop. The generic callback may grow its accumulator: polynomial whole-loop workspace requires an actual all-prefix accumulator invariant, not just a polynomial per-visit certificate.
This is the measurement-VALUE enumeration of [OAI26k], Lemma 3.2 and Proposition 3.4 (pp. 22–26). It is not formal mode-exponent enumeration, subset-pair traversal, rational coefficient accumulation or a complete runtime/ETH result.
Prepare the visit count in binary, charging the unary dimension and binary radius.
An actual fixed native count-preparation machine; no unary exponential count is produced.
Both preparation bounds are polynomial in the complete runtime pair encoding.
Decode the actual signed measurement values with unary dimension and binary radius/index. No fitting-index hypothesis is needed for this total polynomial-time decoder.
The fixed signed-tuple decoder has an actual polynomial native implementation.
The two selected decoder bounds are polynomial in its complete encoded runtime input.
The tuple code is polynomial in dimension and binary radius length, not in radius value.
Persistent streaming state (index, (params, acc)) of MeasurementFold.
Retained (params, acc) payload of a MeasurementFold state.
All prefixes follow the increasing-index order, with full parameters and captured state.
Exact ordered-fold specification. With measurementValues_coverage, every fitting signed
word is visited once. The materialized index/word lists occur only in this specification.
Streaming state (j, ((c, D), acc)) of runPrefix, a StreamState β: the current index j
in binary, then the dimension c in unary and the radius D in binary, then the captured
accumulator under encB. The index, the parameter pair and c inside it are framed; D and
the accumulator are not.
Input (((c, D), values), acc) of one callback: the dimension c in unary and the radius D
in binary, then the signed measurement values as a list of binary integers (encIntBin), then the
captured accumulator under encB. The triple ((c, D), values) is framed, and inside it so are
the parameter pair, c and each value; D and the accumulator are not.
Full encoded persistent-state bound under the actual prefix accumulator bound. It includes both retained parameters and the final binary counter, including at base one/dimension zero.
Prepare the complete runtime parameter/tuple/captured-state input to the callback.
The actual captured callback uses the proved direct decoder, retaining both parameters.
Polynomial per-visit bounds are derived from the actual callback and decoder machines.
One fixed native machine streams all measurement values. Count preparation is charged, time retains the visit-count factor, and workspace uses the existing all-prefix maxima. No whole-loop polynomial-time bound or polynomial accumulator invariant is assumed.