Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] totality and consistency

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] totality and consistency


Chronological Thread 
  • 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.
>
>




Archive powered by MHonArc 2.6.18.

Top of Page