Documentation

CslibFrontier.DataStructure.PriorityQueue.BinaryHeap.Native.Update

Native insert and decrease-key through the realized sift #

The existing memory programs keep their original queries and writes, calling the shared sift-up certificate directly via realize. Layouts, handles and keys are runtime words; the bound and typed operation in the entry domain are proof data only.

Main definitions #

Main results #

Argument delivery and initialization remain outside these installed-register certificates.

@[reducible, inline]

Runtime layout and handle word, followed by the new key.

@[reducible, inline]

Runtime layout and handle, followed by the new key.

Exactly the existing valid insertion at a well-formed heap, with the word handle bound visible. The key bound is proof data, not a parameter selecting emitted code.

Exactly the existing valid decrease-key at a well-formed heap.