Humans invented mathematics.

The patterns, values and trends that mathematics describes have existed since the world began (possibly earlier) and always will but the symbols and equations we use to explain these things - the language we call maths - are of humanities creation.

It's interesting that your understanding of math is of a language rather than the values they describe.

I imagine that in the absence of humanity and therefore the language of math, the universe still functions and principles therefor exist. So I feel technically we discovered it much the same as we discover distant objects and the remains of strange creatures from millions of years ago and then name them accordingly.

I think it all comes down to how you understand what mathematics really is. For me it's what's behind the language.