跳到正文
The Lumenary
研究生一年级Category Theory计划中

Categorical logic

Logic and type theory interpreted in categories: cartesian closed categories and the simply typed λ-calculus (Curry–Howard–Lambek), quantifiers as adjoints, and Heyting algebras as models of intuitionistic logic.

math.cat.categorical-logic

本主题的课程尚未编写。下面的提纲是课程地图的一部分,尚未经过审校。

前置知识

29 项必需的前置知识(一直追溯到底)

你将学会

  • Interpret the simply typed λ-calculus with products in any cartesian closed category, and show that Set is cartesian closed.
  • Express ∃ and ∀ as left and right adjoints to pulling back predicates along a projection (Lawvere).
  • Use Heyting algebras to model intuitionistic propositional logic, and show that P ∨ ¬P fails in some models.

定义

  • A cartesian closed category has finite products and, for every object B, a right adjoint (−)^B to the functor − × B.
  • A Heyting algebra is a bounded lattice with an operation → such that c ≤ (a → b) if and only if c ∧ a ≤ b.
  • For a projection π : X × Y → X, pulling back subsets π* has a left adjoint ∃_π and a right adjoint ∀_π (Lawvere).

定理

  • Curry–Howard–Lambek: the simply typed λ-calculus with products serves as an internal language for cartesian closed categories.
  • Quantifiers are adjoints to substitution.
  • Intuitionistic propositional logic is sound and complete with respect to Heyting algebras.
  • The open subsets of ℝ form a Heyting algebra that is not Boolean.

常见误解

  • Thinking categorical semantics replaces set-theoretic semantics; models in Set are one important case among many.
  • Believing intuitionistic logic asserts the negation of excluded middle; it merely does not assume excluded middle, and it proves ¬¬(P ∨ ¬P).

通向

可选发现

延伸阅读

  • J. Lambek and P. J. Scott, Introduction to Higher Order Categorical Logic (1986)
  • Steve Awodey, Category Theory (2006)