Classical vs Quantum Computation (Week 14)
Posted by John Baez
This time in our course on Classical vs. Quantum Computation, we sketched how a typed λ-calculus serves as a presentation of a cartesian closed category, and how every cartesian closed category arises this way. Since the students seemed to be struggling with the levels of abstraction involved, we slowed down to tackle an example:
-
Week 14 (Feb. 15) - The cartesian closed category generated by a typed λ-calculus, and how this construction gives a functor . The ‘internal language’ of a cartesian closed category, and how this gives a functor . and are adjoint,
and in fact give an equivalence between typed λ-calculi and
and cartesian closed categories. Example 1: the λ-theory of
commutative rings.
Supplementary reading:
- Joachim Lambek and Phil Scott, Introduction to Higher-Order Categorical Logic, Cambridge U. Press, 1988. Part 1, Section 11: the cartesian closed category generated by a typed λ-calculus.
Last week’s notes are here; next week’s notes are here.
At the end of class we raised a puzzle: what is a cartesian closed functor
where is the typed -calculus for commutative rings, and is the cartesian closed category generated by this -calculus?
Only one student claimed to know the answer — so I urged him not to say what it was, and I began leading everyone else to the solution through a process of Socratic dialogue. There are, in fact, some nasty subtleties lurking in here.
Next time we’ll finish solving this puzzle and tackle a better example: the typed -calculus for high school calculus.
Re: Classical vs Quantum Computation (Week 14)
What do you mean by ‘high school calculus’? Do you mean a Tarski high-school algebra (like the natural numbers under addition, multiplication, and exponentiation), accidentally typing ‘calculus’ twice? Or do you mean some rule-based version of differential calculus with no reference to εs and δs (something like a differential algebra)?