This is a topic dear to me, as a mathematician I think it should all be done away with. Please tell me why, in a post scarcity world, (which we are aiming for as we are communists) would we have patents? Why would some arbitrary collection of thoughts 'belong' to one person? This is no different to a kulak hoarding grain, someone hoarding the means of which to accelerate/advance society.
It is pretty much literally impossible to do this in mathematics, it is a field pioneered by love. The only reason we have any of the devices which are deserving of patents is because they came from tinkering nerds, just imagine what world we'd have today (in regards to computing) if there were no closed source code? The only reason these devices exist because mathematicians sat down one day and wondering how they could do maths faster.
In another dimension, the concept of art being 'owned' is also fairly ridiculous, comparing it to software it takes time to create, but can be (essentially) infinitely redistributed now through jpgs and mp3s, to infinitesimal cost. At the end of the day why would you advocate for people's passions to be motivated by profit, rather than the love of the craft, the desire to create? The only reason it is an issue in our current time is because of the fact that if you steal some unknown persons good work, and turn a profit on it by switching it up a tiny bit, you can then create masses of profit for yourself, and this sits their accruing royalties while 99% of creators get nothing, again no different from a landlord.