||This article includes a list of references, related reading or external links, but its sources remain unclear because it lacks inline citations. (August 2011)|
The closed-world assumption (CWA), in a formal system of logic used for knowledge representation, is the presumption that a statement that is true is also known to be true. Therefore, conversely, what is not currently known to be true, is false. The same name also refers to a logical formalization of this assumption by Raymond Reiter. The opposite of the closed-world assumption is the open-world assumption (OWA), stating that lack of knowledge does not imply falsity. Decisions on CWA vs. OWA determine the understanding of the actual semantics of a conceptual expression with the same notations of concepts. A successful formalization of natural language semantics usually cannot avoid an explicit revelation of whether the implicit logical backgrounds are based on CWA or OWA.
Negation as failure is related to the closed-world assumption, as it amounts to believing false every predicate that cannot be proved to be true.
In the context of knowledge management, the closed-world assumption is used in at least two situations: (1) when the knowledge base is known to be complete (e.g., a corporate database containing records for every employee), and (2) when the knowledge base is known to be incomplete but a "best" definite answer must be derived from incomplete information. For example, if a database contains the following table reporting editors who have worked on a given article, a query on the people not having edited the article on Formal Logic is usually expected to return "Sarah Johnson".
|John Doe||Formal Logic|
|Joshua A. Norton||Formal Logic|
|Sarah Johnson||Introduction to Spatial Databases|
|Charles Ponzi||Formal Logic|
|Emma Lee-Choon||Formal Logic|
In the closed-world assumption, the table is assumed to be complete (it lists all editor-article relationships), and Sarah Johnson is the only editor who has not edited the article on Formal Logic. In contrast, with the open-world assumption the table is not assumed to contain all editor-article tuples, and the answer to who has not edited the Formal Logic article is unknown. There is an unknown number of editors not listed in the table, and an unknown number of articles edited by Sarah Johnson that are also not listed in the table.
Formalization in logic
The first formalization of the closed-world assumption in formal logic consists in adding to the knowledge base the negation of the literals that are not currently entailed by it. The result of this addition is always consistent if the knowledge base is in Horn form, but is not guaranteed to be consistent otherwise. For example, the knowledge base
entails neither nor .
Adding the negation of these two literals to the knowledge base leads to
which is inconsistent. In other words, this formalization of the closed-world assumption sometimes turns a consistent knowledge base into an inconsistent one. The closed-world assumption does not introduce an inconsistency on a knowledge base exactly when the intersection of all Herbrand models of is also a model of ; in the propositional case, this condition is equivalent to having a single minimal model, where a model is minimal if no other model has a subset of variables assigned to true.
Alternative formalizations not suffering from this problem have been proposed. In the following description, the considered knowledge base is assumed to be propositional. In all cases, the formalization of the closed-world assumption is based on adding to the negation of the formulae that are “free for negation” for , i.e., the formulae that can be assumed to be false. In other words, the closed-world assumption applied to a propositional formula generates the formula:
The set of formulae that are free for negation in can be defined in different ways, leading to different formalizations of the closed-world assumption. The following are the definitions of being free for negation in the various formalizations.
- CWA (closed-world assumption)
- is a positive literal not entailed by ;
- GCWA (generalized CWA)
- is a positive literal such that, for every positive clause such that , it holds ;
- EGCWA (extended GCWA)
- same as above, but is a conjunction of positive literals;
- CCWA (careful CWA)
- same as GCWA, but a positive clause is only considered if it is composed of positive literals of a given set and (both positive and negative) literals from another set;
- ECWA (extended CWA)
- similar to CCWA, but is an arbitrary formula not containing literals from a given set.
The ECWA and the formalism of circumscription coincide on propositional theories. The complexity of query answering (checking whether a formula is entailed by another one under the closed-world assumption) is typically in the second level of the polynomial hierarchy for general formulae, and ranges from P to coNP for Horn formulae. Checking whether the original closed-world assumption introduces an inconsistency requires at most a logarithmic number of calls to an NP oracle; however, the exact complexity of this problem is not currently known.
- Open-world assumption
- Non-monotonic logic
- Circumscription (logic)
- Negation as failure
- Default logic
- Stable model semantics
- Unique name assumption
- Cadoli, Marco; Lenzerini, Maurizio (April 1994). "The complexity of propositional closed world reasoning and circumscription". Journal of Computer and System Sciences 48 (2): 255–310. doi:10.1016/S0022-0000(05)80004-2. ISSN 0022-0000. Retrieved 20 February 2013.
- Eiter, Thomas; Gottlob, Georg (June 1993). "Propositional circumscription and extended closed-world reasoning are -complete". Theoretical Computer Science 114 (2): 231–245. doi:10.1016/0304-3975(93)90073-3. ISSN 0304-3975. Retrieved 20 February 2013.
- Rajasekar, Arcot; Lobo, Jorge; Minker, Jack (September 1989). "Weak Generalized Closed World Assumption". Journal of Automated Reasoning (Kluwer Academic Publishers) 5 (3): 293–307. doi:10.1007/BF00248321. ISSN 0168-7433. Retrieved 20 February 2013.
- Lifschitz, Vladimir (November 1985). "Closed-world databases and circumscription". Artificial Intelligence 27 (2): 229–235. doi:10.1016/0004-3702(85)90055-4. ISSN 0004-3702. Retrieved 20 February 2013.
- J. Minker (1982). On indefinite databases and the closed world assumption. In Proceedings of the Sixth International Conference on Automated Deduction (CADE'82), pp. 292–308.
- Reiter, Raymond (1978). "On Closed World Data Bases". In Gallaire, Hervé; Minker, Jack. Logic and Data Bases. Plenum Press. pp. 119–140. ISBN 9780306400605. Retrieved 21 February 2013.
- Duan, Yucong; Cruz, Christophe (February 2011). "Formalizing Semantic of Natural Language through Conceptualization from Existence". International Journal of Innovation, Management and Technology 2 (1): 37–42. doi:10.7763/IJIMT.2011.V2.100. ISSN 2010-0248. Retrieved 21 February 2013.