Math is the programming language of the universe and physics is the rule book.
Some of those rules can be bent. Others can be broken.
That’s a good way to put it.
I’d personally amend it to this though:
Math is the language we use to write pseudo-code for the rules of the universe. It allows us to reasonably predict and share/write our understanding of the universe.
The best algorithms then match with the actual universe even if the real thing doesn’t use the math (looking at you -1, infinite points and black holes)
the cool theory you don’t understand is very likely also math
I would argue that physics is based more on experiments than math.
Physics is basically “some guy way cooler and way nerdier than you 100 years ago did some experiments observing this law, and because of that we can use really hard math to predict the whole universe.”
You’re not wrong, but we’re doing the experiments to test the theory, and that requires some math
Thats how it used to be. Now physics is eating its own theoretical tail.