coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: jonikelee <jonikelee AT comcast.net>
- To: Coq Club <coq-club AT inria.fr>
- Subject: [Coq-Club] Hint Rewrite for rules defined in sections with contexts
- Date: Fri, 16 May 2014 12:14:44 -0400
I'm not sure if I'm hitting a bug or being told something is not
legal Coq. I have a Section with Contexts, a rewrite rule defined there, and an attempt to add a hint for that rewrite after the section. Like this: Section defs.The above Hint Rewrite produces the following error: Toplevel input, characters 0-34: Obviously, those constraints can't be solved outside that Section - but they can be solve elsewhere (other similarly contextualized sections, etc.). And, Hints added in the section don't survive the end of the section. Also note that Hint Resolve after the section for things defined in that section doesn't produce any such error. If Hint Resolve knows enough to delay attempting to satisfy those constraints until the rule is applied, why doesn't Hint Rewrite? Do I need to handle rewrite rules defined under Contexts differently? -- Jonathan |
- [Coq-Club] Hint Rewrite for rules defined in sections with contexts, jonikelee, 05/16/2014
- Re: [Coq-Club] Hint Rewrite for rules defined in sections with contexts, Jonathan, 05/16/2014
- Re: [Coq-Club] Hint Rewrite for rules defined in sections with contexts, Jason Gross, 05/17/2014
- Re: [Coq-Club] Hint Rewrite for rules defined in sections with contexts, Jonathan, 05/17/2014
- Re: [Coq-Club] Hint Rewrite for rules defined in sections with contexts, Jason Gross, 05/17/2014
- Re: [Coq-Club] Hint Rewrite for rules defined in sections with contexts, Jonathan, 05/16/2014
Archive powered by MHonArc 2.6.18.