Fiveable

๐Ÿค”Proof Theory Unit 3 Review

QR code for Proof Theory practice questions

3.1 Syntax and formation rules of first-order logic

๐Ÿค”Proof Theory
Unit 3 Review

3.1 Syntax and formation rules of first-order logic

Written by the Fiveable Content Team โ€ข Last updated September 2025
Written by the Fiveable Content Team โ€ข Last updated September 2025
๐Ÿค”Proof Theory
Unit & Topic Study Guides

First-order logic provides a powerful framework for expressing complex statements about objects and their relationships. It builds on propositional logic by introducing quantifiers and predicates, allowing for more nuanced and expressive logical formulations.

The syntax of first-order logic consists of symbols, terms, and formulas. These elements combine to create well-formed formulas that can represent intricate logical statements, laying the groundwork for formal reasoning and proof construction in mathematical and philosophical contexts.

Vocabulary

Symbols and Constants

  • Predicate symbols represent relations between objects (Loves, IsGreaterThan)
  • Function symbols denote functions that map objects to other objects (MotherOf, Successor)
  • Constants refer to specific objects in the domain of discourse (Alice, Bob, 0, 1)
  • Variables are used to represent arbitrary objects (x, y, z)

Terms and Atomic Formulas

Building Blocks of First-Order Logic

  • Terms are expressions that refer to objects
    • Can be constants (a, b, c), variables (x, y, z), or function applications (f(x), g(a, y))
    • Function applications consist of a function symbol followed by a tuple of terms (MotherOf(Alice), Successor(0))
  • Atomic formulas are the simplest type of well-formed formulas in first-order logic
    • Formed by applying a predicate symbol to a tuple of terms (Loves(Alice, Bob), IsGreaterThan(x, y))
    • Represent basic assertions about objects and their relations

Logical Connectives and Quantifiers

Constructing Complex Formulas

  • Logical connectives are used to combine simpler formulas into more complex ones
    • Conjunction (โˆง\land): "and" connects two formulas (ฯ•โˆงฯˆ\phi \land \psi)
    • Disjunction (โˆจ\lor): "or" connects two formulas (ฯ•โˆจฯˆ\phi \lor \psi)
    • Implication (โ†’\rightarrow): "if...then" connects two formulas (ฯ•โ†’ฯˆ\phi \rightarrow \psi)
    • Negation (ยฌ\lnot): "not" negates a formula (ยฌฯ•\lnot \phi)
  • Quantifiers express properties about collections of objects
    • Universal quantifier (โˆ€\forall): "for all" specifies that a formula holds for all objects (โˆ€xโ€‰ฯ•(x)\forall x \, \phi(x))
    • Existential quantifier (โˆƒ\exists): "there exists" specifies that a formula holds for at least one object (โˆƒxโ€‰ฯ•(x)\exists x \, \phi(x))

Well-formed Formulas

Syntactically Correct Formulas

  • Well-formed formulas (wffs) are syntactically correct expressions in first-order logic
    • Atomic formulas are wffs
    • If ฯ•\phi and ฯˆ\psi are wffs, then so are (ฯ•โˆงฯˆ\phi \land \psi), (ฯ•โˆจฯˆ\phi \lor \psi), (ฯ•โ†’ฯˆ\phi \rightarrow \psi), and (ยฌฯ•\lnot \phi)
    • If ฯ•\phi is a wff and xx is a variable, then โˆ€xโ€‰ฯ•\forall x \, \phi and โˆƒxโ€‰ฯ•\exists x \, \phi are also wffs
  • Free and bound variables
    • A variable xx is bound in a formula if it falls within the scope of a quantifier (โˆ€x\forall x or โˆƒx\exists x)
    • A variable is free if it is not bound by any quantifier
    • In โˆ€xโ€‰โˆƒyโ€‰(P(x)โˆงQ(x,y,z))\forall x \, \exists y \, (P(x) \land Q(x,y,z)), xx and yy are bound, while zz is free
  • Scope of quantifiers
    • The scope of a quantifier is the portion of the formula it applies to
    • In โˆ€xโ€‰(P(x)โˆงโˆƒyโ€‰Q(x,y))\forall x \, (P(x) \land \exists y \, Q(x,y)), the scope of โˆ€x\forall x is the entire formula, while the scope of โˆƒy\exists y is Q(x,y)Q(x,y)