Categories, Proofs and Programs: 20062007
Lecturer 

Class Tutor 
Overview
Category Theory is a powerful mathematical formalism which has become an important tool in modern mathematics, logic and computer science. One main idea of Category Theory is to study mathematical `universes', collections of mathematical structures and their structurepreserving transformations, as mathematical structures in their own right, i.e. categories  which have their own structurepreserving transformations (functors). This is a very powerful perspective, which allows many important structural concepts of mathematics to be studied at the appropriate level of generality, and brings many common underlying structures to light, yielding new connections between apparently different situations.
Another important aspect is that settheoretic reasoning with elements is replaced by reasoning in terms of arrows. This is more general, more robust, and reveals more about the intrinsic structure underlying particular settheoretic representations.
Category theory has many important connections to logic. We shall in particular show how it illuminates the study of formal proofs as mathematical objects in their own right. This will involve looking at the CurryHoward isomorphism between proofs and programs, and at Linear Logic, a resourcesensitive logic. Both of these topics have many important applications in Computer Science.
Category theory has also deeply influenced the design of modern (especially functional) programming languages, and the study of program transformations. One exciting recent development we will look at will be the development of the idea of coalgebra, which allows the formulation of a notion of coinduction, dual to that of mathematical induction, which provides powerful principles for defining and reasoning about infinite objects.
This course will develop the basic ideas of Category Theory, and explore its applications to the study of proofs in logic, and to the algebraic structure of programs and programming languages.
Prerequisites
Some familiarity with basic discrete mathematics: sets, functions, relations, mathematical induction. Basic familiarity with logic: propositional and predicate calculus. Some first acquaintance with abstract algebra: vector spaces and linear maps, and/or groups and group homomorphisms. Some familiarity with programming, particularly functional programming, would be useful but is not essential.Syllabus
 Introduction to category theory. Categories, functors, natural transformations. Isomorphisms. monics and epics. Products and coproducts. Universal constructions. Cartesian closed categories. Symmetric monoidal closed categories. The ideas will be illustrated with many examples, from both mathematics and Computer Science.
 Introduction to structural proof theory. Natural deduction, simply typed lambda calculus, the CurryHoward correspondence. Introduction to Linear Logic. The connection between logic and categories.
 Further topics in category theory. Algebras, coalgebras and monads. Connections to programming (structural recursion and corecursion), and to programming languages (monads as types for computational effects).
Reading list
The following books provide useful background reading.
 Basic Category Theory for Computer Science, Pierce.
 Conceptual Mathematics, Lawvere and Schanuel.
 Categories for the Working Mathematician, Saunders Mac Lane.
 Categories and Types, R. Crole.
 Proofs and Types, Girard, Lafont and Taylor.
 Algebra of Programming, Bird and de Moor.