Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Reduction rule for fixpoints

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Reduction rule for fixpoints


Chronological Thread 
  • From: Pierre Courtieu <pierre.courtieu AT gmail.com>
  • To: Coq Club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Reduction rule for fixpoints
  • Date: Mon, 14 Nov 2016 14:01:38 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=pierre.courtieu AT gmail.com; spf=Pass smtp.mailfrom=pierre.courtieu AT gmail.com; spf=None smtp.helo=postmaster AT mail-wm0-f52.google.com
  • Ironport-phdr: 9a23:bLZsghzzHVr7jtrXCy+O+j09IxM/srCxBDY+r6Qd1OIUIJqq85mqBkHD//Il1AaPBtSArascwLaJ+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZPebgFGiTanfL9+MBq6oArTu8ILnYZsN6E9xwfTrHBVYepW32RoJVySnxb4+Mi9+YNo/jpTtfw86cNOSL32cKskQ7NWCjQmKH0169bwtRbfVwuP52ATXXsQnxFVHgXK9hD6XpP2sivnqupw3TSRMMPqQbwoXzmp8rxmQwH0higZKzE58XnXis1ug6JdvBKhvAF0z4rNbI2IKPZyYqbRcNUHTmRDQ8lRTTRMDYGyb4UPAeQPPvtWoZfhqFYVtxSyGROhCfnzxjNUhHL727Ax3eQ7EQHB2QwtB8gAsHXKo9XvLqcdT/2+wbfPzTXedfNWxTb955bVchs8pvyMRbNwftTLyUk1CQzJlEmfqYv4PzOPyuQNsnaU7/d7WOKgjm4osQBxojy1ysgwjYnJg5sYx1bZ/it62IY4Pd+1RUFhbdK5DpddtzuWOohoTs84Q2xkpiA3waAct5GhZigF0pEnygbfa/OZd4iI5QruVOOLLjd5gHJpYby+hxOu/US5xO3xVte43ExFripCldnMuXQN2ALJ5sebTft9+1+t2TeJ1w/N9uFJOUI5mKXBJ5I83LI9loAfvEfdEiPsmEj6kreadkA+9eip7+TnbK/mppiZN4JskgH+M7ohmtalAesmKAQBQ2+b+fmm1L3//E32XqhKg+Y5kqncqp/aJMAbqrSlDA9S14Yv8wy/ACu+0NQEgXkHK0pIdw6Aj4jwIl3BPPT4DeqkjFm3izdqx/XGPqX7DZnXL3jDlq3hfbdn5EJGxgoz14MX25UBIbYYaNn3R0W54NffF1oyNxG+6+fhEtR0kI0EDzGhGKicZZvTvEWS66oEJPSWeI4YpX6pM/ko/eTjy3Q+hEUBfKS09ZQSYXG8WP9hJhPKMjLXnt4dHDJS7UIFR+vwhQjHCGYLag==

Like Maxime said the fix-reduction is only the unfolding of the fixpoint definition, which leads to infinite unfolding if not constrained.

I guess people in this list will give examples of some deeper modifications of the whole reduction relation (like using the call-by-value strategy?) that lead to special good properties on closed terms under axiom-free environments.

P.



2016-11-14 13:46 GMT+01:00 Maxime Dénès <mail AT maximedenes.fr>:
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
>




Archive powered by MHonArc 2.6.18.

Top of Page