Constructive selection of a fresh projective direction #
This module joins the verified packed sorter, least-missing selector, and projective unranker. Its input is a power-of-two array of forbidden projective ranks, with duplicates or unused positions optionally padded by the projective sentinel. Under the exact projective-capacity inequality it returns the canonical packed vector of a direction whose rank occurs nowhere in the input array.
The construction is the rank-selection core of the manuscript's greedy scheduler. Generation of the forbidden-rank array from prior recovery points, and iteration of this core over all requested targets, are kept as separate layers.
Sort a power-of-two array of packed ranks in ascending order.
Equations
- Algebraic.MassProduction.FreshDirection.sortedRankBits depth rankWidth input = Algebraic.MassProduction.Sorting.bitonicSortBits ⋯ depth true input
Instances For
Pure semantics of selecting the least missing rank after sorting.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Exact gate count of the input sorter followed by least-missing selection.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Explicit circuit selecting a fresh valid packed projective rank.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Sentinel-aware rank selection: only input records strictly below the projective sentinel consume direction capacity.
Under the total-array direction-capacity inequality, rank selection returns a valid projective rank absent from the original input array.
Exact gate count after appending projective unranking.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Explicit circuit returning a canonical packed representative of a fresh projective direction.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Sentinel-aware direction selection.
The direction circuit returns the canonical key of a projective direction whose rank was not present in the input array.
A uniform polynomial bound for sorting and least-missing selection.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A uniform polynomial bound after appending projective unranking.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A uniform polynomial cost bound for the fresh-rank circuit.
Appending unranking preserves a polynomial gate ledger.