Constants #
Constant-node correctness for the IR -> compiled runtime bridge.
The IR .const s node reads an external payload entry and appends that value to the execution
table. This file proves that the compiled GraphData node produced by buildFrom appends exactly
the same tensor as the IR denotational evaluator.
Keeping this proof outside the recursive semantic-equivalence theorem matters for readability: the top-level theorem should read as a dispatcher over named semantic cases, not as a long script that re-proves every operator branch inline.
Build note: .const is semantically straightforward but proof-intensive because the value arrives
through the payload table and must be re-packed as a typed compiled node. Named payload lookup
facts keep this proof focused instead of turning it into a long simp script.
Main definitions #
buildFrom_denoteAllFrom_const: semantic-preservation step for.const.
Semantic-preservation lemma for .const s lowering.