Feedback Numerical method is a quick check on intuition 

Forum: U Chicago, Com Sci 221, autumn 2000
Re: News Final exam Monday 4 December (Mike O'Donnell)
Re: None Set Theoretic Types Mathematically (Oliver Rothschild)
Date: 2000, Dec 04
From: Mike O'Donnell <odonnell@cs.uchicago.edu>

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: "Numerical method is a quick check on intuition"