Mercurial > cpdt > repo
diff src/Subset.v @ 475:1fd4109f7b31
Batch of changes based on proofreader feedback
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Mon, 22 Oct 2012 14:23:52 -0400 |
parents | d9e1fb184672 |
children | b7419a10e52e |
line wrap: on
line diff
--- a/src/Subset.v Mon Oct 22 13:48:45 2012 -0400 +++ b/src/Subset.v Mon Oct 22 14:23:52 2012 -0400 @@ -873,9 +873,11 @@ Definition typeCheck' : forall e : exp, {t : type | hasType e t} + {forall t, ~ hasType e t}. (* begin thide *) Hint Constructors hasType. + (** We register all of the typing rules as hints. *) Hint Resolve hasType_det. + (** The lemma [hasType_det] will also be useful for proving proof obligations with contradictory contexts. Since its statement includes [forall]-bound variables that do not appear in its conclusion, only [eauto] will apply this hint. *) (** Finally, the implementation of [typeCheck] can be transcribed literally, simply switching notations as needed. *)