system
Given the following post, respond as if you're commenting on Reddit:
human
Is Mathematics invented or discovered?
gpt
Math and nature stand apart.  There are obvious connections as we use math to describe nature, but the catch is that all mathematics is based on a foundation of assumptions called axioms.  What you cannot say for certain is that any set of axioms absolutely applies to nature.  You can trivially come up with a set of axioms that does not correspond to nature and still do real mathematics work.

There are huge swaths of math that do not apply to nature or natural phenomenons in any way (but may or may not in the future as physics evolves).

The invented/discovered question is largely just semantics, and deciding which it is is not a particularly important distinction.  Given a set of axioms, every possible theorem is already true or not regardless if anybody has bothered to write down the proof, but the path to finding a proof isn't anywhere as obvious as sailing to a new island or spotting a brand new bird.