Subject: Ssreflect Users Discussion List
List archive
- From: Assia Mahboubi <>
- To:
- Subject: Re: [ssreflect] ssreflect and omega
- Date: Mon, 22 Feb 2016 11:45:55 +0100
Hi François,
thank you for spotting this problem in the manual. In the attached file, I
have tried to clarify the description of the semantic of rewrite with
multi-rules and to illustrate its behaviour.
Now a multi-rule nested in another multi-rule is treated just like an atomic
rule. Hence
`rewrite !(eq1, (eq2, eq3))`.
behaves as:
repeat (
repeat rewrite eq1;
repeat (
repeat rewrite eq2;
repeat rewrite eq3
)
).
Hence nested parentheses can be used to implement a normalization procedure
which has to complete a certain sub-normalisation before switching to its
next step.
assia
Le 22/02/2016 08:54, François Pottier a écrit :
>
> Hi Assia,
>
> Thanks for lia4mathcomp, this should be very useful.
>
>> The "Multi-rule rewriting" paragraph, p. 41, includes an example of
>> multi-rule
>> implementing the translation of a signature on nat into another one, which
>> illustrates the possibilities of control (by nested parentheses) mentioned
>> by
>> Georges.
>
> I must say that I find this part of the manual very mysterious. The
> manual says "Note that the inner parentheses of trecE guide the
> rewrite strategy operated by this tactic." OK, so the parentheses
> serve *some* purpose... But what is their exact semantics?
>
Attachment:
multi_rw.v
Description: application/save-to-disk
- [ssreflect] ssreflect and omega, François Pottier, 02/18/2016
- Re: [ssreflect] ssreflect and omega, Laurent Thery, 02/18/2016
- Re: [ssreflect] ssreflect and omega, François Pottier, 02/18/2016
- Message not available
- Re: [ssreflect] ssreflect and omega, François Pottier, 02/18/2016
- RE: [ssreflect] ssreflect and omega, Georges Gonthier, 02/18/2016
- Re: [ssreflect] ssreflect and omega, Maxime Dénès, 02/18/2016
- Re: [ssreflect] ssreflect and omega, Nicolas Magaud, 02/18/2016
- Re: [ssreflect] ssreflect and omega, Laurent Thery, 02/18/2016
- Re: [ssreflect] ssreflect and omega, Maxime Dénès, 02/18/2016
- Re: [ssreflect] ssreflect and omega, Assia Mahboubi, 02/21/2016
- Re: [ssreflect] ssreflect and omega, François Pottier, 02/22/2016
- Re: [ssreflect] ssreflect and omega, Assia Mahboubi, 02/22/2016
- RE: [ssreflect] ssreflect and omega, Georges Gonthier, 02/22/2016
- Re: [ssreflect] ssreflect and omega, Assia Mahboubi, 02/22/2016
- Re: [ssreflect] ssreflect and omega, Assia Mahboubi, 02/22/2016
- Re: [ssreflect] ssreflect and omega, Enrico Tassi, 02/22/2016
- Re: [ssreflect] ssreflect and omega, Assia Mahboubi, 02/22/2016
- RE: [ssreflect] ssreflect and omega, Georges Gonthier, 02/22/2016
- RE: [ssreflect] ssreflect and omega, Georges Gonthier, 02/18/2016
- Re: [ssreflect] ssreflect and omega, François Pottier, 02/18/2016
- Message not available
- Re: [ssreflect] ssreflect and omega, François Pottier, 02/18/2016
- Re: [ssreflect] ssreflect and omega, Laurent Thery, 02/18/2016
Archive powered by MHonArc 2.6.18.