Categorical logic explained
Categorical logic is the branch of mathematics in which tools and concepts from category theory are applied to the study of mathematical logic. It is also notable for its connections to theoretical computer science.[1] In broad terms, categorical logic represents both syntax and semantics by a category, and an interpretation by a functor. The categorical framework provides a rich conceptual background for logical and type-theoretic constructions. The subject has been recognisable in these terms since around 1970.
Overview
There are three important themes in the categorical approach to logic:
- Categorical semantics: Categorical logic introduces the notion of structure valued in a category C with the classical model theoretic notion of a structure appearing in the particular case where C is the category of sets and functions. This notion has proven useful when the set-theoretic notion of a model lacks generality and/or is inconvenient. R.A.G. Seely's modeling of various impredicative theories, such as System F, is an example of the usefulness of categorical semantics.
It was found that the connectives of pre-categorical logic were more clearly understood using the concept of adjoint functor, and that the quantifiers were also best understood using adjoint functors.
- Internal languages: This can be seen as a formalization and generalization of proof by diagram chasing. One defines a suitable internal language naming relevant constituents of a category, and then applies categorical semantics to turn assertions in a logic over the internal language into corresponding categorical statements. This has been most successful in the theory of toposes, where the internal language of a topos together with the semantics of intuitionistic higher-order logic in a topos enables one to reason about the objects and morphisms of a topos as if they were sets and functions. This has been successful in dealing with toposes that have "sets" with properties incompatible with classical logic. A prime example is Dana Scott's model of untyped lambda calculus in terms of objects that retract onto their own function space. Another is the Moggi–Hyland model of system F by an internal full subcategory of the effective topos of Martin Hyland.
Term-model constructions: In many cases, the categorical semantics of a logic provide a basis for establishing a correspondence between theories in the logic and instances of an appropriate kind of category. A classic example is the correspondence between theories of βη-equational logic over simply typed lambda calculus and Cartesian closed categories. Categories arising from theories via term-model constructions can usually be characterized up to equivalence by a suitable universal property. This has enabled proofs of meta-theoretical properties of some logics by means of an appropriate categorical algebra. For instance, Freyd gave a proof of the disjunction and existence properties of intuitionistic logic this way.
See also
References
- Books
- Book: Abramsky. Samson. Gabbay. Dov. Handbook of Logic in Computer Science . 5. Logic and algebraic methods. Oxford University Press. 2001. 0-19-853781-6.
- Book: Aluffi, Paolo . Algebra: Chapter 0 . American Mathematical Society . 2009 . 978-1-4704-1168-8 . 1st . 18-20.
- Book: D.M. . Gabbay . A. . Kanamori . J. . Woods . [{{GBurl|ZF_QckMFy-oC|pg=PR5}} Sets and Extensions in the Twentieth Century ]. North-Holland . Handbook of the History of Logic . 6 . 2012 . 978-0-444-51621-3 .
- Book: Kent. Allen. Williams. James G.. Encyclopedia of Computer Science and Technology. Marcel Dekker. 1990. 0-8247-2272-8.
- Book: Michael Barr (mathematician) . Charles Wells (mathematician) . Barr . M. . Wells . C. . Category Theory for Computing Science . Prentice Hall . 2nd . 1996 . 978-0-13-323809-9 .
- Book: Joachim Lambek . P.J. Scott . Lambek . J. . Scott . P.J. . [{{GBurl|6PY_emBeGjUC|pg=PR5}} Introduction to Higher Order Categorical Logic ]. Cambridge University Press . Cambridge studies in advanced mathematics . 7 . 1988 . 978-0-521-35653-4 .
- Book: Francis William Lawvere . Robert Rosebrugh . Lawvere . F.W. . Rosebrugh . R. . [{{GBurl|h3_7aZz9ZMoC|pg=PP1}} Sets for Mathematics ]. Cambridge University Press . 2003 . 978-0-521-01060-3 .
- Book: Lawvere . F.W. . Stephen H. Schanuel . Schanuel . S.H. . [{{GBurl|6G0gAwAAQBAJ|pg=PR7}} Conceptual Mathematics: A First Introduction to Categories ]. Cambridge University Press . 2nd . 2009 . 978-1-139-64396-2 .
Seminal papers
- Francis William Lawvere . F.W. . Lawvere . Functorial Semantics of Algebraic Theories . . 50 . 5 . 869–872 . November 1963 . 10.1073/pnas.50.5.869 . 71935 . 16591125 . 221940. 1963PNAS...50..869L . free .
- 1 . F.W. . Lawvere . Elementary Theory of the Category of Sets . Proceedings of the National Academy of Sciences . 52 . 6 . 1506–11 . December 1964 . 10.1073/pnas.52.6.1506 . 72513 . 16591243 . 300477. 1964PNAS...52.1506L . free .
- Book: Lawvere, F. William . 1 . Quantifiers and Sheaves . Actes : Du Congres International Des Mathematiciens Nice 1-10 Septembre 1970. Pub. Sous La Direction Du Comite D'organisation Du Congres . Gauthier-Villars . 217031451 . 1971 . 1506–11 . 0261.18010.
Further reading
- Book: Michael Makkai . Michael . Makkai . Gonzalo E. . Reyes . First order categorical logic . Springer . 1977 . 978-3-540-08439-6 . 10.1007/BFb0066201 . Lecture Notes in Mathematics . 611.
- Book: Lambek . J. . Scott . P.J. . [{{GBurl|6PY_emBeGjUC|pg=PR5}} Introduction to Higher Order Categorical Logic ]. Cambridge University Press . Cambridge studies in advanced mathematics . 7 . 1988 . 978-0-521-35653-4 . Fairly accessible introduction, but somewhat dated. The categorical approach to higher-order logics over polymorphic and dependent types was developed largely after this book was published.
- Book: Jacobs
, Bart
. Categorical Logic and Type Theory . 1999 . North Holland, Elsevier . 0-444-50170-3 . Studies in Logic and the Foundations of Mathematics . 141 . A comprehensive monograph written by a computer scientist; it covers both first-order and higher-order logics, and also polymorphic and dependent types. The focus is on fibred category as universal tool in categorical logic, which is necessary in dealing with polymorphic and dependent types.
- Book: Bell, John Lane . John Lane Bell . The Development of Categorical Logic . . D.M. . Gabbay . Franz . Guenthner . Handbook of Philosophical Logic . Springer . 12. 2nd . 2001 . 978-1-4020-3091-8 . 279–361 . Version available online at John Bell's homepage.
- Book: Jean-Pierre . Marquis . Gonzalo E. . Reyes . The History of Categorical Logic 1963–1977 . . . 689–800.
A preliminary version.
- Web site: Steve Awodey . Steve . Awodey . Categorical Logic . 12 July 2024. lecture notes .
- Web site: Jacob Lurie . Jacob . Lurie . Categorical Logic (278x) . lecture notes .
Notes and References
- Joseph . Goguen . Till . Mossakowski . Valeria . de Paiva . Florian . Rabe . Lutz . Schroder . An Institutional View on Categorical Logic . . 1 . 1 . 129–152 . 2007 . 10.1.1.126.2361.