The process of deriving new knowledge from existing knowledge. The core of logical agents. Can be computationally expensive.
If can be inferred from KB using a sound inference algorithm, it is denoted as:
When an inference algorithm never derives false conclusions.
Complete
Section titled “Complete”When an inference algorithm can derive all valid conclusions.
Monotonicity
Section titled “Monotonicity”When an inference algorithm’s results do not invalidate previously entailed conclusions.
Logical transformation rules used for inferencing.
- Modus Ponens:
From and , infer . - And-Elimination:
From , infer (or ). - Biconditional Elimination:
From , infer and .
Techniques
Section titled “Techniques”Model Checking
Section titled “Model Checking”Enumerate all models to verify whether is true in all models that satisfy KB.
Theorem Proving
Section titled “Theorem Proving”Applies inference rules directly to derive proofs instead of checking every model.
Scales better for large knowledge bases. Produces symbolic proofs instead of exhaustive enumeration.
Proof by Resolution
Section titled “Proof by Resolution”A rule-based inference method suitable for automated theorem proving. Allows fully mechanical proofs and is widely used in logic-based AI systems. Applies to sentences in Conjunctive Normal Form.
Resolution rules combines complementary literals to simplify until either no other resolution is possible.