Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Sentential (Propositional) Logic

Sentential logic (also called propositional logic) treats whole declarative statements as atomic and studies how they combine under the truth-functional connectives. It is the natural starting point for classical logic; First-Order Logic is built on top of it by adding terms, variables, and quantifiers.

The presentation separates syntax (what counts as a well-formed formula), semantics (what the formulas mean and when they are true), and proof theory (which formulas can be derived by purely symbolic rules). The central metatheorems — soundness, completeness, and compactness — say precisely how these three layers fit together.


Syntax

Fix a countable set of propositional variables (atoms) , intended to stand for whole declarative sentences whose internal structure we ignore. The logical connectives are

The set of well-formed formulas (wffs) is the smallest set such that:

  • (F1) every atom is a formula;
  • (F2) if is a formula, so is ;
  • (F3) if and are formulas, so are , , , and .

This is a definition by structural recursion: every formula is built up from atoms in finitely many steps, which justifies proof by induction on the structure of formulas — to prove a property holds of all wffs, prove it for atoms and show it is preserved by each connective.

A connective set is functionally complete if every truth function is expressible using only its members. The set is functionally complete, and so is each of , , . Indeed the single connectives NAND () and NOR () are each functionally complete on their own.

Semantics

A truth assignment (or valuation) is a function . Such a is the sentential analogue of a structure (model) in first-order logic: where a first-order structure interprets the symbols of a signature in a domain, a truth assignment interprets each atom as one of the two truth values ("true") and ("false"). One can think of as a model with a fixed two-element domain in which every atom names one of those two values. A truth assignment extends uniquely to a function on all formulas by the truth tables of the connectives:

TTFTTTT
TFFFTFF
FTTFTTF
FFTFFTT

We write (" satisfies ", equivalently " is a model of ") when . Note that material implication is false in exactly one row — when the antecedent is true and the consequent false — so a false antecedent makes the implication vacuously true.

Key semantic notions, stated uniformly in model terminology:

  • is a tautology (valid), written , if every truth assignment is a model of . Example: (excluded middle).
  • is a contradiction (unsatisfiable) if it has no model. Example: .
  • is satisfiable if it has some model.
  • A set of formulas semantically entails , written , if every model of (every assignment that satisfies all of ) is also a model of .

Two formulas are logically equivalent () when they have the same models — i.e. they agree on every assignment. Standard equivalences include the De Morgan laws and , distributivity, double negation , and the definitional equivalences and . Every formula can be put into conjunctive normal form (CNF, a conjunction of clauses) and into disjunctive normal form (DNF, a disjunction of conjunctions).

Proof theory

Semantics answers which formulas are valid; proof theory provides a syntactic mechanism for deriving them. Several equivalent presentations exist.

  • Hilbert systems use a few axiom schemas plus a single inference rule, modus ponens (from and infer ). A typical schema set over is
  • Natural deduction replaces axioms with introduction and elimination rules for each connective and reasons under temporary assumptions that are later discharged (e.g. -introduction discharges the antecedent).
  • Sequent calculus manipulates sequents and enjoys cut elimination.

Write when is derivable from the assumptions in the chosen system. A useful bridge between syntax and the connectives is the Deduction Theorem: iff .

Metatheorems

The two halves — (provability) and (truth) — coincide:

  • Soundness: if then . (Everything provable is true; the rules never lead from truths to a falsehood.)
  • Completeness (Post): if then . (Every semantic consequence has a proof.)

Together: . A consequence is the Compactness Theorem: a set of formulas has a model iff every finite subset of has a model. Sentential validity is also decidable — the truth-table method enumerates all assignments and terminates — though deciding satisfiability (SAT, the existence of a model) is -complete (see Computational Complexity Theory).

Where sentential logic stops is at the internal structure of statements: it cannot express that "every prime greater than is odd" follows from facts about individual numbers. Capturing that requires objects, predicates, and quantifiers — the subject of First-Order Logic.