Incidence keys for concrete scatter routing #
Each scheduled (request, nonzero scalar) pair is one incidence. Its
routing key is (group, affine point). Within-group line disjointness and
within-line scalar injectivity imply that all incidence keys are distinct.
The same structured keys index the complete rectangular resource-slot array,
giving the exact source-to-destination map required by the verified routing
primitive.
A resource slot is identified by its request group and affine-space coordinate.
Equations
- Algebraic.MassProduction.IncidenceRouting.ResourceSlot groups dimension width = (Fin groups × (Fin dimension → Algebraic.MassProduction.BinaryExtension width))
Instances For
Structured slot requested by one scheduled line incidence.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Every scalar-indexed point belongs to its decoded request recovery set.
The scheduled (group, point) incidence keys are injective.
A fixed finite enumeration of all resource slots. The particular order
is irrelevant here; it reuses the existing Finite structure without
installing a Fintype instance.
Equations
- Algebraic.MassProduction.IncidenceRouting.resourceSlotEquiv groups dimension width = Finite.equivFin (Algebraic.MassProduction.IncidenceRouting.ResourceSlot groups dimension width)
Instances For
Structured resource slot at one canonical destination index.
Equations
- Algebraic.MassProduction.IncidenceRouting.resourceSlotAt destination = (Algebraic.MassProduction.IncidenceRouting.resourceSlotEquiv groups dimension width).symm destination
Instances For
Destination index of a structured resource slot.
Equations
- Algebraic.MassProduction.IncidenceRouting.resourceSlotIndex slot = (Algebraic.MassProduction.IncidenceRouting.resourceSlotEquiv groups dimension width) slot
Instances For
Flat row-major incidence index decoded as (request, scalar).
Equations
- Algebraic.MassProduction.IncidenceRouting.incidenceAt incidence = finProdFinEquiv.symm incidence
Instances For
Complete structured slot key of one flat incidence.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Flat incidence keys inherit injectivity from the structured schedule.
Concrete Boolean routing keys and destinations #
Width of an active/padding marker followed by group and affine-point bits.
Equations
- Algebraic.MassProduction.IncidenceRouting.incidenceKeyWidth groupBitWidth dimension width = groupBitWidth + dimension * width + 1
Instances For
Concrete marked Boolean key of a scheduled incidence.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Every structured resource slot occurs once in the destination array.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Destination index corresponding to one scheduled incidence.
Equations
- One or more equations did not get rendered due to their size.
Instances For
All padding records share the reserved padding-marker key. Repetition among padding records is harmless because active destination keys use the opposite marker.
Equations
- Algebraic.MassProduction.IncidenceRouting.incidencePaddingKey groupBitWidth dimension width = Algebraic.MassProduction.paddingRoutingKey fun (x : Fin (groupBitWidth + dimension * width)) => false
Instances For
Suffix payload carried by one flat scheduled incidence.
Equations
- Algebraic.MassProduction.IncidenceRouting.incidenceSourcePayload requestPayload incidence = requestPayload (Algebraic.MassProduction.IncidenceRouting.incidenceAt incidence).1
Instances For
Fully packed scatter input: scheduled incidences, one destination record
for every (group, point) slot, and reserved-marker padding records.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Concrete scatter theorem. Every scheduled incidence sends exactly its
request suffix to the destination indexed by the incidence's (group, point)
slot key.
Full key-space slot arrays for canonical ordering #
Destination key at a canonical lexicographic position in the complete
unmarked key space. Provisioning the full key space costs at most the usual
power-of-two rounding factor once groupBitWidth is chosen minimally.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Canonical full-key-space destination of one scheduled incidence.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Packed scatter input with one destination for every possible active key. This variant makes the destination prefix after canonical sorting completely independent of the run-time incidence subset.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Every incidence is routed correctly in the full-key-space scatter layout.