Grokking Beyond Addition: Circuit-Level Analysis of Algebraic Learning in Transformers | Synapse