Is mathematics discovered or invented?

U of T philosopher James Brown on the rules of the study