coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Matthieu Sozeau <mattam AT mattam.org>
- To: "coq-club AT inria.fr" <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] Type Casting
- Date: Thu, 30 Apr 2015 15:15:24 +0000
On Thu, Apr 30, 2015 at 10:53 AM Randy Pollack <rpollack0 AT gmail.com> wrote:
Thanks Guillaume, that was informative.Because it can be useful to inform the kernel which conversion algorithm you want. The kernel type checker does not ignore casts in this sense, it implements the rule I gave, so it has some computational meaning for conversion (not reduction): you'll get different performance from the different conversion algorithms used to check conversion of the infered and ascribed types.
> Casts have no computational meaning, they are just meant as hints
> (and even then, the type checker tends to ignore them unless they ask
> for a specific reduction machinery, so they are basically just hints for
> the pretyper).
Then why isn't casting removed from the typechecked terms in my example?
Best,
-- Matthieu
- [Coq-Club] Type Casting, Randy Pollack, 04/28/2015
- Re: [Coq-Club] Type Casting, Matthieu Sozeau, 04/28/2015
- Re: [Coq-Club] Type Casting, Randy Pollack, 04/28/2015
- Re: [Coq-Club] Type Casting, Matthieu Sozeau, 04/28/2015
- Re: [Coq-Club] Type Casting, Randy Pollack, 04/29/2015
- Re: [Coq-Club] Type Casting, Guillaume Melquiond, 04/29/2015
- Re: [Coq-Club] Type Casting, Randy Pollack, 04/30/2015
- Re: [Coq-Club] Type Casting, Matthieu Sozeau, 04/30/2015
- Re: [Coq-Club] Type Casting, Randy Pollack, 04/30/2015
- Re: [Coq-Club] Type Casting, Guillaume Melquiond, 04/29/2015
- Re: [Coq-Club] Type Casting, Randy Pollack, 04/29/2015
- Re: [Coq-Club] Type Casting, Matthieu Sozeau, 04/28/2015
- Re: [Coq-Club] Type Casting, Randy Pollack, 04/28/2015
- Re: [Coq-Club] Type Casting, Matthieu Sozeau, 04/28/2015
Archive powered by MHonArc 2.6.18.