Except that idea is simply historically untrue. Patent were started primarily as a way to modernize the guild monopolies that were common place at the time, but were unsuited given the greater levels of globalization and international trade.
The idea that they were meant to serve as a way to reduce trade secrets falls flat in the face of the fact that most places with strong patent and copyright law, also have strong laws protecting trade secrets