coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Gregory Bush <gbush AT mysck.com>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] Hints and type classes
- Date: Fri, 9 Mar 2012 10:22:57 -0500
Let's say I have some type class that contains proofs of some propositions...
Variable ExProp : Prop.
Class ExClass := {
ex : ExProp
(* ... *)
}.
I'd like to add "ex" and friends to a hint database, but
Hint Resolve ex.
fails since it doesn't have an instance of ExClass in scope.
I can prove an ex' : forall (C : ExClass), ExProp, then add ex' to a hint database, but it's kind of tedious.
Is there a nicer way to do this?
- [Coq-Club] Hints and type classes, Gregory Bush
- Re: [Coq-Club] Hints and type classes, Matthieu Sozeau
Archive powered by MhonArc 2.6.16.