A finite set of mathematical relations is the foundation of reality.
The objetive of science is to find those relations. As a consequence, science also attempts to clarify the ontological status of those mathematical relations. That is, to bring the metaphysical frontier in which they are deeply buried closer into the physical frontier.
If mathematics were reality itself, then reality would be an infinite substance, or an infinite number of substances, which would reflect in the impossibility of building physical laws.
(Ok, I want to believe that).
In any case, somehow, reality emerges to us as a deeply constrained thing. At the same time, science seems to have intrinsic limits to probe reality. Whether the former is a reflection of the latter, or vice-versa, seems to be our inescapable metaphysical ‘karma’.