Generally speaking, mathematics is the abstraction of physics, that is, mathematics comes from the physical world, and physics is the basis of mathematics at this time. On the other hand, the expression and extension of physical laws need mathematical models and tools, and some physical phenomena and conclusions that cannot be observed under realistic conditions can be deduced from abstract mathematical models. From this perspective, mathematics is the foundation of physics.