diff options
author | msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2011-02-28 17:55:26 +0000 |
---|---|---|
committer | msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2011-02-28 17:55:26 +0000 |
commit | ac789d8826023e4b63bd459da2e4748fc68ad9e0 (patch) | |
tree | 1304706b6ff06fc1c40212966d03fc6c9c7abb60 /theories/Classes | |
parent | 648ed9be93f948cc61295a045c7e777fc9aabaca (diff) |
- Allow rewriting under abitrary products, not just those in Prop.
- New [fold] rewrite strategy to do folding of terms up-to
unification and under binders (might leave uninstantiated
existentials). This does not build a proof, only a cast.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13864 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Classes')
-rw-r--r-- | theories/Classes/Morphisms.v | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/theories/Classes/Morphisms.v b/theories/Classes/Morphisms.v index 03e0ee8f8..f75c9274d 100644 --- a/theories/Classes/Morphisms.v +++ b/theories/Classes/Morphisms.v @@ -117,6 +117,10 @@ Ltac f_equiv := | _ => idtac end. +(** [forall_def] reifies the dependent product as a definition. *) + +Definition forall_def {A : Type} (B : A -> Type) : Type := forall x : A, B x. + (** Dependent pointwise lifting of a relation on the range. *) Definition forall_relation {A : Type} {B : A -> Type} (sig : Π a : A, relation (B a)) : relation (Π x : A, B x) := |