Discovered, no one created all the laws of mathematics, they've always been there. It's not like they didn't exist before people knew about them; that wouldn't make sense
Mathematics or science were always present, but in an abstract form. Humans 'invented' some parts to make it work in our heads so we could get an image of science and mathematics ?