That actually kinda makes sense with what Loki told me. I mean, that's Asgardian magic. I guess this isn't THAT, but maybe there's the same root concept. Certain laws that just sorta carry across all magic? Same as the laws of physics basically.
But also if it's math, I can do math. I'm good at math.