The long river of history has verified the correctness of materialism; Mathematics is applied to physics to solve cosmic problems.
The relationship: Mathematics and physics are universal tools, and mathematics can be used as a tool of physics.