coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Georges Gonthier <gonthier AT microsoft.com>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: RE: [Coq-Club] difficulty computing with integers in Ltac
- Date: Tue, 2 Dec 2014 10:28:06 +0000
- Accept-language: en-GB, en-US
- Authentication-results: spf=pass (sender IP is 131.107.125.37) smtp.mailfrom=gonthier AT microsoft.com;
If you really need this particular feature, you might want to consider the
Ssreflect plugin. Ssreflect tactics generally accept Coq integers along Caml
ones; in particular it is possible to compute iteration counts (as in do
N!tactic), occurrence selectors (set x := {+N}y), and subgoal selectors
(tac1; first N [tacN]).
-- Georges
-----Original Message-----
From:
coq-club-request AT inria.fr
[mailto:coq-club-request AT inria.fr]
On Behalf Of Jonathan
Sent: 02 December 2014 02:53
To:
coq-club AT inria.fr
Subject: Re: [Coq-Club] difficulty computing with integers in Ltac
On 12/01/2014 06:12 PM, Jason Gross wrote:
> ...
> Alternatively, you can write an ocaml plugin to convert a constr to an
> int_or_var.
What is the best way to get started writing plugins? Is there a tutorial?
-- Jonathan
- [Coq-Club] difficulty computing with integers in Ltac, Jonathan, 12/01/2014
- Re: [Coq-Club] difficulty computing with integers in Ltac, Cedric Auger, 12/02/2014
- Re: [Coq-Club] difficulty computing with integers in Ltac, Jason Gross, 12/02/2014
- Re: [Coq-Club] difficulty computing with integers in Ltac, Jonathan, 12/02/2014
- RE: [Coq-Club] difficulty computing with integers in Ltac, Georges Gonthier, 12/02/2014
- Re: [Coq-Club] difficulty computing with integers in Ltac, Jonathan, 12/02/2014
- Re: [Coq-Club] difficulty computing with integers in Ltac, Hugo Herbelin, 12/03/2014
- Re: [Coq-Club] difficulty computing with integers in Ltac, Jonathan, 12/02/2014
- Re: [Coq-Club] difficulty computing with integers in Ltac, Pierre-Marie Pédrot, 12/02/2014
- Re: [Coq-Club] difficulty computing with integers in Ltac, Gregory Malecha, 12/02/2014
- RE: [Coq-Club] difficulty computing with integers in Ltac, Georges Gonthier, 12/02/2014
- Re: [Coq-Club] difficulty computing with integers in Ltac, Jonathan, 12/02/2014
- Re: [Coq-Club] difficulty computing with integers in Ltac, Frédéric Besson, 12/02/2014
- Re: [Coq-Club] difficulty computing with integers in Ltac, Jonathan, 12/02/2014
Archive powered by MHonArc 2.6.18.