Username or EmailPassword
I think that the assertion "Software is math" is a bit misleading. A piece of software can be described with mathematics, just like you could describe a piston with mathematics (dimensions, physical composition/atomic makeup, etc).
However, this doesn't mean that the problem the software (or physical device) solves isn't solved in an ingenius way! So, I feel there is room for software patents, as it seems they are there to encourage people to come up with inventions to solve problems.
That isn't to say the system isn't broken:
Slide to unlock? That's been featured on bathroom doors since forever!