coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Enrico Tassi <enrico.tassi AT inria.fr>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Explanation of Identity Coercions?
- Date: Sun, 18 Aug 2013 00:21:29 +0200
On Fri, Aug 16, 2013 at 07:43:21PM -0400, Jason Gross wrote:
> Hi,
> Can someone explain to me how [Identity Coercion]s are used? I can declare
> one easily enough, but I cannot think of a use-case. That is, I cannot
> find a statement that will typecheck/run when I have declared a constant as
> an identity coercion, but which will fail if I have defined that constant,
> but not declared it as an identity coercion. Can someone show me such a
> statement, or else explain to me what [Identity Coercion] is supposed to do
> if no such statement exists?
IIRC it is a way to tell coq that one node in the coercion graph has 2
denotations (eg the arguments of the type constructor are scrambled).
ciao
--
Enrico Tassi
- [Coq-Club] Explanation of Identity Coercions?, Jason Gross, 08/17/2013
- Re: [Coq-Club] Explanation of Identity Coercions?, Enrico Tassi, 08/18/2013
Archive powered by MHonArc 2.6.18.