Earlier quoted context omitted.
All software can be reduced to mathematical formulae, which cannot be patented, so no. There should be no such thing as a software patent.
I'm very sympathetic to the idea of disallowing software patents; to my layman's sensibilities, so many of them are ridiculous, or after the fact grants of something that has been done in practice for years, or predatory, or all that and more. However, any physical machine or process can be reduced to the laws of physics, and you can't patent the laws of physics as far as I know. I don't think "reduced to mathematica…
It seems like the old pattern of "Patent a certain method of weaving brocade", then later "Patent a certain method of weaving brocade...on (mechanical) computers!"