Is math discovered or invented?
Hilbert championed an axiomatic approach in which mathematics is judged by the consistency of its formal systems. This emphasis treats mathematical objects as defined by the rules of the system rather than by an external reality.
What matters is that axiom systems are consistent and fruitful; mathematical existence amounts to freedom from contradiction.
Source: Foundations of Geometry