Documentation

CslibFrontier.Algorithms.WordRAM.MatrixMultiplication.Schonhage.BoxQuery.CompleteLeaf

Completed native query tasks #

A full prefix is the same leaf decoded from its actual native decimal code. Its used-count is the existing signed order, and its initial-P0 count selects the existing starBelow box. These finite readbacks connect native leaf arithmetic to the original box-query value without supplying an intermediate layout or value certificate.

The real leaf of a completed prefix, retaining each original term in its original level.

Reading every completed prefix term recovers that prefix exactly.

The native prefix code uses precisely the existing leaf-array indexing.

The full prefix and actual decoded leaf have the same original numeric array position.

Native decimal decoding of the completed prefix recovers the actual leaf.

Compatibility of a complete tuple is exactly the existing contribution relation.

Complete compatible prefixes give actual contributing leaves.

The actual full-prefix used scalar equals the original leaf's signed order.

Consequently the actual native lookup addresses an emitted eligible directory entry.

That key is inside the real shared directory allocated by the constructor.

The native low/threshold branch and numeric key select precisely the finite query value.

The initial worklist's possible leaves are exactly the finite threshold-pruned query set.

The initial finite work potential uses the actual query cardinality.

Its alpha-count bound therefore charges exactly the sparse query family, not all leaves.

Original depth and encoding span also bound every possible initial task contribution.

At the original depth only the actual decoded leaf remains, without repetition.

A completed task's finite semantic sum is its actual full leaf's value.

Popping one completed task consumes exactly one unit of the work potential.