coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Arnaud Spiwack <aspiwack AT lix.polytechnique.fr>
- To: Robbert Krebbers <mailinglists AT robbertkrebbers.nl>
- Cc: Coq Club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Eta-expansion and simpl
- Date: Fri, 16 Nov 2012 13:59:40 +0100
Indeed I meant "eta-reduction is unsound in Coq", but part of the sentence. Hugo Herbelin's slide explains the issue very well (it is indeed very specific to technical choices in Coq). Thanks Robbert.
That said, Coq doesn't really have eta-expansion, in that if you compute the normal form of a term, it won't be eta-long. In the conversion algorithm, eta-expansion is treated lazily as far as I understand (when comparing an abstraction to a term which isn't one). The conversion algorithm is untyped, but doint eta this way ensures well-typedness.
On 16 November 2012 13:14, Robbert Krebbers <mailinglists AT robbertkrebbers.nl> wrote:
On 11/16/2012 01:08 PM, AUGER Cédric wrote:It makes confluence and subject reduction fail in the presence of subtyping. See slide 24 of http://pauillac.inria.fr/~herbelin/talks/cic.pdf. That is why Coq has (typed) eta-expansion instead.
What do you mean by 'eta-reduction' is unsound?
Robbert
- [Coq-Club] Eta-expansion and simpl, AUGER Cédric, 11/15/2012
- Re: [Coq-Club] Eta-expansion and simpl, Arnaud Spiwack, 11/16/2012
- Re: [Coq-Club] Eta-expansion and simpl, AUGER Cédric, 11/16/2012
- Re: [Coq-Club] Eta-expansion and simpl, Robbert Krebbers, 11/16/2012
- Re: [Coq-Club] Eta-expansion and simpl, Arnaud Spiwack, 11/16/2012
- Re: [Coq-Club] Eta-expansion and simpl, Robbert Krebbers, 11/16/2012
- Re: [Coq-Club] Eta-expansion and simpl, AUGER Cédric, 11/16/2012
- Re: [Coq-Club] Eta-expansion and simpl, Arnaud Spiwack, 11/16/2012
Archive powered by MHonArc 2.6.18.