The Abstraction-Filtration-Comparison test (AFC) is a method of identifying substantial similarity for the purposes of applying copyright law. In particular, the AFC test is used to determine whether non-literal elements of a computer program have been copied by comparing the protectable elements of two programs. The AFC test was developed by the United States Court of Appeals for the Second Circuit in 1992 in its opinion for Computer Associates Int. Inc. v. Altai Inc. It has been widely adopted by United States courts and recognized by courts outside the United States as well.
The Second Circuit Court of Appeals developed the AFC test for use in Computer Associates Int'l, Inc. v. Altai Inc. In that case, Computer Associates sued Altai for copyright infringement of a computer job scheduler program that was designed to be easily ported between operating systems. Proving copyright infringement requires proving both ownership of the copyright and that copying took place. This second requirement can be met either by direct proof, or as is more usually done, by demonstrating the following: 1) the defendant had access to the copyright material and 2) there is substantial similarity between the copyrighted work and the defendant's work. Demonstrating substantial similarity can be difficult when the two works are not exact replicas, either in full or in part. The Second Circuit court had found there was little previous guidance on how best to do this.
One notable previous treatment of substantial similarity of the structure, sequence and organization (SSO) of software was adopted by the Third Circuit in Whelan v. Jaslow. The court there suggested identifying the main function of a program as the idea and everything that is not strictly necessary for the purposes of the idea can be considered expression. The Altai court declined to follow this method, noting that the Whelan method "did not place enough emphasis on practical considerations". The AFC test was devised to handle that issue; it is a method for determining whether substantial similarity exists between two computer programs, especially in non-literal elements of the program.
The AFC test is a three-step process for determining substantial similarity of the non-literal elements of a computer program. The process requires the court to first identify the increasing levels of abstraction of the program. Then, at each level of abstraction, material that is not protectable by copyright is identified and filtered out from further examination. The final step is to compare the defendant's program to the plaintiff's, looking only at the copyright-protected material as identified in the previous two steps, and determine whether the plaintiff's work was copied. In addition, the court will assess the relative significance of any copied material with respect to the entire program.
The purpose of the abstraction step is to identify which aspects of the program constitute its expression and which are the ideas. By what is commonly referred to as the idea/expression dichotomy, copyright law protects an author's expression, but not the idea behind that expression. In a computer program, the lowest level of abstraction, the concrete code of the program, is clearly expression, while the highest level of abstraction, the general function of the program, might be better classified as the idea behind the program. The abstractions test was first developed by the Second Circuit for use in literary works, but in the AFC test, they outline how it might be applied to computer programs. The court identifies possible levels of abstraction that can be defined. In increasing order of abstraction; these are: individual instructions, groups of instructions organized into a "hierarchy of modules", the functions of the lowest-level modules, the functions of the higher-level modules, the "ultimate function" of the code.
The second step is to remove from consideration aspects of the program which are not legally protectable by copyright. The analysis is done at each level of abstraction identified in the previous step. The court identifies three factors to consider during this step: elements dictated by efficiency, elements dictated by external factors, and elements taken from the public domain.
The court explains that elements dictated by efficiency are removed from consideration based on the merger doctrine which states that a form of expression that is incidental to the idea cannot be protected by copyright. In computer programs, concerns for efficiency may limit the possible ways to achieve a particular function, making a particular expression necessary to achieving the idea. In this case, the expression is not protected by copyright.
Eliminating elements dictated by external factors is an application of the scènes à faire doctrine to computer programs. The doctrine holds that elements necessary for, or standard to, expression in some particular theme cannot be protected by copyright. Elements dictated by external factors may include hardware specifications, interoperability and compatibility requirements, design standards, demands of the market being served, and standard programming techniques.
Finally, material that exists in the public domain can not be copyrighted and is also removed from the analysis.
The final step of the AFC test is to consider the elements of the program identified in the first step and remaining after the second step, and for each of these compare the defendant's work with the plaintiff's to determine if the one is a copy of the other. In addition, the court will look at the importance of the copied portion with respect to the entire program.
Acceptance and Use of AFCEdit
Following the Altai case, the AFC method has been widely adopted. Since 1992, every court to deal with the issue of determining substantial similarity in the non-literal aspects of computer programs has chosen the AFC method over the Whelan method. The analysis of the filtration step has been endorsed by courts in Canada and France. In the UK, the AFC test has the dubious honor of being endorsed and disapproved in successive cases. Current English law does not follow the AFC test laid out in Altai.
- Bruce Abramson, Promoting Innovation In The Software Industry: A First Principles Approach To Intellectual Property Reform, 8 B.U. J. Sci. & Tech. L. 75, 123 (2002) ("Various courts have proposed elegant tests for determining when a second program is "close enough" to an earlier copyright-protected competitor to constitute infringement. Perhaps the most influential of these tests is the abstraction-filtration-comparison test, first introduced by the Second Circuit in Computer Assoc. Int'l v. Altai and subsequently adopted by several other circuits.").
- Altai, para. 39.
- Whelan Associates Inc. v. Jaslow Dental Laboratory, Inc. Archived 2012-05-31 at the Wayback Machine, 797 F.2d 1222 (3d Cir. 1986).
- Altai, para. 72.
- Jon O. Newman, New Lyrics For An Old Melody: The Idea/expression Dichotomy In The Computer Age Archived July 23, 2011, at the Wayback Machine, 17 Cardozo Arts & Ent. L.J. 691, 695-696 (1999) ("Altai then advised courts to "dissect the allegedly copied program's structure and isolate each level of abstraction contained within it." This is to be done, we are told, by charting the program into a hierarchy of modules, each identified, apparently, by the function it performs. Having stratified the program into these levels of abstraction or modules, we are then to move on to what Nimmer calls, and Altai embraces, a "'successive filtering method' for separating protectable expression from non-protectable material." We are to make the separation by determining whether what the opinion calls "the structural components at each level of abstraction" is an idea, which would be unprotectable, or is covered by any of three other inquiries, which if satisfied, would also render the component unprotectable. The first is whether the component was "dictated by considerations of efficiency, so as to be necessarily incidental to that idea." The second is whether the component was "required by factors external to the program itself." The third is whether the component was "taken from the public domain." Once this "filtration" has occurred, the allegedly infringing program is compared to the protectable elements that have survived filtration to determine whether protectable elements have been copied and to assess the relative importance of the copied elements to the plaintiff's overall program.)"
- Altai, para. 76.
- Altai, para. 75-78.
- Altai para. 81.
- Altai, para. 83.
- Altai, para. 85-98.
- Altai, para. 100-101.
- Altai, para. 101-104.
- Altai, para. 108.
- Lemley 2006, p. 54.
- Lemley 2006, p. 55.
- "John Richardson Computers v Flanders".  FSR 497.
- "IBCOS Computers Ltd v Barclays Mercantile Highland Finance Ltd".  FSR 275, 302.
- Computer Associates International, Inc. v. Altai, Inc., 982 F.2d 693 (2d Cir. 1992).
- Lemley, Mark A.; Menell, Peter S.; Merges, Robert P.; Samuelson, Pamela (2006). Software and Internet law (3rd ed.). New York, NY: Aspen Publishers. ISBN 978-0-7355-5864-9.