ViT-Tiny un-fused embedding-gradient nodes at the per-example index #
Two per-example lemmas that ViTFoldGB lifts over the batch: the positional-table gradient
(posEmbedGrad_den) and the CLS-token gradient (clsGrad_den), each den-faithful at the RAW
gradient node every optimizer tail consumes. The fusion is rfl (StableHLO.lean's
*Sgd_eq_grad family), so each proof is its fused peer's (ViTPoC.posEmbedSgd_den,
ViTTiePoC.vit_cls_den) with the θ − lr· wrapper dropped. Every Adam artifact of this net renders
from the batched chain; its fold is ViTFoldGB.
Positional-embed GRADIENT denotes the certified gradient — the cotangent itself, since the positional table is added to every token and its Jacobian is the identity.
CLS-token GRADIENT denotes the certified gradient. The render slices row 0 of the embed
cotangent (clsSliceF) and then reduces it as a [1, D] batch, so the op is
denseBiasGradB at N = 1 and its den IS cls_token_grad. ⚠ Stated at the committed
ViT-Tiny dims rather than generically, for the reason ViTTiePoC.vit_cls_den is: the operand's
type is Vec (1 * D), which reduces to Vec D only at a literal D.
⭐ The fused peer's proof ends in vit_render_cls_certified, whose statement carries the
θ − lr· wrapper and has no un-wrapped twin; instantiating it at lr = 1 un-fuses it, which
is the same content as a *Sgd_eq_grad rfl read backwards.