Skip to content

grip(ch9): standalone ML capability test chapter with residual block and Pre-LN Transformer derivations - #786

Merged
utensil merged 1 commit into
mainfrom
grip-pull-p3-20261204
Dec 4, 2026
Merged

utensil merged 1 commit into
mainfrom
grip-pull-p3-20261204

Conversation

@utensil

@utensil utensil commented Dec 4, 2026

Copy link
Copy Markdown
Owner

Adds standalone final Chapter 9 (grip-00B6–grip-00B9) testing Grip's existing Circuits calculus of action boxes, map boxes, and stationary closing (rules S, E, M, and equivariance grip-00B4) with zero new graphical families, interfaces, or primitive rules:

  • grip-00B6 & grip-00B7: Chapter 9 root and framing discussion (transcluded at the end of grip-0001, leaving Chapters 1–8 intact); updated \griproadmap in tex/grip.tex to a flush 9-chapter layout with a dashed Ch. 9 capability-test branch, plus chapter summaries in grip-0002, grip-0003, grip-0004, grip-006N, grip-006U.
  • grip-00B8 (Residual block): 3-step joint (y, \eta) stationary closing (S) + envelope (E) + copy–add pullback (M) deriving parameter gradients and the residual gradient highway, directly mirroring grip-00B5.
  • grip-00B9 (Pre-LN Transformer layer): Two Circuits diagrams (forward Pre-LN layer with smooth LayerNorm \varepsilon > 0 and FFN, plus dual-wire multiplier pullback showing the identity highway and 3-way Q, K, V cotangent sum), full S_N equivariance proof strictly inside Circuits, and explicit symmetry-breaking proofs for causal masks (N >= 2) and positional encodings.

Verified locally: forester build + ./lize.sh grip-0001 green (0 Ch. 9 Overfull \hbox), 10/10 readability pass, 0 notation findings, 0 prose flags on new Ch. 9 trees, all 4 rendered diagrams visually verified.

@utensil
utensil merged commit 7070a08 into main Dec 4, 2026
3 checks passed
@utensil
utensil deleted the grip-pull-p3-20261204 branch December 4, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant