Documentation

CslibFrontier.Computability.WordRAM.PointerMachine.Operations

Concrete word-RAM operation routines #

Memory operations call the verified linked AVL dictionary. Scalar operations use the source arithmetic basis directly. Register zero carries an address as scalar data, never as a heap pointer. Each routine halts locally, so the compiler can relocate it to a continuation.

A halting pointer-machine routine for each standard word-RAM data operation.

Every successful source data operation has a concrete halting pointer-machine routine. A write adds at most one stored address; every routine costs at most a fixed linear function of the AVL height, hence logarithmic time in the number of stored addresses.