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: e+coq-club AT x80.org (Emilio Jesús Gallego Arias)
  • To: Saulo Araujo <saulo2 AT gmail.com>
  • Cc: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Doubt about In
  • Date: Mon, 22 Feb 2016 19:33:41 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=e+coq-club AT x80.org; spf=Neutral smtp.mailfrom=e+coq-club AT x80.org; spf=None smtp.helo=postmaster AT boipeva.ensmp.fr
  • Ironport-phdr: 9a23:zWXlRRVHJgnoigixdZ2I9Bq1v0TV8LGtZVwlr6E/grcLSJyIuqrYZhyBt8tkgFKBZ4jH8fUM07OQ6PC/HzFcqs/Z4TgrS99laVwssY0uhQsuAcqIWwXQDcXBSGgEJvlET0Jv5HqhMEJYS47UblzWpWCuv3ZJQk2sfTR8Kum9IIPOlcP/j7n0oM2MJVgUz2PlMPtbF1afk0b4joEum4xsK6I8mFPig0BjXKBo/15uPk+ZhB3m5829r9ZJ+iVUvO89pYYbCf2pN4xxd7FTDSwnPmYp/4Wr8ECbFUrcrkcbB14fjx5PSyHf5Qz4Wd+lqSLnsu0n8CafNMzyC7szXGLxwb1sTUrlyywALnsy9Hzdotwg1ORcuh3p5zF6worVZ8m3OeHsZevydNceSGVGFu9LViVaQ9DvJ7ATBvYMaL4L57L2oEED+F7nXVGh
  • Organization: X80 Heavy Industries

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