coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Maxime Dénès <mail AT maximedenes.fr>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Reduction rule for fixpoints
- Date: Mon, 14 Nov 2016 13:50:36 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=mail AT maximedenes.fr; spf=Pass smtp.mailfrom=mail AT maximedenes.fr; spf=None smtp.helo=postmaster AT 1.mo68.mail-out.ovh.net
- Ironport-phdr: 9a23:CbDcLR8bZ1hnAv9uRHKM819IXTAuvvDOBiVQ1KB40eMcTK2v8tzYMVDF4r011RmSDN6dsqoP17aempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9ZDeZwtFiCCgbb9uIxm7ogrcvdQKjIV/Lao81gHHqWZSdeRMwmNoK1OTnxLi6cq14ZVu7Sdete8/+sBZSan1cLg2QrJeDDQ9LmA6/9brugXZTQuO/XQTTGMbmQdVDgff7RH6WpDxsjbmtud4xSKXM9H6QawyVD+/6apgVR3mhzodNzMh7W/ZlMJwgqJYrhyvqRNwzIzbb52aOvdlYqPQfskXSXZdUstfVSFMBJ63YYsVD+oGOOZVt47zqEEBrBu/AAmjGv7kxDFSgX/wxKo6yPkqHAbD3AM6HtIOtG/ZrNDvO6YdUOC1ybfHwijdYPNQxzj985LEch47ofyVW797bMnfyVE3Gg7Kj1ics5HpMy+V2+gXvGWX8vBsWf+ghmMmsw18oTaiyt0xhoTJiI8Z0F/J+TljzIooO9G1SUh2asO+HpRKrSGVLY52T9siQ252vCY6zaULtYOhcCgPz5Qqxh3SZ+aCc4eS4xLjUP+dITBlhHJ5Yr6/gAiy8Ui6xu36SMa0zE5GritDktbSqnAAzxPe58mdRvdg4kus2SyD2g/O5u1ePEw5mqvWJ4YkwrEql5oTtUrDHjXxmEXzlKKWc18r+ums6+n8Z7XpvJCdN45xig7gL6shhMq/DvojMgQUUWib4/yw1Kf/8k3hXLVKkvo2n7HFv5DdPMQXv7K2AwtI0ok48Bu/FDen0NEAnXYdNl5FeRSHj5LoO17UOvz4A+2/0ByQl2JgwOmDNbn8CL3MKGLCmfHvZ+VT8UlZnS863dFa6tp4i7eBO7qnX0bwsPTdBw84NgG4zuDqE5NzzNVNCiq0HqaFPfaK4hez7eU1LrzUaQ==
In fact, it is clearer with the term fun n => my_identity n.
Maxime.
On 11/14/16 13:46, Maxime Dénès wrote:
> Hi Randy,
>
> If I read correctly, this restriction is needed even without axioms as
> soon as you have strong reduction (i.e. under lambdas, match):
>
> Fixpoint my_identity (n : nat) :=
> match n with
> | O => O
> | S p => S (my_identity p)
> end.
>
> Consider the normal form of my_identity. You don't want to infinitely
> expand the recursive call.
>
> Maxime.
>
> On 11/14/16 13:35, Randy Pollack wrote:
>> Page 134 of the reference manual (8.5pl2) describes the reduction rule
>> for a fixpoint application:
>>
>> ================================
>> The reduction for fixpoints is:
>> [...]
>> when aki starts with a constructor. This last restriction is needed in
>> order to keep strong normalization.
>> ==================================
>>
>> Is is known if this last restriction is needed when the context in
>> which the fixpoint application is well typed doesn't contain any
>> axioms? (References or examples?)
>>
>> What about for specific axioms, such as functional extensionality, axiom
>> K, ...?
>>
>> Thanks,
>> --Randy
>>
- [Coq-Club] Reduction rule for fixpoints, Randy Pollack, 11/14/2016
- Re: [Coq-Club] Reduction rule for fixpoints, Maxime Dénès, 11/14/2016
- Re: [Coq-Club] Reduction rule for fixpoints, Maxime Dénès, 11/14/2016
- Re: [Coq-Club] Reduction rule for fixpoints, Pierre Courtieu, 11/14/2016
- Re: [Coq-Club] Reduction rule for fixpoints, Randy Pollack, 11/14/2016
- [Coq-Club] Mysterious type of sig for predicates on identity types, Dominique Larchey-Wendling, 11/16/2016
- Re: [Coq-Club] Mysterious type of sig for predicates on identity types, Jason Gross, 11/16/2016
- Re: [Coq-Club] Mysterious type of sig for predicates on identity types, Dominique Larchey-Wendling, 11/16/2016
- Re: [Coq-Club] Mysterious type of sig for predicates on identity types, Jason Gross, 11/16/2016
- Re: [Coq-Club] Reduction rule for fixpoints, Maxime Dénès, 11/14/2016
Archive powered by MHonArc 2.6.18.