You have 3 free guides left 😟
Unlock your guides
You have 3 free guides left 😟
Unlock your guides

4.3 First-Order Language and Syntax

2 min readjuly 25, 2024

is the building blocks of formal logic. It uses symbols like , , and predicates to represent objects and relationships. Understanding these components is crucial for constructing and expressing complex ideas.

Mastering the of first-order language allows us to create precise logical statements. We learn to combine terms, use , and apply connectives correctly. This foundation is essential for analyzing arguments and developing mathematical proofs in more advanced topics.

Components and Syntax of First-Order Language

Components of first-order language

Top images from around the web for Components of first-order language
Top images from around the web for Components of first-order language
  • Constants denote specific objects in domain (a, b, c)
  • Variables act as placeholders for objects (x, y, z)
  • represent operations between objects f(x,y)f(x, y)
  • express properties or relations P(x,y)P(x, y)
  • include ¬\neg (not), \wedge (and), \vee (or), \rightarrow (if-then), \leftrightarrow (if and only if)
  • Quantifiers \forall (for all) and \exists (there exists) specify scope
  • group and clarify order of operations (x+y)z(x + y) * z

Construction of well-formed formulas

  • Terms built from constants, variables, functions f(g(x),y)f(g(x), y)
  • combine predicates with terms P(f(x),y)P(f(x), y) or equality t1=t2t_1 = t_2
  • formed by:
    1. Negating: ¬ϕ\neg \phi
    2. Combining with connectives: (ϕψ)(\phi \wedge \psi), (ϕψ)(\phi \vee \psi), (ϕψ)(\phi \rightarrow \psi), (ϕψ)(\phi \leftrightarrow \psi)
    3. Quantifying: xϕ\forall x \phi, xϕ\exists x \phi

Free vs bound variables

  • not within , replaceable P(x,y)P(x, y) where y is free
  • occur within quantifier scope xP(x,y)\forall x P(x, y) where x is bound
  • Quantifier scope extends to subformula end or closing parenthesis
  • Mixed examples: xP(x)Q(x)\exists x P(x) \wedge Q(x) first x bound, second free

Precedence rules for connectives

  • Precedence order: parentheses, quantifiers, ¬\neg, \wedge, \vee, \rightarrow, \leftrightarrow
  • and are left-associative PQR=(PQ)RP \wedge Q \wedge R = (P \wedge Q) \wedge R
  • is right-associative PQR=P(QR)P \rightarrow Q \rightarrow R = P \rightarrow (Q \rightarrow R)
  • Override default with parentheses (xP(x))Q(x)(\forall x P(x)) \wedge Q(x) vs x(P(x)Q(x))\forall x (P(x) \wedge Q(x))
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.


© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.
Glossary
Glossary