Cyc is a long-running symbolic artificial intelligence project that encodes everyday common-sense knowledge as formal logical assertions, together with an inference engine that draws conclusions from them. Started by Douglas Lenat in 1984 and continued by the company Cycorp, it is the largest and oldest attempt in symbolic AI & reasoning to hand-build the background knowledge that people use without noticing.
The underlying bet is that brittleness in expert systems comes from missing common sense rather than from weak algorithms. Cyc therefore aims to store the millions of implicit facts a human takes for granted, such as that objects fall when dropped or that people cannot be in two places at once, so that specialized applications can reason on top of a shared foundation. It is often described simply as the Cycorp knowledge base.
How Cyc represents knowledge
Cyc stores knowledge in CycL, a representation language based on first-order predicate calculus with extensions toward higher-order logic. Every concept is a named constant, traditionally written with the #$ prefix, and every fact is an assertion that links constants through predicates such as #$isa (instance of) and #$genls (subclass of).
The knowledge base is organized into an upper ontology of very general concepts, a middle layer of everyday notions and domain-specific layers for areas such as biology, geography or military planning. Each assertion lives in a microtheory, a named context that holds a consistent set of beliefs. Microtheories let Cyc keep locally consistent but globally contradictory knowledge, for example physics as taught in school alongside a fictional universe.
The table below summarizes the main building blocks of the representation and what each one contributes to reasoning.
| Element | What it is | Role in reasoning |
|---|---|---|
| Constant | Named term for a concept or individual | Basic vocabulary of all assertions |
| Collection | Class of things, linked by subclass relations | Inheritance of properties down the taxonomy |
| Predicate | Typed relation between terms | States facts and constrains arguments |
| Rule | Implication with variables | Derives new facts from existing ones |
| Microtheory | Context holding a consistent set of assertions | Limits search and isolates contradictions |
| Default assertion | Statement that can be overridden | Supports non-monotonic conclusions |
How the Cyc inference engine reasons
A general resolution theorem prover over tens of millions of assertions would be far too slow, so Cyc relies on a large set of specialized reasoning modules. Each module handles a common pattern, such as transitivity of subclass relations or arithmetic comparison, much faster than general deduction. A harness chooses among these modules and falls back to general methods only when no shortcut applies.
Cyc combines deductive reasoning with default reasoning: many rules hold only typically, and more specific knowledge overrides more general knowledge. This makes the system non-monotonic, because adding a fact can withdraw an earlier conclusion. Queries are posed within a microtheory, and the engine considers only assertions visible from that context, which keeps the search space manageable.
The next table lists typical reasoning tasks and the mechanism Cyc uses for each.
| Reasoning task | Mechanism | Typical result |
|---|---|---|
| Taxonomic inference | Cached subclass and instance closure | A dog is known to be an animal |
| Rule chaining | Backward chaining with heuristic ordering | Answers to open questions with variables |
| Exception handling | Default rules with overrides | Penguins are birds that do not fly |
| Context reasoning | Microtheory inheritance | Separate answers for history and fiction |
| Justification | Stored proof trees | Human-readable explanation of an answer |
Cyc compared with other knowledge approaches
Cyc sits between narrow expert systems and web-scale ontologies. Unlike a classic expert system built with an expert system shell, it aims at breadth of common sense rather than one domain. Unlike description logic ontologies written in the Web Ontology Language, it uses a more expressive logic, which gains expressiveness at the cost of decidability and predictable reasoning time.
The comparison below places Cyc beside related approaches that a practitioner might consider.
| Approach | Scope | Logic | Main trade-off |
|---|---|---|---|
| Cyc | Broad common sense plus domains | Higher-order extensions of first-order logic | Expressive but costly to build and query |
| Expert system | Single narrow domain | Production rules | Fast to deploy but brittle outside its domain |
| OWL ontology | Domain vocabulary | Description logic | Decidable but less expressive |
| Knowledge graph | Large factual coverage | Simple triples | Scales well but holds few rules |
| Large language model | Broad implicit knowledge | No explicit logic | Fluent but unverifiable and inconsistent |
History and versions of Cyc
The project began in 1984 at the Microelectronics and Computer Technology Corporation in Austin, Texas, and moved to the independent company Cycorp in 1994. Lenat estimated that encoding common sense would take many hundreds of person-years, and most knowledge was entered by trained ontologists rather than learned automatically.
- OpenCyc offered a free subset of the ontology from 2002 until it was withdrawn in 2017.
- ResearchCyc gave academic researchers licensed access to a much larger portion of the knowledge base.
- Commercial Cyc has been deployed for clients in areas such as medical research queries, intelligence analysis and enterprise data integration.
- After Lenat died in 2023, Cycorp continued the work, while debate about the project’s legacy intensified.
Limitations and criticism of Cyc
Cyc is the best-known illustration of the knowledge acquisition bottleneck: hand-encoding knowledge is slow, expensive and never complete. Critics also point to limited external evaluation, because most of the knowledge base has been proprietary, and to the difficulty of connecting symbols to perception and natural language.
The table below lists frequent problems and the usual response in practice.
| Weakness | Cause | Typical mitigation |
|---|---|---|
| Incomplete coverage | Manual knowledge entry | Domain experts extend the relevant microtheories |
| Slow complex queries | Expressive logic and huge search space | Specialized modules and narrower contexts |
| Natural language gap | Symbols lack grounding | Parsers and, more recently, language models |
| Steep learning curve | Large ontology and complex syntax | Trained ontologists and curated templates |
A common misconception is that Cyc failed because symbolic AI cannot work. A more balanced view is that Cyc showed how much tacit knowledge intelligence requires, and that its explicit, explainable reasoning remains valuable in neuro-symbolic systems that pair learned models with verifiable logic.
In plain words
Cyc is a huge, hand-written encyclopedia of common sense that a computer can reason with. People wrote down millions of simple facts. Examples are that water is wet and that a person has one mother. They also wrote rules that connect these facts.
When you ask Cyc a question, it follows these rules step by step and can show how it reached its answer. The key idea is simple. Computers lack the background knowledge that people pick up as children, so Cyc tries to type it in by hand.
A real-world example
A hospital research team wants to find patients who developed an infection after a specific type of heart surgery. Writing such a query directly against clinical databases normally requires a database specialist and several days of work. With a Cyc-based system, a researcher types the question in structured English, and the system maps the words to Cyc concepts such as surgical procedure, infection and time interval.
Cyc then uses its common-sense rules to fill gaps the researcher never stated, for example that an infection after surgery must occur later than the operation and in the same patient. It translates the result into database queries and returns the matching cases with an explanation of each inference step. The outcome is that clinical researchers can answer complex questions in hours instead of waiting days for custom queries.