|
I think of the numerical method as just a quick check on the computational intuition. The computational intuition is the important part. The numerical trick is just a matter of considering unknown types (A, B, C in the examples that we've been discussion) as finite sets of a particular size, and computing the sizes of more complicated types as a function of the sizes of their basic components. Cross product corresponds to multiplication, marked union corresponds to addition, and the functional arrow corresponds to backwards exponentiation. That is, the size of A->B is the size of B to the power of the size of A. Then, it's clear that a type with fewer members cannot possibly represent a type with more members. With no computational constraints, a type can always represent a type with no more members, but the representation will not always be computationally sensible. We still have to depend on intuition as the final judge of computationally sensible. The numerical trick is not very useful for list types. Even when A is finite, A* is infinite (except when A is empty). Mike O'D. |
to: