ArticleslgStudy

science

Closed-world assumption

Closed-world assumption is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Closed-world assumption rather than just read about it. In short: 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, by the contrapositive, what is not currently known to be true must be false.

Key takeaways

  • Closed-world assumption belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Closed-world assumption to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Closed-world assumption from memory before moving on to harder problems.

Reference excerpt

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, by the contrapositive, what is not currently known to be true must be 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.

Example 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".

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 atoms 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

{English(Fred)∨Irish(Fred)} entails neither English(Fred) nor Irish(Fred). Adding the negation of these two literals to the knowledge base leads to

{English(Fred)∨Irish(Fred),¬English(Fred),¬Irish(Fred)} 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 K exactly when the intersection of all Herbrand models of K is also a model of K; in the propositional case, this condition is equivalent to K 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 K is assumed to be propositional. In all cases, the formalization of the closed-world assumption is based on adding to K the negation of the formulae that are "free for negation" for K, i.e., the formulae that can be assumed to be false. In other words, the closed-world assumption applied to a knowledge base K generates the knowledge base

K∪{¬f | f∈F}. The set F of formulae that are free for negation in K can be defined in different ways, leading to different formalizations of the closed-world assumption. The following are the definitions of f being free for negation in the various formalizations.

CWA (closed-world assumption) f is a positive literal not entailed by K; GCWA (generalized CWA) f is a positive literal such that, for every positive clause c such that K⊬c, it holds K⊬c∨f; EGCWA (extended GCWA) same as above, but f 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 f 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. In situations where it is not possible to assume a closed world for all predicates, yet some of them are known to be closed, the partial-closed world assumption can be used. This regime considers knowledge bases generally to be open, i.e., potentially incomplete, yet allows to use completeness assertions to specify parts of the knowledge base that are closed.

Partial-closed world assumption The language of logic programs with strong negation allows us to postulate the closed-world assumption for some statements and leave the other statements in the realm of the open-world assumption. An intermediate ground between OWA and CWA is provided by the partial-closed world assumption (PCWA). Under the PCWA, the knowledge base is generally treated under open-world semantics, yet it is possible to assert parts that should be treated under closed-world semantics, via completeness assertions. The PCWA is especially needed for situations where the CWA is not applicable due to an open domain, yet the OWA is too credulous in allowing anything to be possibly true.

See also Circumscription (logic) Default logic Negation as failure Non-monotonic logic Operational design domain Stable model semantics Unique name assumption

References

External links https://web.archive.org/web/20090624113015/http://www.betaversion.org/~stefano/linotype/news/91/ Closed World Reasoning in the Semantic Web through Epistemic Operators Excerpt from Reiter's 1978 talk on the closed world assumption

Worked examples

Example 1 — a first encounter with Closed-world assumption

Start with the simplest possible case. Write down what Closed-world assumption claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Closed-world assumption before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Closed-world assumption ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Closed-world assumption

In research
Closed-world assumption appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Closed-world assumption in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Closed-world assumption is common in secondary-school and first-year university syllabi. It links to neighbouring topics Database theory, Knowledge representation, Logic programming, so understanding it makes those chapters shorter.
In everyday life
Look for Closed-world assumption outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Closed-world assumption” →

How to study Closed-world assumption in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Closed-world assumption means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Closed-world assumption out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Closed-world assumption in simple terms?

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, by the contrapositive, what is not currently known to be true must be false.

Why does Closed-world assumption matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Closed-world assumption?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Closed-world assumption.

Tags

  • Database theory
  • Knowledge representation
  • Logic programming

Keep exploring