Inference

2 min read Updated Tue Apr 28 2026 07:56:31 GMT+0000 (Coordinated Universal Time)

The process of deriving new knowledge from existing knowledge. The core of logical agents. Can be computationally expensive.

If α\alpha can be inferred from KB using a sound inference algorithm, it is denoted as:

KBα\text{KB} ⊢ \alpha

Sound

When an inference algorithm never derives false conclusions.

Complete

When an inference algorithm can derive all valid conclusions.

Monotonicity

When an inference algorithm’s results do not invalidate previously entailed conclusions.

Rules

Logical transformation rules used for inferencing.

  • Modus Ponens:
    From αβ\alpha ⇒ β and α\alpha, infer ββ.
  • And-Elimination:
    From (αβ)(α ∧ β), infer αα (or ββ).
  • Biconditional Elimination:
    From (αβ)(α ⇔ β), infer (αβ)(α ⇒ β) and (βα)(β ⇒ α).

Techniques

Model Checking

Enumerate all models to verify whether α\alpha is true in all models that satisfy KB.

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

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.