Technopedia

The technologist’s encyclopedia

Logic and foundations

Logic and foundations studies the rules of reasoning, the axiomatic structure of mathematics, and the limits of formal systems. It is relevant whenever a problem needs rigorous proof, formal specification, decidability analysis, or a clear understanding of what can and cannot be established within a given framework. It underlies all of mathematics, computer science, and formal verification.

Brief history

Logic and foundations is deeply intertwined with Computer Science: type theory underpins programming-language semantics, and computability underpins the theory of algorithms (see Theory of Computation).

Classes

PageKey questionCore objectsHow it relates
Mathematical logicWhat counts as a valid inference, and what can a formal system prove?propositional and predicate logic, formal systems, model theory, proof theory, Gödel incompleteness theoremsthe meta-discipline that studies formal systems themselves; its incompleteness theorems bound what any foundation (set-theoretic or type-theoretic) can prove
Computability and decidabilityWhat can be mechanically decided?Turing machines, halting problem, arithmetical hierarchy, recursive functionsbounds what proofs and algorithms can achieve; the Computer-Science-side treatment of the same questions lives in Theory of Computation
Set theoryWhat is the universe of mathematical objects?sets, cardinality, ordinals, axioms (ZFC), large cardinalsthe standard foundational language for mathematics; provides the universe in which other structures live; underpins measure theory and hence Probability and statistics
Category theoryWhat is structure, and when do two structures behave the same?categories, functors, natural transformations, limits, adjunctionsabstracts structure and morphism across all of mathematics; a rival foundation to set theory (topos theory) and the native language of modern algebra
Type theoryHow do propositions and programs correspond?type systems, lambda calculus, Curry–Howard correspondence, dependent types, homotopy type theoryan alternative foundational framework at the intersection of logic and computability; underpins programming-language semantics and proof assistants (Coq, Agda, Lean)
Details

How to use the table as a map. Mathematical logic and Computability and decidability are meta-disciplines: they study formal systems and mechanical procedures from the outside. Set theory, Category theory, and Type theory are foundational languages: each is a language in which mathematics itself can be written, and to a large extent they are rivals — a theorem of one can often be translated into another, but each makes different statements feel natural to express.

Connections to the rest of Mathematics. Set theory underpins measure theory, which in turn underpins Probability and statistics. Category theory supplies the language of algebraic structure used throughout Algebraic and discrete mathematics. On the Computer Science side, type theory underpins programming-language semantics (see Language Theory), and computability underpins the theory of algorithms (see Theory of Computation).

A note on breadth. Mathematical logic and Computability and decidability are each broad enough to become topic pages with their own sub-categorizations; they are listed here as classes until those pages exist. Set theory, Category theory, and Type theory are likewise broad enough to be topic pages of their own.