Well before I want to start the discussion I'm not a mathematician however there is an ungoing argument for centuries , The mathematics is something we discovered and it was already there or it is an invention of human.
Well if we start with the relations of Mathematics with the other science branchs it tells us some about how the function of it works. Physichs can expand mathematics however it doesn't make the bond between them stronger. Mathematics only provide other science branches models in order to provide some understanding.
We should seperate the applied mathematics and pure mathematics from each other , because those physics formulas like getting out of results from a curvelinear integral only interests the area of physics. However it is only a method of calculation in mathematics.
as far as the laws of mathematics refer to reality, they are not certain, and as far as they are certain, they do not refer to reality. Albert Einstein
Well mathematics keeps its existance like physic rules without people discover them. As an instance eventhough we don't know the physical rules inside a black hole right now they don't stop being right there. Therefore I really think it is human ego to say something like we invented mathematics.
