Mathematical Transformations in Syntax