coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Matthieu Sozeau <matthieu.sozeau AT gmail.com>
- To: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] totality and consistency
- Date: Wed, 12 Feb 2014 15:50:48 +0100
Hmm,
then I retract my point, thanks for the correction :) My analysis
only applies to let '_ := f x in 0, which really disappears (and
Eval compute in f 0 terminates).
Best,
— Matthieu
Le 12 févr. 2014 à 15:30, Bruno Barras
<bruno.barras AT inria.fr>
a écrit :
> On 12/02/2014 10:47, Matthieu Sozeau wrote:
>> Hi,
>>
>> Let me make my point again: what you see is not what you get ([Print f])!
>> The definition of f that goes into the kernel does not contain the let
>> binding anymore,
>
> Matthieu,
>
> All the versions of Coq I've used do keep this let, including today's
> trunk, and die on Eval compute (f 0).
>
> Extraction is smart, but not enough to deal with
>
> Definition K (x:nat) (y:nat) := x.
> Program Fixpoint f (x:nat) : nat :=
> K 0 (f x).
> Extraction f.
> (* let rec f x = k O (f x) *)
>
> Bruno.
>
>
- Re: [Coq-Club] totality and consistency, (continued)
- Re: [Coq-Club] totality and consistency, Arnaud Spiwack, 02/10/2014
- Re: [Coq-Club] totality and consistency, Greg Morrisett, 02/10/2014
- Re: [Coq-Club] totality and consistency, Guillaume Melquiond, 02/10/2014
- Re: [Coq-Club] totality and consistency, Kirill Taran, 02/11/2014
- Re: [Coq-Club] totality and consistency, Greg Morrisett, 02/12/2014
- Re: [Coq-Club] totality and consistency, Mitchell Wand, 02/12/2014
- Re: [Coq-Club] totality and consistency, Greg Morrisett, 02/12/2014
- Re: [Coq-Club] totality and consistency, Arnaud Spiwack, 02/12/2014
- Re: [Coq-Club] totality and consistency, Matthieu Sozeau, 02/12/2014
- Re: [Coq-Club] totality and consistency, Bruno Barras, 02/12/2014
- Re: [Coq-Club] totality and consistency, Matthieu Sozeau, 02/12/2014
- Re: [Coq-Club] totality and consistency, Arnaud Spiwack, 02/10/2014
Archive powered by MHonArc 2.6.18.