Runtime-prefix mass-production pipeline #
Building on the focused request, scheduling, and dynamic-pipeline layers, this
module replaces the hardwired-prefix front end of RoutingAssembly. Every
request supplies its prefix and suffix at runtime. The prefix determines both
its tensor-code target point and a one-hot basis-coordinate selector; the
suffix is passed unchanged to the routed resource bank.
All reindexing and padding layers are explicit zero-gate wiring circuits. No type-class instances are introduced.
Complete runtime-prefix assembly #
Row-major suffix array of the original runtime request input.
Equations
- Algebraic.MassProduction.RuntimePipeline.runtimeSuffixArray input flat = Algebraic.MassProduction.RuntimePipeline.requestSuffix input (finProdFinEquiv.symm flat).1 (finProdFinEquiv.symm flat).2
Instances For
Row-major one-hot selectors determined by all runtime prefixes.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Runtime packing for every request, followed by deterministic grouped scheduling and retention of every suffix and selector bit.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The exact gate count of runtimeScheduleSuffixSelectorCircuit.
The complete exact mass-production circuit with runtime prefix and suffix bits for every request.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Complete runtime mass-production circuit: schedule, scatter, evaluate, gather, and decode every requested output.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The exact gate count of circuit.
The complete runtime circuit returns every requested value in its original request position. In particular, the selected prefixes are runtime data, not nonuniform parameters of the constructed circuit.
Public direct-product form of circuit_recovers: the constructed circuit
computes the standard row-major totalRequests-fold direct product.
Fully expanded finite ledger. All zero-cost wiring has disappeared; the only terms are packing, scheduling, the shorter resource circuits, two routing passes, and runtime decoding.