Start of SE.  Fix bug MacKenzie found in refinement types.
SE and type inference.