diff options
author | 2008-07-01 17:03:43 +0000 | |
---|---|---|
committer | 2008-07-01 17:03:43 +0000 | |
commit | f6007680bfa822ecc3d2f101fb6e21e2b1464b1b (patch) | |
tree | b1868ec32ab9c1f901f1cd4d51f44e80c9e78b82 /theories/Classes | |
parent | 403399674d51d725c56ddbc15bc3d593ead8a800 (diff) |
Various bug fixes in type classes and subtac:
- Cases on multiple objects
- Avoid dangerous coercion with evars in subtac_coercion
- Resolve typeclasses method-by-method to get better error messages.
- Correct merging of instance databases (and add debug printer)
- Fix a script in NOrder where a setoid_replace was not working before.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11198 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Classes')
-rw-r--r-- | theories/Classes/Morphisms.v | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/theories/Classes/Morphisms.v b/theories/Classes/Morphisms.v index 724021799..3ffa8040d 100644 --- a/theories/Classes/Morphisms.v +++ b/theories/Classes/Morphisms.v @@ -75,7 +75,7 @@ Arguments Scope respectful [type_scope type_scope signature_scope signature_scop Open Local Scope signature_scope. -(** Pointwise lifting is just respect with leibnize equality on the left. *) +(** Pointwise lifting is just respect with leibniz equality on the left. *) Definition pointwise_relation {A B : Type} (R : relation B) : relation (A -> B) := fun f g => forall x : A, R (f x) (g x). @@ -222,8 +222,8 @@ Program Instance trans_sym_contra_impl_morphism transitivity x0... symmetry... Qed. -Program Instance equivalence_partial_app_morphism - [ Equivalence A R ] : Morphism (R ==> iff) (R x) | 1. +Program Instance per_partial_app_morphism + [ PER A R ] : Morphism (R ==> iff) (R x) | 1. Next Obligation. Proof with auto. |