# Categorical logic

From HandWiki

**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.
^{[2]}

- 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.

## See also

## Notes

- ↑
Goguen, Joseph; Mossakowski, Till; de Paiva, Valeria; Rabe, Florian; Schroder, Lutz (2007). "An Institutional View on Categorical Logic".
*International Journal of Software and Informatics***1**(1): 129–152. - ↑ Lawvere 1971, Quantifiers and Sheaves

## References

- Books

- Abramsky, Samson; Gabbay, Dov (2001).
*Logic and algebraic methods*. Handbook of Logic in Computer Science.**5**. Oxford University Press. ISBN 0-19-853781-6.

- Gabbay, D.M.; Kanamori, A.; Woods, J., eds (2012).
*Sets and Extensions in the Twentieth Century*. Handbook of the History of Logic.**6**. North-Holland. ISBN 978-0-444-51621-3. https://books.google.com/books?id=ZF_QckMFy-oC&pg=PR5.

- Kent, Allen; Williams, James G. (1990).
*Encyclopedia of Computer Science and Technology*. Marcel Dekker. ISBN 0-8247-2272-8. - Barr, M.; Wells, C. (1996).
*Category Theory for Computing Science*(2nd ed.). Prentice Hall. ISBN 978-0-13-323809-9. - Lambek, J.; Scott, P.J. (1988).
*Introduction to Higher Order Categorical Logic*. Cambridge studies in advanced mathematics.**7**. Cambridge University Press. ISBN 978-0-521-35653-4. https://books.google.com/books?id=6PY_emBeGjUC&pg=PR5. - Lawvere, F.W.; Rosebrugh, R. (2003).
*Sets for Mathematics*. Cambridge University Press. ISBN 978-0-521-01060-3. https://books.google.com/books?id=h3_7aZz9ZMoC&pg=PP1. - Lawvere, F.W.; Schanuel, S.H. (2009).
*Conceptual Mathematics: A First Introduction to Categories*(2nd ed.). Cambridge University Press. ISBN 978-1-139-64396-2. https://books.google.com/books?id=6G0gAwAAQBAJ&pg=PR7.

**Seminal papers**

- Lawvere, F.W. (November 1963). "Functorial Semantics of Algebraic Theories".
*Proceedings of the National Academy of Sciences***50**(5): 869–872. doi:10.1073/pnas.50.5.869. PMID 16591125. Bibcode: 1963PNAS...50..869L. *Proceedings of the National Academy of Sciences***52**(6): 1506–11. doi:10.1073/pnas.52.6.1506. PMID 16591243. Bibcode: 1964PNAS...52.1506L.*Actes : Du Congres International Des Mathematiciens Nice 1-10 Septembre 1970. Pub. Sous La Direction Du Comite D'organisation Du Congres*. Gauthier-Villars. pp. 1506–11. OCLC 217031451.

## Further reading

- Makkai, Michael; Reyes, Gonzalo E. (1977).
*First order categorical logic*. Lecture Notes in Mathematics.**611**. Springer. doi:10.1007/BFb0066201. ISBN 978-3-540-08439-6. https://link.springer.com/book/10.1007/BFb0066201. - Lambek, J.; Scott, P.J. (1988).
*Introduction to Higher Order Categorical Logic*. Cambridge studies in advanced mathematics.**7**. Cambridge University Press. ISBN 978-0-521-35653-4. https://books.google.com/books?id=6PY_emBeGjUC&pg=PR5. 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. - Jacobs, Bart (1999).
*Categorical Logic and Type Theory*. Studies in Logic and the Foundations of Mathematics.**141**. North Holland, Elsevier. ISBN 0-444-50170-3. https://www.cs.ru.nl/B.Jacobs/CLT/bookinfo.html. 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. - Bell, John Lane (2001). "The Development of Categorical Logic". in Gabbay, D.M.; Guenthner, Franz.
*Handbook of Philosophical Logic*.**12**(2nd ed.). Springer. pp. 279–361. ISBN 978-1-4020-3091-8. https://books.google.com/books?id=yObMqG9EcCEC&pg=PA279. Version available online at John Bell's homepage. - Marquis, Jean-Pierre; Reyes, Gonzalo E.. "The History of Categorical Logic 1963–1977".
*Gabbay, Kanamori & Woods 2012*. pp. 689–800. https://books.google.com/books?id=ZF_QckMFy-oC&pg=PA689.

A preliminary version.

## External links

- Awodey, Steve (9 July 2022). "Categorical Logic".
*lecture notes*. https://github.com/awodey/CatLogNotes. - Lurie, Jacob. "Categorical Logic (278x)".
*lecture notes*. http://www.math.harvard.edu/~lurie/278x.html.

Original source: https://en.wikipedia.org/wiki/Categorical logic.
Read more |