Execution through heap embeddings #
Injectively embedding a valid heap in a larger valid heap preserves and reflects execution, with the same program and exact instruction count. Allocation extends the initial address map; it never changes the images of previously allocated source records. Extra target records need not be absent, blank, or disconnected from the embedded records.
Main results #
Runs.embed,Runs.of_embed: transport runs in both directions, extending the address map.Executes.embed,Executes.of_embed: transport successful executions with their exact costs.State.Embeds.halts_iff: successful termination at a given cost is independent of heap placement.
This is a theorem about the machine in Defs, not a simulation of Tarjan's undefined-value traps.