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.
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.
The IR convolution configuration emitted by lowering a conv node.
Instances For
The convolution payload written to the parameter store by lowering a conv node.
Instances For
A lowered conv node evaluates like the typed conv node. The IR evaluates a grouped, dilated
convolution with groups = 1, unit dilation, and symmetric padding, which agrees with the dense
Spec.convSpec used by the typed evaluator up to a shape cast.