aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/Classes/Init.v
diff options
context:
space:
mode:
authorGravatar msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-08-22 18:22:33 +0000
committerGravatar msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7>2008-08-22 18:22:33 +0000
commit7e3160a5b94c86d7c9ba7beae9a9464b5ddf9019 (patch)
tree62ac5b8b1016d1cc0cd4627a88716c0c393856aa /theories/Classes/Init.v
parentef9f42afe284dae1794acd2f27d6e82f8c941c7b (diff)
- New auto hints for transparency/opacity control, not bound to
syntax yet. Doesn't change the auto/eauto behavior either. - Typeclass resolution now considers everything transparent by default and does it consistently for "open" and closed terms. - Correctly declare singleton classes definition as opaque for proof search. - Add a few initial declarations to make iff, id, compose... opaque - Add definition of dependent signatures for dependent function types and remove corresponding exception code in class_tactics. The instance requires higher-order unification and is not really usable yet. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11333 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Classes/Init.v')
-rw-r--r--theories/Classes/Init.v6
1 files changed, 6 insertions, 0 deletions
diff --git a/theories/Classes/Init.v b/theories/Classes/Init.v
index dd082246c..5ac931033 100644
--- a/theories/Classes/Init.v
+++ b/theories/Classes/Init.v
@@ -20,6 +20,12 @@
Tactic Notation "clapply" ident(c) :=
eapply @c ; typeclasses eauto.
+(** Hints for the proof search: these combinators should be considered rigid. *)
+
+Require Import Program.Basics.
+
+Typeclasses Opaque id const flip compose arrow impl iff.
+
(** The unconvertible typeclass, to test that two objects of the same type are
actually different. *)