It goes beyond that though. The fun thing about math is it could still be done even if this universe didn't exist. If nothing we know of existed, we couldn't talk about color or shape or time, etc. But all the math we know right now would still exist.
True, but would it apply to all potential universes? One can posit a universe where all numbers are 1 and all math equations reduce to 1.
I'm tired right now, that's a little too abstract for me.
Off the top of my head, I'd say there's no such thing as a reality that is self contradicting. A sort of "can God make a rock so heavy he can't lift it" argument... so while maybe there is some sort of arrangement where all equations are 1 (whatever that means) it can't be self-inconsistent... and as long as it's logical, then it can be expressed mathematically, and so math "works" in all potential universes.
Or
Or maybe not, and sometimes math breaks. That's a little too imaginative for me right now though heh. Maybe some sort of true randomness formulation where logic exists but is irrelevant.
... you start with an intuitive notion of a mathematical object - eg the counting numbers - then you find some axioms that represent your intuition. ...
In the link I gave those axioms are just the logical axioms.
Then you are off to the races (as say Euclid was).
Only more or less if you read the Elements, but you'd hardly say it wasn't mathematics.