Propositional Logic
In an AI model, propositional knowledge is stored using propositions which are either True or False. Also known as Boolean Logic, sentential logic
Proposition: a declarative statement that is either true or false.
- "It is raining" ✅
- "The door is open" ✅
- "Close the door" ❌ (a command, not a proposition)
Atomic propositions: simple statements, usually written as symbols such as , , . Compound propositions: atomic propositions combined with logical connectives.
Knowledge Representation
Even though the propositions can be True or False, once you include a proposition in a Knowledge base, it will assume it is only True
- and both are assert True.
- However, does not have to be Always True, since it is given as imply.
Terminology
Literal
A proposition or its negation.
Examples:
Clauses
An OR combination of literals.
Example:
Models
A state of all Propositions in a Knowledge Base is known as a model. For number of propositions in the , there will be models for that

-
Model satisfy knowledge base if, all Propositions of the Knowledge Base are true. In this case, is the only one satisfying this KB.
For , in this case, Q does not have to be True since its implied.
| Model | P | Q | P ⇒ Q | Whole KB true? |
|---|---|---|---|---|
| M₁ | T | T | T | Yes |
| M₂ | T | F | F | No |
| M₃ | F | T | T | Yes |
| M₄ | F | F | T | Yes |
Entailment
meaning - involves something inevitable If is True in all models where is satisfied, then is entailed to the . i.e. must follow the and its inevitable.
Other terms
| Term | Definition | True in... |
|---|---|---|
| Valid (tautology) | True in every model | All models |
| Satisfiable | True in at least one model | Some (≥ 1) models |
| Unsatisfiable (contradiction) | True in no model | Zero models |
Conjunctive Normal Form (CNF)
A sentence is in CNF when it is an AND of ORs
| Rule | Rewrite |
|---|---|
| Biconditional elimination | |
| Implication elimination | |
| Double negation | |
| De Morgan (AND) | |
| De Morgan (OR) | |
| Distributivity |