diff options
author | msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2009-10-27 19:43:51 +0000 |
---|---|---|
committer | msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2009-10-27 19:43:51 +0000 |
commit | 36c448f43c7fa16163b543b941be4a917a712a37 (patch) | |
tree | 73affd4fede1fea0dd56a2600bc420de769432e2 /theories/Classes/RelationClasses.v | |
parent | 3178c7a29ff8b57a4598c4c5ded2eb29b8067dcf (diff) |
Add a new vernacular command for controling implicit generalization of
variables with syntax:
[Local?|Global] Generalizable Variable(s)? [all|none|id1 idn].
By default no variable is generalizable, so this patch breaks backward
compatibility with files that used implicit generalization (through
Instance declarations for example). To get back the old behavior, one
just needs to use [Global Generalizable Variables all].
Make coq_makefile more robust using [mkdir -p].
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12428 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Classes/RelationClasses.v')
-rw-r--r-- | theories/Classes/RelationClasses.v | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/theories/Classes/RelationClasses.v b/theories/Classes/RelationClasses.v index 0d6130263..cc3cae4da 100644 --- a/theories/Classes/RelationClasses.v +++ b/theories/Classes/RelationClasses.v @@ -74,6 +74,8 @@ Hint Extern 4 => solve_relation : relations. (** We can already dualize all these properties. *) +Generalizable Variables A B C D R S T U eqA eqB eqC eqD. + Program Lemma flip_Reflexive `(Reflexive A R) : Reflexive (flip R). Proof. tauto. Qed. |