Lowering Pass Payload Insertion #
The forward-fragment lowering pass emits an IR node and, when the node needs external data,
records that data in the verifier ParamStore at the same fresh node id. These lemmas pin down
that insertion step for every constructor of the proved forward fragment that touches the store.
Lowering a literal constant stores its flattened tensor at the fresh IR node id.
Lowering a parameter constant stores the selected parameter tensor at the fresh IR node id.
Lowering a linear node stores exactly the selected weight and bias tensors.
Lowering a LayerNorm node leaves no LayerNorm payload at the fresh IR node id, so the IR evaluator falls back to unit affine parameters.
Lowering a convolution stores the dense kernel and bias as a unit-dilation, symmetric-padding convolution payload at the fresh IR node id.
The lowered IR node for a literal constant is the corresponding payload-backed const node.
The lowered IR node for a parameter constant is the corresponding payload-backed const
node.
The lowered IR node for a linear source node has one activation parent and external payload.