coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Kenneth Roe <kendroe AT hotmail.com>
- To: Maxime Dénès <mail AT maximedenes.fr>, "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7
- Date: Sat, 4 Nov 2017 16:39:03 +0000
- Accept-language: en-US
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=kendroe AT hotmail.com; spf=Pass smtp.mailfrom=kendroe AT hotmail.com; spf=Pass smtp.helo=postmaster AT NAM03-BY2-obe.outbound.protection.outlook.com
- Ironport-phdr: 9a23:zPjjbhQyx1BP/HBK69KhaQ1Jidpsv+yvbD5Q0YIujvd0So/mwa64ZRaN2/xhgRfzUJnB7Loc0qyN7PCmBDRIyK3CmU5BWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnZBUin4YC98NuXwF7n+DsI3zKjm/pTSZy1NjSq8ZL5+IRO7tkPfrJ9SycFpLb90wR/UqFNJff5XzCVmPxjbyx37/4K7+INp2yVWofMoscBaB/bUZaM9GJ9VCjIrL2B93srm/U3AQA2D/HwRemURjh9BAgyD5xb/CMSi+hDmv/ZwjXHJdfb9Sqo5DGyv
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
I got the code to compile. And the commands that I registered with "VERNAC COMMAND EXTEND" seem to work. However, the "arewrite" tactic that I registered with "TACTIC EXTEND" is not recognized. I get the error:
Error: The reference arewrite was not found in the current environment.
I seem to remember having a similar issue with Coq 8.5pl2. What do I need to change?
- Ken
From: coq-club-request AT inria.fr <coq-club-request AT inria.fr> on behalf of Maxime Dénès <mail AT maximedenes.fr>
Sent: Saturday, November 4, 2017 9:00 AM
To: coq-club AT inria.fr
Subject: Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7
Sent: Saturday, November 4, 2017 9:00 AM
To: coq-club AT inria.fr
Subject: Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7
Try adding `open Ltac_plugin` at the top of your file.
Maxime.
On 11/04/2017 04:52 PM, Kenneth Roe wrote:
> It looks like I'm getting closer. My file compiles. However, I get the
> following error:
>
> File "./src/Theory.v", line 74, characters 0-28:
>
> *Error:*
>
> while loading /Users/kendroe/FDS/engine/plugin/src/thepack.cmxs:
>
> error loading shared library:
> dlopen(/Users/kendroe/FDS/engine/plugin/src/thepack.cmxs, 138): Symbol
> not found: _camlTacenv
>
> Referenced from: /Users/kendroe/FDS/engine/plugin/src/thepack.cmxs
>
> Expected in: flat namespace
>
> in /Users/kendroe/FDS/engine/plugin/src/thepack.cmxs
>
>
>
> I discovered the cause of this undefined symbol is this macro:
>
> TACTIC EXTEND AR2
>
> | ["arewrite"] -> [Stuff.arewrite]
>
> END
>
>
> When I comment it out, the resulting module loads. What do I need to
> include or change?
>
> - Ken
>
> ------------------------------------------------------------------------
> *From:* Matej Košík <mail AT matej-kosik.net>
> *Sent:* Saturday, November 4, 2017 6:30 AM
> *To:* coq-club AT inria.fr; kendroe AT hotmail.com
> *Subject:* Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7
>
> Hi,
>
> On 11/04/17 14:10, Kenneth Roe wrote:
>> Didn't work.
>>
>> Does someone have a sample project that uses "VERNAC COMMAND EXTEND" (and also "TACTIC EXTEND" or what ever it became) for Coq 8.7?
>
> The attached demo exercises some of those mechanisms.
> (Compiles with the "v8.7" branch of Coq).
>
> Let me know what you think.
>
> ---
>
> Matej
Maxime.
On 11/04/2017 04:52 PM, Kenneth Roe wrote:
> It looks like I'm getting closer. My file compiles. However, I get the
> following error:
>
> File "./src/Theory.v", line 74, characters 0-28:
>
> *Error:*
>
> while loading /Users/kendroe/FDS/engine/plugin/src/thepack.cmxs:
>
> error loading shared library:
> dlopen(/Users/kendroe/FDS/engine/plugin/src/thepack.cmxs, 138): Symbol
> not found: _camlTacenv
>
> Referenced from: /Users/kendroe/FDS/engine/plugin/src/thepack.cmxs
>
> Expected in: flat namespace
>
> in /Users/kendroe/FDS/engine/plugin/src/thepack.cmxs
>
>
>
> I discovered the cause of this undefined symbol is this macro:
>
> TACTIC EXTEND AR2
>
> | ["arewrite"] -> [Stuff.arewrite]
>
> END
>
>
> When I comment it out, the resulting module loads. What do I need to
> include or change?
>
> - Ken
>
> ------------------------------------------------------------------------
> *From:* Matej Košík <mail AT matej-kosik.net>
> *Sent:* Saturday, November 4, 2017 6:30 AM
> *To:* coq-club AT inria.fr; kendroe AT hotmail.com
> *Subject:* Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7
>
> Hi,
>
> On 11/04/17 14:10, Kenneth Roe wrote:
>> Didn't work.
>>
>> Does someone have a sample project that uses "VERNAC COMMAND EXTEND" (and also "TACTIC EXTEND" or what ever it became) for Coq 8.7?
>
> The attached demo exercises some of those mechanisms.
> (Compiles with the "v8.7" branch of Coq).
>
> Let me know what you think.
>
> ---
>
> Matej
- [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7, Kenneth Roe, 11/04/2017
- Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7, Hugo Herbelin, 11/04/2017
- Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7, Kenneth Roe, 11/04/2017
- Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7, Matej Košík, 11/04/2017
- Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7, Kenneth Roe, 11/04/2017
- Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7, Maxime Dénès, 11/04/2017
- Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7, Kenneth Roe, 11/04/2017
- Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7, Matej Košík, 11/04/2017
- Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7, Kenneth Roe, 11/04/2017
- Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7, Matej Košík, 11/04/2017
- Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7, Kenneth Roe, 11/05/2017
- Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7, Matej Košík, 11/05/2017
- Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7, Kenneth Roe, 11/04/2017
- Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7, Maxime Dénès, 11/04/2017
- Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7, Kenneth Roe, 11/04/2017
- Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7, Matej Košík, 11/04/2017
- Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7, Kenneth Roe, 11/04/2017
- Re: [Coq-Club] Converting VERNAC COMMAND declaration to Coq 8.7, Hugo Herbelin, 11/04/2017
Archive powered by MHonArc 2.6.18.