04. Mathematics
Functional equivalence with stated preconditionsFor a linear layer , input and output bases define and . Then . The implementation validates matrix dimensions and uses FP64/FP32/reduced-precision comparisons rather than shape checks.
Normalization and nonlinearity
RMSNorm coordinate gains are absorbed into every adjacent projection before basis conjugation: . This is exact only when the normalized output feeds no other operation. SwiGLU and GeGLU permit intermediate permutations and scaling of the non-gated branch; arbitrary dense rotations do not commute with coordinate-wise AdaLN.
Positional and recurrent operations
RoPE and interleaved MRoPE require each Q/K transform to commute with every 2×2 planar rotation and to share structure across a GQA group. Frame-wise DeltaNet uses and ; orthogonal conjugation gives and , preserving the normal-equation update.
Counterexample: a dense residual rotation does not preserve coordinate-wise AdaLN. Zero-shot diffusion uses signed permutations; dense residual bases require separately trained block-scalar modulation. The conjugation laboratory evaluates these relationships numerically.