simplify app fun checking, like in paper. remove has-mem-tm which uses expansion in favor of pure subtyping. this way, we might not need to relate subtyping and expansion.