The patents are disclosure in exchange for state granted monopoly. Or they should be - you do something amazing. No one can figure out how to do it - you tell them and they cannot use the tech for X years.
But right now people patent the end result. That is wrong.
But right now people patent the end result. That is wrong.