Software patent debate. The software patent debate is the argument about the extent to which, as a matter of public policy, it should be possible to patent software and computer-implemented inventions. Policy debate on software patents has been active for years. The opponents to software patents have gained more visibility with fewer resources through the years than their pro-patent opponents. Arguments and critiques have been focused mostly on the economic consequences of software patents.

One aspect of the debate has focused on the proposed European Union directive on the patentability of computer-implemented inventions, also known as the "CII Directive" or the "Software Patent Directive," which was ultimately rejected by the EU Parliament in July 2005.

Arguments for patentability 
There are several arguments commonly given in defense of software patents or defense of the patentability of computer-implemented inventions.

Public disclosure
 Through public disclosure, patents encourage the open sharing of information and additional transparency about legal exposure.
 Through public disclosure, patents encourage the transfer of mechanical technology, which may apply more broadly.

Economic benefit
Software patents resulting from the production of patentable ideas can increase the valuation of small companies.
Software patents increase the return on investment made, which includes government funded research.

Encouragement of innovation
The ability to patent new software developed as a result of research encourages investment in software-related research by increasing the potential return of investment of said research.

Copyright limitations

Patents protect functionality. Copyright on the other hand only protects expression. Substantial modification to an original work, even if it performs the same function, would not be prevented by copyright. To prove copyright infringement also requires the additional hurdle of proving copying, which is not necessary for patent infringement.

Copyright law protects unique expressions, while patent law protects inventions, which in the case of software, are algorithms; copyright cannot protect a novel means of accomplishing a function, merely the syntax of one such means.

This means that patents incentivize projects that are unique and innovative in functionality rather than simply form.  Copyrights, in turn, only incentivize uniqueness in form.

Protection for small companies 
Software patents can afford smaller companies market protection by preventing larger companies from stealing work done by a smaller organization, leveraging their greater resources to go to market before the smaller company can.

Hardware patents analogy
Hardware and software are sometimes interchangeable. If people can patent hardware, then ideas describing software implemented by that hardware should also be patentable.

Arguments against patentability 
Opponents of software patents argue that:

Software is math 
A program is the transcription of an algorithm in a programming language. Since every (Turing-complete) programming language implements Church's lambda calculus by virtue of the Church-Turing thesis, a program is thus the transcription of a mathematical function. Math is not patentable. Therefore, neither is software.

Software encourages patent thickets
A patent thicket is a dense web of patents that companies must decipher to develop new technology. There are various types of patent thickets such as when a single innovation is protected by multiple patent holders or when a product is covered by numerous patents. The consequences of patent thickets are increased difficulty of innovation, complex cross-licensing relations between companies, and discouragement of newcomers from entering the software industry.

Hinders research and development
 Some scientific studies and expert reviews have concluded that patent systems paradoxically hinder technological progress and allows monopolies and powerful companies to exclude others from industrial science in a manner that is irreconcilable with anti-trust laws.
 Gary Becker, Nobel Prize–winning economist, argues, "Their exclusion from the patent system would discourage some software innovations, but the saving from litigation costs over disputed patent rights would more than compensate the economy for that cost."

Hinders innovation
 The Electronic Frontier Foundation published the Defend Innovation whitepaper after doing two and a half years of research on software patents. They concluded that many overbroad software patents are being awarded, which is actually stifling innovation.
 Interoperability is thought to promote innovation, and patent systems have the potential to block the development of such technologies.
 There has been a lack of empirical evidence to suggest that patents have any positive effect on innovation, and furthermore, the system primarily “encourage[s] failing monopolists to inhibit competition by blocking innovation.”

Cost and loss of R&D funds
Should a software developer hire a patent attorney to perform a clearance search and provide a clearance opinion, there is no guarantee that the search could be complete. Different patents and published patent applications may use different words to describe the same concepts and thus patents that cover different aspects of the invention may not show up in a search. The cost of a clearance search may not prove cost effective to businesses with smaller budgets or individual inventors.
 For the U.S. the economic benefit is dubious. A study in 2008 found that American public companies’ total profits from patents (excluding pharmaceuticals) in 1999 were about $4 billion, but that the associated litigation costs were $14 billion.
 Software developers and hardware manufacturers may be forced to pay license fees for standards that are covered by patents (the so-called essential patents). Some examples are H.264, MP3 and GIF (that uses the patented LZW compression algorithm) and JPEG for graphics.

Copyright
It is argued that traditional copyright has provided sufficient protection to facilitate massive investment in software development.
Copyright is the right of an author(s) to prevent others from copying their creative work without a license. Thus the author of a particular piece of software can sue someone that copies that software without a license. Copyright protection is given automatically and immediately without the need to register the copyright with a government, although registration does strengthen protection. Copyrighted material can also be kept secret.

Software is different

 Software programs are different from other electromechanical devices because they are designed solely in terms of their function. The inventor of a typical electromechanical device must design new physical features to qualify for a patent. On the other hand, a software developer need only design new functions to create a working embodiment of the program.
 Software is a component of a machine. The computer’s hardware is generic; it performs functions that are common to all of the software that is capable of being executed on the computer. Each software program that is capable of executing on the computer is a component of the computer.
 Computers "design" and build the structure of executable software. Thus, software developers do not design the executable software's physical structure because they merely provide the functional terms.

Trivial patents
Anecdotal evidence suggests that some software patents cover either trivial inventions or inventions that would have been obvious to persons of ordinary skill in the art at the time the invention was made.
Patent examiners rarely have a comprehensive knowledge of the specific technologies disclosed in the patent applications they examine. This is in large part due to the enormous number of micro-niches in the software field and the very limited number of hours (often less than 8 h per patent) available to examiners to review patent applications. So, patents are sometimes allowed on inventions that appear to be trivial extensions of existing technologies.

Open source disadvantage

 The free and open source software community, and many companies that use and contribute to open source oppose software patents because they can impede or prohibit the distribution of free software. They contend that patents threaten to undermine FLOSS, regardless of innovations produced by FLOSS collaborations.

Software patents' usefulness as an information source is limited
Some patent disclosures in the software field are not readable to some programmers; as a result, patents are rarely used as a source of technical information by software developers.

Long patent pendencies
 In the software industry, product lifecycles churn rapidly; a product can run through its entire lifecycle and become outdated during the time it takes a patent filed on the invention underlying it to issue.
According to the United States Patent and Trademark Office’s official statistics for 2015, the average pendency for patent applications categorized under “Computer Architecture, Software, and Information Security”  was approximately two and a half years, exceeding the pendencies of all other patent categories.
The average total pendency of European technology patents in 2015 was approximately two and a half years. Technology patents in China, Korea, Japan, and Europe had first action pendencies of approximately one year compared to those in the United States, with first action pendencies of under two years. Europe and the United States have the longest total pendencies of around 26 months, while China, Korea, and Japan have shorter total pendencies from 15 to 21 months.

Patent trolls
Software companies are becoming patent hoarders, spending billions of dollars on accumulating patents and even more on litigations and settlements – resources could be better put to use in creating new and innovative software advances. Too many patents are given out, making it difficult for developers to create new software due to possibility of accidental infringement. Engineers say it impedes their creativity.
In 2016 IBM earned 8,088 U.S. patents; thus earning the most grants from the U.S. Patent Office for the 24th year in a row. They bested their closest tech rival by more than 2,500 patents. Behemoths like IBM, Google, and Oracle gather as many patents in the fields considered 'hot' such as Artificial Intelligence to limit the innovation potential of smaller firms. Patent claims were part of the Oracle America, Inc. v. Google, Inc. case, where Oracle claimed that Google's implementation of Java within Android violated Oracle's copyright and patents. Duke Computer Science Professor Owen Astrachan was involved in the case. 
Not only large companies are patent hoarders. NPEs (Non-Practising Entities) are businesses that assert patents through litigation to achieve revenues from alleged infringers without practising or commercialising the technology covered by the patents they hold, and generally without being the original inventor. NPEs are very effective in their litigations. Damages awards for NPEs almost are 3 times greater than practicing entities over recent years.  NPE lawsuits are associated with half a trillion USD of lost wealth to defendants, mostly technology companies, from 1990 through 2010. These lawsuits substantially reduce technology developers' incentives to innovate.

Disproportionately harms startups
 Patent assertion entities (patent trolls) disproportionately affect startups, which are important for job creation and innovation. Companies with less than $100M annual revenue represent two-thirds of unique defendants in troll suits. A large percentage of startups reported that being sued by trolls resulted in significant operational impact.

U.S. Supreme Court decisions 
Several Supreme Court decisions since 2000, as well as the Federal Circuit and district court decisions interpreting and implementing them, have dramatically impacted the status of software patents in the United States. They have particularly affected many thousands of business-method patents that issued as a result of Federal Circuit decisions in the 1990s. The two principal Supreme Court decisions were Bilski v. Kappos and Alice v. CLS Bank, the latter of which confirmed the applicability of the earlier decision Mayo v. Prometheus to computer-related inventions in which a computer was used to implement an abstract principle or preexisting business practice. See also Software patents under United States patent law.

Bilski case 
The Bilski case involved a patent application on methods for hedging against commodity price fluctuations, which the PTO had rejected. The Federal Circuit, in In re Bilski, upheld the PTO's rejection on the grounds that the claims failed the machine-or-transformation test, which the court held should be used as the sole test of patent eligibility. The court did not hold that all business methods are patent ineligible, though a minority of the judges would have ruled that business methods are not properly the subject of patents.

The Supreme Court affirmed the judgment of ineligibility, in Bilski v. Kappos, but on more general, and less articulated in detail, grounds of undue abstractness. It rejected the Federal Circuit's elevation of the machine-or-transformation test as the sole test of patent eligibility, saying that rather it was simply a "useful clue." The 5-4 majority refused to hold that all business methods were incapable of being patented, but four justices would have established such a rule. A concurring opinion pointed out that the Court was unanimous, however, as to many issues in the Bilski case, including a rejection of the Federal Circuit's late 1990s State Street Bank decision, which allowed patents on any advance, technical or nontechnical (and in that case a numerical financial calculation of stock price changes) that produces a "useful, concrete and tangible result."

The Supreme Court's Bilski decision was criticized because of its lack of detailed guidance on how to determine whether a claim was directed to an abstract idea. Nonetheless, it provided some clarification and affirmed the Federal Circuit's taking a new direction in its software-related patent cases.

Mayo case 
In Mayo v. Prometheus, the Supreme Court invalidated a patent on a diagnostic method, because it non-inventively implemented a natural principle; the Court drew on cases involving computer software and other abstract ideas. In this case, the Court was much more detailed in describing how to recognize a patent-ineligible claim to an abstract idea. The Mayo methodology has come to dominate patent-eligibility law.  It revived the approach of the Flook and Neilson cases, which is to treat the underlying principle, idea, or algorithm on which the claimed patent is based as if it were part of the prior art and to make patent eligibility turn on whether the implementation of it is inventive. This led to the "two-step" Alice test described next.

Alice case 
At the time the Mayo case was decided, there was some uncertainty over whether it applied only to natural principles (laws of nature) or more generally to patent eligibility of all abstract ideas and general principles, including those involved in software patents. The Alice decision confirmed that the test was general. The Alice case involved patents on electronic methods and computer programs for financial-trading systems on which trades between two parties who are to exchange payment are settled by a third party in ways that reduce the risk that one party performs while the other does not. The patents cover what amounts to a computerized escrow arrangement.

The Court held that Mayo explained how to address the problem of determining whether a patent claimed an unpatentable abstract idea or instead a potentially patentable practical implementation of an idea. This requires using a "two-step" analysis.

In the first step, the court must determine whether the patent claim under examination contains an abstract idea, such as an algorithm, method of computation, a Law of Nature or other general principle. If not, the claim is potentially patentable, subject to the other requirements of the patent code. If the answer is affirmative, the court must proceed to the next step.

In the second step of the analysis, the court must determine whether the patent adds to the idea "something extra" that embodies an "inventive concept." If there is no addition of an inventive element to the underlying abstract idea, the court finds the patent invalid under section 101. This means that the implementation of the idea must not be conventional or obvious to qualify for a patent. Ordinary and customary use of a general-purpose digital computer is insufficient; the Court said—"merely requiring generic computer implementation fails to transform [an] abstract idea into a patent-eligible invention."

The ruling continued with these points:

 A mere instruction to implement an abstract idea on a computer "cannot impart patent eligibility."
 "[T]he mere recitation of a generic computer cannot transform a patent-ineligible abstract idea into a patent-eligible invention." 
 "Stating an abstract idea 'while adding the words "apply it"' is not enough for patent eligibility."
 "Nor is limiting the use of an abstract idea to a particular technological environment."

The Alice decision met a mixed reception, but profoundly affected U.S. patent law. In its wake, as explained in the Wikipedia article on the case, courts invalidated vast numbers of so-called software and business-method patents (the overwhelming majority of those the United States Court of Appeals for the Federal Circuit considered) and the number of such patents issued has drastically fallen. The Alice decision has been widely criticized for its failure to specify in detail the boundaries of patent eligibility, but it has also been defended because its unanimity tends to stabilize decisional law in the field.

Subsequent developments 
After Alice, the Federal Circuit and district courts invalidated large numbers of business-method and software patents based on those courts' interpretations of Alice. Federal Circuit Judge William Bryson summed this up in these terms:

In short, such patents, although frequently dressed up in the argot of invention, simply describe a problem, announce purely functional steps that purport to solve the problem, and recite standard computer operations to perform some of those steps. The principal flaw in these patents is that they do not contain an “inventive concept” that solves practical problems and ensures that the patent is directed to something “significantly more than” the ineligible abstract idea itself. [Citing Alice and Mayo.] As such, they represent little more than functional descriptions of objectives, rather than inventive solutions. In addition, because they describe the claimed methods in functional terms, they preempt any subsequent specific solutions to the problem at issue. [Citing Alice and Mayo.] It is for those reasons that the Supreme Court has characterized such patents as claiming “abstract ideas” and has held that they are not directed to patentable subject matter.

See also 
 Criticism of patents
 Debates within software engineering
 European Information, Communications and Consumer Electronics Technology Industry Associations (EICTA)
 Foundation for a Free Information Infrastructure (FFII)
 Free Software Foundation
 Irish Free Software Organisation
 Jacobsen v. Katzer
 Piano roll blues
 Mozilla Open Software Patent License

References 

Debate
Intellectual property activism
Discovery and invention controversies
Legal disputes