>>14048991A class is a collection: an entity for which, for any given thing, it is well-determined whether that thing is an element of it.
A set is a class that is an element of some class.
>>14049104The CH correspondence is essentially:
theorems ~ types
proofs ~ programs
So a program encodes a proof of its type.
For example:
If x corresponds to a proof of A and y corresponds to a proof of B, then the ordered pair <x, y> corresponds to a proof of A & B.
>>14049203The computer program encodes the proof.
>>14051869The collection of all ordinals is a collection of sets but not a set, by the Burali-Forti paradox.