An overview of the fundamental concepts of mathematical logic, including propositional logic, predicate logic, and their applications in mathematics and computer science.
Introduction to Mathematical Logic
Key concepts, definitions, and examples for a first‑time learner
| Component | Description | Example |
|---|---|---|
| Alphabet | Finite set of symbols (variables, logical connectives, quantifiers, parentheses, etc.) | p, q, r, ∧, ∨, ¬, →, ∀, ∃, ( , ) |
| Terms | Built from variables and function symbols; denote objects of the domain. | x, f(x, y) |
| Atomic formulas | Predicates applied to terms; the simplest statements. | P(x), R(f(a), b) |
| Formulas | Constructed from atomic formulas using logical connectives and quantifiers. | ¬P(x) ∨ ∀y R(x,y) |
| Sentences | Formulas with no free variables (all variables bound). | ∀x ∃y R(x,y) |
| Symbol | Name | Truth‑functional definition |
|---|---|---|
¬φ |
Negation | True iff φ is false |
φ ∧ ψ |
Conjunction | True iff both φ and ψ are true |
φ ∨ ψ |
Disjunction | True iff at least one of φ, ψ is true |
φ → ψ |
Implication | False only when φ is true and ψ is false |
φ ↔ ψ |
Biconditional | True iff φ and ψ have the same truth value |
Note: Truth tables give the precise semantics for each connective.
| Symbol | Name | Informal reading |
|---|---|---|
∀x φ(x) |
Universal quantifier | “For every x, φ(x) holds.” |
∃x φ(x) |
Existential quantifier | “There exists an x such that φ(x) holds.” |
Scope – The part of a formula to which a quantifier applies.
Bound vs. free variables – A variable is bound if it lies inside the scope of a quantifier; otherwise it is free.
A structure (or model) 𝔐 for a language L consists of:
Evaluation – Given a structure 𝔐 and a variable assignment ( s ), we define the truth value of any formula recursively: