Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Doubt about In

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Doubt about In


Chronological Thread 
  • From: Saulo Araujo <saulo2 AT gmail.com>
  • To: Saulo Araujo <saulo2 AT gmail.com>, coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Doubt about In
  • Date: Mon, 22 Feb 2016 18:44:01 -0300
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=saulo2 AT gmail.com; spf=Pass smtp.mailfrom=saulo2 AT gmail.com; spf=None smtp.helo=postmaster AT mail-qg0-f45.google.com
  • Ironport-phdr: 9a23:DZd2UhWBFwWi9sN5QI2eZLw8LOHV8LGtZVwlr6E/grcLSJyIuqrYZhKAt8tkgFKBZ4jH8fUM07OQ6PC/HzFcqs/d4TgrS99laVwssY0uhQsuAcqIWwXQDcXBSGgEJvlET0Jv5HqhMEJYS47UblzWpWCuv3ZJQk2sfTR8Kum9IIPOlcP/j7n0oM2MJVgUz2PhMPtbF1afk0b4joEum4xsK6I8mFPig0BjXKBo/15uPk+ZhB3m5829r9ZJ+iVUvO89pYYbCf2pN/dwcbsNNz07N2d9zdfiqBvEBV+U72YYVT8+nR9BAgyD5xb/CNO5uSzj8+F5xSOyPMvsTLlyVy7xwb1sTUrTgToDMHYQ6mjKiMs42LlSvRam/TRwxofVZMeeM/8oLfCVRs8TWWcUBpUZbCdGGI7pN4Y=

Hi Emilio,

Have you got a small example of this technique that you could share?

Sincerely,
Saulo

On Mon, Feb 22, 2016 at 3:33 PM, Emilio Jesús Gallego Arias <e+coq-club AT x80.org> wrote:
Hi Saulo,

Saulo Araujo <saulo2 AT gmail.com> writes:

> Thanks a lot for your explanantion Artur. I have a feeling you are right
> and, sooner or later, I am gonna need the proof of the decidability of my
> dependent type. I am gonna keep it close to me :)

Note that if you can show an injection from your dependent type to a
type with decidable equality then you can transfer decidability (see
InjEqMixin in the math-comp library).

I find this trick quite useful when dealing with dependently-typed
syntax (as usually you can assume an upper bound), as usually my target
type is of the form { s : T | ... }.

Best,
E.




Archive powered by MHonArc 2.6.18.

Top of Page