Foundations & Logic
Foundations & Logic is the systematic study of the principles, languages, and axiom systems that underpin all of mathematics. Its central result: formal reasoning can be captured by precise symbolic systems (propositional and predicate logic), but these systems have inherent limits — most famously, Gödel's incompleteness theorems. It applies wherever rigorous proof is required (analysis, algebra, computer science). Developed primarily 1879–1940 by Frege, Russell, Hilbert, Gödel, Tarski, and others.
Mathematics can be reduced to manipulating strings of symbols according to explicit rules — yet this very formalization reveals an unbridgeable gap between what is true and what is provable. Logic separates syntax (formal derivation, pure symbol-pushing) from semantics (meaning, truth in structures), and the deepest theorems of the field measure exactly when these two coincide and when they cannot.
Formal Statement
Logic is built in layers. We begin with the propositional calculus, extend to first-order (predicate) logic, and then study models and proof systems.
A propositional language consists of:
- Atomic propositions (sentence letters).
- Connectives: (not), (and), (or), (implies), (iff).
- Formulas built recursively: each atom is a formula; if are formulas, so are , , , , .
A truth assignment maps each atom to (false/true) and extends to all formulas via truth tables.
The connectives are interdefinable. The key truth-functional identities:
Derivation hint: Both sides are false exactly when ; compare the four-row truth table.
Derivation hint: De Morgan's laws — verify each of the four assignments to gives equal columns.
A first-order language adds:
- Variables ranging over a domain.
- Quantifiers (for all), (there exists).
- Predicate (relation) symbols , function symbols , and constants .
- Terms: variables, constants, and for terms .
- Atomic formulas: and (with equality) .
A structure (model) supplies a nonempty domain and an interpretation assigning relations, functions, and elements to the symbols. The satisfaction relation (with variable assignment ) is defined by Tarski's recursion.
The dual relationship between quantifiers mirrors De Morgan:
Derivation hint: "Not all are " means "some fail "; formalize via the Tarskian definition of as an infinite conjunction over the domain.
For a set of formulas and a formula :
- is valid () if true in every structure under every assignment.
- is satisfiable if true in some structure.
- semantically entails , written , if every model of all of is a model of .
- proves , written , if there is a finite formal derivation of from using the axioms and inference rules (e.g. modus ponens and generalization).
The deepest classical results connect (syntax) and (semantics):
For first-order logic, provability and entailment coincide:
Derivation hint: Soundness () is an induction on derivation length; completeness () is proved contrapositively — if then is consistent, hence (Henkin construction) has a model.
A set of first-order sentences has a model if and only if every finite subset of has a model.
Any consistent, recursively axiomatizable theory that interprets elementary arithmetic (e.g. Peano Arithmetic, PA) is incomplete: there exists a sentence such that
yet is true in the standard model . Derivation hint: Arithmetize syntax (Gödel numbering), construct via the diagonal lemma a sentence asserting "I am not provable in "; consistency forbids proving it, -consistency forbids refuting it.
For as above, if is consistent then cannot prove its own consistency statement :
Derivation hint: Formalize the First Theorem's argument inside ; the provable equivalence combined with yields .
Why It Holds / Derivation
1. Gödel numbering. Assign to every symbol, formula, and finite proof a unique natural number. Syntactic operations (substitution, "is an axiom", "is a proof of") become arithmetical relations on these codes. 2. Representability. Because interprets arithmetic, every primitive recursive relation is representable in : there is a formula that holds (and is provable) exactly when codes a -proof of the formula coded by . 3. Provability predicate. Define — " is provable". 4. Diagonal lemma. For any formula there exists a sentence with . Apply it to to obtain with . 5. If is consistent, . Suppose . Then a proof exists, so is true and provable, giving . But says the opposite, contradicting consistency. 6. If is -consistent, . A symmetric argument over the codes of would-be proofs. 7. Conclusion. is undecided by yet, reading it from outside, it truthfully asserts its own unprovability — so it is true in .
∎Austrian-American logician, the central figure of 20th-century foundations. In his 1929 doctoral thesis he proved the completeness of first-order logic; in 1931, at age 25, he proved the incompleteness theorems, overturning Hilbert's program to secure mathematics by finitary consistency proofs. He later proved the relative consistency of the Axiom of Choice and the Continuum Hypothesis with ZF (via the constructible universe ), discovered rotating-universe solutions to Einstein's equations, and was a close colleague of Einstein at Princeton. His work permanently reshaped how mathematicians understand the limits of formal systems.
Building Intuition
Think of a formal theory as a game: axioms are the starting position, inference rules are the legal moves, and theorems are the positions reachable from the start. Semantics asks instead which positions are "good" (true in some intended world). The completeness theorem says, remarkably, that for first-order logic these two notions coincide — every truth is reachable. But once a theory can talk about its own moves (arithmetic codes proofs), it can construct a self-referential sentence — a logical analogue of "this statement cannot be reached by any legal sequence of moves." If the game is consistent, that sentence is indeed unreachable, hence true but unprovable. Incompleteness is therefore not a flaw of cleverness; it is the price of any system rich enough to describe itself.
Worked Examples
Given: Determine whether (modus ponens) is valid.
Steps: Enumerate all assignments to and evaluate the antecedent and the whole formula .
| 1 | 1 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 | 1 |
| 0 | 1 | 1 | 0 | 1 |
| 0 | 0 | 1 | 0 | 1 |
The final column is in every row.
Answer:
Given: A theory has, for each , a model with at least elements. Show has an infinite model.
Steps: 1. For each introduce the sentence ("there are at least distinct elements"). 2. Form . 3. Take any finite subset . It mentions only for some largest . By hypothesis has a model with elements, which satisfies all of . So is satisfiable. 4. Every finite subset is satisfiable by Compactness, has a model . 5. for all , so for every .
Answer: (This is why "finiteness" is not first-order expressible.)
Common Misconceptions
"Gödel's theorem shows mathematics is contradictory / unreliable." False. Incompleteness says a sufficiently strong consistent theory cannot prove every truth about arithmetic, and cannot prove its own consistency — not that it is inconsistent. Working mathematics is unaffected; the undecidable sentences are exotic self-referential constructions (though natural examples like Goodstein's theorem and the Paris–Harrington principle also exist).
"⊢ and ⊨ are the same thing." Only for first-order logic (validity), by completeness. For a theory like PA they diverge: there are sentences entailed by truth in that are not derivable from the axioms.
The Continuum Hypothesis (CH). One might expect every well-posed mathematical question to be decidable from the standard axioms ZFC. But Gödel (1940) showed ZFC cannot refute CH, and Cohen (1963, via forcing) showed ZFC cannot prove it. Thus
a concrete, natural statement about the size of that the accepted axioms leave genuinely undecided — a vivid counterexample to the dream of a single complete foundation.
Connections
Foundations and logic sit beneath the entire edifice of mathematics. Set Theory provides the objects (ZFC axioms) over which logic quantifies, and incompleteness/forcing are studied there. Model Theory is the semantic branch — studying structures, definability, and the Löwenheim–Skolem and compactness theorems. Proof Theory is the syntactic branch — ordinal analysis and the consistency strength of theories. Computability Theory is intimately linked: the recursively axiomatizable hypothesis and the diagonal lemma connect directly to Turing Machines and the unsolvability of the Halting Problem, which is essentially the First Incompleteness Theorem in computational dress. Category Theory offers an alternative structural foundation via Topos Theory.
Real-World Applications
Historical Development
Subtleties & Limits
Several deep questions remain at the frontier of foundations:
- Resolving the Continuum Hypothesis. Since CH is independent of ZFC, the search continues for new axioms (large-cardinal hypotheses, forcing axioms like MM, or Woodin's "Ultimate-" program) that would settle the size of the continuum on principled grounds. Whether there is a "correct" answer is philosophically contested (set-theoretic pluralism vs. realism).
- Consistency strength hierarchy. The strengths of theories are linearly ordered by large cardinals empirically, but why this near-linearity holds has no general explanation.
- Reverse mathematics asks which axioms are necessary to prove given theorems of ordinary mathematics; the program (Friedman, Simpson) has revealed surprising fine structure (the "big five" subsystems of second-order arithmetic) but does not exhaust all theorems.
- Foundational pluralism. Whether set theory, type theory (HoTT / univalent foundations), or category theory is the "right" foundation — or whether the question is even meaningful — remains open.
See Also
Set Theory · Model Theory · Proof Theory · Computability Theory · Gödel's Incompleteness Theorems · Boolean Algebra · Peano Arithmetic · Continuum Hypothesis · Curry–Howard Correspondence · Topos Theory