Learn & Review: Mathematical Logic, Lecture 1
Jan 23, 2026
Mathematical Logic, Lecture 1 (First-order logic languages,
audio
Transcript
Transcript will appear once available.
Mathematical Logic (MATH 220A): Introduction to First-Order Logic
This course introduces the fundamentals of First-Order Logic (FOL), a standard method for formalizing mathematics. Examples include Peano Arithmetic (PAA) for number theory and Zermelo-Fraenkel Set Theory (ZFC) for set theory.
1. Syntax vs. Semantics in FOL
FOL has two main aspects:
-
Syntax: This deals with the formal construction of statements using symbols.
- It involves defining variables, terms, and formulas.
- Formal logical deduction rules are defined to derive new statements from axioms through formal proofs.
- Constructions are purely symbolic, without inherent meaning.
-
Semantics: This involves interpreting the symbols within structures (also called models).
- Structures are sets where terms and formulas can be interpreted.
- This allows for determining the validity or satisfaction of formulas within a given structure.
2. Gödel's Completeness Theorem
The first major result of the course is Gödel's Completeness Theorem. It establishes an equivalence between syntax and semantics:
- A formula with no free variables can be formally deduced from a set of axioms if and only if it is valid in every structure that satisfies those axioms.
- This theorem justifies the choice of syntactic rules and formal language, showing that different choices ultimately lead to the same results.
3. First-Order Languages
Statements in FOL are sequences of symbols from a fixed, finite alphabet. A first-order language (L) is a set of symbols composed of two disjoint subsets:
-
Auxiliary and Logical Symbols (Common to all languages):
- Parentheses:
(and) - Logical Symbols:
- Variables: A countable set, denoted by
V(e.g.,v_0, v_1, ...). - Equality Symbol:
= - Connectives: Negation (
¬, "not") and Conjunction (∧, "and"). - Quantifier: Existential quantifier (
∃, "there exists").
- Variables: A countable set, denoted by
- Parentheses:
-
Signature of L (Non-logical Symbols, specific to the language):
- Constant Symbols:
C_L(e.g.,0,1). - Function Symbols: A sequence
F_n,Lforn ≥ 1, where elements are n-ary function symbols (e.g.,+,*,sfor successor). - Relation Symbols (Predicates): A sequence
R_n,Lforn ≥ 1, where elements are n-ary relation symbols (e.g.,<, "belongs to").
- Constant Symbols:
-
Note: While names suggest interpretations, at this stage, no meaning is attached to these symbols. The language
Lis the disjoint union of these sets. Languages are always infinite, and the logical part is countable. Often, the languageLis identified with its signatureΣ_L.
Examples of Languages:
- Empty Language (
L_∅): Contains only logical symbols, no non-logical symbols. - Ring Language (
L_ring): Constants0,1; binary functions+,-,*. - Order Language (
L_ord): Binary relation<. - Ordered Ring Language (
L_ordered_rings): Union ofL_ringandL_ord. - Set Theory Language (
L_set): Binary relation∈("belongs to"). - Group Language (
L_groups): Binary function*; unary function⁻¹(inverse); constant1. - Graph Language (
L_graphs): Binary relationE("edge"). - Arithmetic Language (
L_arith): Constant0; unary functions(successor); binary functions+,*; binary relation<.
4. L-Structures (Models)
An L-structure A for a language L consists of:
- A non-empty set
Acalled the base set or domain. - For each constant symbol
cinL, an elementc^A ∈ A. - For each n-ary function symbol
finL, a functionf^A: A^n → A. - For each n-ary relation symbol
rinL, a subsetr^A ⊆ A^n.
The object z^A (where z is a non-logical symbol) is the interpretation of z in the structure A.
Examples of Structures:
- Natural Numbers (
M) inL_arith:- Base set:
ℕ(natural numbers). - Interpretations:
0^M = 0,s^M(x) = x+1,+^Mis standard addition,*^Mis standard multiplication,<^Mis standard order.
- Base set:
- Complex Numbers (
C) inL_ring:- Base set:
ℂ(complex numbers). - Interpretations:
0^C = 0,1^C = 1,+^C,-^C,*^Care standard operations.
- Base set:
- Real Numbers (
R) inL_ordered_rings:- Base set:
ℝ(real numbers). - Interpretations:
0^R = 0,1^R = 1,+^R,-^R,*^R,<^Rare standard operations and order.
- Base set:
5. Isomorphism of L-Structures
Two L-structures A and B are isomorphic (A ≅ B) if there exists a bijection F: A → B (where A and B are the base sets) that commutes with the interpretations of all non-logical symbols in L. This means:
F(c^A) = c^Bfor all constant symbolsc.F(f^A(a_1, ..., a_n)) = f^B(F(a_1), ..., F(a_n))for all n-ary function symbolsf.(a_1, ..., a_n) ∈ r^Aif and only if(F(a_1), ..., F(a_n)) ∈ r^Bfor all n-ary relation symbolsr.
A function F satisfying these conditions (without being a bijection) is called a morphism. If F is injective, it's an embedding.
6. Terms and Formulas
-
Words: A finite string of symbols from a given alphabet (set
E).E*denotes the set of all words overE. -
L-Terms: The set
T_Lof L-terms is the smallest set of words over the alphabet ofLsuch that:- Variables and constant symbols of
Lare L-terms. - If
fis an n-ary function symbol inLandt_1, ..., t_nare L-terms, thenf t_1 ... t_nis an L-term. - Terms can be defined recursively:
T_0(L)= Variables ∪ Constant SymbolsT_{n+1}(L)=T_n(L)∪ {f t_1 ... t_k|fis k-ary inL,t_i ∈ T_n(L)}
- Variables and constant symbols of
-
Unique Readability of Terms: Any term
tis uniquely either a variable, a constant symbol, or of the formf t_1 ... t_nfor a unique function symbolfand unique termst_1, ..., t_n. -
Notation:
f(t_1, ..., t_n)is often used instead off t_1 ... t_n. For binary functions, infix notation liket_1 + t_2might be used. -
Height of a Term (
ht(t)): The minimumksuch thatt ∈ T_k(L).ht(f t_1 ... t_n) = 1 + max(ht(t_i)). -
L-Formulas:
- Atomic Formulas:
t_1 = t_2, wheret_1,t_2are L-terms.r t_1 ... t_n, whereris an n-ary relation symbol inLandt_1, ..., t_nare L-terms.
- The set
FML(L)of L-formulas is the smallest set of words over the alphabet ofLcontaining all atomic formulas and closed under the following rules:- If
φis a formula, then¬φis a formula. - If
φandψare formulas, thenφ ∧ ψis a formula. - If
φis a formula andxis a variable, then∃x φis a formula.
- If
- Formulas can also be defined recursively:
FML_0(L)= Atomic FormulasFML_{n+1}(L)=FML_n(L)∪ {¬φ|φ ∈ FML_n(L)} ∪ {φ ∧ ψ|φ, ψ ∈ FML_n(L)} ∪ {∃x φ|xis a variable,φ ∈ FML_n(L)}
- Atomic Formulas:
The lecture concludes by emphasizing that all concepts discussed so far (languages, terms, formulas) are purely syntactic. The next lecture will introduce semantics to give meaning to these symbols.
Ask Sia for quick explanations, examples, and study support.