coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- 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.
- Re: [Coq-Club] totality and consistency, (continued)
- Re: [Coq-Club] totality and consistency, Matthieu Sozeau, 02/10/2014
- 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
- Re: [Coq-Club] totality and consistency, Matthieu Sozeau, 02/10/2014
Archive powered by MHonArc 2.6.18.