Skip to content

03. Logic and Foundations

Formal logic, set theory, computability, and the foundations of mathematics treated as a formal system.

This volume develops formal logic, set theory, computability, and the foundations of mathematics in a unified way, where syntax, semantics, proof, and computation are treated as precise mathematical objects.

Part I. Propositional and First-Order Logic

Chapter 1. Propositional Logic

This chapter introduces the basic language of propositional logic, its semantics, equivalence laws, normal forms, and the relation between proof and truth.

Chapter 2. First-Order Logic

This chapter extends propositional logic by introducing terms, predicates, quantifiers, and structures for interpreting mathematical statements.

Chapter 3. Proof Systems

This chapter studies formal systems for deriving conclusions, including natural deduction, sequent calculus, and Hilbert systems.

Part II. Model Theory

Chapter 4. Structures and Models

This chapter introduces formal structures, interpretations of languages, and methods for comparing mathematical models.

Chapter 5. Compactness and Completeness

This chapter develops compactness, completeness, and model existence results, together with their applications.

Chapter 6. Definability and Types

This chapter studies definable sets, types, saturation, and the beginnings of classification theory.

Part III. Set Theory

Chapter 7. Basic Set Theory

This chapter introduces sets, relations, functions, cardinality, ordinals, and the basic axioms of set theory.

Chapter 8. Axiomatic Systems

This chapter studies the Axiom of Choice, equivalent principles, constructibility, and independence results.

Chapter 9. Advanced Set Theory

This chapter introduces forcing, large cardinals, descriptive set theory, and advanced applications.

Part IV. Computability Theory

Chapter 10. Computable Functions

This chapter develops formal notions of computation, recursive functions, and equivalent computational models.

Chapter 11. Turing Machines

This chapter presents Turing machines, universal computation, and undecidability results.

Chapter 12. Degrees of Unsolvability

This chapter compares undecidable problems using reducibility and studies the structure of Turing degrees.

Part V. Proof Theory

Chapter 13. Formal Proof Systems

This chapter studies proofs as formal objects, including derivations, normalization, and complexity.

Chapter 14. Godel Theorems

This chapter presents the incompleteness theorems and their consequences for formal systems.

Chapter 15. Ordinal Analysis

This chapter studies the strength of theories using ordinals and transfinite methods.

Part VI. Type Theory and Constructive Logic

Chapter 16. Intuitionistic Logic

This chapter develops constructive logic, proof interpretation, and Kripke semantics.

Chapter 17. Type Theory

This chapter introduces type systems, dependent types, and the connection between proofs and programs.

Chapter 18. Homotopy Type Theory

This chapter presents types as spaces, equality as paths, and the univalence principle.

Part VII. Logic and Computer Science

Chapter 19. Formal Languages

This chapter studies grammars, automata, and language recognition.

Chapter 20. Logic in Programming

This chapter studies the role of logic in programming languages, verification, and synthesis.

Chapter 21. Complexity Theory

This chapter studies computational complexity, reductions, and limits of efficient computation.

Part VIII. Foundations of Mathematics

Chapter 22. Foundations Programs

This chapter surveys major foundational views such as logicism, formalism, and intuitionism.

Chapter 23. Philosophy and Interpretation

This chapter studies truth, existence, and the interpretation of formal systems.

Chapter 24. Limits of Formal Systems

This chapter studies incompleteness, undecidability, independence, and the boundaries of formal reasoning.

Appendix

1. Propositional LogicFoundations of propositional logic including syntax, semantics, equivalence, normal forms, and proof systems.
2 min
1.1 SyntaxDefinition of propositional variables, logical connectives, and formation rules for well formed formulas.
7 min
1.2 SemanticsTruth values, valuations, and evaluation of propositional formulas using truth tables.
5 min
1.3 EquivalenceLogical equivalence, truth preserving transformations, and basic laws for rewriting propositional formulas.
6 min
1.4 Normal FormsConjunctive normal form, disjunctive normal form, and systematic conversion of propositional formulas.
7 min
1.5 Soundness and CompletenessSoundness, completeness, and the relationship between semantic validity and formal provability.
6 min
2. First-Order LogicExtension of propositional logic with terms, predicates, quantifiers, structures, satisfaction, models, validity, and entailment.
2 min
2.1 Terms, PredicatesSyntax of first order logic including terms, predicate symbols, and the formation of formulas.
5 min
2.2 QuantifiersUniversal and existential quantifiers, scope, free variables, bound variables, and variable capture.
6 min
2.3 StructuresStructures, domains, and interpretations of symbols in first order logic.
5 min
2.4 SatisfactionSatisfaction, truth in a structure, models of sentences, and theories in first order logic.
7 min
2.5 Validity and EntailmentValidity, semantic entailment, satisfiability, countermodels, and logical consequence in first order logic.
6 min
3. Proof SystemsFormal systems for deriving logical conclusions including natural deduction, sequent calculus, Hilbert systems, and proof transformations.
2 min
3.1 Natural DeductionIntroduction to natural deduction, inference rules, and structured proofs for propositional logic.
5 min
3.2 Sequent CalculusSequents, structural rules, and introduction rules for logical connectives in the sequent calculus.
5 min
3.3 Hilbert SystemsHilbert style proof systems, axioms, and derivations using a minimal set of inference rules.
4 min
3.4 Proof TransformationsTransformations of proofs, normalization, and structural properties of derivations.
5 min
3.5 Cut EliminationThe cut rule, its elimination, and consequences for consistency and normalization.
4 min
4. Structures and ModelsBasic model theoretic notions including languages, signatures, substructures, embeddings, elementary equivalence, isomorphism, and examples.
2 min
4.1 LanguagesFormal languages, signatures, and symbols used to describe structures in first order logic.
5 min
4.2 SubstructuresSubstructures, generated substructures, homomorphisms, embeddings, and preservation of atomic formulas.
6 min
4.3 Elementary EquivalenceElementary equivalence, theories of structures, and preservation of first order sentences.
4 min
4.4 IsomorphismIsomorphisms of first order structures, structural invariants, and properties preserved by isomorphism.
6 min
4.5 ExamplesExamples of first order structures from algebra, order theory, graph theory, and geometry.
8 min
5. Compactness and CompletenessCompactness, completeness, Lowenheim-Skolem theorems, nonstandard models, and limitations of first order logic.
2 min
5.1 CompactnessDetailed development of the compactness theorem, its proof via completeness, and fundamental applications in model theory.
6 min
5.2 Lowenheim SkolemDownward and upward Lowenheim Skolem theorems and their consequences for model sizes in first order logic.
4 min
5.3 ApplicationsApplications of compactness and Lowenheim Skolem to algebraic structures and existence results.
5 min
5.4 Nonstandard ModelsConstruction and properties of nonstandard models using compactness and Lowenheim Skolem.
4 min
5.5 LimitationsExpressive limitations of first order logic, including inexpressibility of finiteness and categoricity issues.
5 min
6. Definability and TypesDefinable sets, definable functions, types, realizations, saturated models, stability theory, and classification programs.
2 min
6.1 Definable SetsDefinition of definable sets and functions in first order structures, with parameters, examples, closure properties, and proofs.
16 min
6.2 Types and RealizationsDefinition of complete and partial types, realization of types in structures, examples, consistency, and basic properties.
13 min
6.3 Saturated ModelsSaturated models, realization of types, and their role in controlling definability and extensions.
6 min
6.4 StabilityDetailed introduction to stability theory, counting types, order property, definability of types, and structural consequences.
7 min
6.5 ClassificationDetailed overview of classification theory, dividing lines such as stability, simplicity, and NIP, and the structural analysis of first order theories.
7 min
7. Basic Set TheoryBasic set theoretic notions including sets, relations, functions, cardinality, ordinals, well ordering, cardinal arithmetic, and the ZF and ZFC axioms.
1 min
7.1 Sets, Relations, FunctionsBasic set theoretic language, including sets, membership, subsets, operations, relations, equivalence relations, order relations, and functions.
17 min
7.2 Cardinality and CountabilityCardinality, finite and infinite sets, countable sets, uncountable sets, and Cantor diagonal arguments.
12 min
7.3 Ordinals and Well OrderingWell ordered sets, order isomorphisms, ordinals, successor ordinals, limit ordinals, and transfinite induction.
13 min
7.4 Arithmetic of CardinalsCardinal addition, multiplication, exponentiation, finite and infinite cardinal arithmetic, and basic comparison laws.
13 min
7.5 ZF and ZFCThe axioms of Zermelo Fraenkel set theory, the role of choice, and the use of axioms as a foundation for mathematics.
11 min
8. Axiomatic SystemsAxiom of Choice, equivalent formulations, constructible universe, consistency results, and independence phenomena.
1 min
8.1 Axiom of ChoiceThe axiom of choice, choice functions, indexed families, and first consequences in axiomatic set theory.
13 min
8.2 Equivalent FormulationsEquivalent forms of the axiom of choice, including Zorn's lemma, the well ordering theorem, maximal principles, and right inverses of surjections.
18 min
8.3 Constructible UniverseThe constructible universe, definable subsets, the hierarchy L_alpha, and the axiom of constructibility.
15 min
8.4 Consistency ResultsRelative consistency, inner models, constructibility, and the role of consistency results in axiomatic set theory.
9 min
8.5 Independence PhenomenaIndependence results in set theory, including the axiom of choice and the continuum hypothesis, and the methods used to establish independence.
6 min
9. Advanced Set TheoryForcing, large cardinals, descriptive set theory, determinacy principles, and applications in analysis and topology.
1 min
9.1 ForcingAn introduction to forcing, generic filters, forcing names, the forcing relation, and the basic extension theorem.
15 min
9.2 Large CardinalsAn introduction to large cardinal axioms, inaccessible cardinals, measurable cardinals, elementary embeddings, and consistency strength.
12 min
9.3 Descriptive Set TheoryAn introduction to Polish spaces, Borel sets, analytic sets, projective sets, regularity properties, and the role of definability in set theory.
12 min
9.4 DeterminacyAn introduction to infinite games, determined games, the axiom of determinacy, projective determinacy, and consequences for sets of reals.
12 min
9.5 ApplicationsApplications of advanced set theory to analysis and topology, including regularity properties, Banach spaces, measure theory, and topological classification.
7 min
10. Computable FunctionsRecursive functions, partial and total functions, the Church-Turing thesis, formal models of computation, and equivalence of models.
1 min
10.1 Recursive FunctionsPrimitive recursive functions, general recursive functions, minimization, and the formal construction of computable numerical functions.
4 min
10.2 Partial vs TotalDistinction between partial and total computable functions, undefined values, domains of definition, and the role of nontermination.
11 min
10.3 Church TuringThe Church Turing thesis, formal models of computation, equivalence of models, and the distinction between mathematical theorem and foundational principle.
14 min
10.4 Formal ModelsTuring machines, register machines, lambda calculus, recursive functions, and the precise mathematical models used to define computation.
13 min
10.5 EquivalenceDetailed equivalence proofs between Turing machines, recursive functions, and lambda calculus, with explicit constructions and simulations.
7 min
11. Turing MachinesTuring machine definitions, computation traces, universal machines, the halting problem, and undecidability results.
1 min
11.1 Machine DefinitionsFormal definition of Turing machines, including states, tape, alphabets, and transition functions.
4 min
11.2 Computation TracesStep-by-step evolution of Turing machine configurations and how computations are represented as traces.
4 min
11.3 Universal MachinesMachines that simulate any other Turing machine, establishing the concept of programmable computation.
4 min
11.4 Halting ProblemThe undecidable problem of determining whether a Turing machine halts on a given input.
5 min
11.5 Undecidability ResultsExtensions of undecidability using reductions and general results such as Rice’s theorem.
5 min
12. Degrees of UnsolvabilityReducibility, Turing degrees, recursively enumerable sets, Post's problem, and the structure of degrees.
1 min
12.1 ReducibilityFormal methods for comparing decision problems using many-one and Turing reducibility.
4 min
12.2 Turing DegreesEquivalence classes of sets under Turing reducibility and the ordering of computational power.
4 min
12.3 Recursively Enumerable SetsSets that can be enumerated by algorithms and their role in semi-decidability and computability theory.
5 min
12.4 Post’s ProblemExistence of intermediate degrees between computable sets and the halting problem.
3 min
12.5 Structure of DegreesGlobal properties of the Turing degrees including incomparability, density, and jump structure.
3 min
13. Formal Proof SystemsSyntax of proofs, derivability, normal forms, consistency proofs, proof length, and proof complexity.
1 min
13.1 Syntax of ProofsFormal structure of proofs, including derivations, inference rules, axioms, and proof representations.
5 min
13.2 DerivabilityFormal notion of deriving formulas from assumptions, including structural properties and inference behavior.
4 min
13.3 Normal FormsNormalization of proofs, elimination of detours, and structural simplification of derivations.
4 min
13.4 Consistency ProofsMethods for proving consistency of formal systems, including syntactic and semantic approaches.
5 min
13.5 Proof Length and ComplexityQuantitative study of proofs, including proof size, efficiency, and connections to computational complexity.
5 min
14. Godel TheoremsArithmetization of syntax, the first and second incompleteness theorems, implications for formal systems, and refinements.
1 min
14.1 ArithmetizationEncoding symbols, formulas, and proofs as natural numbers to allow arithmetic to reason about its own syntax.
3 min
14.2 First IncompletenessConstruction of a true but unprovable statement using diagonalization and self-reference.
3 min
14.3 Second IncompletenessProof that no sufficiently strong consistent system can prove its own consistency.
3 min
14.4 ImplicationsConsequences of incompleteness for truth, provability, independence, and the structure of formal systems.
3 min
14.5 ExtensionsStronger forms of incompleteness, Rosser’s improvement, Löb’s theorem, and connections to computability.
3 min
15. Ordinal AnalysisProof theoretic ordinals, transfinite induction, strength of theories, applications to arithmetic, and limits of formal strength.
1 min
16. Intuitionistic LogicConstructive semantics, proof interpretation, differences from classical logic, Kripke models, and applications in computation.
1 min
17. Type TheorySimple type theory, dependent types, Curry-Howard correspondence, proof assistants, and formalized mathematics.
1 min
17. Type TheorySimple type theory, dependent types, Curry-Howard correspondence, proof assistants, and formalized mathematics.
1 min
19. Formal LanguagesGrammars, syntax, automata theory, regular and context free languages, parsing, recognition, and applications in compilers.
1 min
20. Logic in ProgrammingLogic programming, type systems, verification, model checking, and program synthesis.
1 min
20. Logic in ProgrammingLogic programming, type systems, verification, model checking, and program synthesis.
1 min
22. Foundations ProgramsLogicism, formalism, intuitionism, structuralism, and modern perspectives on the foundations of mathematics.
1 min
22. Foundations ProgramsLogicism, formalism, intuitionism, structuralism, and modern perspectives on the foundations of mathematics.
1 min
24. Limits of Formal SystemsIncompleteness, undecidability, independence, practical implications, and future directions in logic and foundations.
1 min
PrefaceOverview of mathematical logic, its scope, and the structure of the book.
3 min