Definition

First-order logic is a formal system extending propositional logic to include quantifiers, variables, and predicates. It distinguishes between objects (terms) and properties of objects (formulas). Unlike second-order logic, quantification occurs only over variables, not over predicates or functions.

Syntax

The syntax is defined relative to a signature containing function symbols and relation symbols with fixed arities.

Alphabet

Terms

The set of terms is defined inductively:

  1. Any variable is a term.
  2. If is an -ary function symbol and are terms, then is a term.

Formulas

The set of formulas is defined inductively:

  1. If is an -ary relation symbol and are terms, is an atomic formula.
  2. If are terms, is an atomic formula.
  3. If are formulas, then , , , are formulas.
  4. If is a formula and is a variable, and are formulas.

Semantics

Semantics are defined via Tarski’s definition of truth relative to a structure .

  • is a non-empty domain (universe).
  • interprets -ary function symbols as functions and -ary relation symbols as subsets of .

Satisfaction

Let be a variable assignment. The satisfaction relation is defined inductively.

Metatheoretic Properties

  • Soundness: If , then .
  • Completeness (Gödel): If , then .
  • Compactness: A set of sentences is satisfiable iff every finite subset is satisfiable.
  • Löwenheim-Skolem: If a countable theory has an infinite model, it has models of all infinite cardinalities.
  • Incompleteness (Gödel): Any sufficiently strong consistent effective theory containing arithmetic is incomplete.
  • Undecidability (Church-Turing): The decision problem for validity is undecidable (semidecidable).

Relation to Type Theory

In the context of the Curry-Howard Correspondance:

See also

Intuinistic First-Order Logic