Propositonal Logic

Less ontological commitment. Weak epistemological commitment.

Syntax

Sentences are formed using logical connectives such as not, and.

  • Atomic sentence
    A single proposition (e.g., PP).
  • Literal
    An atomic sentence or its negation.
  • Complex sentence
    Built from simpler ones with connectives.

Semantics

Defines the truth of sentences under a model (assignment of true/false values).

Example: m1={ P=true,Q=true,R=false }m1 = \set{P = \text{true}, Q = \text{true}, R = \text{false}}

Conjunctive Normal Form

Also known as CNF. A standard way of writing logical formulas so that they can be easily processed by reasoning algorithms like resolution.

A formula is in CNF iff:

  • it’s a conjunction (∧\land) and
  • each clause inside the conjunction is a disjunction (∨\lor) of literals

Steps

  • Eliminate biconditionals (  ⟺  \iff)
    Replace: (A  ⟺  B)→(A  ⟹  B)∧(B  ⟹  A)(A \iff B) \to (A \implies B) \land (B \implies A)
  • Eliminate implications (  ⟹  \implies)
    Replace: (A  ⟹  B)→¬A∨B(A \implies B) \to \lnot A \lor B
  • Move lnot inwards using De Morgan’s laws
    • ¬(A∧B)→(¬A∨¬B)\lnot(A \land B) \to (\lnot A \lor \lnot B)
    • ¬(A∨B)→(¬A∧¬B)\lnot(A \lor B) \to (\lnot A \land \lnot B)
    • ¬(¬A)→A\lnot(\lnot A) \to A
  • Apply distributive law to get a conjunction of disjunctions
    (A∨(B∧C))→(A∨B)∧(A∨C)(A \lor (B \land C)) \to (A \lor B) \land (A \lor C)
  • Simplify
    Remove duplicate literals or clauses if possible.
Written by November 1, 2026 1 min read
Was this helpful?