Well, mathematics wasn't discovered, so regardless of what the right word is, it isn't "discovered".
Most people would intuitively say "invent" rather than "discover" so that's what it is. Words are defined by their usage. If that results in a strange and unsatisfying definition then so be it.
https://writings.stephenwolfram.com/2022/03/the-physicalizat...