The Algebraic Foundations of FlashAttention: Twisted Monoids · HackerTrans