They say arithmetic but I think they mean geometry. And the math part is not really what gets me. It's that she discovered what symbols, shapes, and patterns create anything at all let alone narrowing it down to a specific effect through "a lot of trial and error". I mean that was a complicated pattern for a low tier spell.