Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] "simpl" question

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] "simpl" question


Chronological Thread 
  • From: Marcus Ramos <marcus.ramos AT univasf.edu.br>
  • To: "coq-club AT inria.fr" <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] "simpl" question
  • Date: Sat, 10 May 2014 10:19:36 +0200

Thank you, Kirill!

Best Regards,
Marcus.


2014-05-09 17:21 GMT+02:00 Kirill Taran <kirill.t256 AT gmail.com>:
You also can control unfolding of functions with
"cbv -[<list_of_names_to_not_unfold>]" or
"cbv  [<list_of_names_to_unfold>]".

"cbv" stands for "call by value"; it is one of Coq's reduction strategies.

Sincerely,
Kirill Taran


On Fri, May 9, 2014 at 12:42 PM, Marcus Ramos <marcus.ramos AT univasf.edu.br> wrote:
Hi Jonathan,

That worked, thanks a lot.

Best Regards,
Marcus.


2014-05-09 3:49 GMT+02:00 Jonathan <jonikelee AT gmail.com>:

On 05/08/2014 11:05 AM, Marcus Ramos wrote:
Dear All,

When I use the "simpl" tactic in a goal, it changes a subterm of the form
"c ++ s", with c: ascii and s: string, into "String c s" (String is a
constructor of the type string). How can I prevent simpl from doing this?

Thanks in advance,
Marcus.


You can make the string append function "++" be opaque to simpl with the declaration: Opaque append.

-- Jonathan







Archive powered by MHonArc 2.6.18.

Top of Page