Lowered Forward Evaluation: Payload-Backed Nodes #
One lemma per operator of the proved forward fragment whose lowering writes to the verifier
ParamStore: constants, linear layers, LayerNorm (which erases its own entry so the IR falls back
to unit affine parameters), and convolutions. Each lemma assumes the IR graph holds the node
emitted by lowerNode at index id and that the parameter store agrees with the lowering at that
id; it concludes that IR evaluation returns exactly what the typed evaluator evalNode returns.
The convolution theorem covers arbitrary spatial rank, but this source fragment is unbatched,
with one group, unit dilation, and symmetric padding. PayloadBridge separately relates the more
general parameter-store convolution to its IR evaluation.
A lowered const node evaluates like the typed const node.
A lowered paramConst node evaluates like the typed paramConst node.
A lowered linear node evaluates like the typed linear node.
A lowered layerNorm node evaluates like the typed layerNorm node. The lowering erases any
LayerNorm payload at the fresh id, so the IR evaluator applies unit affine parameters, matching the
typed evaluator's gamma = 1, beta = 0.
A lowered unbatched conv node evaluates like the typed conv node. The IR evaluates a grouped,
dilated convolution with groups = 1, unit dilation, and symmetric padding, agreeing with the dense
Spec.convSpec used by the typed evaluator up to a shape cast.