You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.
-> This question has an elementary nature (an exercise on the impossibility to type the combinator, precisely Exercise 90 here); it becomes a purely category-theoretic problem. I would like to know more from connoisseurs of -calculus.
To my eye, "the" reason why one can't type the combinator is that if had a type, this would be an infinite tower of 's for some type : . (More formally: whatever the type of is, it must solve the equation for some function type.) Nowhere in the syntax the existence of such type is granted. And in the end, -calculus was invented exactly to prevent these illegal self-applications.
Nice and clear. But.
This means that something should go wrong when instead of "-calculus" I say "[language of a] cartesian closed category"; what, exactly?
I agree that in principle there is no reason for the "infinite internal hom" to exist. Yet, if the ambient category is sufficiently co/complete, say it is , I can consider infinite products : why shouldn't I consider also infinite iterations of the right adjoints of ?
What, exactly, prevents me from building a type/set that is a solution of the equation ?
Stop me when this argument isn't legitimate any more: consider the functor of your favourite cartesian closed category. Consider the diagram
and its transfinite composition (I think said colimit is an object of the category of functors , am I wrong?). Now, the image of under the functor "can't be", because it should exactly be the infamous . What's wrong, then?
Nothing prevents you from having CCCs with solutions to in general. And are used as models for the untyped lambda calculus.
Thanks! So, what is the precise sense in which "I can't type "?
For sets these are generally shown not to exist by some variation on Cantor's diagonal argument.
http://emis.matem.unam.mx/journals/TAC/reprints/articles/15/tr15.pdf
Here's a fancy Lawvere paper on the subject.
Anyhow, in many cases the point of types is to rule out this sort of thing. You can add it back in, though. Types like that sometimes use a notation like for the fixed point of .
aha! So I wasn't imagining the connection with Lawvere FPT (I remember some statements from that paper, if there's a remark on this very question, thanks double)
Constructive mathematics can be even more subtle here, too. There are examples of fixed points . But that is anti-classical, and I think it is different than .
But e.g. there are CCCs ancillary to domain theory that have examples of the latter, I believe.
I must admit I'm still a bit confused (mainly by the fact that I can't judge the correctness of my argument: what prevents me from typing Y? But in my timezone it's 2am, I think I'll call it a day :smile: )
In systems where you can't, it's because there's no type . And for in general, this is necessary to have models in , say, because the only assignments that satisfy are .
And this is the case for because for other choices of there are endomorphisms without fixed points.
I think the 'obvious' connection is probably that Y is notation for the fixed point that exists in Lawvere's argument.
Perhaps if you stare at his argument hard enough, he wrote Y in very cumbersome category notation. :)
In the diagram near the end of your original posts, you have the variable in the wrong slot in .
Also, the colimit of the diagram categories isn't likely to be --this is the construction for inverting a functor
If you write down the construction for an initial fixed point of a functor, which involves a colimit inside , then one problem will be that is contravariant, but a more serious issue is that it doesn't commute with colimits of any degree of filteredness, which is what you need to conclude that the construction produces a fixed point.
Both comments are quite explanatory, thank you. :smile: