coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jason Gross <jasongross9 AT gmail.com>
- To: coq-club <coq-club AT inria.fr>
- Subject: [Coq-Club] Typeclass hints and rewrite
- Date: Thu, 21 Mar 2013 17:47:16 -0400
Hi,
I have a goal where "rewrite @foo by auto with typeclass_instances." fails with "Unable to find an instance for the variables H, H0.", but "erewrite @foo by auto with typeclass_instances." succeeds and doesn't leave over typeclass goals (that is, [Show Existentials.] shows only the goal as an existential instance, not other typeclass goals). I thought typeclass hints were supposed to automatically trigger and be resolved. Can someone explain to me what's happening here, and possibly how to fix it so I can add [@foo] to a hint database to be used with [autorewrite]?
I'll send a minimal example to the list soon, if no one answers before I get around to making one.
Thanks,
Jason
- [Coq-Club] Typeclass hints and rewrite, Jason Gross, 03/21/2013
- [Coq-Club] Re: Typeclass hints and rewrite, Jason Gross, 03/22/2013
- Re: [Coq-Club] Typeclass hints and rewrite, Matthieu Sozeau, 03/22/2013
- [Coq-Club] Re: Typeclass hints and rewrite, Jason Gross, 03/22/2013
Archive powered by MHonArc 2.6.18.