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: Bruno Barras <bruno.barras AT inria.fr>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] totality and consistency
  • Date: Wed, 12 Feb 2014 15:30:13 +0100

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