Add s-check-expr and rename a-proven to a-checked.

The AST now has a variant s-check-expr which checks that some expression
has the type that we claim it does. Also, a-proven has been renamed to
be a-checked, which is more in line with what's happening.