Re: Simplifying casts and beta-reduction