Whatever you imagine mathematics to be, you can be sure that's not what it is. Many scientists believe that non-analytic energy "strings" are the foundations of reality. In fact, strings are science's 1-dimensional version of 0-dimensional mathematical sinusoids, the true analytic basis of energy.
We live in a mathematical universe, not a scientific universe. Science is a manmade approximation to ontological mathematics.
Science works solely because it uses mathematics. If it didn't use mathematics, it would be useless, exactly as it was before it embraced mathematics, when it was alchemy.