Repository navigation
grip(ch9): standalone ML capability test chapter with residual block and Pre-LN Transformer derivations - #786
Merged
Merged
Conversation
…ock and Pre-LN Transformer derivations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds standalone final Chapter 9 (
grip-00B6–grip-00B9) testing Grip's existing Circuits calculus of action boxes, map boxes, and stationary closing (rulesS,E,M, and equivariancegrip-00B4) with zero new graphical families, interfaces, or primitive rules:grip-00B6&grip-00B7: Chapter 9 root and framing discussion (transcluded at the end ofgrip-0001, leaving Chapters 1–8 intact); updated\griproadmapintex/grip.texto a flush 9-chapter layout with a dashed Ch. 9 capability-test branch, plus chapter summaries ingrip-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 mirroringgrip-00B5.grip-00B9(Pre-LN Transformer layer): Two Circuits diagrams (forward Pre-LN layer with smooth LayerNorm\varepsilon > 0and FFN, plus dual-wire multiplier pullback showing the identity highway and 3-wayQ, K, Vcotangent sum), fullS_Nequivariance proof strictly inside Circuits, and explicit symmetry-breaking proofs for causal masks (N >= 2) and positional encodings.Verified locally:
forester build+./lize.sh grip-0001green (0Ch. 9Overfull \hbox),10/10readability pass,0notation findings,0prose flags on new Ch. 9 trees, all 4 rendered diagrams visually verified.