Finite prefixes for the native sparse box query #
Tasks retain an ordinary list of existing tensor terms. Their machine fields are its length, little-endian decimal code, number of non-P0 inner choices, and initial P0 count. The definitions describe finite prefix data, with no execution or resource certificates.
Extend an output beyond its real depth only to make prefix operations total.
Existing native term digits accumulated in least-significant-first order.
Number of inner non-P0 choices in a prefix beginning at the supplied level.
Initial inner P0 choices, ending at the first non-P0 inner coordinate.
Prefix compatibility uses the existing tensor contribution relation at each coordinate.
Instances For
A valid logical task is a compatible prefix within the original order budget.
Instances For
Appending one real term gives the actual native add/multiply code update.
Every partial code is below the next actual decimal power.
Inner-choice counts add across adjacent prefix segments.
Initial stars continue into a later segment exactly while no inner non-P0 occurred.
Compatibility composes along real adjacent coordinates.
The actual used-count update when a child term is appended.
The actual initial-star update needed by a threshold box key.
Permitted child terms, expressed using existing contribution and the real order budget.
Each actual child has precisely the same finite validity test as the prefix invariant.
At an inner coordinate, P0 is always available and indexed terms require spare budget.
At an outer coordinate only its existing private term is permitted.
Every internal valid task has a child, independently of the remaining order budget.
Ordered children matching the native push order, with P0 first at inner coordinates.
The ordered native family contains exactly the existing permitted terms.
Each native child is a valid later prefix.
Each child advances exactly one original level.
Distinct native labels give distinct children, including the distinguished P0 branch.
The native constant-size fanout never exceeds ten tasks.
The ordered native children are the image of the finite permitted label set.