Exact execution costs through source program embeddings #
Typed call relocation preserves the existing compiler-derived count, including
the actual callee frame and returning-body work. The forward proof follows
ExecutionCost; reflection reuses realization reflection, existence of a cost
observation and its determinism. It therefore covers every target realization,
not only a chosen execution obtained by forwarding a source witness.
Statement bounds transfer in both directions with unchanged entry states and numerical bounds. They remain uniform over word widths and call capacities; neither transfer provides or assumes a budget-based termination argument.
Transport the existing returning-call charge along an equality of complete signatures. The actual function and its compiler-derived call overhead are unchanged.
Renaming calls through an actual program embedding preserves the exact compiled core count of the same realized execution.
Every realized execution of a renamed statement has the original count. Reflection first recovers the source execution; cost determinism then identifies its count with the given target observation, without assuming source termination.
Exact cost observations are invariant under typed source relocation.
A source bound applies to every realized target execution of the relocated statement, with the same mathematical entry and bound.
Reflect a uniform target statement bound to its original source statement.
Typed source embeddings preserve and reflect bounds over all realized executions, uniformly in word width and call capacity.