The law does not stipulate that no math education will be punished by law, which is against the regulations.
Learning mathematics is to improve one's own quality, better serve life and study voluntarily, which has nothing to do with the law.