Documentation

CslibFrontier.DataStructure.PriorityQueue.FibonacciHeap.Native.Extract

Native extraction of the original indexed Fibonacci heap #

The native source detaches the minimum, reuses the original two root-list phases and table scan, and returns the unshifted optional handle/key words. Its exact program erases only the original typed handle. Source admissibility, the allocated representation and the original forest invariant remain distinct requirements.

Main results #

The original allocated indexed-heap invariant and its current word envelope. Capacity zero is retained; this predicate introduces no stronger key, layout or abstract-space contract.

One uniform native certificate for the complete original extraction source, with only its typed result erased. The existing heap invariant supplies every reached phase domain; its nonzero amortized potential is retained for operation-family and caller transport.