Local data-structure adapters for memory-client realizations #
The kernel represents the entire memory function. A finite-footprint data structure instead
supplies its existing SubroutineBase, including initialization, register ABI and locality.
Realizes.toStateTransitionImpl combines those boundary conditions with a semantic Module
over the memory oracle. It derives the native method execution from the single realization
certificate; callers do not supply another execution proof or intermediate assertions.
The adapter keeps the semantic method footprint and the resource inequality explicit. In
particular, global whole-memory equality does not satisfy finite-block rep_supported.
An upper ADT must prove its own local representation and initialization obligations.
Main definitions #
taggedMethod: retain the operation index in a typed method result.Realizes.toStateTransitionImplWithArgs: instantiate one global emitter at an ADT boundary.Realizes.toStateTransitionImpl: specialize to operation-indexed method families.
Retaining the operation index permits one faithful result encoding for dependent observations. This is an ordinary existing memory program, with no additional memory operation.
Tagging changes only the result; the memory state and operation history are identical.
Derive the existing finite-footprint Word-RAM implementation at the upper ADT boundary.
The supplied base already proves initialization and representation locality. entry matches
the actual register ABI; finish re-establishes that local representation from semantic module
correctness and the kernel's register frame. footprint is a semantic memory property of the
method, and pay is a pure inequality for the already certified combined instruction currency.
The argument map instantiates an already selected global emitter; runtime layouts stay encoded
data rather than choosing new code for each object. Neither obligation introduces an extra
execution semantics or grants free native glue.
Operation-indexed specialization of the global argument-map adapter.