Agreed that is a controversial subject, especially whether it is invented or dicovered. But the only place that I KNOW mathematics exists is among the cultures created by homo sapiens on planet Earth. In that sense saying it "invented by the human spirit" is not a non-sensical statement. Where else does it exist?
Maybe in things. That seems to be the basis of modern science.