working on the semantic proof.
stratified type and value propositions for app_fold.